h1 {
    font-family: 'Oswald', Impact, sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-transform: uppercase;
    line-height: 1;
    margin-top: 0;
    margin-bottom: 0.3em;
}

.subtitle {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 1.5em;
    line-height: 1;
}

body {
    margin: 0;
    font-family: 'Monserrat', Arial, sans-serif;
    font-weight: 300;
    line-height: 1.2;
    background: url("/background.jpeg") no-repeat center center fixed;
    background-size: cover;
    color: white;
}

body {
    background-image: image-set(
        url("/background.webp") type("image/webp"),
        url("/background.jpg") type("image/jpeg")
    );
}

@media (max-width: 768px) {
    body {
        background: url("/background-mobile.jpg") no-repeat center center fixed;
        background-size: cover;

        background-image: image-set(
            url("/background-mobile.webp") type("image/webp"),
            url("/background-mobile.jpg") type("image/jpeg")
        );
    }
}

a {
    color: white;
    text-decoration: underline dotted;
}

nav {
    background: rgba(0, 0, 0, 0.6);
    padding: 1em;
}

nav a {
    margin-right: 1em;
    text-decoration: none;
    font-family: 'Montserrat', 'Arial', sans-serif;
}

main {
    background: rgba(0, 0, 0, 0.6);
    padding: 2em;
    max-width: 800px;
    margin: 2em auto;
    border-radius: 8px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.elevation-curve img {
    display: block;
    width: 100%;
    height: auto;
}

.site-title a {
  font-family: 'Oswald', 'Impact', sans-serif;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  body {
    font-size: .75rem;
  }

  h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  h2, .subtitle {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  nav a {
    font-size: .75rem;
    padding: 0.3em;
  }
}

footer {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  padding: 1rem;
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  font-size: 0.9rem;
}
