:root {
  --color-midnight-blue: #2c3e50;
  --color-wet-asphalt: #34495e;
  --color-asbestos: #7f8c8d;
  --color-silver: #bdc3c7;
  --color-clouds: #ecf0f1;
  --font-heading: 'Josefin Sans', sans-serif;

  /* [TBD] for "Logo" */
  /* [TBD] for content text */
}

@font-face {
  font-family: 'Josefin Sans';
  src: url('assets/fonts/JosefinSans-VariableFont_wght.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}

@font-face {
  font-family: 'Josefin Sans';
  src: url('assets/fonts/JosefinSans-Italic-VariableFont_wght.ttf') format('truetype');
  font-style: italic;
  font-weight: 100 700;
  font-display: swap;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  color: var(--color-midnight-blue);
}

body {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

main {
  flex: 1;

  & h1,
  h2 {
    line-height: 1.5;
  }
  & h2 {
    font-style: italic;
  }
}

header {
  position: sticky;
  top: 0;
  min-height: 100dvh;
  min-width: 16rem;
  max-width: 28vw;
  width: 100%;
  padding-top: 3.75rem;
  padding-left: 2.5rem;
  padding-bottom: 2.5rem;
  box-sizing: border-box;
  background: var(--color-clouds);

  & ul {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding-inline-start: 0;
  }

  & li {
    list-style: none;
    font-weight: 600;
  }

  & a {
    text-decoration: none;
  }
}

.header-info {
  display: flex;
  flex-direction: column;
  gap: 0.376rem;
  margin-block-start: 0;
  margin-block-end: 0;

  & p {
    margin-block-start: 0;
    margin-block-end: 0;
    font-style: italic;
  }
}

.site-title {
  line-height: 1.5;
  font-size: 1.5rem;
  font-weight: 700;
}

.hero-subtitle {
  margin-top: 0.5rem;
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.5;
}

.hero-description {
  margin-top: 1rem;
  font-size: clamp(1.125rem, 1.5vw, 1.3rem);
}

.main-section {
  min-height: 100dvh;
  width: 100%;
  padding: 3rem clamp(1.5rem, 4vw, 4rem);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-indicator span {
  font-size: 0.75rem;
  color: #a3a3a3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.scroll-indicator::after {
  content: '';
  display: block;
  width: 1px;
  height: 4rem;
  background-color: #d4d4d4;
}

@media (min-width: 1024px) {
  .scroll-indicator {
    left: auto;
    right: 4rem;
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  body {
    flex-direction: column;
  }

  header {
    position: static;
    min-height: auto;
    min-width: 0;
    max-width: none;
    padding: 1.5rem;
  }

  header ul {
    margin-top: 1.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }
}
