:root {
  --c-primary: #ffffff;
  --c-secondary: #0150f0;
  --c-white: #101010;
}
body {
  background-color: var(--c-primary);
  min-height: 100dvh;
  font-family: "Gilroy", sans-serif;
  line-height: normal;
  display: flex;
  flex-direction: column;
  gap: 100px;
  overflow: hidden;
}

main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}

.container {
  padding: 0 100px;
}
.header {
  padding-top: 75px;
}
.header__logo {
  max-width: 171px;
}
.header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero {
  width: 100%;
}
.hero .container {
  width: 100%;
}
.hero__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  width: 100%;
}
.hero__content {
  flex: 1;
}
.hero__title {
  font-size: 40px;
  color: var(--c-white);
  font-weight: 700;
}
.hero__title--italic {
  font-weight: 300;
  font-style: italic;
}
.hero__image {
  position: relative;
  height: 100%;
  flex: 1.2;
  max-width: 830px;
  min-height: 500px;
  margin-bottom: -50px;
  display: flex;
}
.hero__image-shape {
  width: 100%;
  height: 100%;
  transition: 0.3s cubic-bezier(0.29, 0.13, 0.27, 0.74);
  transition: 0.4s ease-out;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  flex: 1;
}
.hero__image-shape.reveal {
  opacity: 1;
}
.hero__image-shape svg {
  width: 100%;
  height: 100%;
}

.hero__image-shape--first {
  z-index: 0;
  transform: translate(-50%, calc(-50% - 36px));
}
.hero__image-shape--second {
  z-index: -1;
  transition-delay: 0.25s;
}
.hero__image-shape--first.loaded {
  transform: translate(-50%, calc(-50% - 180px));
}

.footer {
  padding-bottom: 75px;
}
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 500;
  color: var(--c-primary);
  padding: 12px 35px;
  border-radius: 20px;
  transition: 0.3s linear;
}
.button-color--secondary {
  background-color: var(--c-secondary);
}
.button-color--secondary:hover {
  background-color: var(--c-white);
  color: var(--c-secondary);
}
.footer__wrapper {
  display: flex;
  align-items: center;
  gap: 70px;
}
.footer__address {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer__address-title {
  color: var(--c-white);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}
.footer__address-text {
  color: var(--c-white);
  font-weight: 200;
  font-size: 16px;
  line-height: 1.2em;
}

@media (max-width: 1441px) {
  .hero__title {
    font-size: 36px;
  }
  .footer__wrapper {
    gap: 50px;
  }
}
@media (max-width: 1201px) {
  body {
    gap: 50px;
  }
  .hero__wrapper {
    gap: 25px;
  }
  .hero__title {
    font-size: 32px;
  }
  .container {
    padding: 0 50px;
  }
  .header {
    padding-top: 50px;
  }
  .footer {
    padding-bottom: 50px;
  }
  .footer__wrapper {
    gap: 15px;
  }
  .button {
    padding: 8px 30px;
  }
}
@media (max-width: 991px) {
  body {
    gap: 30px;
  }
  main {
    height: auto;
    margin-top: auto;
  }
  .container {
    padding: 0 50px;
  }
  .header {
    padding-top: 60px;
  }
  .header__logo {
    margin: auto;
  }
  .hero__wrapper {
    flex-direction: column;
    gap: 60px;
  }
  .hero__image {
    width: 100%;
    max-width: 530px;
    max-width: 300px;
    min-height: 300px;
    margin-bottom: -100px;
  }
  .hero__title {
    text-align: center;
    font-size: 22px;
  }
  .button {
    padding: 8px 30px;
  }
  .footer {
    padding-bottom: 60px;
    margin-top: auto;
  }
  .footer__wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .footer__wrapper .button {
    order: 1;
  }
  .footer__address {
    text-align: center;
  }
  .footer__address-title {
    font-size: 14px;
  }
  .footer__address-text {
    font-size: 13px;
  }
  .hero__image-shape--first.loaded {
    transform: translate(-50%, calc(-50% - 80px));
  }
}
@media (max-width: 375px) {
  body {
    gap: 30px;
  }
  main {
    height: auto;
    /* padding: 60px 0; */
    margin-top: auto;
  }
  .container {
    padding: 0 30px;
  }
  .header {
    padding-top: 30px;
  }
  .header__logo {
    margin: auto;
  }
  .hero__wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .hero__image {
    max-width: 200px;
    min-height: 225px;
  }
  .hero__title {
    text-align: center;
    font-size: 22px;
  }
  .footer {
    padding-bottom: 30px;
    margin-top: auto;
  }
  .footer__wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .footer__wrapper .button {
    order: 1;
  }
  .footer__address {
    text-align: center;
  }
  .footer__address-title {
    font-size: 14px;
  }
  .footer__address-text {
    font-size: 13px;
  }
  .hero__image-shape--first.loaded {
    transform: translate(-50%, calc(-50% - 60px));
  }
}
