@media only screen and (max-width: 820px){
.nav-left {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  margin-left: auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #000;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 10;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

    .nav-link .dropdown {   
        top: 67px;
    }

    .btn {
        max-height: 2.9em;
        max-width: 150px;
        font-size: 11px;
    }
}

@media only screen and (max-width : 786px) {
    .nav-link a{
        font-size: 15px;
        width: 100%;
    }
}


@media only screen and (max-width : 767px) {
    .nav-link .dropdown{
        top: 55px;
    }

    .nav-link a{
        font-size: 15px;
        width: 100%;
    }
}

@media only screen and (max-width: 700px) {
    
    .nav{
        flex-direction: row;
        justify-content: flex-start;
    }
    .nav__logo{
        width: 93px;
    }

    .nav-left , .nav-right{
        width: 100%;
        justify-content: space-evenly;
    }

    .nav-links{
        flex-direction: row;
        justify-content: flex-start;
        width: 100%;
    }

    .nav-link{
        padding-left: 0px;
    }

    .nav-link a{
        font-size: 13px;
        width: 100%;
    }

    .nav-link .dropdown {   
        top: 69px;
    }

    .btn {
        margin-right: 20px;
        max-height: 1.8em;
        max-width: 100px;
        font-size: 11px;
    }


    /*Banner*/
    
    .banner {
        height: 224px;
    }

    .videoslider .navigation{
        position: absolute;
        bottom: 48px;
        left: 87%;
        transform: translateX(-50%);
        z-index: 100;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
    }

    .videoslider .navigation li{
        margin: 0 5px;
        border-radius: 4px;
        padding: 3px 3px 0;
        opacity: 0.7;
        transition: 0.5s;
    }

    .videoslider .navigation li img{
        width: 70px;
        border-radius: 9px;
        transition: 0.5s;
    }

    .banner__contents {
        padding-top: 4px;
        height: 100px;
    }

    .mute {
        position: absolute;
        top: 11rem;
        left: 6px;
    }

    .banner__video{
        position: absolute;
        margin-top: 10px;
        width: 100%;
        height: 160%;
        height: px;
        top: -110px;
        object-fit: cover;
    } 

    .banner__title img{
        width: 8rem;
        height: auto;

    }

    .banner__description{
        width: 26rem;
        font-size: 9px;
        padding-top: 1.2rem;
        max-width: 300px;
    }

    .banner__button{
        padding-left: 1rem; 
        padding-right: 1rem; 
        margin-right: 1rem;
        padding-top: 0.25rem; 
        padding-bottom: 0.25rem; 
    }

    .banner--fadeBottom {
        top: 11.2em;
        bottom: -1px;
        width: 100%;
        height: 8.4rem;
        z-index: -1;
        background-image: linear-gradient(180deg, transparent, #111, #111);
    }

    /*Poster*/

    .row{
        margin-left:10px ;
    }

    .firstRow{
        padding-top: 5rem;
    }

    .titles{
        padding-left: 10px;
    }

    /* Button to swipe the poster */

    .leftBtn{
        top: 32.7em;
    }

    .rightBtn{
        top: 32.7em;
    }

    .leftBtn-2{
        top: 49em;
    }

    .rightBtn-2{
        top: 49em;
    }

    .leftBtn-3{
        top: 66em;
    }

    .rightBtn-3{
        top: 66em;
    }

    .leftBtn-4{
        top: 83em;
    }

    .rightBtn-4{
        top: 83em;
    }

    .leftBtn-5{
        top: 99.2em;
    }

    .rightBtn-5{
        top: 99.2em;
    }

    /* Fade of the button */

    .fadeRight{
        width: 30px;
        height: 225px;
        top: 27em;
    }

    .fadeLeft{
        width: 35px;
        height: 225px;
        top: 27em;
    }

    .fadeRight-2{
        width: 30px;
        height: 225px;
        top: 43em;
    }

    .fadeLeft-2{
        width: 35px;
        height: 225px;
        top: 43em;
    }

    .fadeRight-3{
        width: 30px;
        height: 280px;
        top: 58.2em;
    }

    .fadeLeft-3{
        width: 35px;
        height: 280px;
        top: 58.2em;
    }

    .fadeRight-4{
        width: 30px;
        height: 225px;
        top: 76em;
    }

    .fadeLeft-4{
        width: 35px;
        height: 225px;
        top: 76em;
    }

    .fadeRight-5{
        width: 30px;
        height: 225px;
        top: 93em;
    }

    .fadeLeft-5{
        width: 35px;
        height: 225px;
        top: 93em;
    }

    .row_poster{
        max-height: 50px;
        margin-right: 5px;
    }

    .row_posters{
        padding: 10px;
    }

    .row_posterLarge{
        max-height: 200px;
    }

    .bestDirector{
        max-height: 185px;
        max-width : 185px;
        padding-left: -45px;
        margin-right: -20px;
    }

    /* Movie Card Hover to display information of movie*/

    .movie-info {
        width: 134%;
        height: 110%;
        color: white;
    }
    .movie-details{
        margin-top: 35px;
    }

    .synopsis{
        font-size: 6.4px;
    }

}

@media only screen and (max-width: 590px) {

.inputBox_container{
    background: transparent;
}

.nav-link a{
    font-size: 11px;
}

.inputBox{
    display: none;
}

.search_icon {
    height: 23px;
    padding: 0 0.5em 0 0.8em;
    fill: white;
}

.btn {
    margin-right: 250px;
    max-height: 1.8em;
    max-width: 100px;
    font-size: 11px;
}

}

 /*Phone Resolution*/
@media only screen and (width <= 500px) {
    
    .nav__logo{
        width: 75px;
    }

    .dropdown-icon{
        top: -8px;
        font-size: 2px;
    }

    .nav-right{
        gap: 1.2em;
        margin-left: 40px;
    }
    
    .nav-link .dropdown {   
        top: 39px;
    }

    .inputBox_container{
        background: transparent;
    }
    
    .inputBox{
        display: none;
    }
    
    .search_icon {
        height: 10px;
        margin-left: -7px;
        padding: 0 0.3em 0 0.5em;
        fill: white;
    }
    
    .btn {
        font-size: 7px; 
        font-weight: 549;
        line-height: normal;
        margin-left: -15px;
        min-height: 3em; 
        min-width: 10px;
        padding: 0.1em 1.6em; 
    }

    .btn a{
        font-size: 9px;
    }

    .nav-link a{
        font-size: 9px;
        width: 100%;
    }

    /*Banner*/

    .banner {
        height: 225px;
    }

    .videoslider .navigation{
        position: absolute;
        bottom: 48px;
        left: 80%;
        transform: translateX(-50%);
        z-index: 100;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
    }

    .videoslider .navigation li{
        margin: 0 5px;
        border-radius: 4px;
        padding: 3px 3px 0;
        opacity: 0.7;
        transition: 0.5s;
    }

    .videoslider .navigation li img{
        width: 70px;
        border-radius: 9px;
        transition: 0.5s;
    }

    .banner__contents {
        padding-top: 4px;
        height: 100px;
        padding-top: 20px;
        margin-left: 30px;
    }

    .mute {
        position: absolute;
        top: 13rem;
        left: 6px;
    }

    .banner__video{
        position: absolute;
        margin-top: 10px;
        width: 100%;
        height: 160%;
        height: px;
        top: -110px;
        object-fit: cover;
    } 

    .banner__title img{
        width: 8rem;
        height: auto;
    }

    .banner__description{
        width: 26rem;
        font-size: 8px;
        padding-top: 1.2rem;
        max-width: 200px;
    }

    .banner__button{
        padding-left: 1rem; 
        padding-right: 1rem; 
        margin-right: 1rem;
        padding-top: 0.25rem; 
        padding-bottom: 0.25rem; 
        font-size: 8px;
    }

    .banner--fadeBottom {
        top: 11.2em;
        bottom: -1px;
        width: 100%;
        height: 8.4rem;
        z-index: -1;
        background-image: linear-gradient(180deg, transparent, #111, #111);
    }

    /* Button to swipe the poster */

    .leftBtn , .rightBtn ,
    .leftBtn-2, .rightBtn-2 ,.leftBtn-3 ,.rightBtn-3,
    .leftBtn-4, .rightBtn-4, .leftBtn-5 ,.rightBtn-5{
        display: none;
    }

     .titles{
        font-size: 15px;
        padding-left: 15px;
     }

    /* Fade of the button */

    .fadeRight{
        width: 30px;
        height: 225px;
        top: 25em;
    }

    .fadeLeft{
        width: 35px;
        height: 225px;
        top: 25em;
    }

    .fadeRight-2{
        width: 30px;
        height: 225px;
        top: 40em;
    }

    .fadeLeft-2{
        width: 35px;
        height: 225px;
        top: 40em;
    }

    .fadeRight-3{
        width: 30px;
        height: 280px;
        top: 55.2em;
    }

    .fadeLeft-3{
        width: 35px;
        height: 280px;
        top: 55.2em;
    }

    .fadeRight-4{
        width: 30px;
        height: 225px;
        top: 74em;
    }

    .fadeLeft-4{
        width: 35px;
        height: 225px;
        top: 74em;
    }

    .fadeRight-5{
        width: 30px;
        height: 225px;
        top: 89em;
    }

    .fadeLeft-5{
        width: 35px;
        height: 225px;
        top: 89em;
    }

    
    }
