@font-face {
    font-family: 'enchantedLand';
    src: url("../font/enchanted.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
    font-kerning: 2px;
}    

/* GLOBAL STYLES */
body{
    background-image: linear-gradient(#0000, #0000), url('../img/background.jpeg');
    background-color: #002249;
    margin: 0px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

h2{
    font-family: 'enchantedLand';
}

/* HEADER */
main{
  padding-top: 95px;
}

  /* Header Designed my ChatGPT - Utilized previous design to inspire this iteration. https://chatgpt.com/share/67e3689e-de34-8005-ba30-fd215479f83f*/
.header {
  width: 100%;
  padding: 10px;
  color: white;
  display: flex;
  position: fixed;
  align-items: center;
  justify-content: space-between;
  background-image: linear-gradient(to right, #002247, #0057B8 50%, #002249);
  z-index: 4;
  margin: 0px;
  height: 95px;
}
#logo > img{
  width: 275px;
  height: auto;
}

.image-button {
  background: none;
  border: none;
  cursor: pointer;
  padding-inline: 0px;
  padding: none;
}
.image-button img {
  height: 30px;
  width: auto;
}
@media (min-width: 500px) {
  .header {
      justify-content: center;
      position: fixed;
  }
  .logo {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
  }
  .image-button {
      position: absolute;
      right: 20px;
  }
}

/* Main Collage */
/* Code from CSS Tricks "https://css-tricks.com/css-only-carousel/" */
h2{
    display: block;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4em;
}

@keyframes tonext {
    75% {
      left: 0;
    }
    95% {
      left: 100%;
    }
    98% {
      left: 100%;
    }
    99% {
      left: 0;
    }
}
  
  @keyframes tostart {
    75% {
      left: 0;
    }
    95% {
      left: -300%;
    }
    98% {
      left: -300%;
    }
    99% {
      left: 0;
    }
  }
  
  @keyframes snap {
    96% {
      scroll-snap-align: center;
    }
    97% {
      scroll-snap-align: none;
    }
    99% {
      scroll-snap-align: none;
    }
    100% {
      scroll-snap-align: center;
    }
  }
  
  .carousel-body {
    max-width: 85%;
    margin: 0 auto;
    font-family: 'Lato', sans-serif;
    z-index: -2;
  }

  * {
    box-sizing: border-box;
    scrollbar-color: transparent transparent; /* thumb and track color */
    scrollbar-width: 0px;
  }
  
  *::-webkit-scrollbar {
    width: 0;
  }
  
  *::-webkit-scrollbar-track {
    background: transparent;
  }
  
  *::-webkit-scrollbar-thumb {
    background: transparent;
    border: none;
  }
  
  * {
    -ms-overflow-style: none;
  }

  ol, a {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .carousel {
    position: relative;
    filter: drop-shadow(0 0 10px #0003);
    perspective: 100px;
    height: 600px;
  }
  
  .carousel__viewport {
    position: absolute;
    top: 30px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    overflow-x: scroll;
    counter-reset: item;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    border-radius: 20px;
  }
  
  .carousel__slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    background-image: linear-gradient(#121212b3, #191919b3), url('../img/ride-vehicles-collage.jpg');
    background-position: center;
    counter-increment: item;
  }

  #carousel__slide2 {
    background-image: linear-gradient(#121212b3, #191919b3), url(../img/live-shows-collage.jpg);
    background-position: 50% 50%;
  }
  
  #carousel__slide3 {
    background-image: linear-gradient(#121212b3, #191919b3), url(../img/parades-collage.jpg);
    background-position: 50% 50%;
  }

  #carousel__slide4 {
    background-image: linear-gradient(#121212b3, #191919b3), url(../img/interactive-characters-collage.jpg);
    background-position: 50% 50%;
  }

  #carousel__slide5 {
    background-image: linear-gradient(#121212b3, #191919b3), url(../img/animation-studio-collage.jpg);
    background-position: 50% 50%;
  }

  .carousel__slide:nth-child(even) {
    background-color: #99f;
  }
  
  .carousel__slide:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%,-40%,70px);
    color: #fff;
    font-size: 2em;
  }

  .carousel_title{
    line-height: 85px;
    font-size: 96px;
    letter-spacing: 3px;
  }
  
  .carousel__snapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
  }
  
  @media (hover: hover) {
    .carousel__snapper {
      animation-name: tonext, snap;
      animation-timing-function: ease;
      animation-duration: 4s;
      animation-iteration-count: infinite;
    }
  
    .carousel__slide:last-child .carousel__snapper {
      animation-name: tostart, snap;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .carousel__snapper {
      animation-name: none;
    }
  }
  
  .carousel:hover .carousel__snapper,
  .carousel:focus-within .carousel__snapper {
    animation-name: none;
  }
  
  .carousel__navigation {
    position: absolute;
    right: 0;
    /* bottom: 0; */
    left: 0;
    margin-top: auto;
    /* height: 30%; */
    text-align: center;
    max-width: 85%;
    margin: auto;
  }
  
  .carousel__navigation-list,
  .carousel__navigation-item {
    display: inline-block;
  }

  .carousel__navigation-list{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 5px;
  }

  .carousel__navigation-button {
    display: inline-block;
    width: auto;
    height: 6rem;
    font-size: 3em;
    transition: transform 0.1s;
    border-radius: 20px;
    color: #002247;
  }

  .carousel__navigation-button > p{
    margin: 0px;
    font-size: 30%;
  }

  .carousel__navigation-item > p{
    margin: 0px;
  }

  #live-shows{
    color: gold;
  }

  #live-shows > p{
    color: #002247;
  }
  
  .carousel::before,
  .carousel__prev {
    left: -1rem;
  }
  
  .carousel::after,
  .carousel__next {
    right: -1rem;
  }
  
  .carousel::before,
  .carousel::after {
    content: '';
    z-index: 1;
    background-color: #333;
    background-size: 1.5rem 1.5rem;
    background-repeat: no-repeat;
    background-position: center center;
    color: #fff;
    font-size: 2.5rem;
    line-height: 4rem;
    text-align: center;
    pointer-events: none;
  }
  
  .carousel::before {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,50 80,100 80,0' fill='%23fff'/%3E%3C/svg%3E");
  }
  
  .carousel::after {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,50 20,100 20,0' fill='%23fff'/%3E%3C/svg%3E");
  }

.swipe-click{
  color:#0057B8;
  font-size: 20px;
  text-align: center;
  margin: 0px;
  margin-bottom: 20px;
}

/* POPUP NAV - CHATGPT: https://youtu.be/bAveAfYHl0Q*/
button{
    background-color: #ffffff00;
    border: none;
}

#overlay {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 300px;
  height: 370px;
  display: none;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  z-index: 1;
}
#popup {
  background: white;
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  text-align: center;
  position: relative;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #0057B8;
  border: none;
  border-radius: 50%;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 30px;
}
.nav-item {
  display: block;
  margin: 10px 0;
  cursor: pointer;
  color: rgb(0, 0, 0);
  font-weight: bold;
}
.content-page {
  display: none;
}

a{
  text-decoration: none;
}


#ai-disclaimer{
  position: absolute;
  top: 90px;
  font-size: .5em;
  text-align: center;
}