body {
  font-size: 0.875rem;
  color: #232323;
  background: #343434 url("img/Purple_Background.png");
	background-size: cover;
	background-attachment: fixed;
  background-position:bottom;
	background-size: cover;
	padding:0;
	margin:0;
  }
  
center {
  text-align:center;
  }
  
/*Some custom fun styling*/
h1, h2, h3 {
  text-align:center;
  }

a {
  color: #33c;
  }
  
a:visited {
  color: #226;
  }

blockquote {
  background: #dedeed;
  color: #444;
  border-left: 2px solid #445;
  padding: 0.5em 0.5em 0.5em 1em;
  border-radius: 0 3px 3px 0;
  max-width: 350px;
  margin: 0 auto;
  }
  
/*Get rid to top padding on headers at the very top of a box.*/
.topheader {
  margin-top: 1px;
  }
  
  
/*Container for all major divs*/
.main {
  border: 0px solid #121212;
  position: relative;
  height: 41rem;
  width: 75vw;
  margin: 2.5rem auto 1.5rem auto;
  }
  
.box {
  position: absolute;
  background: #ffffff;
  display: inline-block;
  border: 1px solid #121212;
  padding: 10px 5px 5px 0;
  bottom: 1rem;
  overflow: hidden;
  box-shadow: 3px 3px rgba(0,0,0,0.8);
  }
  
.left, .right {
  height: 32.5rem;
  width: 20%;  
  }
  
.left {
  border-radius: 25px 3px 3px 15px;
  }

.middle {
  border-radius: 20px 20px 3px 3px;
  height: 40rem;
  width: 55%;
  margin-left:22.25%; /*Rounds more nicely than 22.5 for some reason*/
  }
  
.right {
  border-radius: 3px 25px 15px 3px;
  right:0px;
  }
  
.left .scrollbox, .right .scrollbox {
  height: 32.5rem;
  }
  
.middle .scrollbox {
  height: 40rem;
  }
  
.scrollbox {
  overflow:auto;
  }
  
.inner {
  padding: 0.75rem 1.5em 0 1.5em;
  }
  
.inner img {
  max-width: 100%;
  height: auto;
  }

.footer {
  position: absolute;
  width: 100%;
  color: #efefef;
  font-size:0.9em;
  text-align:center;
  font-weight:bold;
  bottom: -1.5rem;
  margin: 0.5rem auto 0.75rem auto;
  }
  
.row {
  display:flex;
  align-items: flex-start;
  padding: auto;
}

.column {
  display: block;
  margin: auto;
  flex: 33.33%;
  padding: 25px;
}

.captionrow {
  display: flex;
}

.captioncolumn {
  flex: 33.33%;
  padding: 25px;
}

.recommended-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 20px; /* Spacing between items */
    padding-bottom: 25px; /* Adds space at the bottom */
}

.recommended-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 20px; /* Spacing between items */
    padding-bottom: 25px; /* Adds space at the bottom */
}

.recommended-grid-small-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
}

/* Details Code */
#details1 {
  background-color: #CEBFE3;
  padding: 16px;
  border-left: 4px solid #A37FC7;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 90%;
  font-size: 0.85rem;
  color: #000000;
  max-height: 380px;
  overflow-y: auto;
  box-sizing: border-box;
  margin: 0 auto;
}

#details-sweet-life {
  background-color: #F7F0FA;
  padding: 16px;
  border-left: 4px solid #A37FC7;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-size: 0.85rem;
  color: #000000;
  overflow-y: auto;
  margin: 0 auto;
  margin-bottom: 10px;
}

#details2 {
  background-color: #CEBFE3;
  padding: 16px;
  border-left: 4px solid #A37FC7;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 90%;
  font-size: 0.85rem;
  color: #000000;
  max-height: 380px;
  overflow-y: auto;
  box-sizing: border-box;
  margin: 0 auto;
}

#details-ambrosia {
  background-color: #F7F0FA;
  padding: 16px;
  border-left: 4px solid #A37FC7;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-size: 0.85rem;
  color: #000000;
  overflow-y: auto;
  margin: 0 auto;
  margin-bottom: 10px;
}

#details3 {
  background-color: #CEBFE3;
  padding: 16px;
  border-left: 4px solid #A37FC7;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 90%;
  font-size: 0.85rem;
  color: #000000;
  max-height: 380px;
  overflow-y: auto;
  box-sizing: border-box;
  margin: 0 auto;
}

#details-dragon-adoption {
  background-color: #F7F0FA;
  padding: 16px;
  border-left: 4px solid #A37FC7;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-size: 0.85rem;
  color: #000000;
  overflow-y: auto;
  margin: 0 auto;
  margin-bottom: 10px;
}

#details4 {
  background-color: #CEBFE3;
  padding: 16px;
  border-left: 4px solid #A37FC7;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 90%;
  font-size: 0.85rem;
  color: #000000;
  max-height: 380px;
  overflow-y: auto;
  box-sizing: border-box;
  margin: 0 auto;
}

#details-grubbys-garden {
  background-color: #F7F0FA;
  padding: 16px;
  border-left: 4px solid #A37FC7;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-size: 0.85rem;
  color: #000000;
  overflow-y: auto;
  margin: 0 auto;
  margin-bottom: 10px;
}

#details5 {
  background-color: #CEBFE3;
  padding: 16px;
  border-left: 4px solid #A37FC7;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 90%;
  font-size: 0.85rem;
  color: #000000;
  max-height: 380px;
  overflow-y: auto;
  box-sizing: border-box;
  margin: 0 auto;
}

#details-haru {
  background-color: #F7F0FA;
  padding: 16px;
  border-left: 4px solid #A37FC7;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-size: 0.85rem;
  color: #000000;
  overflow-y: auto;
  margin: 0 auto;
  margin-bottom: 10px;
}

/* Details Button Toggle */
.hidden {
  display:none;
}

.active {
  display:block;
}

.credits-section button {
  font-size: 1rem;
  font-family: 'Times New Roman', Times, serif;
  cursor: pointer;
  color: #00000;
  background-color: #CEBFE3;
  border-radius: 18px;
  padding: 8px 14px;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  white-space: normal; /* Permits text to wrap vertically */
  word-break: break-word;
}

.credits-section-2 button {
  font-size: 1rem;
  font-family: 'Times New Roman', Times, serif;
  cursor: pointer;
  color: #00000;
  background-color: #F7F3E1;
  border-radius: 18px;
  padding: 8px 14px;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  white-space: normal; /* Permits text to wrap vertically */
  word-break: break-word;
}

.credits-section-3 button {
  font-size: 1rem;
  font-family: 'Times New Roman', Times, serif;
  cursor: pointer;
  color: #00000;
  background-color: #FFFFFF;
  border-radius: 18px;
  padding: 8px 14px;
  border: none;
  transition: all 0.3s ease;
  white-space: normal; /* Permits text to wrap vertically */
  word-break: break-word;
}

.credits-section h2 {
  display: block;
  font-size: 1.5em;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
  font-family:'Times New Roman', Times, serif;
  color: #3a5a40;
}

.credits-section-2 h2 {
  display: block;
  font-size: 1.5em;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
  font-family:'Times New Roman', Times, serif;
  color: #3a5a40;
}

.recommended-details-section {
  display: flex;
  justify-content: center;
  padding-bottom: 10px;
}

.recommended-details-section button {
  font-size: 0.85rem;
  font-family: 'Times New Roman', Times, serif;
  text-align:center;
  cursor: pointer;
  color: #00000;
  background-color: #CEBFE3;
  border-radius: 18px;
  padding: 0px 14px;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.recommended-details-section-2 {
  display: flex;
  justify-content: center;
  padding-bottom: 10px;
}

.recommended-details-section-2 button {
  font-size: 0.85rem;
  font-family: 'Times New Roman', Times, serif;
  text-align:center;
  cursor: pointer;
  color: #00000;
  background-color: #E9E1F7;
  border-radius: 18px;
  padding: 0px 14px;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Details Button Hover */
#expand-details1:hover {
  background-color: #d5e9bd;
  transform: scale(1.05);
}

#expand-details-sweet-life:hover {
  background-color: #d5e9bd;
  transform: scale(1.05);
}


#expand-details2:hover { 
  background-color: #d5e9bd;
  transform: scale(1.05);
}

#expand-details-ambrosia:hover {
  background-color: #d5e9bd;
  transform: scale(1.05);
}

#expand-details3:hover { 
  background-color: #d5e9bd;
  transform: scale(1.05);
}

#expand-details-dragon-adoption:hover {
  background-color: #d5e9bd;
  transform: scale(1.05);
}

#expand-details4:hover { 
  background-color: #d5e9bd;
  transform: scale(1.05);
}

#expand-details-grubbys-garden:hover {
  background-color: #d5e9bd;
  transform: scale(1.05);
}

#expand-details5:hover { 
  background-color: #d5e9bd;
  transform: scale(1.05);
}

#expand-details-haru:hover {
  background-color: #d5e9bd;
  transform: scale(1.05);
}

/* Games Details Button Hover */
#games-expand-details:hover {
  background-color: #d5e9bd;
  transform: scale(1.05);
}

/* Thumbnails on the page */
.image-gallery input[type="checkbox"] {
  display: none; /* Hides the actual checkbox */
}

.image-gallery {
  font-size: 1rem;
  font-family: 'Times New Roman', Times, serif;
  color: #00000;
}

.image-gallery img {
  width: 150px; /* Adjust thumbnail size */
  cursor: pointer;
  transition: 0s;
}

/* What happens when you click (the enlargement) */
.image-gallery input[type="checkbox"]:checked ~ img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  background-color: rgba(0, 0, 0, 0.9); /* Dark backdrop overlay */
  z-index: 999999;
}

.models-section {
  font-size: 1rem;
  font-family: 'Times New Roman', Times, serif;
  cursor: pointer;
  color: #00000;
  background-color: #F7F0FA;
  border-radius: 18px;
  padding: 8px 14px;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  white-space: normal; /* Permits text to wrap vertically */
  word-break: break-word;
  margin-bottom: 20px;
}

/* Hint to Beom's Location */
.text1 p {
  font-family: 'Times New Roman', Times, serif;
  display: inline-block;
  max-width: 60%;
  margin: 3px;
  padding: 5px 10px;
  border-radius: 15px;
  border: double 5px #0C5919;
  background-color: #FFFFFF;
  color: #487A4E;
  font-family: sans-serif;
  font-size: 0.8em;
  text-indent: 0px;
}

#reveal {
  font-family: 'Times New Roman', Times, serif;
  text-align: right;
}

#reveal button {
  font-family: 'Times New Roman', Times, serif;
  text-align: right;
  background: #FFFFFF;
  border: none;
  padding: 0.35em 0.5em;
  cursor: pointer;
}

#output1 {
  font-family: 'Times New Roman', Times, serif;
  text-align: right;
}

/* Hint to Beom's Location */
#reveal2 {
  font-family: 'Times New Roman', Times, serif;
  text-align: right;
}

#output2 {
  font-family: 'Times New Roman', Times, serif;
  text-align: center;
}

#reveal2 {
  background: none;        /* Removes background color and images */
  border: none;            /* Removes the default 3D border */
  outline: none;           /* Removes the focus outline */
  padding: 0;              /* Removes default internal spacing */
  cursor: pointer;         /* Restores the clickable hand icon pointer */
  grid-column: 2;
}


/*Optional sidebar links*/
.button-link {
  display: block;
  background: #b0b0c0;
  color: #222;
  text-decoration: none;
  margin: 0.5em 0;
  padding: 0.35em 0.5em;
  border-radius: 2px;
  text-align: center;
  font-weight: bold;
  color: #002;
  }
  
.button-link:visited {
  color: #000;
  }
  
.button-link:hover {
  background: #c0c0d0;
  }


/*Nicer-looking resizing for narrower screens.*/
@media(max-width: 1000px) {
  .main {
    width: 82.5vw;
    }
    
  @media(max-width: 850px){
    body {
      font-size: 0.85rem;
      }
    .main {
      height: 91vh;
      width: 92vw;
      margin: 7vh 5vw 1.5vh 5vw;
      }
    .left, .right {
      height: 75vh;
      width: 18.5vw;
      }
    .right {
      right: 0;
      }
    .middle {
      height: 90vh;
      width: 50vw;
      margin-left: 20.5vw;
      }
    .left .scrollbox, .right .scrollbox {
      height: 75vh;
      }
    .middle .scrollbox {
      height: 90vh;
      }
    .footer {
      bottom: -2.5vh;
      margin: 0.25rem auto 0.5rem auto;
      }
    }
  }

/*Resizing for horizontally shorter screens.*/
@media(max-height: 45rem) {
  .main {
    height: 91vh;
    margin-top: 7vh;
    margin-bottom: 1.5vh;
    }
  .middle {
    height: 90vh;
    }
  .left, .right {
    height: 75vh;
    }
  .left .scrollbox, .right .scrollbox {
    height: 75vh;
    }
  .middle .scrollbox {
    height: 90vh;
    }
  .inner {
    padding-top: 0.5em;
    }
  .footer {
    bottom: -2.5vh;
    margin: 0.25rem auto 0.5rem auto;
    }
    
  @media(max-height: 32.5rem) {
    body {
      font-size: 0.825rem;
      }
    .main {
      margin-top: 10vh;
      height: 88vh;
      }
    .middle {
      height: 87vh;
      }
    .left, .right {
      height: 72vh;
      }
    .left .scrollbox, .right .scrollbox {
      height: 72vh;
      }
    .middle .scrollbox {
      height: 87vh;
      }
    .inner {
      padding-top: 0.25rem;
      }
    .footer {
      bottom: -3vh;
      }
    }
  }

/*Mobile layout*/
@media(orientation: portrait) {
    .main, .box, .footer {
      position: relative;
      display: block;
      }
    
    .left, .right, .middle {
      width: 90vw;
      height: auto;
      margin: 0 auto;
      padding-right: 3px;
      }
    
    .left .scrollbox, .right .scrollbox, .middle .scrollbox {
      height: auto;
      max-height: 100%;
      }
      
    .inner {
      padding: 0.75rem 1.5em 0.25em 1.5em;
      }
    
    .left {
      border-radius: 20px 20px 2px 2px;
      margin: 0;
      }
      
    .middle {
      border-radius: 2px;
      margin: 1rem 0;
      }
      
    .right {
      border-radius: 2px 2px 20px 20px;
      margin: 0;
      }
      
    .footer {
      width: auto;
      bottom: 0;
      margin: 0 0 1rem 0;
      padding: 0 1rem;
      }
      
    .credits-section button {
      font-size: clamp(0.15rem, 2.35cqw, 1.5rem);
    }

}