*, 
*::before,
*::after {
  box-sizing: border-box;
}

*:focus:not(:focus-visible) {
  outline: none;
}

@font-face {
  font-family: 'Museo Sans';
  src: url('../fonts/MuseoSansCyrl-700.eot');
  src: local('MuseoSansCyrl-700'),
    url('../fonts/MuseoSansCyrl-700.eot?#iefix') format('embedded-opentype'),
    url('../fonts/MuseoSansCyrl-700.woff') format('woff'),
    url('../fonts/MuseoSansCyrl-700.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

html,
body {
  font-size: 62.5%;
  font-family: 'Noto Sans', sans-serif;
  font-weight: normal;
  color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
  height: 100%;
}

.container {
  width: 113.5rem;
  margin: 0 auto;
}

@media (max-width: 108em) {
  html {
    font-size: 9px;
  }
}

@media (max-width: 105em) {
  html {
    font-size: 8.75px;
  }
}

@media (max-width: 91.5em) {
  html {
    font-size: 7.9px;
  }
}

@media (max-width: 91em) {
  html {
    font-size: 8.4px;
  }
}

@media (max-width: 90em) {
  html {
    font-size: 7.9px;
  }
}

@media (max-width: 80em) {
  html {
    font-size: 7.2px
  }
}

@media (max-width: 72em) {
  html {
    font-size: 6.5px;
  }
}

@media (max-width: 64em) {
  html {
    font-size: 5.5px;
  }
}

@media (max-width: 44em) {
  html {
    font-size: 9px;
  }
}

@media (max-width: 38em) {
  html {
    font-size: 8px;
  }
}

@media (max-width: 34em) {
  html {
    font-size: 7px;
  }
}

@media (max-width: 30em) {
  html {
    font-size: 6px;
  }
}

@media (max-width: 26em) {
  html {
    font-size: 4.5px;
  }
}

@media (max-width: 21em) {
  html {
    font-size: 4.4px;
  }
}

.header {
  position: absolute;
  padding-bottom: 6.4rem;
  left: 50%;
  top: 6.4rem;
  transform: translate(-50%, 0);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__menu {
  display: flex;
  align-items: center;
}

.header__logo {
  width: 7.9rem;
  height: 2.8rem;
  margin-right: 3.9rem;
}

.header__nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
  line-height: 1.14;
}

.header__nav a:not(:last-child) {
  margin-right: 2.4rem;
}

.header__socials {
  display: flex;
}

.header__socials-icon {
  width: 1.7rem;
  height: 1.6rem;
}

.header__socials-icon:not(:last-child) {
  margin-right: 2rem;
}

.header__nav-mobile,
.header__menu-close,
.menu-burger {
  display: none;
}

.main {
  padding-top: 18.7rem;
  padding-bottom: 10.4rem;
  background: url('../img/background.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

.main__rating {
  margin-bottom: 1rem;
}

.main__rating-title {
  font-size: 1.4rem;
  line-height: 1.14;
  margin-bottom: 1.6rem;
}

.main__rating-wrap {
  display: flex;
  align-items: center;
}

.main__rating-stars {
  display: flex;
  align-items: center;
  margin-right: 0.9rem;
}

.main__rating-star {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  cursor: pointer;
}

.main__rating-star:not(:last-child) {
  margin-right: 0.4rem;
}

.main__rating-number {
  font-size: 1.2rem;
  line-height: 1.17;
}

.main__header {
  font-family: 'Museo Sans';
  font-size: 7.6rem;
  line-height: 1.2;
}

.main__description-wrap {
  display: flex;
  align-items: center;
}

.main__description {
  max-width: 52.8rem;
  margin-bottom: 4.1rem;
  font-size: 1.4rem;
  line-height: 1.5;
}

.main__button-play {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 13.2rem;
  height: 13.2rem;
  margin-left: 33.1rem;
  border-radius: 50%;
  background-color: #391917;
  cursor: pointer;
}

.main__button-dark {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background-color: #151515;
}

.main__button-dark img {
  width: 3.5rem;
  height: 4rem;
}

.main__button {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 24.5rem;
  padding: 2.2rem;
  margin-bottom: 8.8rem;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.14;
  color: #fff;
  text-decoration: none;
  background-color: #151515;
  border-radius: 0.8rem;
}

.main-slider__wrap {
  max-width: 41.5rem;
  display: flex;
  align-items: center;
}

.main-slider__slide {
  position: relative;
  width: 16.4rem;
  height: 10.5rem;
  border-radius: 0.8rem;
  overflow: hidden;
}

.main-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-slider__slide span {
  position: absolute;
  left: 1.2rem;
  bottom: 0.6rem;
  transform: translate(0, 0);
  font-size: 1rem;
  font-weight: 1.2;
}

.main-slider__arrow {
  width: 3.2rem;
  height: 2.2rem;
  margin-left: 2.8rem;
  flex-shrink: 0;
  cursor: pointer;
}

.footer {
  background: #030102;
  padding: 2rem 0;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  color: #686767;
  font-size: 1.4rem;
  line-height: 1.43;
}

.footer__menu {
  display: flex;
  padding-left: 0;
}

.footer li {
  list-style: none;
}

.footer li a {
  color: #686767;
  text-decoration: none;
  font-size: 1.4rem;
  line-height: 1.43;
}

.footer li:not(:last-child) {
  margin-right: 2.5rem;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 3rem 0;
  z-index: 100;
  display: none;
}

.modal__inner {
  width: 100rem;
  height: 60rem;
}

.active {
  display: flex;
}

@media (max-width: 48em) {
  html {
    font-size: 10px;
  }

  .container {
    width: 100%;
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .header {
    width: 69.4%;
    background-color: #151515;
    top: 0;
    transform: translate(-28%, 0);
    padding-top: 4rem;
    padding-bottom: 4rem;
    z-index: 10;
    display: none;
  }

  .header__logo {
    margin-right: 0;
    margin-bottom: 3.5rem;
  }

  .header__socials {
    margin-bottom: 2.2rem;
  }

  .header .container,
  .header__nav,
  .header__menu {
    display: flex;
    flex-direction: column;
  }

  .header__nav {
    display: none;
  }

  .header__nav-mobile {
    display: flex;
    flex-direction: column;
  }

  .header__nav-mobile a {
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    line-height: 1.14;
    display: inline-block;
  }

  .header__nav-mobile a:not(:last-child) {
    margin-bottom: 1.7rem;
  }

  .header__menu-close {
    display: block;
    position: absolute;
    right: 4rem;
    top: 4rem;
    width: 2.3rem;
    height: 2.3rem;
  }

  .menu-burger {
    display: block;
    position: absolute;
    right: 5%;
    top: 5%;
    width: 5rem;
    height: 5rem;
  }

  .main {
    background-position-x: 66%;
  }

  .main__description-wrap {
    flex-direction: column;
    margin-bottom: 5rem;
  }

  .main__button-play {
    margin-left: 0;
  }

  .main__button {
    margin-bottom: 4.4rem;
  }

  .main-slider__arrow {
    display: none;
  }

  .main-slider__wrap {
    max-width: 53.5%;
  }

  .footer .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .modal {
    padding: 3rem;
  }

  .modal__inner {
    width: 100%;
    height: 40rem;
  }
}