@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/Montserrat-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("../assets/fonts/Oswald-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-pink: #d28e82;
  --color-white: #ffffff;
  --font-main: "Oswald", Arial, sans-serif;
  --font-secondary: "Montserrat", Arial, sans-serif;
}

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

* {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--color-pink);
  font-family: var(--font-main);
  color: var(--color-white);
  line-height: 1;
}

img {
  display: block;
  max-width: 100%;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: -1;
  opacity: 0.3;
}

.hero::before {
  left: -420px;
  top: -90px;
  width: clamp(300px, 75vw, 920px);
  aspect-ratio: 1124 / 1196;
  background-image: url("../assets/bg3.svg");
}

.hero::after {
  right: -400px;
  bottom: -225px;
  width: clamp(280px, 65vw, 905px);
  aspect-ratio: 1112 / 1204;
  transform: rotate(352deg);
  background-image: url("../assets/bg4.svg");
}

@media (max-width: 479px) {
  .hero::before {
    left: -215px;
    top: -12px;
    width: 425px;
  }

  .hero::after {
    right: -100px;
    bottom: -200px;
    width: 420px;
  }
}

@media (min-width: 480px) and (max-width: 959px) {
  .hero::before {
    left: -192px;
    top: -74px;
    width: 510px;
  }

  .hero::after {
    right: -200px;
    bottom: -200px;
    width: 575px;
  }
}

@media (min-width: 480px) and (max-width: 959px) and (orientation: landscape) {
  .hero::before {
    left: -280px;
  }

  .hero::after {
    right: -310px;
  }
}

.hero__container {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(14px, 4vh, 120px) 16px;
  display: grid;
  justify-items: center;
  gap: clamp(10px, 2.2vh, 32px);
}

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

.hero__logo-image {
  width: clamp(10px, 20vw, 320px);
  height: auto;
}

.hero__logo-line {
  width: clamp(180px, 16.7vw, 260px);
  height: clamp(2px, 0.2vw, 3px);
  margin-top: 40px;
  background-color: var(--color-white);
}

@media (max-width: 980px) {
  .hero__logo-line {
    margin-top: 20px;
  }
}

.hero__title {
  font-family: var(--font-main);
  font-size: clamp(28px, 6vw, 77px);
  line-height: 1.1;
  font-weight: 400;
  text-align: center;
}

@media (min-width: 1660px) {
  .hero__title {
    font-size: 100px;
    line-height: 0.9;
  }
}

.hero__text {
  font-family: var(--font-secondary);
  font-size: clamp(18px, 2.2vw, 44px);
  line-height: 1.4;
  text-align: center;
}

.hero__markets {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.market-link {
  display: inline-flex;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.market-link:hover {
  transform: translateY(-2px);
}

.market-link:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 4px;
  border-radius: 8px;
}

.market-link img {
  width: clamp(90px, 10vw, 160px);
  height: clamp(90px, 10vw, 160px);
}
