html {
    font-size: 120%;
}

body {
    background: #fffdf8;
    transition: background 0.3s ease;
    position: relative;
    overflow-x: hidden;
}

/* Stars container */
#stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: -1;
}

#stars-container.visible {
    opacity: 1;
}

.star {
    position: absolute;
    background: #fffef5;
    border-radius: 50%;
    animation: twinkle 100s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.6; }
}

.container {
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: normal;
    max-width: 20cm;
    padding-bottom: 1000vh;
}

h1 {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #4b2e2e;
    margin-top: 10em;
    margin-bottom: 4em;
}

p {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: transparent;
    background:
            radial-gradient(5px 8px at 10px 65px, #e4d2c2, transparent),
            radial-gradient(5px 8px at 210px 45px, #e4d2c2, transparent),
            radial-gradient(4px 4px at 55px 45px, #d2a679, transparent),
            radial-gradient(5px 5px at 150px 62px, #d2a679, transparent),
            #4b2e2e; /* dark brown base */
    background-size: 400px 80px;
    background-clip: text;
    -webkit-background-clip: text;
}

.attribution {
    color: #2B201B;
    margin-top: 4em;
}