body {
    background-color: black;
}

.pages {
    text-align: right; 
}

#overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Popup box */
#popup {
  background: black;
  padding: 30px;
  border-radius: 5px;
  text-align: center;
  color: white;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  border-color: yellow;
  border-width: 2px;
  border-style: solid;
}

/* Close button */
#popup button {
  margin-top: 20px;
  padding: 10px 20px;
  background: yellow;
  color: black;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#popup button:hover {
  background: #F5D627;
}

.wrapper {
    height: 75vh;
    display: grid;
    place-items: center;
  }
  
  .text_type_shit {
    width: 35ch;
    animation: typing 2s steps(22), blink .5s step-end infinite alternate;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid;
    font-family: monospace;
    font-size: 2em;
    color: white;
  }
  
  @keyframes typing {
    from {
      width: 0
    }
  }
      
  @keyframes blink {
    50% {
      border-color: transparent
    }
  }

.psa {
    color: yellow;
    display: block;
}

#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 120px;
  height: 120px;
  margin: -76px 0 0 -76px;
  border: 10px;
  border-radius: 50%;
  border-top: 10px solid yellow;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 } 
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom { 
  from{ bottom:-100px; opacity:0 } 
  to{ bottom:0; opacity:1 }
}

#contents {
  display: none;
  text-align: center;
}