@import "../libs/FontAweasome/fontello/css/fontello.css";
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500&family=Roboto:wght@400;700&display=swap");
* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  list-style-type: none;
  text-decoration: none;
}

.container {
  max-width: 1135px;
  width: 100%;
  margin: 0 auto;
}

.header {
  position: absolute;
  width: 100%;
  top: 60px;
}
.header__navbar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.header__left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 68px;
     -moz-column-gap: 68px;
          column-gap: 68px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.header__menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 24px;
     -moz-column-gap: 24px;
          column-gap: 24px;
}
.header__list {
  font-family: Roboto sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  color: #FFFFFF;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  cursor: pointer;
}
.header__list:hover {
  color: red;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
.header__right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 24.81px;
     -moz-column-gap: 24.81px;
          column-gap: 24.81px;
}
.header__icon {
  color: #FFFFFF;
  cursor: pointer;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
.header__icon:hover {
  color: red;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.first-screen {
  padding: 187px 0 99px;
  background: #141218 url("../images/background/background.png") top right/contain no-repeat;
}
.first-screen__content {
  width: calc(100% - 160px);
  position: relative;
}
.first-screen__playButton {
  display: inline-block;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background-color: #9D292950;
  position: absolute;
  top: 121px;
  right: 0;
  cursor: pointer;
}
.first-screen__playButton::before {
  content: "";
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #9D2929;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.first-screen__playButton::after {
  content: url("../images/play.svg");
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.first-screen__year {
  margin-bottom: 16px;
  font-family: Roboto sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  color: #FFFFFF;
}
.first-screen__rating {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 9px;
     -moz-column-gap: 9px;
          column-gap: 9px;
}
.first-screen__rateNum {
  font-family: Roboto sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 12px;
  line-height: 14px;
  color: #FFFFFF;
}
.first-screen__starts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 4px;
     -moz-column-gap: 4px;
          column-gap: 4px;
  margin-bottom: 12.5px;
}
.first-screen__menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.first-screen__title {
  margin-bottom: 10px;
  font-family: "Playfair Display", serif;
  font-style: normal;
  font-weight: 500;
  font-size: 76px;
  line-height: 89px;
  color: #FFFFFF;
}
.first-screen__description {
  margin-bottom: 40px;
  font-family: Roboto sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 150%;
  color: #FFFFFF;
}
.first-screen__btn {
  width: 260px;
  height: 60px;
  margin-bottom: 85px;
  background: #9D2929;
  border-radius: 8px;
  border: none;
  font-family: Roboto sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 16px;
  color: #FFFFFF;
  cursor: pointer;
}
.first-screen__carousel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 30px;
     -moz-column-gap: 30px;
          column-gap: 30px;
  cursor: pointer;
}
.first-screen__series {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  height: 113px;
  width: 164px;
  border-radius: 8px;
  padding: 0 0 13px 13px;
  row-gap: 2px;
}
.first-screen__series.first {
  background: url("../images/background/card-image 1.png") center/cover no-repeat;
}
.first-screen__series.second {
  background: url("../images/background/card-image 2.png") center/cover no-repeat;
}
.first-screen__series-num {
  font-family: Roboto sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 10px;
  line-height: 12px;
  color: #FFFFFF;
}
.first-screen__series-title {
  font-family: Roboto sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 16px;
  color: #FFFFFF;
}

.footer {
  padding: 20px 0;
  background-color: #141218;
}
.footer__left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.footer__text {
  font-family: Roboto sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #FFFFFF80;
}
.footer__menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 25px;
     -moz-column-gap: 25px;
          column-gap: 25px;
}
.footer__list {
  font-family: Roboto sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #FFFFFF80;
}

@media (max-width: 1281px) {
  .container {
    padding: 0 15px;
  }
}
@media (max-width: 1025px) {
  .container {
    padding: 0 15px;
  }
}
@media (max-width: 992px) {
  .first-screen {
    padding: 160px 0 80px;
  }

  .first-screen__title {
    font-size: 70px;
    line-height: 80px;
  }

  .first-screen__btn {
    width: 250px;
    height: 50px;
    margin-bottom: 70px;
  }
}
@media (max-width: 820px) {
  .first-screen__content {
    width: calc(100% - 0px);
  }
}
@media (max-width: 768px) {
  .first-screen {
    padding: 125px 0 35px;
  }

  .first-screen__starts {
    margin-bottom: 5.5px;
  }

  .first-screen__description {
    margin-bottom: 30px;
  }

  .first-screen__btn {
    width: 230px;
    height: 50px;
    margin-bottom: 50px;
  }

  .first-screen__playButton {
    top: 110px;
  }
}
@media (max-width: 580px) {
  .burger {
    width: 40px;
    height: 40px;
    position: fixed;
    top: 50px;
    right: 50px;
    z-index: 3;
  }
  .burger__line {
    width: 40px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
  }
  .burger__line::before {
    content: "";
    width: 40px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: 10px;
    left: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }
  .burger__line::after {
    content: "";
    width: 40px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: -10px;
    left: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }

  .burger.active .burger__line {
    background-color: transparent;
  }
  .burger.active .burger__line::before {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    top: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }
  .burger.active .burger__line::after {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
    top: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }

  .header__navbar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: fixed;
    top: 0;
    right: -300px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-transition: 1s;
    transition: 1s;
    width: 300px;
    height: 400px;
    background-color: #9D2929;
    border-bottom-left-radius: 10px;
    z-index: 2;
  }
  .header__navbar .header__left {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    row-gap: 20px;
  }
  .header__navbar .header__left .header__menu {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    row-gap: 10px;
    margin-bottom: 10px;
  }

  .header__navbar.active {
    z-index: 2;
    right: 0;
    -webkit-transition: 1s;
    transition: 1s;
  }

  .first-screen__playButton {
    display: none;
  }

  .first-screen__title {
    font-size: 65px;
    line-height: 70px;
  }

  .first-screen__btn {
    width: 220px;
    height: 55px;
    margin-bottom: 40px;
  }

  .first-screen__starts {
    margin-bottom: 2.5px;
  }
}
@media (max-width: 426px) {
  .first-screen__description br {
    display: none;
  }

  .first-screen__title {
    font-size: 55px;
    line-height: 60px;
  }

  .first-screen__btn {
    width: 200px;
    height: 50px;
    margin-bottom: 30px;
  }

  .first-screen__series.second {
    display: none;
  }
}
@media (max-width: 375px) {
  .first-screen__content {
    width: 100%;
  }

  .first-screen {
    padding: 110px 0 30px;
  }
}