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

* {
  padding: 0;
  margin: 0;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

:root {
  --fm-1: "Montserrat";
  --fm-2: "Comfortaa";
  --fm-3: "Roboto";
  --orange: #f18128;
  --white: #fff;
  --dark-blue: #040d1f;
}

body {
  background: var(--dark-blue);
}

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

.btn {
  padding: 12px 48px;
  background: var(--orange);
  color: #000;
  border-radius: 4px;
  border: 1px solid #000;
  font-family: var(--fm-3);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 12px; 
  transition: 0.5s;
}

.btn:hover {
  background: var(--dark-blue);
  color: var(--white);
}

.title {
  color: var(--orange);
  font-family: var(--fm-2);
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border-bottom: 2px solid var(--orange);
  width: max-content;
}



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

.ads__span {
  color: var(--white);
  font-family: var(--fm-2);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  width: 166px;
}


.nav {
  background: rgba(1, 3, 5, 0.8);
  position: sticky;
  top: 0;
  left: 0;
  padding: 29px 0;
}

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

.nav__logo {
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  font-family: var(--fm-2);
  font-style: normal;
  line-height: normal;
  display: flex;
  column-gap: 5px;
  align-items: flex-end;
}

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

.header__lists li a {
  color: var(--white);
  text-align: right;
  font-family: var(--fm-1);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  position: relative;
  transition: 0.5s;
}

.header__lists li a::after {
  content: "";
  display: block;
  background: var(--orange);
  border-radius: 23px 10px 0 0;
  width: 0;
  height: 2px;
  position: absolute;
  bottom: -40px;
  transition: 0.5s;
}

.header__lists li a:hover {
  color: var(--orange);
}
.header__lists li a:hover::after {
  width: 100%;
}

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

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

.header__content {
  background: rgba(7, 15, 25, 0.75);
  display: flex;
  flex-grow: 1;
  min-height: 100%;
  align-items: center;
  justify-content: flex-start;
}

.header__title {
  color: var(--white);
  font-family: var(--fm-1);
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.header__text {
  width: 570px;
  color: #c8c8c8;
  text-align: justify;
  font-family: var(--fm-1);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; 
  margin: 30px 0 50px 0;
}

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

.films__title {
  margin-bottom: 54px;
  text-transform: capitalize;
}

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

.films__card {
  max-width: 255px;
  width: 100%;
  min-height: 367px;
  position: relative;
  overflow: hidden;
}

.films__card__img {
  position: absolute;
  top: 0;
  left: 0;
  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;
  border-radius: 6px;
}

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

.films__card__span {
  color: var(--white);
  background: rgba(7, 15, 25, 0.2);
  border: 1px solid var(--white);
  border-radius: 9px;
  width: 100px;
  text-align: center;
  padding: 7px 0;
  font-family: var(--fm-1);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 10px; 
  margin: 12px 0 30px;
  transition: 0.5s;
}

.films__card__title {
  color: var(--white);
  text-align: center;
  font-family: var(--fm-1);
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.films__card__text {
  color: var(--white);
  font-family: var(--fm-3);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px; 
  margin-top: 12px;
}

.films__card__content:hover .films__card__link {
  transform: translateY(20px) scale(1.2);
}
.films__card__content:hover .films__card__span {
  transform: scale(0);
}

.primier {
  position: relative;
}

.primier__video {
  position: absolute;
  width: 60%;
  height: 500px;
  display: flex;
  top: 0;
  right: 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__content__text {
  margin: 51px 0 55px;
  max-width: 558px;
  color: #000;
  text-align: justify;
  font-family: var(--fm-3);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 27px;
}

