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

:root {
  --ff-primary: "Oswald", Sans-Serif;
  --ff-secondary: "Quattrocento", Serif;

  --fw-reg: 300;
  --fw-bold: 900;

  --clr-light: #ffffff;
  --clr-dark: #1b1f23;
  --clr-gray: #586069;
  --clr-highlight: #787f47;
  --clr-background: #ffffff;
  --clr-background-light: #e7f399;

  --fs-h1: 3rem;
  --fs-h2: 2.25rem;
  --fs-h3: 1.25rem;
  --fs-social: 2rem;
  --fs-body: 1rem;
}

@media (min-width: 800px) {
  :root {
    --fs-h1: 4.5rem;
    --fs-h2: 3.75rem;
    --fs-h3: 1.5rem;
    --fs-body: 1.125rem;
  }
}

@media (max-width: 400px) {
  :root {
    --fs-h1: 1.5rem;
    --fs-h2: 1.25rem;
    --fs-h3: 0.8rem;
    --fs-body: 1rem;
    --fs-social: 1.5rem;
  }
}

body {
  background: var(--clr-background);
  color: var(--clr-dark);
  margin: 0;
  font-family: var(--ff-primary);
  font-size: var(--fs-body);
  line-height: 1.6;
}

section {
  padding: 5em 2em;
}

h1,
h2,
h3 {
  line-height: 1rem;
  margin: 0;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

.section-title {
  margin: 0.3em 0;
}

.section-subtitle {
  margin: 0;
  font-family: var(--ff-secondary);
  font-size: var(--fs-h3);
  color: var(--clr-gray);
}

.introduction {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

a {
  color: inherit;
}

a:hover {
  opacity: 0.85;
  text-decoration: none;
}

.social-links {
  font-size: var(--fs-social);
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.social-links-item {
  margin: 0 0.25em;
}