:root {
  --blue: #1f51ff;
  --magenta: #fa0e4e;
  --white: #ffffff;
  --content-left: clamp(2.5rem, 7.74vw, 7.375rem);
}

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

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background: var(--blue);
  color: var(--white);
  font-family: "Nunito", Arial, sans-serif;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: var(--blue);
}

.hero__photo {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: url("./assets/hero-background.png");
  background-position: center center;
  background-size: cover;
  mix-blend-mode: soft-light;
}

.hero__content {
  padding-top: clamp(5.25rem, 17.7vh, 8.875rem);
  padding-left: var(--content-left);
  padding-right: 1.5rem;
}

.hero__logo {
  display: block;
  width: clamp(12.5rem, 18.4vw, 17.375rem);
  height: auto;
}

.hero__title {
  width: min(100%, 31.75rem);
  margin: clamp(2.25rem, 6.45vh, 3.25rem) 0 0;
  font-size: clamp(3.3rem, 5.3vw, 5rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.03em;
}

.hero__title span {
  display: block;
  white-space: nowrap;
}

.hero__title strong {
  position: relative;
  display: inline-block;
  z-index: 0;
  color: inherit;
  font-weight: inherit;
}

.hero__title strong::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0.09em -0.14em 0.02em -0.17em;
  border-radius: 999px;
  background: var(--magenta);
}

@media (max-width: 700px) {
  :root {
    --content-left: clamp(1.5rem, 8vw, 2.25rem);
  }

  .hero__photo {
    background-position: 64% center;
    opacity: 0.9;
  }

  .hero__content {
    padding-top: clamp(3.25rem, 10svh, 4.75rem);
    padding-right: 1.25rem;
  }

  .hero__logo {
    width: clamp(11rem, 54vw, 13rem);
  }

  .hero__title {
    margin-top: clamp(2.75rem, 8svh, 4rem);
    font-size: clamp(2.65rem, 12.7vw, 3.5rem);
    max-width: 100%;
    line-height: 0.9;
    letter-spacing: -0.045em;
  }
}

@media (max-width: 355px) {
  .hero__title {
    font-size: 2.35rem;
  }
}
