body{
    margin: 0;
    height: 400vh;
    font-family: 'Russo One', sans-serif;
}

header{
    margin: auto;
}

.nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 15px 0;
  background-color: rgba(255, 255, 255, 0.2); 
  z-index: 100; 
  backdrop-filter: blur(5px);
  border-radius: 10px; 
}

.nav a {
  /* font-family: "Akaya Kanadaka", system-ui; */
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 24px;
  transition: transform 0.2s ease;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.9),
                 0 0 25px rgba(0, 0, 0, 0.7);
}

.nav a:hover {
  transform: scale(1.1);
  color: rgb(0 1 77);;
}


.parallax{
    height: 300vh;
    position: relative;
    overflow: hidden;
}

.parallax__bg, .parallax__layer{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.parallax__bg{
    z-index: 1;
    --parallax-speed: 0.5;
}

.parallax__layer--2{
    z-index: 4;
    --parallax-speed: 0.4;
}

.parallax__layer--3{
    z-index: 6;
    --parallax-speed: 0.38;
}

.parallax__layer--4{
    z-index: 7;
    --parallax-speed: 0.3;
}

.parallax__layer--5{
    z-index: 8;
    --parallax-speed: 0.34;
}

.parallax__layer--6{
    z-index: 5;
    --parallax-speed: 0.25;
    
}

.parallax__layer--7{
    z-index: 9;
    --parallax-speed: 0.32;  
}

.parallax__layer--8{
    z-index: 7;
    --parallax-speed: 0.3;
    
}

.parallax__layer--10{
    z-index: 9;
    --parallax-speed: 0.2;
    /* opacity: 70%; */
}

.parallax__layer--11{
    z-index: 10;
    --parallax-speed: 0.15; 
}

.parallax__content{
    position: relative;
    z-index: 7;
    text-align: center;
    top: 60%;
    filter: drop-shadow(0px 4px 0 rgb(36, 35, 35));
}


/* section trailer */

#trailer{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 100px;
    padding: 100px 0;
    
}


#trailer{
    background-image: url(../images/bg-video.png);
    height: 70vh;
    background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

video {
    border-radius: 10px;
}
.depth-effect2 {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  
}
.depth-effect {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
   
}

.parallax-card {
  width: 270px;
  height: 600px;
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
}

.parallax-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translateZ(50px); 
}




/* parallax world */

@import url(https://fonts.googleapis.com/css?family=Oswald:300,400,700);
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900,200italic,300italic,400italic,600italic,700italic,900italic);

/* Override UGG site */
#main {
    width: 100%;
    padding: 0;
}

#sypnosis{
    background-color: #d8ddf7;
}

.content-asset p {
    margin: 0 auto;
}

.breadcrumb {
    display: none;
}

/* Helpers */
/**************************/
.margin-top-10 {
    padding-top: 10px;
}

.margin-bot-10 {
    padding-bottom: 10px;
}

/* Typography */
/**************************/
#parallax-world-of-ugg h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
    color: black;
    padding: 0;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 153, 255, 0.8),
                 0 0 20px rgba(0, 153, 255, 0.6),
                 0 0 30px rgba(0, 153, 255, 0.4);
}

#parallax-world-of-ugg h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 70px;
    letter-spacing: 10px;
    text-align: center;
    color: white;
    font-weight: 400;
    text-transform: uppercase;
    z-index: 10;
    opacity: .9;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.9),
                 0 0 25px rgba(0, 0, 0, 0.7);
}

#parallax-world-of-ugg h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    line-height: 0;
    font-weight: 400;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: black;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

#parallax-world-of-ugg p {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 24px;
}

.first-character {
    font-weight: 400;
    float: left;
    font-size: 84px;
    line-height: 64px;
    padding-top: 4px;
    padding-right: 8px;
    padding-left: 3px;
    font-family: 'Source Sans Pro', sans-serif;
}

.sc {
    color: #3b8595;
}

.ny {
    color: #3d3c3a;
}

.atw {
    color: #c48660;
}

/* Section - Title */
/**************************/
#parallax-world-of-ugg .title {
    background: #d8ddf7;
    padding: 60px;
    margin: 0 auto;
    text-align: center;
}

#parallax-world-of-ugg .title h1 {
    font-size: 35px;
    letter-spacing: 8px;
}

/* Section - Block */
/**************************/
#parallax-world-of-ugg .block {
    display: flex;
    flex-direction: column;
    
    background: #d8ddf7;
    padding: 60px;
    width: 820px;
    margin: 0 auto;
    text-align: justify;
}

#parallax-world-of-ugg .block-gray {
    background: #f2f2f2;
    padding: 60px;
}

#parallax-world-of-ugg .section-overlay-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.70;
}

/* Section - Parallax */
/**************************/
#parallax-world-of-ugg .parallax-one {
    padding-top: 200px;
    padding-bottom: 200px;
    overflow: hidden;
    position: relative;
    width: 100%;
    background-image: url(../images/bg3.jpg);
    background-attachment: fixed;
    background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

#parallax-world-of-ugg .parallax-two {
    padding-top: 200px;
    padding-bottom: 200px;
    overflow: hidden;
    position: relative;
    width: 100%;
    background-image: url(../images/bg4.jpg);
    background-attachment: fixed;
    background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#parallax-world-of-ugg .parallax-three {
    padding-top: 200px;
    padding-bottom: 200px;
    overflow: hidden;
    position: relative;
    width: 100%;
    background-image: url(../images/bg2.jpg);
    background-attachment: fixed;
    background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

/* Extras */
/**************************/
#parallax-world-of-ugg .line-break {
    border-bottom: 1px solid black;
    width: 150px;
    margin: 0 auto;
}

/* Media Queries */
/**************************/
@media screen and (max-width: 959px) and (min-width: 768px) {
    #parallax-world-of-ugg .block {
        padding: 40px;
        width: 620px;
    }
}

@media screen and (max-width: 767px) {
    #parallax-world-of-ugg .block {
        padding: 30px;
        width: 420px;
    }

    #parallax-world-of-ugg h2 {
        font-size: 30px;
    }

    #parallax-world-of-ugg .block {
        padding: 30px;
    }

    #parallax-world-of-ugg .parallax-one,
    #parallax-world-of-ugg .parallax-two,
    #parallax-world-of-ugg .parallax-three {
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

@media screen and (max-width: 479px) {
    #parallax-world-of-ugg .block {
        padding: 30px 15px;
        width: 290px;
    }
}

  /* castGallery */

#castGallery {
  display: flex;
  flex-direction: column;
  
}

.banner {
    width: 100%;
    height: 100vh;
    background-image: url(../images/bgred.jpg);
    background-attachment: fixed;
    background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    text-align: center;
    overflow: hidden;
    position: relative;
    flex-grow: 1;
}

.banner .slider {
    position: absolute;
    width: 200px;
    height: 250px;
    top: 10%;
    left: calc(50% - 100px);
    transform-style: preserve-3d;
    transform: perspective(1000px);
    animation: autoRun 40s linear infinite;
    z-index: 2;
}

@keyframes autoRun {
    from {
        transform: perspective(1000px) rotateX(-16deg) rotateY(0deg);
    }

    to {
        transform: perspective(1000px) rotateX(-16deg) rotateY(360deg);
    }
}

.banner .slider .item {
    position: absolute;
    inset: 0 0 0 0;
    transform:
        rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)) translateZ(550px);
    overflow: hidden;
    cursor: pointer;
    border-radius: 5px;
    filter: drop-shadow(1px 3px 11px #000000);
}

.banner .slider .item .info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.banner .slider .item:hover .info {
    opacity: 1;
    transform: translateY(0);
}

.banner .slider .item .info h3 {
    font-size: 1rem;
    margin: 0;
}

.banner .slider .item .info p {
    font-size: 0.8rem;
    margin: 2px 0 0 0;
}

.banner .slider .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner .content .model {
    background-image: url(../images/sonic3d2.png);
    width: 100%;
    height: 82vh;
    position: absolute;
    bottom: 0;
    left: 0;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: top center;
}
.button {
  position: relative;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(45deg, #0ce39a, #69007f, #fc0987);
  padding: 14px 25px;
  border-radius: 10px;
  font-size: 1.25em;
  cursor: pointer;
  align-self: center;
}

.button span {
  position: relative;
  z-index: 1;
}

.button::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: #272727;
  border-radius: 9px;
  transition: 0.5s;
}

.button:hover::before {
  opacity: 0.7;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0px;
  background: linear-gradient(45deg, #0ce39a, #69007f, #fc0987);
  border-radius: 9px;
  transition: 0.5s;
  opacity: 0;
  filter: blur(20px);
}

.button:hover:after {
  opacity: 1;
}

/* footer */

footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  font-family: 'Oswald', sans-serif;
}

.footer-sponsors h4 {
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-sponsors ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-sponsors ul li img {
  max-width: 100px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-sponsors ul li img:hover {
  opacity: 1;
}

footer p {
  font-size: 15px;
  margin-top: 20px;
  opacity: 0.7;
}


/* ────────────────────────────── */
/* 🔁 RESPONSIVE DESIGN */
/* ────────────────────────────── */

@media screen and (max-width: 1024px) {
  .nav {
    width: 80%;
    gap: 20px;
  }
}

@media screen and (max-width: 768px) {

  /* --- NAVBAR --- */
  .nav {
    width: 90%;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px;
  }

  .nav a {
    font-size: 18px;
  }

  /* --- TRAILER SECTION --- */
  #trailer {
    flex-direction: column;
    gap: 40px;
    padding: 50px 20px;
    height: auto;
  }

  video {
    width: 90%;
    height: auto;
  }

  .depth-effect,
  .depth-effect2 {
    height: auto;
  }

  .parallax-card {
    width: 200px;
    height: 400px;
  }

  /* --- SYNOPSIS TEXT --- */
  #parallax-world-of-ugg .block {
    width: 90%;
    padding: 30px;
  }

  #parallax-world-of-ugg h2 {
    font-size: 30px;
    letter-spacing: 2px;
  }

  #parallax-world-of-ugg .title h1 {
    font-size: 28px;
    letter-spacing: 4px;
  }

  .first-character {
    font-size: 60px;
    line-height: 40px;
  }

  /* --- CAST GALLERY --- */
  .banner {
    height: auto;
    padding-bottom: 40px;
  }

  .banner .slider {
    display: none; 
  }

  .banner .content .model {
    background-size: contain;
    height: 50vh;
    background-position: center bottom;
  }
}

@media screen and (max-width: 480px) {

  /* --- NAVBAR LINKS --- */
  .nav a {
    font-size: 16px;
  }

  /* --- SYNOPSIS --- */
  #parallax-world-of-ugg .block {
    width: 90%;
    padding: 20px 10px;
  }

  #parallax-world-of-ugg h2 {
    font-size: 26px;
  }

  .first-character {
    font-size: 50px;
    line-height: 38px;
  }

  /* --- BUTTON --- */
  .button {
    font-size: 1em;
    padding: 12px 20px;
  }

  /* --- FOOTER --- */
  .footer-sponsors ul {
    gap: 10px;
  }

  .footer-sponsors ul li img {
    max-width: 70px;
  }

  footer p {
    font-size: 12px;
  }
}


