@import 'fonts.css';
*{
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  font-family: 'comfortaa';
  font-weight: 400;
}
/* icons */
*::before,
*::after{
  font-family: 'icons';
}
.icon-lenta::before{
  content: '\f008';
  font-weight: 300;
}
.icon-play::before,
.icon-play::after{
  position: absolute;
  color: #ffffff;
  font-weight: 900;
}
.icon-play::after{
  content: '\f04b';
}
.icon-play::before{
  content: '\10f04b';
  opacity: 0.5;
}

/* wrapp */
.wrapp{
  width: 100%;
  min-height: 100vh;
  background: #040D1F;
  position: relative;
  color: #ffffff;
}
/* container */
.container{
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  min-height: 40px;
  /* border: 1px solid red; */
}
/* banner */
.banner{
  width: 100%;
  min-height: 60px;
  background: linear-gradient(90deg, #3800AF 0%, #BF7204 97.52%, #C27500 100%, #C27500 100%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.banner .icon-lenta{
  font-size: 50px;
  margin-right: 24px;
}
.banner p{
  font-size: 16px;
  line-height: 18px;
  max-width: 166px;
}
/* navbar */
.navbar{
  width: 100%;
  min-height: 50px;
  background: rgba(1, 3, 5, 0.8);
  position: sticky;
  top: 0;
  backdrop-filter: blur(2px);
  z-index: 30;
}
.navbar__nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar__nav--logo{
  display: flex;
  align-items: flex-end;
  padding: 15px 0;
}
.navbar__nav--logo img{
  width: 103px;
}
.navbar__nav--logo span{
  font-size: 18px;
  line-height: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-left: 5px;
  text-transform: uppercase;
}
.navbar__nav--list{
  display: flex;
}
.navbar__nav--list a{
  padding: 42px 6px;
  margin: 0 9px;
  display: inline-flex;
  color: #ffffff;
  font-size: 14px;
  line-height: 14px;
  font-family: 'montserrat';
  font-weight: 400;
  position: relative;
  transition: color 0.3s;
}
.navbar__nav--list a::before{
  width: 100%;
  height: 3px;
  position: absolute;
  content: '';
  background: #ED8E00;
  left: 0;
  bottom: 0;
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform 0.3s;
}
.navbar__nav--list a:hover::before{
  transform: scaleX(1);
}
.navbar__nav--list a:hover{
  color: #ED8E00;
}
.navbar__nav--btn{
  width: 40px;
  height: 40px;
  padding: 5px;
  cursor: pointer;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
}
.navbar__nav--btn span{
  width: 100%;
  height: 4px;
  background: #ED8E00;
  transition: transform 0.3s, width 0.3s;
}
.navbar__nav--btn:hover span:first-of-type{
  transform: rotate(45deg) translateX(5.5px) translateY(5.5px);
}
.navbar__nav--btn:hover span:last-of-type{
  transform: rotate(-45deg) translateX(5.5px) translateY(-5.5px);
}
.navbar__nav--btn:hover span:nth-of-type(2){
  width: 0;
}
/* header */
.header{
  width: 100%;
  height: 640px;
  background: orangered;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header__bg{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
}
.header::before{
  width: 100%;
  height: 100%;
  position: absolute;
  content: '';
  background: rgba(7, 15, 25, 0.75);
  left: 0;
  top: 0;
}
.header__content{
  position: absolute;
}
.header__content h1{
  font-size: 64px;
  line-height: 65px;
  font-family: 'montserrat';
  font-weight: 700;
}
.header__content p{
  max-width: 570px;
  text-align: justify;
  font-size: 16px;
  line-height: 24px;
  font-family: 'montserrat';
  font-weight: 400;
  margin: 30px 0 50px;
}
.header__content--btn{
  display: flex;
  gap: 30px;
}
/* vue-btn */
.vue-btn{
  min-width: 166px;
  padding: 17px;
  display: inline-flex;
  background: #F18128;
  color: #000000;
  font-size: 14px;
  line-height: 11px;
  border-radius: 4px;
  font-family: 'roboto';
  font-weight: 500;
  justify-content: center;
  align-items: center;
  transition: background 0.5s, color 0.5s;
}
.vue-btn:hover{
  background: #040D1F;
  color: #ffffff;
}
/* films */
.films{
  width: 100%;
  padding: 60px 0 77px;
}
.films h2{
  width: 100%;
  margin-bottom: 54px;
}
.films__content{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.films-card{
  width: 23%;
  height: 370px;
  border-radius: 6px;
  background: orangered;
  position: relative;
  overflow: hidden;
}
.films-card__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
}
.films-card__link{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(241, 129, 40, 0.35) 0%, rgba(0, 0, 0, 0.71) 51.04%, rgba(7, 15, 25, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 18px 15px;
}
.films-card__link--play{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.icon-play{
  width: 40px;
  height: 46px;
  font-size: 40px;
  margin: 36px 0 12px;
  transition: transform 0.3s;
}
.time{
  padding: 7px;
  border-radius: 9px;
  border: 2px solid #ffffff;
  background: rgba(7, 15, 25, 0.2);
  color: #ffffff;
  min-width: 100px;
  display: inline-flex;
  justify-content: center;
  font-size: 14px;
  line-height: 10px;
  font-family: 'montserrat';
  font-weight: 400;
  margin-bottom: 15px;
  transition: transform 0.3s;
}
.films-card__link--text{
  color: #ffffff;
  font-weight: 400;
}
.films-card__link--text h3{
  font-size: 22px;
  line-height: 27px;
  font-family: 'montserrat';
  text-align: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  margin-bottom: 12px;
}
.films-card__link--text p{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
  font-size: 14px;
  line-height: 20px;
  font-family: 'roboto';
  text-align: justify;
}
.films-card:hover .icon-play {
  transform: scale(2) translateY(15px);
}
.films-card:hover .time{
  transform: scale(0);
}
/* title */
.title{
  color: #F18128;
  font-size: 36px;
  line-height: 32px;
  padding-bottom: 10px;
  border-bottom: 2px solid #F18128;
  text-transform: capitalize;
  display: inline-flex;
}
/* premier */
.premier{
  width: 100%;
  position: relative;
  height: 500px;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.premier__video{
  width: 60%;
  height: 500px;
  object-fit: cover;
  display: flex;
  position: absolute;
  right: 0;
}
.premier::before{
  width: 100%;
  height: 100%;
  position: absolute;
  content: '';
  background: linear-gradient(90deg, #DEF7FF 0%, #F4FCFF 45.64%, rgba(255, 255, 255, 0) 100.72%);
  z-index: 3;
}
.premier__content{
  z-index: 10;
  position: relative;
}
.premier__content--img{
  width: 40%;
}
.premier__content p{
  font-family: 'roboto';
  max-width: 558px;
  font-size: 18px;
  line-height: 27px;
  font-weight: 400;
  color: #000000;
  text-align: justify;
  margin: 51px 0 55px;
}
/* collections */
.collections{
  width: 100%;
  padding: 61px 0 63px;
}
.collections__content{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3%;
}
.collections__content h2{
  width: 100%;
  margin-bottom: 51px;
}
.collections-card{
  width: 31.33333%;
  height: 200px;
  background: orangered;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.collections-card__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  transition: transform 0.3s;
}
.collections-card__link{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(270deg, rgba(7, 15, 25, 0.56) 0%, rgba(49, 114, 9, 0.56) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.collections-card__link .icon-play{
  margin-top: 0; 
}
.collections-card__link h3{
  font-size: 20px;
  line-height: 20px;
  font-weight: 700;
  color: #ffffff;
  transition: transform 0.3s
}
.collections-card__link::before,
.collections-card__link::after{
  width: 19px;
  height: 90%;
  position: absolute;
  content: '';
  background: url('../images/lenta.png') no-repeat center center / cover;
  transition: transform 0.3s, right 0.3s, left 0.3s;
}
.collections-card__link::after{
  right: 7px;
}
.collections-card__link::before{
  left: 7px;
}
.collections-card:hover .collections-card__link::after{
  transform: scale(1.5);
  right: -35px;
}
.collections-card:hover .collections-card__link::before{
  transform: scale(1.5);
  left: -35px;
}
.collections-card:hover .collections-card__img,
.collections-card:hover .collections-card__link h3{
  transform: scale(1.2);
}

/* .serials */
.serials{
  width: 100%;
  padding-bottom: 63px;
}
.serials__content{
  margin-top: 54px;
  width: 100%;
  display: grid;
  grid-gap: 30px;
  grid-template-columns: repeat(4, auto);
}
.serials-card{
  min-height: 200px;
  border-radius: 6px;
  background: orangered;
  position: relative;
  overflow: hidden;
}
.serials-card__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
}
.serials-card__info{
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(95.68deg, rgba(35, 35, 35, 0.8) 10.86%, rgba(11, 11, 11, 0.6) 110.86%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.serials-card__info--link,
.serials-card:nth-of-type(6n + 1) .serials-card__info--content{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.serials-card__info--content{
  display: none;
}
.serials-card__info--link h3{
  font-size: 24px;
  line-height: 26px;
  font-weight: 700;
  color: #ffffff;
}
.serials-card:nth-of-type(6n + 1) .serials-card__info--link .icon-play{
  display: none;
}
.serials-card:nth-of-type(6n + 1) .serials-card__info--link h3{
  font-size: 40px;
  line-height: 45px;
  margin-bottom: 27px;
}
.serials-card__info--content p{
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  margin-bottom: 30px;
}


.serials-card:nth-of-type(6n + 1){
  grid-column-end:  span 4;
  grid-row-end: span 2;
}
.serials-card:nth-of-type(12n + 2){
  grid-column-end: span 2;
  grid-row-end: span 2;
}
.serials-card:nth-of-type(10n + 10){
  grid-column: 3 / span 2;
  grid-row-end: span 2;
}
/* footer */
.footer{
  width: 100%;
  background: linear-gradient(90deg, #FF8C30 0%, #9F4700 100%);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.8);
  padding: 27px 0;
}
.footer__content{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__content--apps{
  display: flex;
  align-items: center;
  gap: 50px;
}
.footer__content--apps img{
  width: 106px;
  display: flex;
}
.footer__content--text{
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}


@media (max-width: 1200px) {
  .serials__content{
    grid-template-columns: repeat(2, auto);
  }
  .serials-card{
    min-height: unset;
    height: 300px;
  }
  .serials-card:nth-of-type(6n + 1),
  .serials-card:nth-of-type(12n + 4){
    grid-column-end: span 2;
  }
  .serials-card:nth-of-type(12n + 2){
    grid-row: unset;
    grid-column: unset;
  }
  .serials-card:nth-of-type(12n + 4) .serials-card__info--content{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .serials-card:nth-of-type(12n + 4) .serials-card__info--link .icon-play{
    display: none;
  }
  .serials-card:nth-of-type(12n + 4) .serials-card__info--link h3{
    font-size: 40px;
    line-height: 45px;
    margin-bottom: 27px;
  }
}
@media (max-width: 992px) {
  .films-card{
    width: 48%;
    margin-bottom: 30px;
  }
  .collections-card{
    width: 48%;
  }
  .collections__content{
    row-gap: 30px;
  }
}
@media (max-width: 768px) {
  .header{
    height: 500px;
  }
  .header__content h1{
    font-size: 50px;
    line-height: 50px;
  }
  .footer__content{
    flex-direction: column;
    gap: 30px;
  }
}
@media (max-width: 576px) {
  .serials__content{
    display: flex;
    flex-direction: column;
  }
  .serials-card:nth-of-type(12n + 4) .serials-card__info--link .icon-play,
  .serials-card:nth-of-type(6n + 1) .serials-card__info--link .icon-play{
    display: flex;
  }
  .serials-card:nth-of-type(12n + 4) .serials-card__info--link h3,
  .serials-card:nth-of-type(6n + 1) .serials-card__info--link h3{
    font-size: 24px;
    line-height: 26px;
    margin-bottom: 0;
  }
  .serials-card:nth-of-type(12n + 4) .serials-card__info--content,
  .serials-card:nth-of-type(6n + 1) .serials-card__info--content{
    display: none;
  }
  .navbar__nav--btn{
    display: flex;
  }
  .navbar__nav--list{
    display: none;
  }
  .header__content{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .header__content h1{
    font-size: 40px;
    line-height: 40px;
  }
  .header{
    height: 400px;
  }
  .header__content p{
    margin: 15px 0;
  }
  .premier{
    align-items: flex-end;
  }
  .premier__video{
    width: 100%;
    height: 300px;
    top: 0;
  }
  .premier::before{
    background: linear-gradient(0deg, #DEF7FF 0%, #F4FCFF 45.64%, rgba(255, 255, 255, 0) 100.72%);
  }
  .premier__content{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }
  .premier__content p{
    margin: 10px 0;
  }
  .premier__content--img{
    width: 60%;
  }
  .collections-card{
    width: 100%;
  }
}
@media (max-width: 480px) {
  .header__content--btn{
    flex-direction: column;
    gap: 10px;
  }
  .header__content h1{
    font-size: 30px;
  }
  .films-card{
    width: 100%;
  }
}
