@import url('https://fonts.googleapis.com/css?family=Comfortaa|Press+Start+2P&display=swap');

/* ANIMATIONS */
@-webkit-keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}

/* ANIMATIONS END HERE */

body {
  color: azure;
  background: #0f0c29;  
  background: -webkit-linear-gradient(to right, #85003c, #0f0c29);  
  background: linear-gradient(to right, #85003c, #0f0c29); 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 90vh;
  max-width: 100vw;
  font-family: 'Comfortaa', cursive;
  line-height: 1.75em;
}
h1 {
  top: 0;
  font-family: 'Press Start 2P', cursive;
  font-size: 2.75rem;
  text-decoration: underline;
  text-align: center;
}

.box {
  background: rgba(0, 0, 0, 0.25);
  padding: 8px;
  display: flex;
  flex-direction: column;
  max-width: 480px;
}

a {
  text-decoration: none;
  color: #d62475;
  line-height: 1.5em;
}
a:hover {
  color: #097491; 
}
a:active {
  color: #ff0000;
}

.button {
  /* Button styling here (for both link and buttons) */
  background: #bbb;
  color:#1e0694 !important;
  padding: 12px 8px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  font-family: 'Press Start 2P';
  font-size: 0.75rem;
  outline: none;
  border: none;
  margin: 4px 2px;
  cursor: pointer;
}

.button:hover {
  background: #ddd;
}

.button:active {
  background: #fff;
}

.modal {
  z-index: 3;
  display: none;
  padding-top: 100px;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-animation-duration: 500ms;
  animation-duration: 500ms;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.modal-content {
  margin: auto;
  background-color: #ededff;
  color: #333;
  font-size: 20px;
  position: relative;
  outline: 0;
  width: 640px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  text-align: center;
  max-width: 90%;
  max-height: 75%;
  overflow-y: scroll;
}

.modal h1, .modal h2, .modal h3, .modal h4, .modal h5, .modal h6 {
  color: #000000;
  text-transform: uppercase;
  font-family: 'Press Start 2P', cursive;
  text-align: center;
}

.close {
  background: #000000;
  color: #ffffff;
  padding: 16px 24px;
  text-transform: uppercase;
  text-decoration: none;
  font-family: 'Press Start 2P';
  font-size: 0.75rem;
  outline: none;
  border: none;
  margin: 4px 2px;
  cursor: pointer;
}

.close:hover {
  background: #000000aa;
  transition: background 100ms ease-out;
}
.close:active {
  background: #00000099;
  transition: background 100ms ease-out;
}

hr {
  height: 0;
  border-bottom: 1px solid #c0c0c0;
  width: 75%;
  margin-top: 4px;
  margin-bottom: 8px;
}
 
h4, h5, h6 {
  margin: 32px 12px 8px 12px;
}
.modal p{
  margin: 0 16px 16px 16px;
}

@media only screen and (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  .button {
    font-size: 0.5rem;
  }
}