@font-face {
    font-family: 'MasonChronicles';
    src: url('../fonts/MasonChronicles.woff') format('woff');
    src: url('../fonts/MasonChronicles.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
body{
    background-color: #141218;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: normal;
    color: #FFFFFF;
    min-height: 100vh;
    display: flex;
    flex-direction:column;
    justify-content: space-between;
    background-image:url(../img/background.jpg);
    background-repeat:no-repeat;
    background-position:top right;
}
.container{
    width: 95%;
    max-width: 1140px;
    margin: auto;
}
.header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 60px;
    margin-bottom: 90px;
}
.main-menu{
    margin-right: auto;
    margin-left:67px;
}
.menu-list{
    font-size: 14px;
    line-height: 16px;
    color: #FFFFFF;
    text-decoration: none;
    margin-right: 24px;    
}
.social-linc{
    margin-left: 20px;
    text-decoration: none;
}
.gengre{
    font-size: 14px;
    line-height: 16px;
    display: block;
    margin-bottom: 16px;
    animation-delay: 0.1s;
}
.rating{
    display: flex;
    align-items:center;
    margin-bottom: 10px;
    animation-delay: 0.2s;
}
.rating-number{
    font-size: 12px;
    line-height: 14px;
    margin-left:9px;
    animation-delay: 0.3s;
}
.main-title{
    font-family: 'MasonChronicles', serif;
    font-weight: 500;
    font-size: 76px;
    line-height: 89px;
    margin-bottom: 10px;
    animation-delay: 0.5s;
}
.main-description{
    max-width: 458px;
    font-size: 14px;
    line-height: 150%;
    margin-bottom: 40px;
    animation-delay: 0.7s;
}
.main-content{
    display: flex;
    align-items:center;
    margin-bottom: 85px;
}
.button{
    display: inline-block;
    background-color: #9D2929;
    border-radius: 8px;
    color:#FFFFFF;
    border: none;
    padding:22px 72px;
    text-decoration: none;
    animation-delay: 1s;
}
.button:active{
    color:#fff;
}
.play{
    background: #9D2929;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border:none;
    margin:auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.play-image{
    position: relative;
    transform: translateX(5px);
}
.play:before{
    content:'';
    width: 132px;
    height: 132px;
    background: #9D2929;
    opacity: 0.5;
    position: absolute;
    border-radius: 50%;
    left: -16px;
    top:-16px;
    animation: pulse 0.5s ease-in-out 2s infinite;

}
.series{
    display: flex;
    align-items:center;
    margin-bottom: 60px;
    position: relative;
    max-width: 420px;
}
.card{
    width: 164px;
    height: 113px;    
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 13px;
    margin-right: 30px;
    color:#fff;
    text-decoration: none;
}
.card-subtitle{
    font-size: 10px;
    line-height: 12px;
    margin-bottom: 2px;
}
.card-title{
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
}
.series-1{
    background: linear-gradient(180deg, rgba(20, 18, 24, 0.5) 0%, #2D2D2D 100%),
    url(../img/series/card1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.series-2 {
    background: linear-gradient(180deg, rgba(20, 18, 24, 0.5) 0%, #2D2D2D 100%),
    url(../img/series/card2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.arrow{
    width: 32px;
    height: 23px;
    border:none;
    background:url(..//img/arrow.svg);
    background-repeat:no-repeat;
    background-position:center;
    background-color:transparent;
    position: absolute;
    top: 50%;
    right: -35px;
}
.swiper-container{
    max-width: 420px;
    margin-left: 0;
}
/*footer*/
.footer{
    background-color:#141218;
    padding:20px 0;
    margin-top: auto;

}
.footer-content {
    display: flex;
    align-items:center;
    justify-content: space-between;
}
.footer-link{
    text-decoration: none;
    color:#3A383D;
    margin-left: 25px;
}
.footer-copirate{
    color:#3A383D;
}
.menu-button{
    display: none;
}



@media (max-width:760px) {
   .play{
       display: none;
   }
   .footer-content{
       flex-direction: column;
       align-items:flex-start;
   }
   .footer-copirate {
        display: block;
        margin-bottom: 8px;
   }
   .footer-link:first-child{
       margin-left: 0px;
   }
}
@media (max-width: 540px) {
        .menu-button {
            display: block;
            position: absolute;
            top: 40px;
            right: 35px;
            width: 30px;
            height: 2px;
            background-color:#FFF;
            border:none;
            cursor: pointer;
        }
        .menu-button:before {
            content:'';
            display: block;
            position: absolute;
            top: 0;
            left: 0;            
            width: 30px;
            height: 2px;
            background-color: #FFF;
            margin-top: -7px;
            transition:transform 0.2s;
        }
        .menu-button:after {
            content: '';
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            width: 30px;
            height: 2px;
            background-color: #FFF;
            margin-top: 7px;
            transition:transform 0.2s;
        }
        .menu-button-active{
            height: 0;
        }
        .menu-button-active:before {
            transform: rotate(45deg);
            margin-top: 0;
        }
        .menu-button-active:after {
            transform: rotate(-45deg);
            margin-top: 0;
        }

        .logo{
            margin-bottom: 25px;
        }
        .header{
            display: none;
            position: absolute;
            top: 0;
            right:0;
            background-color:#9D2929;
            flex-direction: column;
            width: 250px;
            padding-bottom: 50px;
        }
        .header-active{
            display: flex;
        }
        .main-menu{
            margin: auto;
            order: 2;
            display: flex;
            flex-direction: column;
            align-items:center;
        }
        .menu-list{
            margin-right: 0;
            margin-bottom: 17px;
        }
        .social{
            order: 1;
            margin-bottom: 22px;
        }
        .social-linc:first-child{
            margin-left: 0;
        }
        .swiper-container{
            width: 80%;
        }
        .main-content{
            margin-top: 196px;
        }
        .main-title{
            font-size: 56px;
        }
        .series{
            width: 80%;
        }
}