*{
    box-sizing: border-box;
}

body{
    background: #0e2006;
    font-family: 'Roboto', sans-serif;
    color: #fff;
}

.container{
    max-width: 1170px;
    margin: auto;
}

.m-menu{
    display: none;
}



/****** HEADER ******/

.header{
    background: linear-gradient(180deg, rgba(112, 243, 86, 0.219) 0%, #385544 85.62%), url('../images/bg-3.jpg') no-repeat center top / cover;
    /* min-height: 100vh; */
    padding-bottom: 60px;
}

.navbar{
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    padding: 30px 0;
}

.header .menu{
    list-style-type: none;
    display: flex;
    margin: 0;
    padding-left: 57px;
}

.header .nav{
    position: relative;
}

.header .menu-item{
    margin-right: 25px;
}

.header .menu-link{
    color: #fff;
    text-decoration: none;
}

.header img.avatar{
    width: 33px;
    height: 33px;
    border-radius: 50%;
    margin-left: 15px;
}

.header .user{
    margin-left: auto;
    color: #fff;
    display: flex;
    align-items:center;
}

/* ***** FILM ***** */

.header .film{
    margin-top: 60px;
    color: #fff;
    display: flex;
    align-items: center;
}

.header .film-title-small{
    opacity: .5;
    font-size: 24px;
    line-height: 150%;
}

.header .film-title{
    font-size: 36px;
    line-height: 42px;
    margin: 11px 0 23px 0;
}

.header .film-description{
    font-size: 16px;
    line-height: 150%;
    max-width: 560px;
}

.header .film-trailer{
    margin: auto;
}

.header .film-details{
    margin-top: 50px;
    display: flex;
    align-items: center;
}

.header .time{
    display: flex;
    align-items: center;
}

.header .time-icon{
    margin-right: 14px;
}

.header .rating{
    display: flex;
    align-items: center;
    margin-left: 34px;
}

.header .rating-icon{
    margin-right: 14px;
}

.header .rating-current{
    font-size: 24px;
    line-height: 150%;
}

/*********************************/

.header .session{
    margin-top: 62px;
    padding: 46px 0 63px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header .session-label{
    display: block;
    margin-bottom: 20px;
}

.header .session-date-block{
    display: flex;
}

.header .session-date-item{
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    text-align: center;
    width: 90px;
    height: 90px;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: background-color .6s;
}

.header .session-month{
    font-size: 16px;
    line-height: 19px;
}

.header .session-day{
    font-weight: 900;
    font-size: 30px;
    line-height: 35px;
}


.header .session-week{
    font-size: 19px;
    line-height: 22px;
} 

.header .session-date-item:hover{
    background: #FE8E05;
    color: #621402;
    cursor: pointer;
}

.header .select{
    /* appearance: none; */
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    color:#fff;
    background: transparent;
    padding: 18px;
    cursor: pointer;
    margin-top: 15px;
    outline: none;
}

.header .select option{
    color: #000;
}

.header .select-cinema{
    width: 470px;
}

/****** SCHEME *****/

.scheme{
    background: rgba(36, 36, 36, 0.18);
    border-radius: 10px;
    margin-bottom: 40px;
}

.scheme-svg{
    max-width: 1170px;
}

.scheme path:not(.light){
    fill: rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.scheme path:not(.light):hover{
    fill: rgba(255, 255, 255, 0.5);   
}

.scheme path.booked,
.scheme path.booked:hover{
    fill: rgba(255, 255, 255, 0.05); 
    cursor: not-allowed;
}

.scheme path.active,
.scheme path.booked:active{
    fill: #FE8E05; 
    cursor: pointer;
}

.legend{
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    max-width: 1024px;
    width: 90%;
    margin: auto;
    padding: 22px 0 38px 0;
}

.legend-label{
    display: flex;
    align-items: center;
    margin-right: 30px;
    color: rgba(255, 255, 255, 0.5);
}

.legend svg{
    margin-right: 15px;
}


/* ************* */

.price{
    padding: 20px 0 40px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-label{
    display: block;
    font-size: 18px;
    line-height: 21px;
}

.price-tag{
    font-size: 52px;
    line-height: 61px;
}

.button{
    display: block;
    background: #FE8E05;
    border-radius: 5px;
    color:#fff;
    font-weight: bold;
    font-size: 18px;
    line-height: 21px;
    padding: 24px 52px;
    text-decoration: none;
}


@media (max-width: 1200px){

    .container{
        max-width: 960px;
    }

    .select-cinema{
        width: 100%;
    }

}

@media (max-width: 992px){

    .header .container{
        max-width: 750px;
    }

    .header .session{
        flex-wrap: wrap;
    }

    .header .session-date{
        flex-basis: 70%;
        margin-bottom: 40px;
    }

    .header .select-time{
        order: 2;
    }

    .header .session-cinema{
        order: 3;
    }

    .header .menu-item{
        margin-right: 20px;
    }

}

@media (max-width: 768px){

    .container{
        max-width: 560px;
        width: 90%
    }

    .header .menu{
        position: absolute;
        top: 40px;
        left: 0;
        flex-direction: column;
        padding: 20px;
        margin-left: 20px;
        background:#0e2006;
        z-index: 9;
        border-radius: 10px;
        /* display: none; */
        opacity: 0;
        visibility: hidden;
        transform: translateX(-100%);
        transition: opacity .5s, transform .5s;
    }

    .header .menu-item:not(:last-child){
        margin-bottom: 10px;
    }

    .header .m-menu{
        display: block;
        background-color: transparent;
        border: none;
        width: 40px;
        height: 40px;
        margin-left: 10px;
        cursor: pointer;
    }

    .header .is-open{
        /* display: block !important; */
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .header .film-description{
        margin-right: 30px;
    }

    .header .film{
        flex-direction: column;
    }

    .header .film-trailer{
        margin-right: auto;
        margin-left: 0;
        margin-top: 40px;
    }

}