:root {
  --blue-dusk: #20559f;
  --blue-dusk-dark: #0b1728;
  --clay: #e8ebee;
  --f-space-16-50: clamp(
    16px,
    calc((100vw - 412px) / (1440 - 412) * (50 - 16) + 16px),
    50px
  );
  --f-space-50-100: clamp(
    50px,
    calc((100vw - 412px) / (1440 - 412) * (100 - 50) + 50px),
    100px
  );
  --f-space-16-24: clamp(
    16px,
    calc((100vw - 412px) / (1440 - 412) * (24 - 16) + 16px),
    24px
  );
}

@font-face {
  font-family: "Space Grotesk";
  src: url("./SpaceGrotesk-Regular.woff") format("woff"),
    url("./SpaceGrotesk-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("./SpaceGrotesk-SemiBold.woff") format("woff"),
    url("./SpaceGrotesk-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("./SpaceGrotesk-Bold.woff") format("woff"),
    url("./SpaceGrotesk-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.3;
  hyphens: none;
  background-color: var(--blue-dusk-dark);
}

.container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

header {
  width: inherit;
  padding: 20px 20px 0 20px;
  box-sizing: border-box;
}

main {
  max-width: 800px;
  box-sizing: border-box;
  color: var(--clay);
  font-size: 1rem;
  padding-top: var(--f-space-50-100);
  padding-right: var(--f-space-16-50);
  padding-left: var(--f-space-16-50);
}

.intro {
  display: flex;
  flex-direction: column;
  gap: var(--f-space-16-24);
}

.logo {
  display: block;
  width: 130px;
  height: auto;
}

.photo {
  display: block;
  width: 150px;
  height: auto;
  border-radius: 100%;
  margin: 0 auto 20px auto;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--blue-dusk);
}

h2,
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--blue-dusk);
}

p {
  margin: 0;
}

.icon {
  display: block;
  width: fit-content;
  margin-bottom: 14px;
}

.icon a {
  display: block;
  outline-style: none;
}

.icon a:focus {
  -webkit-tap-highlight-color: transparent;
}

.icon img {
  display: block;
  width: 25px;
  height: auto;
}

@media (max-width: 768px) {
  p {
    word-spacing: -0.1rem;
  }

  .icon {
    margin: 0 auto 20px auto;
  }

  .photo {
    width: 130px;
  }
}
