:root {
  --text-color: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  background: #0f1a2f url("bg.png") center center / cover no-repeat fixed;
  color: var(--text-color);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 56px);
  text-align: center;
}

h1 {
  margin: 0;
  font-family: "Roboto Slab", serif;
  font-style: normal;
  font-weight: 900;
  font-size: clamp(34px, 7vw, 90px);
  line-height: clamp(44px, 9vw, 120px);
  letter-spacing: 0.03em;
  color: var(--text-color);
}

.subtitle {
  margin: clamp(20px, 2.8vw, 36px) 0 0;
  font-family: "Roboto Flex", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(22px, 4.2vw, 50px);
  line-height: clamp(28px, 5vw, 59px);
  color: var(--text-color);
}

.contacts {
  margin-top: clamp(56px, 10vw, 160px);
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  font-family: "Roboto Flex", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(22px, 4.2vw, 50px);
  line-height: clamp(28px, 5vw, 59px);
  color: var(--text-color);
}

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

.contacts a:hover,
.contacts a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}
