@import url("./fonts.css");

:root {
  --primaryColor: #f18128;
  --white: #fff;
  --darkBlue: #040d1f;
  --fm1: "Montserrat";
  --fm2: "Comfortaa";
  --fm3: "Roboto";
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

body {
  background-color: var(--darkBlue);
}

.btn {
  font-family: var(--fm3);
  font-weight: 500;
  font-style: Medium;
  font-size: 14px;
  line-height: 12px;
  letter-spacing: 0%;
  text-align: justify;
  color: #000000;

  background: var(--primaryColor);
  padding: 17px 48px;
  border-radius: 4px;
  border: 1px solid #000;
}

.title {
  font-family: var(--fm2);
  font-weight: 400;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--primaryColor);
  border-bottom: 2px solid var(--primaryColor);
  width: max-content;
  text-transform: capitalize;
}

/* ads start */

.ads {
  background: linear-gradient(
    90.09deg,
    #0031af 0%,
    #bf7204 97.52%,
    #c27500 100%,
    #c27500 100%
  );
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 24px;
  color: var(--white);
  padding: 20px 0;
}

.ads span {
  width: 166px;
  font-family: var(--fm2);
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
}

/* ads end */

/* nav start */

.nav {
  background: #010305cc;
  backdrop-filter: blur(15px);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 29px 0;
}

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

.nav__lists {
  display: flex;
  column-gap: 30px;
}

.nav__logo {
  color: var(--white);
  font-family: var(--fm2);
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
}

.nav__link {
  color: var(--white);
  font-family: var(--fm1);
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: right;
  position: relative;
  transition: 0.5s;
}

.nav__link:hover {
  color: var(--primaryColor);
}

.nav__link::after {
  content: "";
  display: block;
  background: var(--primaryColor);
  width: 0;
  height: 2px;
  position: absolute;
  bottom: -42px;
  transition: 0.5s;
}

.nav__link:hover::after {
  width: 100%;
}
/* nav end */

/* header start */

.header {
  width: 100%;
  min-height: 80vh;
  position: relative;
}

.header__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  object-position: top;
}

.header__content {
  background: #070f19bf;
  display: flex;
  flex-grow: 1;
  align-items: center;
  min-height: 640px;
  justify-content: flex-start;
}

.header__title {
  color: var(--white);
  font-family: var(--fm1);
  font-weight: 700;
  font-size: 64px;
  line-height: 100%;
  letter-spacing: 0%;
}

.header__text {
  width: 570px;
  color: #c8c8c8;
  font-family: var(--fm1);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  text-align: justify;
  margin: 30px 0 50px 0;
}
/* header end */

/* films start */

.films {
  margin: 60px 0 77px 0;
}

.films__title {
  margin-bottom: 54px;
}

.films__cards {
  display: flex;
  justify-content: space-between;
  column-gap: 30px;
}

.films__card {
  max-width: 255px;
  width: 100%;
  min-height: 367.0454406738281px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.films__card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.films__card__content {
  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%
  );
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 54px 14px 18px 14px;
}

.films__card__link {
  color: var(--white);
}

.films__card__span {
  color: var(--white);
  font-family: var(--fm1);
  font-weight: 400;
  font-size: 14px;
  line-height: 10px;
  letter-spacing: 0%;
  border: 1px solid var(--white);
  padding: 7px 27px;
  border-radius: 9px;
  margin: 12px 0 30px 0;
}

.films__card__title {
  color: var(--white);
  font-family: var(--fm1);
  font-weight: 400;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  margin-bottom: 12px;
}

.films__card__text {
  color: var(--white);
  font-family: var(--fm3);
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0%;
}

/* films end */

/* primier start */

.primier {
  position: relative;
}

.primier__video {
  width: 60%;
  height: 500px;
  position: absolute;
  right: 0;
  top: 0;
  object-fit: cover;
  z-index: -1;
}

.primier__content {
  background: linear-gradient(
    90deg,
    #def7ff 0%,
    #f4fcff 45.64%,
    rgba(255, 255, 255, 0) 100.72%
  );
  height: 500px;
  display: flex;
}

.primier__text {
  max-width: 558px;
  width: 100%;
  font-family: var(--fm3);
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 0%;
  text-align: justify;
  margin: 51px 0 55px 0;
}
/* primier end */

/* Collections start */

.collections {
  margin: 61px 0;
}

.collections__title {
  margin-bottom: 51px;
}

.collections__cards {
  display: flex;
  column-gap: 30px;
}

.collections__card {
  max-width: 350px;
  width: 100%;
  min-height: 193px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.collections__card__img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collections__card__content {
  background: linear-gradient(
    270deg,
    rgba(7, 15, 25, 0.56) 0%,
    rgba(49, 114, 9, 0.56) 100%
  );
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 15px;
  padding-top: 57px;
  color: var(--white);
  position: relative;
}

.collections__card__link {
  color: var(--white);
  transition: 0.5s;
}

.collections__card__title {
  font-family: var(--fm2);
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  transition: 0.5s;
}

.collections__card__content::before {
  content: url("../img/kadr.png");
  display: inline-block;
  position: absolute;
  left: 7px;
  top: 7px;
  transition: 0.5s;
}

.collections__card__content::after {
  content: url("../img/kadr.png");
  display: inline-block;
  position: absolute;
  right: 7px;
  top: 7px;
  transition: 0.5s;
}

.collections__card__content:hover .collections__card__link {
  transform: translateY(20px) scale(1.2);
}

.collections__card__content:hover .collections__card__title {
  transform: scale(0);
}

.collections__card__content:hover::before {
  transform: translateY(-110%);
}

.collections__card__content:hover::after {
  transform: translateY(110%);
}

/* Collections end */

/* Series start */

.series__title {
  margin-bottom: 55px;
}

.series__card__lg {
  width: 100%;
  height: 436px;
  border-radius: 6px;
  position: relative;
}

.series__card__img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  object-fit: cover;
}

.series__card__content {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    95.68deg,
    rgba(35, 35, 35, 0.8) 10.25%,
    rgba(11, 11, 11, 0.6) 110.25%
  );

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  row-gap: 30px;
}

.series__card__content__title {
  color: var(--white);
  font-family: var(--fm2);
  font-weight: 700;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
}

.series__card__content__text {
  color: var(--white);
  font-family: var(--fm2);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  text-align: center;
}

.series__item {
  min-height: 183px;
}

.series__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-template-areas:
    "md md sm1 sm2"
    "md md sm3 sm4";

  gap: 30px;
  margin-top: 30px;
}

.series__card {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.series__img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  object-fit: cover;
}

.series__card__content2 {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    95.68deg,
    rgba(35, 35, 35, 0.8) 0%,
    rgba(11, 11, 11, 0.6) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 21px;
  color: var(--white);
}

.series__card__content2__link {
  color: var(--white);
}

.series__card__title {
  font-family: var(--fm2);
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
}

.series__card__md {
  grid-area: md;
}

.series__card__sm {
  grid-area: sm1;
}

.series__card__sm2 {
  grid-area: sm2;
}

.series__card__sm3 {
  grid-area: sm3;
}

.series__card__sm4 {
  grid-area: sm4;
}
/* Series end */
