:root{
  font-family: Verdana, Geneva, Tahoma, sans-serif; 

  --verifiedBlack:  #242424;
  --transparentBlack: rgba(0, 0, 0, 50%);
  --txt: #fff;
  --blackOak: #4e4e4e;
  --concord:#7d7d7d;
  --sharkFin: #959595;
  --heirloomRed: #7f1d1d;
}

*{
  box-sizing: border-box;
}

html, body{
  background-color: var(--verifiedBlack);
  color: var(--txt);
  padding: 0;
  margin: 0;
  min-width: 100vw;
  max-width: 100vw;
}

.noscript{
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 20px;
  background-color: var(--heirloomRed);
  border-radius: 20px;
}
#noscriptLabel::before{
  font-size: 1.5em;
  content: "Please enable Javascript to assure complete functionality.";
}
#noscriptLabel:hover::before{
  font-size: 1.5em;
  content: "Why did you turn it off anyway?";
}

.container{
  padding: 0px;
  max-width: 100vw;
  min-height: 100vh;
  margin: auto;
  background-color: var(--verifiedBlack);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 100vw;
}

.content{
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  padding: 50px;
  flex: 5;
  max-width: 100vw;
}

a{
  text-decoration: none;
  color: inherit;
}

input{
  padding: 10px;
  background-color: var(--transparentBlack);
  border: solid 2px black;
  color: inherit;
  vertical-align: middle;
  display: flex;
  flex-direction: row;
  gap: 1.5em;
  align-content: center;
  align-items: center;
}
input:focus {
  outline: none;
  border: 0.2em solid var(--heirloomRed);
}
.inputVerify{
  padding: 1.2em;
  display: flex;
  flex-direction: row;
  gap: 1em;
  justify-content: center
}

/* BUTTON START */
button{
  padding: 10px;
  background-color: var(--transparentBlack);
  border: solid 2px var(--sharkFin);
  color: inherit;
  vertical-align: middle;
  display: flex;
  flex-direction: row;
  gap: 1.5em;
  align-content: center;
  align-items: center;
}
button:hover{
  background-color: black;
  border: solid 2px var(--heirloomRed);
  font-weight: bold;
}

code{
  font-family: monospace;
  display: block;
  line-height: 1;
}
pre{
  line-height: 1;
}
.codeContainer{
  background-color: var(--transparentBlack);
  max-width: 100%;
  overflow-x: auto;
  padding: 0.5em;
}
.codeContainer pre{
  overflow: visible;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
}

.icon{
  max-height: 32px;
  vertical-align: middle;
  align-self: center; 
}
/* BUTTON END */

/* NAVBAR START */
.navbar{
  background-image: url('/images/wafer.webp');
  transform: rotate(180deg);
  background-size: cover;
  background-position: center;
  width: 100%;
  background-color: black;
  color: white;
  position: sticky;
  top: 0px;
  display: flex;
  flex-direction: row-reverse;
  vertical-align: middle;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  padding: 20px;
  z-index: 100;
}
.logo{
  transform: rotate(-180deg);
}
.links{
  transform: rotate(-180deg);
  display: flex;
  flex-direction: row;
  font-size: 0.9em;
  gap: 15px;
}
.links:hover{
  color: var(--sharkFin);
}
.links a:hover{
  color: white;
}

/* NAVBAR END */

/* SIDEBAR START */
.sidebar{
  background-color: black;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  padding: 0px;
  max-width: 10vw;
  position: sticky;
  left: 0px;
  font-size: 0.7em;
}

.sidebarLinks{
  display: flex;
  flex-direction: column;
  padding: 10px;
}
.sidebarLinks:hover{
  color: var(--sharkFin);
}
.sidebarLinks:hover h4{
  color: var(--txt);
}
.sidebarLinks a:hover{
  color: var(--txt);
}
.sidebarLinks h4:hover{
  color: var(--heirloomRed);
}
/* SIDEBAR END */

/* FOOTER START */
.footer{
  display: flex;
  flex-direction: row;
  background-color: black;
  padding: 30px;
  justify-content: space-between;
}
/* FOOTER END */

/* CARDS START */
.columnCards{
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  gap: 2.5em;
}
.columnCards .cardContainer{
  min-width: 100%;
}

.rowCards{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  gap: 2em;
  max-width: 80vw;
}

.cardContainer{
  max-width: 80vw;
  display: flex;
  flex-direction: column;
  background-color: var(--transparentBlack);
  border: 1px solid var(--sharkFin);
  justify-content: center;
}
.cardContainer:hover{
  border: 0.2em solid var(--heirloomRed);
}
.cardTitle{
  max-width: 80vw;
  overflow: hidden;
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.8em;
}
.qrCode{
  max-height: 200px;
  max-width: 200px;
}
.cardSubtitle{
  font-weight: 200;
  text-decoration: underline;
  text-underline-offset: 0.5em;
}
.cardContent{
  text-align: center;
  display: flex;
  flex-direction: row;
  gap: 2em;
}
/* CARDS END */

/* INTERACTIVE IMAGE START */
.interactiveContainer { /* By default the image is scrollable if too large */
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: relative;
  width: 100%;
  overflow: auto;
  min-height: 100vh;
}
#bodyHorror{
  background-image: url(/images/delidded-cpu.webp);
  max-width: 757px;
  max-height: 589px;
  min-width: 757px;
  min-height: 589px;
}

.interactiveContent {
  top: 0; /* Needed to keep scrolling items aligned */
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
}

.interactiveItem {
  position: absolute;
  border-radius: 10%;
}

.interactiveItem:hover{
 background-color: var(--heirloomRed);
 opacity: 0.2;
}

.interactiveItem[data-item="topLeft"] {
  top: 25%;
  left: 15%;
  width: 21%;
  height: 18%;
}

.interactiveItem[data-item="bottomLeft"] {
  bottom: 25%;
  left: 15%;
  width: 21%;
  height: 18%;
}

.interactiveItem[data-item="topRight"] {
  top: 25%;
  right: 15%;
  width: 21%;
  height: 18%;
}
.interactiveItem[data-item="bottomRight"] {
  bottom: 25%;
  right: 15%;
  width: 21%;
  height: 18%;
}
.interactiveItem[data-item="center"] {
  top: 50%;
  left: 50%;
  width: 21%;
  height: 48%;
  transform: translate(-50%, -50%); /* Center the element */
}
/* INTERACTIVE IMAGE END */

/* RESPONSIVE BREAKPOINTS */
/* Extra small devices (MOBILE PHONE RESPONSIVENESS, 600px and down) */
@media only screen and (max-width: 600px) {
  *{
    box-sizing: border-box;
  }
  .container{
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100vw;
  }
  .content{
    padding: 1.2em;
    align-items: center;
  }
  .rowCards{
    flex-direction: column;
    gap: 2em;
  }
  .navbar{
    flex-direction: row-reverse;
    justify-content: space-between;
    max-height: 15vh; 
    top: 0px;
    position: sticky;
    padding: 0px;
    padding-left: 15px;
    padding-right: 15px;
    vertical-align: middle;
    align-items: center;
  }
  .navbar img{
    height: 24px;
  }
  .links{
    font-size: 0.8em;
  }
  .navbar #navbarLinkHome{
    visibility: hidden !important;
  }
  .navbar #navbarLinkGuide{
    visibility: hidden !important;
  }
  .sidebar{
   flex-direction: column;
   min-width: 100%;
   max-height: 13vh;
  }
  .sidebarLinks{
    flex-direction: row;
    padding: 0em;
    gap: 0.8em;
  }
  .sidebarLinks a{
    padding-top: 1.4em;
    font-size: 0.9em
  }
  .footer{
    padding: 1.2em;
    flex-direction: column;
  }

  #unknown-body{
    visibility: visible !important;
  }
  .icon{
    max-height: 24px;
  }
  #bodyHorror{
    background-image: url(/images/delidded-cpu.webp);
    max-width: 378.5px;
    max-height: 294.5px;
    min-width: 378.5px;
    min-height: 294.5px;
  }
  #thirdChip p{
    font-size: 1em !important;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {

}

/* IDENTIFIERS START */
#unknown-body{
  visibility: hidden;
  text-align: center;
  color: var(--concord);
}
#welcome{
  text-align: center;
}
#welcome::before{
  font-size: 2em;
  font-weight: bold;
  content: "Welcome to the Labyrinth";
}
#welcome:hover::before{
  font-size: 2em;
  font-weight: bold;
  color: lightskyblue;
  content: "( : Have fun : )";
}
#startGameLabel::before{
  content: "Start the game";
}
#startGameLabel:hover::before{
  color: var(--heirloomRed);
  content: "Buckle up";
}
#notFoundContent{
  display: flex;
  flex-direction: column;
  text-align: center;
}
/* IDENTIFIERS END */
