@font-face {
    font-family: 'Mason-Chronicles';
    src: url('../fonts/Mason-Chronicles.eot');
    src: url('../fonts/Mason-Chronicles.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Mason-Chronicles.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'MasonChronicles';
    src: url('../fonts/MasonChronicles.ttf') format('truetype'),
         url('../fonts/MasonChronicles.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  }

  * {
    box-sizing: border-box;
}

a {
    transition: .3s;
}

.menu-btn {
    display: none;
}

body {
    background-color: #141218;
    background-image: url('../img/background.jpg');
    background-repeat: no-repeat;
    background-position: top right 20%;
    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;
}

.container {
    width: 95%;
    max-width: 1140px;
    margin: 0 auto;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 60px;
    padding-bottom: 90px;
}

.menu-list {
    margin-right: auto;
    margin-left: 67px;
}

.menu-link {
    font-size: 14px;
    line-height: 16px;
    text-decoration: none;
    margin-right: 24px;
    color: #FFFFFF;
}

.menu-link:hover {
    color: #9D2929;
}

.social-link {
    margin-left: 20px;
    text-decoration: none;
}

/* MAIN */
.main-content {
    display: flex;
    align-items: center;
    margin-bottom: 85px;
}

.genre {
    display: inline-block;
    font-size: 14px;
    line-height: 16px; 
    margin-bottom: 16px;
}

.rating {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating-number {
    font-size: 12px;
    line-height: 14px;
    margin-left: 9px;
}

.main-title {
    font-family: 'Mason-Chronicles', serif;
    font-style: normal;
    font-weight: 500;
    font-size: 76px;
    line-height: 89px;
    margin-bottom: 10px;
}

.main-description {
    max-width: 458px;
    font-size: 14px;
    line-height: 150%;
    margin-bottom: 40px;
}

.button {
    background: #9D2929;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    border: none;
    color: #fff;
    padding: 22px 72px;
    transition: .3s;
    text-decoration: none;
    display: inline-block;
}

.button:hover {
    color: #9D2929;
    background-color: #fff;
}

.play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background-color: #9D2929;
    border-radius: 50%;
    border: none;
    position: relative;
    margin: auto;
    text-decoration: none;
}

.play:before {
    content: "";
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background-color: #9D2929;
    opacity: 0.5;
    position: absolute;
    top: -16px;
    left: -16px;
    animation: pulse 0.8s ease-in-out 0.8s infinite;
}

.play-img {
    position: relative;
    transform: translateX(5px) ;
}

/* SLIDER */


.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;
    margin-left: 0;
}

.swiper-slide {
    margin-left: 0;
}

.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/slider/series1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.series-2 {
    background: linear-gradient(180deg, rgba(20, 18, 24, 0.5) 0%, #2D2D2D 100%), url('../img/slider/series2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.series-3 {
    background: linear-gradient(180deg, rgba(20, 18, 24, 0.5) 0%, #2D2D2D 100%), url('../img/slider/series3.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.series-4 {
    background: linear-gradient(180deg, rgba(20, 18, 24, 0.5) 0%, #2D2D2D 100%), url('../img/slider/series4.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.series-5 {
    background: linear-gradient(180deg, rgba(20, 18, 24, 0.5) 0%, #2D2D2D 100%), url('../img/slider/series5.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.series-6 {
    background: linear-gradient(180deg, rgba(20, 18, 24, 0.5) 0%, #2D2D2D 100%), url('../img/slider/series6.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.series-7 {
    background: linear-gradient(180deg, rgba(20, 18, 24, 0.5) 0%, #2D2D2D 100%), url('../img/slider/series7.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.series-8 {
    background: linear-gradient(180deg, rgba(20, 18, 24, 0.5) 0%, #2D2D2D 100%), url('../img/slider/series8.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.arrow {
    position: absolute;
    top: 50%;
    right: 0;
    width: 32px;
    height: 23px;
    border: none;
    background-image: url('../img/slider/arrow.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    transform: translateY(-50%);
}

.swiper-container {
    max-width: 420px;
    margin-left: 0;
}

.swiper-wrapper {
    max-width: 358px;
    margin-left: 0;
}

/* ///SLIDER */

/* FOOTER */
.footer {
    background-color: #141218;
    padding: 20px 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copyright {
    font-size: 14px;
    line-height: 20px;
    color: #727174;
}

.footer-link {
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    color: #727174;
    margin-left: 25px;
}

.footer-link:hover {
    color: #9D2929;
}