body,
html {
  height: 100%;
  min-height: 200vh;
}

body:hover > #trailer {
  opacity: 0;
}

#trailer {
  padding: 20px;
  background: rgba(18, 18, 18, 0.7);
  backdrop-filter: blur(20px);
  border-radius: 30px;

  position: fixed;
  left: 0px;
  top: 0px;
  z-index: 6942069;

  pointer-events: none;
  opacity: 0;
  transition: opacity 500ms ease;

  display: grid;
  place-items: center;
  vertical-align: top;
}

#trailer-text {
  color: white;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.menu {
  transition: all 500ms;
  display: flex;
  flex-direction: row;
  gap: 30vw;
}

.menu-list {
  transition: all 500ms;
  transition-delay: 200ms;
  list-style-type: none;
  font-size: 250%;
  margin-left: 0;
  margin-right: 0;
}

.menu-list li a {
  font-size: 8vh;
  color: gray;
  transition: all 200ms;
  text-align: left;
}

.menu-list {
  transition: all 500ms;
  transition-delay: 200ms;
  list-style-type: none;
  font-size: 25vh;
}

.menu-list li.right a {
  transition: all 500ms;
  font-size: 50;
  color: gray;
  transition: all 200ms;
  text-align: right;
  margin-right: 8vh;
  font-size: 8vh;
}

.menu-list li a:hover {
  color: white;
  cursor: pointer;
}

.menu-list li a:active {
  color: white;
  text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #fff,
    0 0 50px #fff, 0 0 60px #fff, 0 0 70px #fff;
}

.menu-list li.right a:hover {
  color: white;
  cursor: pointer;
}

.menu-list li.right a:active {
  color: white;
  text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #fff,
    0 0 50px #fff, 0 0 60px #fff, 0 0 70px #fff;
}

.hidden {
  opacity: 0;
  filter: none;
}

#menu-list.hidden {
  transform: translateY(250px);
}

ul.statList {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 30vw;
  margin: 0;
  padding: 0;
}

ul.statList li {
  text-align: center;
}

ul.statList li p.title {
  font-size: 5em;
}

#title {
  color: #43cea2; /* fallback for old browsers */
  color: -webkit-linear-gradient(
    to right,
    #185a9d,
    #43cea2
  ); /* Chrome 10-25, Safari 5.1-6 */
  color: linear-gradient(
    to right,
    #185a9d,
    #43cea2
  ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

  transition: all 500ms;
}

#title:hover {
  color: white;
}

.parallax {
  /* The image used */
  background-image: url("https://source.unsplash.com/1600x900/?crowd");

  /* Full height */
  height: 50%;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  animation: scrollFadeOut 0.5s ease-in-out infinite;
  animation-play-state: paused;
  animation-delay: calc(var(--scroll) * -1s);

  animation-iteration-count: 1;
  animation-fill-mode: both;
  z-index: 100000000000;
}

.scroll-fade-out {
  animation: scrollFadeOut2 0.5s ease-in-out infinite;
  animation-play-state: paused;
  animation-delay: calc(var(--scroll) * -1s);

  animation-iteration-count: 1;
  animation-fill-mode: both;
}

#menu-list {
  margin-top: 10%;
  margin-bottom: 8vh;
}

#frameDemo {
  width: 100%; 
  height: 8vh;
}

.rise {
  animation: enterUp 1.5s ease-in-out infinite;
  animation-play-state: paused;
  animation-delay: calc(var(--scroll) * -1s);

  animation-iteration-count: 1;
  animation-fill-mode: both;
}

.cards.rise {
  animation: enterUp 3s ease-in-out infinite;
  animation-play-state: paused;
  animation-delay: calc(var(--scroll) * -1s);

  animation-iteration-count: 1;
  animation-fill-mode: both;
}

.button.scroll-top {
  position: fixed;
  top: 90%;
  left: 95%;
  text-align: center;
  z-index: 40000000000;
}

@media screen and (max-width: 950px) {
  .menu-list li.right a {
    font-size: 6vh;
  }
  .menu-list li a {
    font-size: 6vh;
    text-align: center;
  }
  #menu-list {
    margin-top: 20%;
    margin-bottom: 8vh;
    margin-right: 20%;
  }
}

formContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.inputBox {
  font-family: SegoeUIVariable;
  padding: 10px;
  border: none;
  border-radius: 5px;
  margin-bottom: 10px;
  width: 300px;
  font-size: 16px;
  background-color: rgba(37, 37, 37, 0.8);
  color: white;
}

.button {
  background-color: rgba(37, 37, 37, 0.8);
  color: white;
  border-radius: 5px;
  padding: 10px;
  padding-right: 15px;
  padding-left: 15px;
  font-size: 15px;
  border: 1px solid rgb(100, 100, 100);
  font-family: SegoeUIVariableSemibold;
  cursor: pointer;
  transition: all 200ms;
  backdrop-filter: blur(50px);
}

.button:active {
  background-color: rgba(37, 37, 37, 0.8);
  transform: scale(0.95);
  box-shadow: none;
}

.resultBox {
  font-family: SegoeUIVariable;
  padding: 10px;
  border: none;
  border-radius: 5px;
  margin-top: 10px;
  width: 300px;
  height: 100px;
  font-size: 16px;
  background-color: rgba(37, 37, 37, 0.8);
  color: white;
  overflow-y: scroll;
}


@media screen and (max-width: 600px) {
  .menu {
    display: inline-block;
  }
  .menu-list li.right a {
    color: gray;
    transition: all 200ms;
    text-align: left;
    font-size: 5vh;
  }
  .menu-list li a {
    color: gray;
    transition: all 200ms;
    text-align: center;
    font-size: 5vh;
  }
  #menu-list {
    margin-top: 20%;
    margin-bottom: 8vh;
    margin-right: 20%;
  }
  .button.scroll-top {
    position: fixed;
    top: 90%;
    left: 80%;
    text-align: center;
    z-index: 40000000000;
  }
}

@keyframes enterUp {
  0% {
    opacity: 0;
    transform: translateY(250px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes scrollFadeOut {
  0% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

@keyframes scrollFadeOut2 {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes countingUp {
  50% {
    transform: translateY(-30px);
    opacity: 0;
  }
  75% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes countingDown {
  50% {
    transform: translateY(30px);
    opacity: 0;
  }
  75% {
    transform: translateY(-30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@-webkit-keyframes countingDown {
  50% {
    transform: translateY(30px);
    opacity: 0;
  }
  75% {
    transform: translateY(-30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
