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

/* GLOBAL STYLES */
body{
    background-image: linear-gradient(#0000, #0000), url('../img/background.jpeg');
    background-color: #002249;
    margin: 0px;
}

h2{
    font-family: 'enchantedLand';
}

h3{
    font-family: 'enchantedLand';
    font-size: 40px;
    margin-top: 0px;
    margin-bottom: 0px;
}

p{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 14px;
}

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

/* Header Designed my ChatGPT - Utilized previous design to inspire this iteration. */
.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: 75px;
}
#logo > img{
    width: 275px;
    height: auto;
}

.image-button {
    background: none;
    border: none;
    cursor: pointer;
    padding-inline: 20px;
    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;
    }
}


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

#overlay {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 300px;
  height: 400px;
  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;
}



/* BELOW THE HEADER */
h2{
    display: block;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* CSS Tricks: https://css-tricks.com/css-only-carousel/ */
@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: 100%;
    margin: 0 auto;
    font-family: 'Lato', sans-serif;
    z-index: -2;
  }

  .carousel {
    position: relative;
    filter: drop-shadow(0 0 10px #0003);
    /* perspective: 100px; */
    height: 400px;
  }
  
  .carousel__viewport {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0px;
  }
  
  /* Images created with Microsoft Copilot */
  .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: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;
  }


/* OVERLAY IMAGES FOR HEADER




/* PAGE CONTENT */
.page-content{
    padding: 20px;
}

.text-box{
    margin-top: 15px;
    margin-bottom: 15px;
}

.text-box > p{
    margin: 0px;
}

.text-box > h3{
    line-height: .75em;
}

#first-box{
    margin-top: 0px;
}

.snow-white{
    display: flex;
    position: relative;
    align-items: center;
    gap: 10px;
}

#animated-feature{
    font-size: 1.5em;
}


/* Interactive Element */
.interactive-element{
    max-width: 100%;
}

#live-shows-element {
    height: 200px;
}

.interactive-element > h3{
    text-align: center;
}

video{
    position: relative;
    margin: auto;
}

source{
    position: relative;
    margin: auto;
}

iframe{
    margin: auto;
    display: block;
}

#iframe-padding{
    padding-bottom: 20px;
}


/* BLUE BACK BUTTON */
.blue-back-button{
    width: 80px;
    height: 25px;
    position: fixed;
    bottom: 15px;
    left: 15px;
    background-color: #0057B8;
    cursor: pointer;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    display: block;
    margin: auto;
    transition: 30ms;
}


/* JUXTAPOSITION SLIDER */
/* Created with ChatGPT: https://chatgpt.com/share/67e37a93-084c-8005-a479-97eff5b447d8 */
.interactive-element > p{
    text-align: center;
    margin: 0;
    margin-bottom: 5px;
    color: #0057B8;
}

.interactive-element{
    padding-bottom: 20px;
    align-content: center;
}

body { font-family: Arial, sans-serif; }
    .slider-container {
        position: relative;
        width: 300px;
        max-width: 100%;
        height: 200px;
        overflow: hidden;
        border: #E72DB8 solid;
        border-width: 5px;
        border-radius: 20px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        margin: auto;
    }
    
    .image-wrapper {
        position: absolute;
        width: 100%;
        height: 100%;
    }
    .image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .slider-handle {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 6px;
        background: rgb(0, 0, 0);
        cursor: ew-resize;
    }

    .slider-grapple{
        position: relative;
        width: 30px;
        height: 60px;
        background-color: #E72DB8;
        border-radius: 20px;
        justify-content: center;
        align-items: center;
        top: 40%;
        left: -12px;
        margin: auto;
    }

    .image-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 50%;
        height: 100%;
        overflow: hidden;
        margin: auto;
    }

    .image-overlay img{
      object-fit: cover;
      height: 100%;
      margin: auto;
      display: block;
    }

/* CINDERELLA TRANSFORMATION */

/* Code create from ChatGPT: https://chatgpt.com/share/67e37a93-084c-8005-a479-97eff5b447d8*/
.interactive-element > p {
    text-align: center;
    margin: 0;
    margin-bottom: 5px;
    color: #0057B8;
}

.image-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: auto;
    touch-action: manipulation; /* Prevents double-tap zoom */
}

.image-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.hover-image {
    opacity: 0;
}

.image-container:hover .hover-image {
    opacity: 1;
}





/* Screen Size Adjust */
@media screen and (min-width:700px){
    .page-content{
        display: flex;
        gap: 30px;
        max-width: 90%;
        margin: auto;
    }
}

@media screen and (min-width:1200px){
    .page-content{
        display: flex;
        gap: 200px;
        max-width: 70%;
        margin: auto;
    }

    .slider-container{
        width: 535px;
        height: 400px;
    }

    .interactive-element{
        max-width: 50%;
    }

    .text-section{
        max-width: 50%;
    }
}

/* @media screen and (min-width:1200px){
    .page-content{
        margin-right: 30px;
    }
} */