@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;700&family=Inter:wght@300;400;700;800&display=swap");

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

/*font-family: 'Comfortaa', cursive;
font-family: 'Inter', sans-serif;*/

body {
  color: #262c27;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
}

img {
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.title {
  font-weight: 400;
  font-size: 60px;
  font-family: "Comfortaa", cursive;
}

.container {
  max-width: 1230px;
  padding: 0 15px;
  margin: 0 auto;
}

.header {
  background-image: url(../images/bg-fon.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  background-position: center;
  position: relative;
}

.header::before {
  content: "";
  position: absolute;
  background-image: url(../images/lesok\ up.svg);
  bottom: 0;
  right: 0;
  left: 0;
  height: 456px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(33%);
  z-index: 2;
}
.header::after {
  content: "";
  position: absolute;
  background-image: url(../images/lesok\ down.svg);
  bottom: 0;
  right: 0;
  left: 0;
  height: 456px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(70%);
  z-index: 3;
}

.header__top {
  display: flex;
  align-items: center;
  padding: 57px 0;
  gap: 100px;
  justify-content: flex-end;
  font-family: "Comfortaa", cursive;
  font-size: 20px;
  font-weight: 700;
}

.logo path {
  transition: fill 0.3s ease;
}
.logo:hover path {
  fill: #0093a1;
}

.header__btn {
  text-transform: uppercase;
  color: #fff;

  background-color: #262c27;
  padding: 12px 71px;
  border: none;
  cursor: pointer;
}

.header__content {
  min-height: calc(100vh - 161px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.header__content-box {
  max-width: 550px;
  text-align: center;
  margin-right: 30px;
  color: #fff;
  font-weight: 700;
  font-family: "Comfortaa", cursive;
  /* margin-top: 245px; */
}

.header__title {
  margin-bottom: 20px;
  font-size: 64px;
}
.header__text {
  font-size: 24px;
  line-height: 27px;
  margin-bottom: 20px;
}

.header__decor-text {
  position: absolute;
  bottom: 25px;
  color: #0093a1;
}
.header__decor-text--1 {
  font-size: 130px;
  font-style: normal;
  font-weight: 400;
  z-index: 1;
  right: 145px;
  opacity: 0.3;
  font-family: "Comfortaa", cursive;
  bottom: 120px;
}
.header__decor-text--2 {
  font-size: 130px;
  font-style: normal;
  font-weight: 400;
  opacity: 0.3;
  font-family: "Comfortaa", cursive;
  z-index: 4;
  left: 265px;
  bottom: 0px;
}
.header__decor-text--3 {
  max-width: 360px;
  right: 145px;
  z-index: 4;
  font-size: 32px;
  font-style: italic;
  font-weight: 300;
  line-height: 39px;
  text-align: center;
}

.info {
  background-image: url(../images/info-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.info::before {
  content: "";
  position: absolute;
  height: 180px;
  bottom: 0;
  top: 95px;
  right: 0;
  background-color: #262c27;
  left: 0;
  transform: translateY(-180px);
  z-index: 1;
}

.info__top {
  display: flex;
  gap: 80px;
  padding-top: 170px;
  margin-bottom: 80vh;
}

.info__text {
  padding-top: 245px;
  width: 290px;
  color: #fff;
  position: relative;
}

.info__top-text--two {
  border-bottom: 1px solid #fff;
}
.info__top-text--one {
  padding-bottom: 125px;
}

.info__top-img {
  position: relative;
  z-index: 4;
}

.popup-btn {
  text-align: center;
  border: none;
  cursor: pointer;
  background-color: transparent;
  position: absolute;
}

.popup-btn span {
  padding-top: 12px;
  display: block;
  color: #fff;
  transition: color 0.3s;
}

.popup-btn:hover path {
  fill: #b9c400;
}

.popup-btn:hover circle {
  stroke: #b9c400;
}

.popup-btn circle,
.popup-btn path {
  transition: all 0.3s;
}

.popup-btn:hover span {
  color: #0093a1;
}

.info-btn {
  bottom: 0;
  right: 0;
}

.info__specs {
  display: flex;
  align-items: center;
  gap: 130px;
  color: #fff;
  padding-bottom: 50px;
}

.info__specs-title {
  font-size: 60px;
  font-family: "Comfortaa", cursive;
  font-weight: 400;
  width: 250px;
}

.info__specs-list {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  padding: 30px 0;
  width: 565px;
  font-weight: 700;
}
.info__specs-item {
  margin-bottom: 15px;
  display: flex;
  gap: 25px;
}

.info__specs-caption {
  width: 185px;
}

.buy {
  padding: 150px 0 0;
}
.buy__inner {
  display: flex;
  align-items: center;
  gap: 90px;
}
.buy__content {
  width: 510px;
  position: relative;
}
.buy__title {
  text-transform: uppercase;
  margin-bottom: 50px;
  font-size: 60px;
  font-family: "Comfortaa", cursive;
  color: #0093a1;
}
.buy__list {
  margin-bottom: 25px;
}
.buy__item {
  margin-bottom: 25px;
  width: 285px;
}

.buy__item:hover .buy__item-title {
  color: #0093a1;
}

.buy__item-title {
  font-weight: 700;
  margin-bottom: 5px;
  transition: color 0.3s;
}

.buy__price {
  position: absolute;
  right: 0;
  bottom: 130px;
  width: 201px;
  height: 199px;
  font-size: 35px;
  line-height: 42px;
  display: flex;
  background-image: url(../images/Star\ 1.svg);
  justify-content: center;
  align-items: center;
  font-weight: 700;
  transition: transform 0.3s;
}

.buy__price:hover {
  transform: scale(1.3);
}

.buy__btn {
  font-size: 40px;
  font-family: "Comfortaa", cursive;
  font-weight: 700;
  background-color: transparent;
  border: 2px solid #0093a1;
  color: #0093a1;
  cursor: pointer;
  padding: 18px;
  text-align: center;
  max-width: 484px;
  width: 100%;
  transition: all 0.3s;
}

.buy__btn:hover {
  background-color: #b9c400;
  color: #262c27;
  border-color: #b9c400;
}

.technology {
  margin-bottom: 150px;
}

.technology__top--inner {
  position: relative;
  min-height: 130vh;
}

.technology__top {
  background-image: url(../images/tecno-fon.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.technology-btn {
  right: 350px;
  top: 50vh;
}

.technology__top-box {
  position: absolute;
  left: 0;
  bottom: 70px;
}

.technology__title {
  max-width: 470px;
  margin-bottom: 62px;
}

.technology__list {
  margin: 0;
  padding-left: 20px;
}
.technology__list-item {
  padding-left: 24px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 24px;
}

.gallery__box {
  display: flex;
  gap: 68px;
  margin-top: 115px;
}
.gallery__text {
  width: 350px;
}

.gallery__min {
  display: grid;
  gap: 30px 24px;
  grid-template-columns: 481px 208px;
  grid-template-rows: 432px 300px;
  margin-top: -35%;
  margin-bottom: 150px;
  position: relative;
  padding: 72px 31px 52px;
}

.gallery__min::before {
  content: "";
  position: absolute;
  border-radius: 200px 0px 300px 0px;
  border: 3px solid #262c27;
  background: rgba(217, 217, 217, 0);
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 5;
}

.gallery__min-img-1 {
  grid-column: 1/3;
  border-radius: 400px 0px 0px 0px;
}

.gallery__min-img-2 {
  border-radius: 0px 0px 0px 300px;
}

.gallery__max {
  display: grid;
  gap: 20px;
  grid-template-columns: 300px 469px 391px;
  grid-template-rows: 340px 270px 270px;
}

.gallery__max-img-2 {
  grid-column: 2/-1;
  justify-self: end;
  border-radius: 0px 500px 0px 0px;
}

.gallery__max-img-3 {
  border-radius: 0px 0px 150px 0px;
}

.gallery__max-img-4 {
  border-radius: 0px 200px 0px 0px;
}

.gallery__max-img-5 {
  border-radius: 200px 0px 0px 0px;
}

.gallery__max-img-6 {
  grid-column: 2/-1;
  border-radius: 0px 0px 0px 400px;
}

.gallery__max-text {
  border-radius: 0px 0px 0px 200px;
  border: 1px solid #0093a1;
  background: #0093a1;
  color: var(--white, #fff);
  font-size: 32px;
  font-style: italic;
  font-weight: 800;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer {
  padding: 100px 0 80px;
  background-color: #262c27;
  color: #fff;
}

.footer__top {
  display: flex;
  justify-content: space-between;
}

.footer__title {
  margin-bottom: 27px;
}

.footer__form {
  max-width: 500px;
}

.footer__form-input {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  display: block;
  width: 100%;
  padding: 10px 0;
  margin-bottom: 57px;
  color: #fff;
}

.footer__form-input::placeholder {
  color: #fff;
  font-family: Inter;
  font-size: 18px;
  line-height: 22px;
  opacity: 0.2;
  font-weight: 700;
  text-transform: uppercase;
}

.footer_btn {
  background-color: #fff;
  padding: 10px 66px;
  border: none;
  margin-bottom: 110px;
  color: #000;
  font-family: "Comfortaa", cursive;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}

.footer__social-title {
  margin-bottom: 28px;
  font-weight: 700;
}

.footer__gallery {
  display: grid;
  gap: 52px;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 50px;
}

.footer__menu-list {
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}

.footer__logo {
  align-self: flex-start;
  padding-bottom: 5%;
}

.footer__logo path {
  transition: fill 0.3s ease;
}

.footer__logo:hover path {
  fill: #0093a1;
}

.privacy__banner {
  position: fixed;
  bottom: 2%;
  left: 0;
  right: 0;
  background: #1b1b1c;
  padding: 10px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 8px;
  flex-direction: column;
  text-align: center;
  color: white;
}

.privacy__button {
  background-color: white;
  padding: 3px 8%;
  border-radius: 5px;
  color: black;
  font-size: 15px;
  cursor: pointer;
}

.privacy__link {
  color: wheat;
}

@media (max-width: 1230px) {
  .header__decor-text--2 {
    left: 0;
  }
  .buy__inner {
    flex-wrap: wrap;
    justify-content: center;
  }
  .buy__img {
    order: -1;
    width: 70%;
  }
  .buy__content {
    width: 100%;
  }
  .buy__price {
    pointer-events: none;
  }
  .buy__item {
    width: 100%;
    max-width: 660px;
  }
  .gallery__max {
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: auto auto auto;
    width: 100%;
  }
  .gallery__max-img {
    width: 100%;
    align-self: stretch;
  }
  .footer__gallery-item {
    width: 100%;
    align-self: stretch;
  }
  .technology__top-box {
    left: 10px;
  }
}

@media (max-width: 1175px) {
  .gallery__box {
    flex-wrap: wrap;
  }
  .gallery__min {
    margin-top: 0;
  }
  .gallery__text {
    width: 100%;
  }
  .gallery__min-img {
    width: 100%;
    align-self: stretch;
  }
  .gallery__min {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    width: 100%;
  }
}

@media (max-width: 1000px) {
  .info__top {
    display: block;
  }
  .info__text {
    width: 100%;
  }
  .info__top-text--two {
    padding-bottom: 25px;
    padding-top: 45px;
  }
  .info__top-img {
    width: 227px;
    margin: 0 auto;
    display: block;
  }
  .info__specs {
    display: block;
  }
  .info__top-img {
    width: 200px;
    margin-left: 630px;
    display: block;
  }
  .info__top {
    padding-top: 170px;
    margin-bottom: -50vh;
  }
  .info__specs {
    position: relative;
    z-index: 5;
  }
  .gallery__max-text {
    font-size: 18px;
    line-height: 20px;
  }
  .footer__top {
    flex-direction: column;
    align-items: center;
  }
  .footer__logo {
    order: -1;
    margin: 0 auto 50px;
    display: inline-block;
  }
  .footer__gallery {
    grid-template-columns: 2fr 2fr;
    gap: 20px;
  }
  .footer__menu-list {
    display: block;
    text-align: center;
  }
  .footer__menu-item {
    padding: 15px 0;
  }
  .footer_btn {
    width: 100%;
  }
  .info__specs {
    padding-top: 30px;
  }
}

@media (max-width: 870px) {
  .header__decor-text {
    display: none;
  }
  .info__top-img {
    margin-left: 440px;
  }
  .buy__price {
    bottom: auto;
    top: -350px;
  }
  .gallery__min {
    margin-bottom: 50px;
  }
}

@media (max-width: 720px) {
  .header__top {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 90px;
  }
  .header__btn {
    width: 70%;
  }
  .header__content-box {
    margin-right: 0;
    margin-bottom: 120px;
  }
  .header__content {
    z-index: 6;
  }
  .info__top-img {
    margin-left: 410px;
  }
  .privacy__banner {
    margin: 0 5%;
  }
}

@media (max-width: 630px) {
  .info__specs-list {
    width: 100%;
  }
  .info__specs-item {
    display: block;
  }
  .info__top-img {
    margin-left: 360px;
  }
  .title {
    font-size: 48px;
    line-height: 56px;
  }
  .gallery__min {
    padding: 20px 10px 20px;
  }
  .gallery__max-text {
    font-size: 15px;
    line-height: 15px;
  }
  .buy {
    padding-top: 75px;
  }
  .info__top-img {
    margin-left: 336px;
  }
}

@media (max-width: 550px) {
  .info__top-img {
    margin-left: 100px;
  }
  .buy__price {
    width: 170px;
    height: 168px;
    background-size: cover;
    top: -185px;
  }
  .technology__title {
    font-size: 38px;
    line-height: 45px;
  }
  .gallery__max-text {
    font-size: 12px;
    line-height: 15px;
    align-items: baseline;
  }
  .footer__title {
    font-size: 35px;
  }
  .footer__logo svg {
    width: 90%;
  }
  .footer__gallery {
    grid-template-columns: 1fr;
    width: 90%;
    gap: 20px;
    margin: 0 auto 50px;
  }
  .footer__gallery-item {
    border-radius: 7%;
  }
  .footer__social-title {
    text-align: center;
  }
  .technology-btn {
    right: 110px;
  }
  .info__top-img {
    margin-left: 156px;
  }
  .buy__img {
    width: 100%;
  }
}

@media (max-width: 375px) {
  .header__title {
    font-size: 55px;
    line-height: 60px;
  }
  .header__decor-text {
    display: none;
  }
  .gallery__max-text {
    font-size: 12px;
    line-height: 14px;
    align-items: baseline;
  }
  .info__top-img {
    margin-left: 100px;
  }
}
