
html {
  min-height:100%;
}

body {
    background-color: #290000;

    font-size: 1.35rem;
    font-family: "Gaegu", sans-serif;
    font-weight: 600;
    font-style: normal;

    color: #fafafa;
    
      padding:0;
      margin:0;

    }
    
#sky {
  height: 100%;
}

.star {
  box-shadow: 0px 0px 1px 1px rgba(255, 255, 255, 0.4);
  position: absolute;
  width: 1px;
  height: 1px;
  border-radius: 2px;
  background-color: white;
}

.bounce-text {
  
  position: absolute;
  transform: translate(-50%, 50%);
  left: 50%;
 
  line-height: 0;
  display: flex;
  gap: 5px;
  font-size: 3rem;
  font-weight: bold;
  justify-content: center;
}
.bounce-text span {
  display: inline-block;
  animation: bounce 1s infinite ease-in-out;
}
.bounce-text span:nth-child(1) {
  animation-delay: 0s;
}
.bounce-text span:nth-child(2) {
  animation-delay: 0.1s;
}
.bounce-text span:nth-child(3) {
  animation-delay: 0.2s;
}
.bounce-text span:nth-child(4) {
  animation-delay: 0.3s;
}
.bounce-text span:nth-child(5) {
  animation-delay: 0.4s;
}
.bounce-text span:nth-child(6) {
  animation-delay: 0.5s;
}
.bounce-text span:nth-child(7) {
  animation-delay: 0.6s;
}
.bounce-text span:nth-child(8) {
  animation-delay: 0.7s;
}
.bounce-text span:nth-child(9) {
  animation-delay: 0.8s;
}
.bounce-text span:nth-child(10) {
  animation-delay: 0.9s;
}
.bounce-text span:nth-child(11) {
  animation-delay: 1s;
}
.bounce-text span:nth-child(12) {
  animation-delay: 1.1s;
}
.bounce-text span:nth-child(13) {
  animation-delay: 1.2s;
}
.bounce-text span:nth-child(14) {
  animation-delay: 1.3s;
}
.bounce-text span:nth-child(15) {
  animation-delay: 1.4s;
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.red {
  color: #ff2828;
}
.orange {
  color: #ff9b28;
}
.yellow {
  color: #ffea28;
}
.green {
  color: #28ff55;
}
.blue {
  color: #2c28ff;
}



  center {
    text-align:center;
    }

    .centerImage {
      display: block;
      margin-left: auto;
      margin-right: auto;
      width: 50%;
    }

    .centerText {
      text-align:center;
      }
    
      .bigger {
        size:300px;
      }
    
  /*Some custom fun styling*/
  h1, h2, h3 {
    text-align:center;
    }
  
    a {
      
      color: rgb(250, 250, 250);
      text-decoration: none
      }
      
    a:visited {
      color: rgb(180, 180, 180);
      text-decoration: none
      }
  
  blockquote {
    background: #dedeed;
    color: #444;
    font-style: italic;
    border-left: 2px solid #445;
    padding: 0.5em 0.5em 0.5em 1em;
    border-radius: 0 3px 3px 0;
    margin: 1em;
    }
    
       

  /*Get rid to top padding on headers at the very top of a box.*/
  .topheader {
    margin-top: 15px;
    }
    
    
  /*Container for all major divs*/
  .main {
    
    border: 0px solid #121212;
    position: relative;
    height: 45rem;
    width: 80vw;
    margin: 2.5rem auto 1.5rem auto;
    }
    
  .box {
    position: absolute;
    background: hsla(0, 0%, 7%, 0.835);
    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: 38rem;
    width: 20%;  
    }
    
  .left {
    border-radius: 25px 3px 3px 15px;
    }
  
  .middle {
    border-radius: 20px 20px 20px 20px;
    height: 40rem;
    width: 80%;
    margin-left:22.25%; /*Rounds more nicely than 22.5 for some reason*/
   
  }
    
  .firstpage {
    border-radius: 20px 20px 20px 20px;
   height: 40rem;
   
    }


  .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;
    }
    
    
  
  /*Optional sidebar links*/
  .button-link {
    display: block;
    background: #121212;
    text-decoration: none;
    color: #ffffff;
    margin: 0.5em 0;
    padding: 0.35em 0.5em;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    color: #ffffff;
    }
    
    .button-link:visited {
      color: #b9b9b9;
      }
    
  .button-link:hover {
    background: #4b4b4be1;
    }

  .imgButton {
    width: auto;
    
    transition: transform 0.5s ease;
    text-decoration: none
  }

    .imgButton:hover {
      transform: rotate(30deg);
    }

    .centerImgButton {
      display: block;
      margin-left: auto;
      margin-right: auto;
      
      transition: transform 0.5s ease;
      text-decoration: none
    }

    .centerImgButton:hover {
      transform: rotate(30deg);
    }

  .imgFlip{
      width: auto;
      height: 100px;
      transition: transform 0.5s ease;
      text-decoration: none
    }
  
    .imgFlip:hover {
      transform: rotate(180deg);
    }
  
  /*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;
        }
    
    }