*, *::before, *::after {
  box-sizing: border-box;
}

/* COLOURS 
Ink black: #11151C
Deep space blue: #212D40
Charcoal blue: #364156
Rosy copper: #D66853
Golden apricot: #DF9A57
Floral white: #FAF8F0
*/

/* FONTS */
.roboto {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.roboto-mono-font {
  font-family: "Roboto Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

body {
  background-color: #11151C;
  font-family: "Roboto";
}

header, footer {
  display: block;
  margin-left: 10px;
  margin-right: 10px;
  padding: 5px;
  background: #212D40;
  color: #DF9A57;
}

header a {
    color: #DF9A57;
}

header a:hover {
    color: #FAF8F0;
}
main {
  background-size: cover;
  background-repeat: repeat;
  display: flex;
  flex-direction: column;
  margin: 10px;
}

.topBlurb, .spacer, #myBtnContainer, .grid{
  /* Alignment */
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: auto;
}

.topBlurb {
    /* Border */
  border: 40px solid  transparent;
  border-image: url("../images/console_assets/blurb_box.png")  60 stretch;
  background: #11151C;
}

.topBlurb p {
    font-family: "Roboto Mono";
    color: #f6bb09;
    font-weight: 800;
    font-size: 14px;
    padding-left: 10px;
}

.blinker {
    animation: blinker 1.5s step-start infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.grid {
  border: 70px solid  transparent;
  border-image: url("../images/console_assets/puter_border.png")  100 stretch;
  background: #0f0f0fe6;
  column-gap: 20px;
  column-fill: initial;
  padding-bottom: 10px;
  margin: auto;
  margin-top: 0px;
}

.masonry-item {
  margin-bottom: 20px; /* Fix the misalignment of items */
  vertical-align: top; /* Keep the item on the very top */
  display: none;
}
.masonry-item img {
    width: 100%;
    transition: .5s ease;
    backface-visibility: hidden;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.4));
}

.show-image {
    display: inline-block;
}

.masonry-item:hover img {
  opacity: 0.5;
}

.masonry-item:hover {
  opacity: 1;
}

/* Button styling */

#myBtnContainer {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  color: transparent;
  background-image: url("../images/console_assets/top_bar_base.png");
  background-size: 100% 100px;
  background-repeat: no-repeat;
  padding: 0px 10px 0px 30px;
  margin-bottom: 0px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.img-btn, .dropbtn {
  padding: 12px 16px;
  border: none;
  cursor: pointer;
}

.dropList { 
  background-color: #f1f1f1;
  color: #11151C;
  padding: 10px 16px;
  font-size: 16px;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.dropList:hover {
    background-color: #ddd;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.show-dropdown {
    display: block;
}
.button-label {
  padding: 2px 5px 2px 5px;
  color:#FAF8F0;
  background-color: #212D40;
  display: inline-block;

  margin: auto;
}

/*thumbprint */
.thumbprint {
  position: absolute;
  z-index: 2;
  opacity: 50%;
  margin-left: 30px;
  rotate: -20deg;
  mix-blend-mode: lighten;
}

.thumbprint img {
  opacity: 50%;
}


/* Pagedoll */
.pagedoll {
  background-color: #ccc;
  position: relative;
}

.pagedoll img {
  position: absolute;
  left: 0px;
  bottom: -0px;
  width: 200px;
  z-index: 1;
  filter: drop-shadow(0px 10px 4px rgba(0, 0, 0, 0.6));
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 2; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  max-width: 70%;
  max-height: 70%;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Masonry on tablets */
@media only screen and (max-width: 650px) {
  #myBtnContainer {
    grid-template-columns: repeat(2, 1fr);
    background-size: 100% 100%;
  }
}

@media only screen and (min-width: 400px) and (max-width: 767px) {
  .grid {
    column-count: 2;
  }
}


@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .grid {
    column-count: 4;
  }
}

/* Masonry on big screens */
@media only screen and (min-width: 1024px) {

  .grid {
    column-count: 5;
  }

  #myBtnContainer {
    column-count: 5;
  }
}

.construction {
  display: block;
  float: right;
}