* {
  scroll-behavior: smooth;
}

body {
  color: white;
  font-weight: 400px;
  font-family: "Nunito", sans-serif;
  overscroll-behavior-y: none;
}
body h1 {
  font-family: "Pristina", sans-serif;
  font-weight: normal;
  padding: 0;
  margin: 0;
}
body p {
  padding: 0;
  margin: 0;
}
body h2 {
  font-size: 120%;
  padding: 0;
  margin: 0;
}

.container {
  min-height: 100vh;
  max-height: -moz-fit-content;
  max-height: fit-content;
  background-image: linear-gradient(black, #050c1e, #050c1e, #202b46, #242f4c);
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.header {
  width: 100%;
  z-index: 50;
  background-image: linear-gradient(black, rgba(5, 12, 30, 0.5));
}
.header img {
  pointer-events: none;
}

.banner {
  margin-top: 5px;
  top: 0px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#logo {
  min-width: 300px;
  max-width: 80%;
}

.hover-underline {
  text-decoration: underline;
}

.hover-underline:hover {
  color: #f7de6f;
}

.nav {
  list-style: none;
  width: 100vw;
  margin: 0;
  padding: 0;
  display: flex;
  text-align: center;
  justify-content: space-evenly !important;
  font-size: 1.5vmax;
}
.nav__toggle {
  display: none;
}
.nav__checkbox {
  display: none;
}
.nav #nav__bar {
  display: inline-block;
  margin: 0px;
}
.nav #nav__bar li {
  position: relative;
  display: inline;
}
.nav #nav__bar a {
  font-family: "Tondo Corp";
  display: inline-block;
  padding: 10px;
  font-weight: bold;
  transition: 0.5s;
  border-radius: 10px;
  cursor: pointer;
}
.nav #nav__bar ul {
  position: absolute;
  left: -9999px;
  margin: 0;
  padding: 0;
  text-align: left;
}
.nav #nav__bar ul a {
  font-size: 1.3vmax;
  white-space: nowrap;
  display: block;
}
.nav #nav__bar li:hover .sub_menu {
  /*makes them show up*/
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
}
.nav #nav__bar a:hover {
  text-decoration: underline;
  color: #f7de6f;
  text-shadow: 0 0 5px #f7de6f;
}
.nav #nav__bar a:hover::before {
  transform: scale(1.1);
}

:root {
  --shift: 0;
  --x: 0;
  --y: 0;
}

.parallax-wrap {
  align-items: center;
  display: flex;
  height: 50vw;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 80%;
  -webkit-mask-image: url("https://wtp-html5.b-cdn.net/assets/landing-site/homepg/mid.svg");
          mask-image: url("https://wtp-html5.b-cdn.net/assets/landing-site/homepg/mid.svg");
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-position: top;
          mask-position: top;
  transform-style: preserve-3d;
}

.parallax-wrap h1 {
  position: absolute;
  font-size: 14vmax;
  width: 100%;
  color: #f7de6f;
  mix-blend-mode: screen;
  z-index: 5;
  text-align: center;
  top: 20vh;
}

.parallax-wrap div {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  left: -20%;
  top: -80%;
  --shift-px: calc(var(--shift) * 1px);
  --size: 3vw;
  height: var(--size);
  position: absolute;
  transform: translateX(calc((100vw - var(--x) * var(--shift-px)) / 90)) translateY(calc((100vh - var(--y) * var(--shift-px)) / 90));
  width: var(--size);
  z-index: 3;
}

#bg1 {
  width: 100vw;
  height: 100vw;
  background-image: url("https://wtp-html5.b-cdn.net/assets/landing-site/homepg/bg1.png");
  --shift: -10;
}

#bg2 {
  left: 0;
  width: 100vw;
  height: 100vw;
  background-image: url("https://wtp-html5.b-cdn.net/assets/landing-site/homepg/bg2.png");
  --shift: 8;
}

#bg3 {
  width: 100vw;
  height: 100vw;
  background-image: url("https://wtp-html5.b-cdn.net/assets/landing-site/homepg/bg3.png");
  --shift: -5;
}

.screen_fairies {
  position: initial !important;
  z-index: 5 !important;
}

@keyframes float {
  to {
    transform: translateY(-0.1%) translateX(0.1%);
  }
}
#sf1 {
  z-index: 4 !important;
  width: 100vw;
  height: 100vw;
  background-image: url("https://wtp-html5.b-cdn.net/assets/landing-site/homepg/sf1.png");
  --shift: 3;
  animation: float 4.5s infinite alternate-reverse ease-in-out;
}

#sf2 {
  width: 100vw;
  height: 100vw;
  background-image: url("https://wtp-html5.b-cdn.net/assets/landing-site/homepg/sf2.png");
  --shift: 2;
  margin-left: -35vw;
  margin-top: -10vh;
  animation: float 4s infinite alternate-reverse ease-in-out;
}

#sf3 {
  width: 100vw;
  height: 100vw;
  background-image: url("https://wtp-html5.b-cdn.net/assets/landing-site/homepg/sf3.png");
  --shift: 2.5;
  margin-left: -8vw;
  margin-top: 30vh;
  animation: float 4.5s infinite alternate-reverse ease-in-out;
}

button {
  opacity: 0;
}

.play {
  z-index: 1;
  width: 15vw;
  top: 42%;
  position: absolute;
  max-width: 185px;
  filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.5));
}

.play:hover {
  filter: drop-shadow(0px 0px 7px #f7de6f);
}

.mid-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20vh;
  flex-direction: column;
}

.error {
  background-image: url("https://wtp-html5.b-cdn.net/assets/landing-site/404.png");
  width: 70vw;
  height: 40vw;
  position: relative;
  padding-top: 2%;
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.error h1 {
  color: #f7de6f;
  font-size: 3vmax;
  -webkit-animation: glow 3s infinite ease-in-out;
}

.home-item {
  margin-top: 20px;
  height: -moz-min-content;
  height: min-content;
}

.news {
  /*the blue box*/
  z-index: 1;
  background-color: #31495e;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 300px;
}
.news .post-list-header {
  color: #f7de6f;
  margin-top: 5%;
  margin-bottom: 3%;
}
.news .post-list {
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  height: 80%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  overflow-y: hidden;
  overflow-x: auto;
  flex-direction: row;
  width: 100%;
}
.news .post-list .post-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.news .post-list .post-title {
  color: #c9dfce;
}
.news .post-list .post-data {
  color: white;
  padding-bottom: 0px;
}
.news .post-list .post-container {
  padding: 0;
  margin: 0;
  margin-bottom: 3%;
  background-color: #172530;
  filter: drop-shadow(0px 3px 0px #080f15);
}
.news .post-list .post-body {
  padding: 2% 5%;
  font-size: 0.8em;
}

.home-container {
  display: grid;
  grid-template-columns: 35% 35%;
  gap: 5%;
  padding-left: 40px;
  padding-right: 40px;
  justify-content: center;
  margin-top: -5%;
  margin-bottom: 5%;
}

.legacy {
  z-index: 1;
  background-color: #31495e;
  border-radius: 15px;
  align-items: center;
  display: flex;
  flex-direction: column;
}
.legacy .legacy-header {
  color: #f7de6f;
  margin-top: 5%;
  margin-bottom: 5%;
  text-align: center;
}

#legacy-icon {
  width: 40% !important;
  height: auto;
  margin-top: 10px;
  margin: 20px;
  transition: 0.5s;
}

.legacy-description {
  padding: 5% 20% 5% 20%;
  text-align: center;
}

#legacy-icon:hover {
  filter: drop-shadow(0px 0px 30px #f7de6f);
}

.legacy-button {
  background: #75b64e;
  border-radius: 10px 10px 10px 10px;
  border: 5px solid #75b64e;
  color: white;
  font-family: "Tondo Corp";
  min-width: 200px;
  font-size: 24px;
  height: 50px;
  text-align: center;
  position: relative;
  bottom: 0px;
  transition: 0.5s;
  margin-bottom: 5%;
}
.legacy-button a {
  line-height: 40px;
}

.legacy-button:hover {
  filter: drop-shadow(0px 0px 10px #f7de6f);
}

.legacy-icon-img {
  max-height: 100%;
  max-width: 100%;
}

.footer {
  font-size: 2vmin;
}
.footer img {
  max-width: 50%;
  height: auto;
  pointer-events: none;
}
.footer p {
  margin-top: auto;
  text-align: center;
  margin: 0;
}
.footer .text-div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  flex-direction: column;
}
.footer .small {
  color: #507eb7;
  font-size: 0.8em;
}

.sparkle {
  background: url("https://media3.giphy.com/media/VfjEHoNY0IMAE/giphy.gif?cid=ecf05e47j6ue3mdlvsjbqtalcuc29gasrqbwbj6vriqmdh1w&rid=giphy.gif&ct=g");
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  color: #ffd50047;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-align: center;
  position: relative;
}

particle {
  opacity: 0;
  border-radius: 50%;
  left: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
}

.hover_glitter:hover {
  color: #ffd500df;
}

.con {
  margin: 0px;
  width: 100%;
  left: 0%;
  top: 0%;
  position: absolute;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

.column {
  display: flex;
  flex-direction: column;
  top: 10vw;
}

.fixed-image {
  position: relative;
  display: inline;
  pointer-events: none;
}
.fixed-image img {
  width: 100%;
}
.fixed-image h1 {
  line-height: 90%;
}

.left-col {
  padding-left: 5%;
  padding-top: 5%;
  width: 20%;
  left: 0;
  position: fixed;
}
.left-col .fixed-image {
  position: relative;
}
.left-col .fixed-image .pg-title {
  top: 35%;
  left: 25%;
  position: absolute;
}

.right-col {
  width: 80%;
  right: 0;
  position: absolute;
}
.right-col .fixed-image {
  display: inline-flex;
  pointer-events: none;
  flex-direction: column;
  align-items: center;
}
.right-col .none-found {
  justify-content: center;
  background-color: #507eb7;
  width: 90%;
  display: flex;
  border-radius: 0 0 20px 20px;
  text-align: center;
}
.right-col .none-found h2 {
  padding: 0 5px;
  font-size: 1.5vmax;
}
.right-col .fixed-text {
  top: 60%;
  left: 15%;
  width: 50%;
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
}

.trail-toggle {
  position: absolute;
  display: inline-block;
  margin: 5px;
  padding: 2px;
  border-radius: 30px;
  border: 2px solid #f7de6f3e;
}
.trail-toggle label {
  text-align: center;
  display: inline-block;
  position: relative;
  z-index: 2;
  margin: 0;
  text-align: center;
  padding: 2px;
}
.trail-toggle img {
  width: 2vw;
  pointer-events: none;
}
.trail-toggle input {
  width: 30%;
  height: 90%;
  position: absolute;
  z-index: 3;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}
.trail-toggle span {
  height: 80%;
  width: 30%;
  border-radius: 30px;
  background: #f7de6f3e;
  display: block;
  position: absolute;
  top: 10%;
  transition: all 0.2s ease-in-out;
}
.trail-toggle input[value="0"]:checked ~ span {
  left: 5px;
}
.trail-toggle input[value="2"]:checked ~ span {
  left: 68%;
}
.trail-toggle input[value="1"]:checked ~ span {
  left: 35%;
}

.bg-cut {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  pointer-events: none;
  -webkit-mask-image: url("https://wtp-html5.b-cdn.net/assets/landing-site/posts/bgcutout.svg");
          mask-image: url("https://wtp-html5.b-cdn.net/assets/landing-site/posts/bgcutout.svg");
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: right;
          mask-position: right;
  -webkit-mask-size: contain;
          mask-size: contain;
  background-image: url("https://wtp-html5.b-cdn.net/assets/landing-site/posts/Cottonpuff_Field.png");
  min-height: 35vw;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.faq-nav {
  display: flex;
  justify-content: center;
}
.faq-nav ul {
  display: flex;
  padding: 0px;
}
.faq-nav li {
  background-color: #396498;
  list-style-type: none;
  padding: 10px;
  margin: 2px;
  border-radius: 10px;
}
.faq-nav li p {
  margin: 10px;
}
.faq-nav li :hover {
  color: #f7de6f;
}

.accordion {
  scroll-margin-top: 200px;
}
.accordion h1 {
  color: #9cbee8;
}
.accordion .accordion-item {
  border-bottom: 1px solid #9cbee8;
}
.accordion .accordion-item button {
  color: white;
  font-family: "Nunito", sans-serif;
  position: relative;
  display: contents;
  width: 100%;
  font-size: 1rem;
  text-align: left;
}
.accordion .accordion-item button :hover {
  cursor: pointer;
}
.accordion .accordion-item .accordion-title {
  padding: 5px;
}
.accordion .accordion-item .accordion-title :hover {
  color: #f7de6f;
}
.accordion button[aria-expanded=true] + .accordion-content {
  opacity: 1;
  max-height: 9em;
  transition: all 200ms linear;
  will-change: opacity, max-height;
  background-color: #396498;
}
.accordion button[aria-expanded=true] + .full {
  max-height: 100vh !important;
  overflow: scroll;
}
.accordion button[aria-expanded=true] + .full iframe {
  width: 100%;
}
.accordion button[aria-expanded=true] .accordion-title {
  color: #f7de6f;
  background-color: #396498;
}
.accordion .accordion-content {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 200ms linear, max-height 200ms linear;
  will-change: opacity, max-height;
}
.accordion .accordion-content p {
  padding: 5px;
  margin: 0.3em;
}
.accordion .accordion-content a {
  text-decoration: underline;
  color: #f7de6f;
}

#popup-container {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 500;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

#popup {
  width: 80%;
  z-index: 501;
  margin-top: 15%;
  margin: 15% auto auto auto;
  padding: 3%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  background-image: url("https://wtp-html5.b-cdn.net/assets/landing-site/homepg/legal.png");
  background-size: cover;
  background-position: center;
  color: #172530;
  border-radius: 15px;
  filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.5));
}
#popup .button {
  cursor: pointer;
  border-radius: 15px;
  padding: 1% 5% 1% 5%;
  margin: 3px;
  background-color: white;
  filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.5));
  opacity: 0.9;
}
#popup .button:hover {
  opacity: 1;
}
#popup .leave {
  background-color: #396498;
  color: #f7de6f;
  padding: 0.5% 5% 0.5% 5%;
}
#popup h1 {
  color: #396498;
}
#popup h2 {
  color: #396498;
}

#main {
  flex-direction: column;
}

@media (max-width: 768px) {
  .nav {
    width: 100vw;
    display: block;
  }
  .nav__toggle {
    position: absolute;
    cursor: pointer;
    margin: 0rem 1rem;
    right: 0;
    display: block;
  }
  .nav svg {
    width: 1.5rem;
    fill: white;
    display: block;
    z-index: 60;
  }
  .nav .close {
    display: none;
    margin-top: 0.7rem;
  }
  .nav .menu {
    margin-top: 0.7rem;
  }
  .nav__checkbox {
    display: none;
  }
  .nav #nav__bar {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    position: static;
  }
  .nav #nav__bar li {
    list-style: none;
    display: none;
    text-align: left;
    font-size: 2vmax;
  }
  .nav #nav__bar ul {
    text-align: left;
    display: none;
  }
  .nav #nav__bar ul a {
    font-size: 1.8vmax;
    white-space: nowrap;
  }
  .nav #nav__bar li:hover .sub_menu {
    /*makes them show up*/
    position: relative;
    display: block;
    background-color: rgba(0, 0, 0, 0);
    padding-left: 10px;
  }
  .nav #nav__bar a:hover {
    text-decoration: underline;
    color: #f7de6f;
    text-shadow: 0 0 5px #f7de6f;
  }
  .nav #nav__bar a:hover::before {
    transform: scale(1.1);
  }
  .nav #nav__checkbox:checked ~ ul.nav__menu li {
    display: block;
  }
  #nav__checkbox:checked ~ .nav__toggle .close {
    display: block;
  }
  #nav__checkbox:checked ~ .nav__toggle .menu {
    display: none;
  }

  .trail-toggle {
    display: none;
  }

  .parallax-wrap h1 {
    top: 7vh;
    font-size: 12vw;
  }

  .parallax-wrap {
    height: 40vw;
  }

  .mid-section {
    padding-top: 10vh;
    flex-direction: column;
  }

  .home-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding-left: 5%;
    padding-right: 5%;
  }

  .home-item {
    max-width: 100%;
    padding-left: 1%;
    padding-right: 1%;
  }

  .news {
    min-height: 200;
    margin: 0;
  }

  .legacy {
    min-height: 200px;
    margin: 0;
  }
  .legacy .legacy-description {
    padding: 2% 10% 2% 10%;
    text-align: center;
    font-size: medium;
  }
  .legacy #legacy-icon {
    width: 70%;
  }

  .legacy-button {
    min-width: 150px;
    margin: 5% 0% 5% 0%;
  }
  .legacy-button a {
    font-size: medium;
  }

  .play {
    position: relative;
    width: 100%;
    max-width: 20vw;
    margin-top: -7vw;
    -webkit-animation: glow 5s infinite ease-in-out;
  }
  #sf3 {
    margin-top: 20vh;
  }

  .footer {
    font-size: 2vmin;
    margin: 20px 0px 20px 0px;
  }
  .footer img {
    max-width: 20%;
    height: auto;
    pointer-events: none;
  }
  .footer p {
    margin-top: auto;
    text-align: center;
    margin: 0;
  }
  .footer .text-div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    flex-direction: column;
  }
  .footer .small {
    color: #507eb7;
    font-size: 1em;
  }
}
