* {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: "Raleway", sans-serif;
  margin: 0;
  padding: 0;
}

h1 {
  font-family: "Montserrat", sans-serif;
}

h2,
h3 {
  font-family: "Montserrat", sans-serif;
}

.webgl {
  position: fixed;
  top: 0;
  left: 0;
  outline: none;
  width: 100%;
  height: 100%;
  display: block;
}

#intro-modal {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: absolute;
  width: 100%;
  min-height: 100%;
  padding: 0 25%;
  color: white;
  background-color: black;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-attachment: fixed;
  background-size: 200% 200%;
  animation: gradient 15s ease infinite;
  background-image: radial-gradient(
    circle,
    #8a7aff,
    #e672e0 20%,
    #ff7bba 30%,
    #ff9799 40%,
    #ffbb88 50%,
    #ffdf8f 70%,
    #ffffad 85%
  );
}

@keyframes gradient {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  to {
    background-position: 0 50%;
  }
}

a {
  color: white;
  background-image: linear-gradient(90deg, #8a7aff 0, #e672e0);
  background-size: 0 100%;
  background-repeat: no-repeat;
  transition: background 0.5s;
}
a:hover {
  background-size: 100% 100%;
}

a:active,
a:visited {
  color: #ffffad;
}

#warning-modal {
  background-color: #8a7aff;
  color: #ffffad;
  padding: 10px;
  border-radius: 5px;

  position: fixed;
  top: 20px;
  margin: 20px;
  margin-left: 40px;
  margin-top: 70px;
  width: 80vw;
  z-index: 3;
}

#warning-close {
  padding: 20px;
  border-radius: 10px;
  background-color: #ff9799;
  color: #ffffad;
  font-weight: 900;
  border-style: none;
  margin: 10px;
}

#intro-modal h1 {
  margin-bottom: 8px;
}

#intro-modal img {
  display: block;
  /* margin-bottom: 32px; */
  margin-top: 2vw;
  margin-bottom: 2vw;
  width: 100%;

  padding-top: 0px;
}

#intro-modal p {
  text-align: center;
  margin: 8px 0;
  font-size: 18px;
  background: black;
  padding: 20px;
}

#intro-modal button {
  margin: 24px;
  padding: 8px 16px;
  font-size: 18px;
  font-weight: bold;
  background-color: #ff9799;
  border: none;
  color: white;
  border-radius: 10px;
}

.hidden {
  visibility: hidden;
  display: none;
}

#pedestal-modal {
  position: absolute;
  background-color: #8a7aff;
  color: #ffffad;
  margin: auto;
  width: 80vw;
  height: 80vh;
  margin-left: 5vw;
  margin-right: 5vw;
  margin-top: 7vh;
  margin-bottom: 7vh;
  z-index: 2;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  text-align: center;

  overflow-y: auto;
  word-wrap: normal;
}

#pedestal-container {
  margin: auto;
  height: min-content;
}

#pedestal-media {
  margin: 10px;
  display: flex;
  justify-content: center;
}

#pedestal-media > div {
  margin: 10px;
}

#pedestal-image {
  width: 100%;
}

#pedestal-content {
  margin: 10px;
}
#pedestal-videolist {
  width: 100%;
}

#pedestal-video {
  max-width: 100%;
}

#pedestal-button {
  padding: 20px;
  border-radius: 10px;
  background-color: #ff9799;
  color: #ffffad;
  font-weight: 900;
  border-style: none;
  margin: 10px;
  margin-bottom: 20px;
  bottom: 0;
}

#touch-button-container {
  color: white;
  position: fixed;
  bottom: 20px;
  margin: auto;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  /* display: none; */
}

#instructions-modal {
  background-color: #ffffad;
  color: #ff9799;
  padding: 10px;
  border-radius: 5px;
  position: fixed;
  top: 20px;
  margin: 20px;
  margin-left: 40px;
  margin-top: 70px;
  width: 80vw;
}

#mailbox-modal {
  background-color: #8a7aff;
  color: #ffffad;
  padding: 10px;
  border-radius: 5px;
  position: fixed;
  top: 20px;
  margin: 20px;
  margin-left: 40px;
  margin-top: 70px;
  width: 80vw;
}

#info-buttons {
  display: flex;
  margin: 10px;
  z-index: 1;
  position: fixed;
  top: 20px;
  color: white;
  height: 50px;
  justify-content: space-between;
}

#question-mark {
  padding: 20px;
  border-radius: 10px;
  background-color: #ff9799;
  font-weight: 900;
  border-style: none;
  color: #ffffad;
  margin-right: 10px;
}

#mailbox-button {
  border-radius: 10px;
  background-color: #ff9799;
  font-weight: 900;
  border-style: none;
  z-index: 1;
  top: 20px;
  width: 50px;
  height: 50px;
}
#question-mark-close {
  padding: 20px;
  border-radius: 10px;
  background-color: #ff9799;
  color: #ffffad;
  font-weight: 900;
  border-style: none;
  margin: 10px;
}
#mailbox-close {
  padding: 20px;
  border-radius: 10px;
  background-color: #ff9799;
  color: #ffffad;
  font-weight: 900;
  border-style: none;
  margin: 10px;
}

#touch-button-container > button {
  padding: 30px;
  border-radius: 10px;
  background-color: #ff9799;
  font-weight: 900;
  border-style: none;
  font-size: 24px;
}

@media only screen and (max-width: 900px) {
  #intro-modal {
    padding-top: 20px;
    padding-bottom: 20px;
    /* height: auto; */
  }

  #pedestal-modal {
    margin: auto;
    /* width: 90vw; */
  }

  .main-youtube-video {
    max-width: 100vw;
    height: auto;
  }

  #touch-button-container {
    display: flex;
    justify-content: space-between;
    margin-left: 10px;
    margin-right: 10px;
  }

  #touch-button-container > button {
    padding: 30px;
    border-radius: 10px;
    background-color: #ff9799;
    font-weight: 900;
    border-style: none;
    font-size: 24px;
  }
}

@media only screen and (max-width: 500px) {
  #intro-modal {
    padding: 2%;
  }
  #touch-button-container {
    display: flex;
    justify-content: space-evenly;
    margin: auto;
  }
}
