@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

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

body {
  background: #fff;
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  color: #000;
  font-weight: normal;
  scroll-behavior: smooth !important;
}

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

.header {
  padding: 16px 0;
  background: #F5D35A;
  box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.15);
}

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

.header__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.header__logo img {
  width: 100%;
}

.header__wrapper ul {
  display: flex;
  align-items: center;
}

.header__wrapper ul li {
  color: #403023;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-left: 45px;
}

.header__wrapper ul li a {
  color: #403023;
  transition: all .2s ease-in;
}

.header__wrapper ul li a svg {
  transition: all .2s ease-in;
}

.banner {
  position: relative;
  padding: 50px 0 0 0;
}

.banner::before {
  content: '';
  position: absolute;
  background: url('../img/main-bg.svg');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  top: -250px;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.banner__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
}

.banner__items {
  max-width: 615px;
  width: 100%;
}

.banner__items h1 {
  color: #FF4C8B;
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: 72px;
}

.banner__items p {
  color: #9597A6;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px;
  margin-bottom: 28px;
}

.banner__items a img {
  transition: all .2s linear;
}

.banner__img img {
  border-radius: 10px;
  width: 100%;
}

.about {
  position: relative;
  background: linear-gradient(256deg, #FFDE4F 1.6%, #FC009A 99.35%);
  margin: 40px 0 ;
}

.about__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  padding: 30px 0;
}

.about__items {
  max-width: 523px;
  width: 100%;
}

.about__items h2 {
  color: #FFF;
  font-size: 60px;
  font-style: normal;
  font-weight: 600;
  line-height: 72px;
  margin-bottom: 25px;
}

.about__items p {
  color: #FFF;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

.about__img img {
  width: 100%;
}

.description {
  padding: 40px 0;
}

.description__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.description__wrapper p {
  max-width: 447px;
  width: 100%;
  color: #212A74;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
}

.description__img img {
  width: 100%;
}

.gallery h2 {
  color: #212A74;
  font-size: 54px;
  font-style: normal;
  font-weight: 400;
  line-height: 66px;
  margin-bottom: 37px;
}

.gallery__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

.gallery__wrapper img {
  width: 100%;
  overflow: auto;
}

.footer {
  background: #FF842C;
  padding: 35px 0;
}

.footer {
  color: #403023;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

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

.footer__wrapper div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer__wrapper div a {
  color: #403023;
  transition: all .2s linear;
}

.legal {
  padding: 70px 0;
}

.legal h2 {
  color: #000;
  text-align: center;
  font-size: 64px;
  font-style: normal;
  font-weight: 400;
  line-height: 80px;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.legal p {
  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
}


@media screen and (max-width: 1200px) {
  .container {
    max-width: 960px;
  }

  .banner::before {
    content: '';
    position: absolute;
    background: url('../img/main-bg.svg');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    top: -100px;
    left: 0;
    right: 0;
    width: 100%;
    height: 240px;
    z-index: -1;
  }
}

@media screen and (max-width: 992px) {
  .container {
    max-width: 720px;
    padding: 0;
  }
} 

@media screen and (max-width: 768px) {
  .container {
    max-width: 540px;
  }

  .header__wrapper ul li {
    font-size: 16px;
    margin-left: 25px;
  }

  .banner__wrapper {
    flex-direction: column;
    align-items: center;
  }

  .about__wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .description__wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer__wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }
} 

@media screen and (max-width: 576px) {
  .container {
    padding: 0 15px;
  }

  .header__wrapper ul {
    max-width: 200px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .banner__items h1 {
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 25px;
  }

  .banner__items p {
    font-size: 18px;
    line-height: 1.5;
  }

  .about__wrapper {
    padding: 50px 0;
  }

  .about__items h2 {
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 25px;
  }

  .about__items  p {
    font-size: 18px;
    line-height: 1.5;
  }

  .description {
    padding: 0 0 30px;
  }

  .description__wrapper {
    gap: 30px;
  }

  .description__wrapper p {
    font-size: 18px;
    line-height: 1.5;
  }

  .gallery h2 {
    font-size: 34px;
    margin-bottom: 20px;
  }

  .gallery__wrapper {
    gap: 10px;
  }

  .footer__wrapper div {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .legal {
    padding: 30px 0;
  }

  .legal h2 {
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .legal p {
    font-size: 18px;
    line-height: 1.5;
  }
}

@media (hover: hover) {
  .header__wrapper ul li:hover a {
    color: #000;
  }
  .banner__items a:hover img {
    transform: scale(1.03);
  }

  .footer__wrapper div a:hover {
    transform: scale(1.03);
  }
}

@media (hover: none) {
  .header__wrapper ul li:active a {
    color: #000;
  }
  .banner__items a:active img {
    transform: scale(1.03);
  }

  .footer__wrapper div a:active {
    transform: scale(1.03);
  }
}