:root {
  --theme-color: #dea82e;
  --subtitles: #FFF;
  --background-color: #000;
  --secondary-title: #88795a;
}



@font-face {
    font-family: "Azonix";
    src: url("fonts/Azonix.otf");
    }

html { background: var(--background-color); color: var(--subtitles); font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 10px;
    scroll-behavior: smooth;
}

/* STICKY STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.page-header.is-sticky {
    position: fixed;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    backdrop-filter: blur(10px);
    animation: slideDown 0.35s ease-out;
    background: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 75px;
    z-index: 1;
  }
  

  
  @keyframes slideDown {
    from {
      transform: translateY(-100%);
    }
    to {
      transform: translateY(0);
    }
  }




.hamburger {
    display: inline-block;
    height:76px; 
    margin-right: 27px;
    position: fixed;
    z-index:1000;
    
    a.main-nav-toggle {
      display: block;
      width: 28px;
      height: 16px;
      left: 70px;
      position: absolute;
      top: 25px;
      
      &:after,
      &:before {
        content: '';
        position: absolute;
        top: 0;
        height: 0;
        border-bottom: 4px solid var(--subtitles);
        width: 100%;
        left: 0;
        right: 0;
        transition: all ease-out 0.3s;
      }
      
      &:after {
        top: 100%;
      }
      
      i {
        display: block;
        text-indent: 100%;
        overflow: hidden;
        white-space: nowrap;
        height: 4px;
        background-color: var(--subtitles);
        width: 100%;
        position: absolute;
        top: 50%;
        transition: all ease-out 0.1s;
      }
      
      &.active-menu {
        &:after {
          transform: rotate(-45deg);
          transform-origin: center;
          top: 50%;
        }
        
        &:before {
          transform: rotate(45deg);
          transform-origin: center;
          top: 50%
        }
        
        i {
          opacity: 0;
        }
      }
    }
  }




nav {
    width: 100%;
    position: fixed;
    top: 0px;
    right: 0px;
    background: rgba(0, 0, 0, 0.8);
    height: 100vh;
    z-index: 999;
    opacity: 0;
    transition: all 500ms ease-in-out;
    pointer-events: none;
}

nav.open {
    opacity: 1;
    pointer-events: auto;
}

.menu {
    display: flex;
    justify-content: space-evenly;
    position: relative;
    font-size:25px;
    top: 50%;
    flex-wrap: wrap;
}

.menu a {
    color: var(--subtitles);
    text-decoration: none; 
    display: inline-block;
    position: relative;
}

.menu a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--theme-color);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
  }
  
  .menu a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }



@keyframes bckground {
    0% {background-size: 110%;}
    100% {background-size: 100%;}
}

.hero {
    background: url('images/background.jpg');
    background-size: 100%;
    background-position: fixed;
    background-repeat: no-repeat;
    height: 100vh;
    animation: bckground 40s ease infinite;
}

.hero-txt {
    text-align: center;
    padding-top: 150px;
}


.icon-scroll:before {
  position: absolute;
  left: 50%;
}

.icon-scroll {
  width: 40px;
  height: 70px;
  margin-left: -20px;
  top: 90%;
  margin-top: -35px;
  box-shadow: inset 0 0 0 1px var(--subtitles);
  border-radius: 25px;
  position: absolute;
  left: 50%;
}

.icon-scroll:before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--subtitles);
  margin-left: -4px;
  top: 8px;
  border-radius: 4px;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-name: scroll;
}

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

@keyframes imgfade {
    0%   {opacity:0; transform: scale(.5);}
    100%   {opacity:1;}   
}

.img1{
animation: imgfade .5s linear 2.2s; 
padding:20px 5px;
animation-fill-mode: backwards;
animation-timeline: scroll();
max-width: 100%;
animation-range: entry 10% cover 20%;
animation-iteration-count: 1;
}


.img2{
animation: imgfade .5s linear 2.3s; 
padding:20px 5px;
animation-fill-mode: backwards;
animation-timeline: scroll();
max-width: 100%;
animation-range: entry 10% cover 20%;
animation-iteration-count: 1;
}



.img4{
animation: imgfade .5s linear 2.5s; 
padding:20px 5px;
animation-fill-mode: backwards;
animation-timeline: scroll();
max-width: 100%;
animation-range: entry 10% cover 20%;
animation-iteration-count: 1;
}

@keyframes heroTxt{
    0% {opacity: 0;}
    50% {color: transparent;
        text-shadow: 0 0 32px var(--theme-color); opacity: 0.5;} 
    100% { opacity: 1;}
}


.hero-txt h1 { font-size: 5em; 
    text-transform: uppercase;
    font-family: Azonix;
    font-size: 7em;
    text-shadow: 2px 2px var(--secondary-title);
    animation: heroTxt 1s ease-in;
    transform: scale3d(1,1,1);
    color: var(--theme-color);
 
}


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


.hero-txt h2{ 
font-size: 2em; 
text-transform: uppercase;
font-weight: normal;
word-spacing: 5px;
letter-spacing: 5px;
margin:30px;
animation: txtFade .5s linear 1.1s; 
animation-fill-mode: backwards;
opacity: 1;
}

.hero-txt h3{
    color: var(--theme-color);
    font-size: 1.8em;
    animation: txtFade 1s ease-in-out 2s; 
    animation-fill-mode: backwards;
    text-shadow: 2px 2px 8px var(--background-color);
}

.hero-txt h4{
    margin:30px;
    animation: txtFade .5s linear 1.1s; 
    animation-fill-mode: backwards;
    font-size: 1.5em;
}

@keyframes reveal {
    0% {
        opacity: 0;
        clip-path: inset(45% 20% 45% 20%);
    }
    100% {
        opacity: 1;
        clip-path: inset(0% 0% 0% 0%);
    }
}

.about {
   padding: 100px 0;
   width: 60%;
   margin: auto;
   text-align: center;
}


h2.movie-title {
    font-size: 60px;
    text-transform: uppercase;
    margin-top: -30px;
    z-index:100;
    position: relative;
}

.image-reveal {
    animation: linear reveal both;
    animation-timeline: scroll();
    animation-range: entry 5% cover 10%;
}

.img-container {
    position: relative;
}




.play-btn{
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 3em;
    color: var(--subtitles);
}

.cast {
    padding: 100px 0;
    margin: auto;
    text-align: center;
    background: var(--secondary-title);
 }

 .cast img {
    padding: 5px;
    width: 70%;
   
 }

 h2.subtitles{
    font-size: 60px;
    text-transform: uppercase;
}

.flx-cont {
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    margin:auto;

}

@keyframes imgscale {
    0%{margin-top:0px;}
    100%{margin-top: -10px;}
}

.cast img:hover {
    animation: imgscale .5s linear;
    animation-fill-mode: forwards;
}

section p { 
    margin: 30px 0;
    line-height: 30px;}



    $finalHeight: 250px;
    $finalWidth: 3 * $finalHeight;
    $scrollBarHeight: 1px;
    
    ::-webkit-scrollbar {
      width: $scrollBarHeight;
      height: $scrollBarHeight;
    }
    
    ::-webkit-scrollbar-button {
      width: 1px;
      height: 1px;
    }
    
    
    div {
      box-sizing: border-box;
    }

    

    .container h2 {
        font-size: 2rem;
    }

    .txt-container {
        width: 80%;
        margin: auto;
        text-align: center;
    }

    
    main {
      overflow-x: hidden;
      display: flex;
      position: sticky;
      top:0;
    }

    main  section{
      min-width: 50vw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 4ch;
    }


.cast-imgs {
    animation: ease-in imgfade both;
    animation-timeline: scroll();
    animation-range: entry 20% cover 30%;
}

.text-1 {
    width: 10%;
    float: left;
}


.text-1 h2{
  padding-top: 300px;
  padding-left: 50px;
    
}

input {
    background: var(--background-color);
    border: 1px solid var(--subtitles);
    padding: 10px 30px;
    color: var(--subtitles);
    margin-bottom:30px;
}

.lightbox {
    /* Default to hidden */
    display: none;
  
    /* Overlay entire screen */
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  
    /* A bit of padding around image */
    padding: 1em;
  
    /* Translucent background */
    background: rgba(0, 0, 0, 0.8);
  }
  
  /* Unhide the lightbox when it's the target */
  .lightbox:target {
    display: block;
  }

  .grdimg{
    position: relative;
    display: grid;
    place-items: center;
    z-index:1000000;
  }

  .grdimg img{
    border: 1px solid var(--subtitles);
  }
  
  .lightbox span {
    /* Full width and height */
    display: block;
    width: 100%;
    height: 100%;
  
    /* Size and position background image */
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .yellow {
    color: var(--theme-color);
  }

  .icons {
    position:fixed;
    bottom:10%;
    left:0;
  
    z-index:100;
    
  }
  
  .icons ul {
    list-style:none;
    padding:initial;
    
  }
  
  .icons ul li {
    height:30px;
    width:50px;
    padding-left:0px;
    padding-top:12px;
    margin-top:5px;
    color:white;
  }
  
  .icons ul li:hover {
    padding-left:32px;
    transition:0.5s;
    width:90px;
  }
  
  
  .facebook {
    background-color: var(--theme-color);
  }
  .insta{
    background-color: var(--theme-color);
  }
  .twitter{
    background-color: var(--theme-color);
  }
  
  

  @media (max-width: 800px) {

    img {width:100%;}
    /* … */

    .hero-txt h1 {
        font-size: 3.5em;
    }

    .menu  {
        font-size: 45px;
        display: block;
        text-align: center;
        line-height: 100px;
        top: 20%;
    }

    h2.movie-title {
    margin-top: 30px;
    }

    .grdimg img {
        padding-top: 50px;
    }
  }