:root {
    --pastel: #a7d5e3;
    --text-color: #000;
    --bg-gradient: linear-gradient(to bottom right, #ffffff, var(--pastel));
    --font-serif: "Georgia", "Times New Roman", serif;
}

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

body {
    font-family: system-ui, sans-serif;
    color: var(--text-color);
    background: var(--bg-gradient);
    line-height: 1.6;
}

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

a:hover {
    text-decoration: underline;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    z-index: 10;
    transition: all 0.3s ease;
}

.logo {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 2.2rem;
    transition: font-size 0.3s ease;
}

header.shrink .logo {
    font-size: 1.6rem;
}

.hero {
    display: grid;
    place-items: center;
    min-height: 100dvh;
    padding: 0 1rem;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    max-width: 40ch;
    font-weight: 500;
}

.hero h4 {
    font-weight: 400;
}

main {
    display: grid;
    place-items: center;
    padding: 4rem 1rem;
}

.content {
    max-width: 60ch;
    margin-bottom: 200px;
}

.content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.content li {
    background: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 1rem;
    white-space: nowrap;
    transition: 200ms;

    &:hover {
        background: rgba(255, 255, 255, 0.5);
    }
}

footer {
    padding: 2rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7);
}

footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

@media (max-width: 600px) {
    header {
        padding: 0.5rem 1rem;
    }

    .logo {
        font-size: 1.6rem;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }
}
