html {
    background-color: #adcace;
}

html:has(body.dark) {
    background-color: #869b68;
}

body {
    margin: 0;
    font-family: Libertinus Mono, 'Times New Roman', Times, serif;
    font-size: 1.4rem;
    line-height: 1.6;
    color: black;
    background-image:
        linear-gradient(to bottom, #adcace, rgba(173, 202, 206, 0) 12%, rgba(173, 202, 206, 0) 88%, #adcace),
        linear-gradient(to right, #adcace, rgba(173, 202, 206, 0) 12%, rgba(173, 202, 206, 0) 88%, #adcace),
        url("/assets/IMG_4651.png");
    background-size: auto, auto, 100%;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh;
}

body.dark {
    color: #e8e6e3;
    background-image:
        linear-gradient(to bottom, #869b68, rgba(134, 155, 104, 0) 12%, rgba(134, 155, 104, 0) 88%, #869b68),
        linear-gradient(to right, #869b68, rgba(134, 155, 104, 0) 12%, rgba(134, 155, 104, 0) 88%, #869b68),
        url("/assets/IMG_4656.png");
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

body.dark a {
    color: #9ecbff;
}

body.dark #bandcamp-player {
    filter: invert(1) hue-rotate(180deg);
    border-radius: 6px;
}

.theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    font-size: 1.4rem;
    line-height: 1;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    body {
        background-size: auto, auto, 200%;
    }
}
