h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-size: unset;
}

p {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

.container {
  margin: 0 auto;
  padding: 0 12px;
  width: 100%;
  max-width: 1920px;
}

.button {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ffffff;
  text-align: center;
  font-weight: 600;
  color: #ffffff;
  background-color: transparent;
  transition: 0.4s ease-in-out;
  cursor: pointer;
}

.button:hover {
  scale: 1.15;
  color: #000;
  background-color: #ffffff;
}

header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px;
  width: 100%;
  max-width: 1920px;
  z-index: 10;
  background-color: transparent;
  transition: 0.4s ease-in-out;
}

.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__title {
  font-size: 22px;
  color: #ffffff;
}

.menu__icon {
  padding: 8px;
  font-size: 20px;
  color: #ffffff;
}

.menu__wrapper {
  visibility: hidden;
  position: absolute;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: 0.4s;
}

.menu__wrapper.open {
  visibility: visible;
  opacity: 1;
}

.menu__container {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  padding-top: 82px;
  background-color: #003366;
  transform: translateX(30%);
  opacity: 0;
  transition: 0.4s;
}

.menu__container.open {
  transform: translateX(0);
  opacity: 1;
}

.close__icon {
  position: absolute;
  top: 16px;
  right: 16px;
}

.header__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.header__nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
}

.main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section__hero {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.section__hero__video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  filter: brightness(0.5);
}

.hero__text_container {
  position: absolute;
  top: 40%;
  right: 50%;
  transform: translate(50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 60%;
  text-align: center;
  font-size: 32px;
  color: #007bff;
}

.hero__button {
  position: absolute;
  bottom: 128px;
  right: 50%;
  transform: translateX(50%);
}

.advantages__title {
  margin-bottom: 40px;
  font-size: 32px;
  text-align: center;
  font-weight: bold;
  color: #007bff;
}

.advantages__items {
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow: hidden;
}

.advantages__item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.item__text__wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.advantages__item:nth-child(even) .item__text__title {
  text-align: left;
}

.advantages__item:nth-child(odd) .item__text__title {
  text-align: right;
}

.item__text__title {
  font-size: 30px;
  font-weight: bold;
  color: #007bff;
}

.item__text {
  text-align: justify;
  font-size: 24px;
}

.footer {
  background-color: #000;
}

.footer__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
  color: #fff;
}

.footer__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.footer__title {
  width: 25%;
  font-size: 26px;
  text-align: center;
}

.footer__map {
  width: 50%;
  height: 320px;
}

.footer__frame__mobile {
  display: none;
  margin: 0 auto;
}

.footer__address__wrapper {
  display: flex;
  flex-direction: column;
  width: 25%;
  text-align: right;
}

.footer__address__wrapper p {
  font-size: 20px;
  font-style: normal;
}

@media screen and (max-width: 1024px) {
  .hero__text {
    font-size: 24px;
  }

  .advantages__title {
    font-size: 24px;
  }

  .item__text__title {
    font-size: 22px;
  }

  .item__text {
    font-size: 18px;
  }

  .footer__title {
    font-size: 22px;
  }
}

@media screen and (max-width: 768px) {
  .advantages__item {
    flex-direction: column;
  }

  .item__img_mobile {
    display: block;
  }

  .item__img_desktop {
    display: none;
  }

  .footer__wrapper {
    flex-direction: column;
    gap: 16px;
  }

  .footer__title {
    width: 50%;
    text-align: left;
  }

  .footer__frame__desktop {
    display: none;
  }

  .footer__frame__mobile {
    display: block;
    width: 80%;
  }

  .footer__address__wrapper {
    width: 50%;
  }
}

@media screen and (max-width: 560px) {
  .button {
    padding: 8px;
  }

  .header__title {
    font-size: 18px;
  }

  .hero__text_container {
    width: 80%;
  }

  .hero__text {
    font-size: 20px;
  }

  .item__text {
    font-size: 16px;
  }

  .footer__title {
    font-size: 18px;
  }

  .footer__address__wrapper p {
    font-size: 18px;
  }
}

@media screen and (max-width: 470px) {
  .header__title__wrapper {
    width: 20%;
  }

  .header__title {
    font-size: 14px;
    text-align: center;
  }

  .button {
    padding: 6px;
  }

  .footer__title {
    font-size: 14px;
  }

  .footer__address__wrapper p {
    font-size: 14px;
  }
}

@media screen and (max-width: 400px) {
  .menu__container {
    width: 100%;
  }
}
