body {
    background-size: cover;
    overflow: hidden;
}
.message {
    position: fixed;
    z-index: 4;
    top: 1rem;
    left: 1rem;
    max-width: min(32rem, calc(100vw - 2rem));
    padding: 0.75rem 1rem;
    color: white;
    background-color: rgb(0 0 0 / 42%);
    border: 1px solid rgb(255 255 255 / 70%);
    border-left: 0.35rem solid white;
    box-shadow: 0 0.25rem 1rem rgb(0 0 0 / 35%);
    font-family: "Hina Mincho", serif;
    line-height: 1.5;
    text-shadow: 0 0 4px black;
}
.background-slideshow {
    position: fixed;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    background-color: rgb(25, 25, 25);
}
.background-slideshow::after {
    position: absolute;
    content: "";
    z-index: 3;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        rgb(0 0 0 / 18%) 25%,
        rgb(0 0 0 / 72%) 100%
    );
}
.background-slide {
    position: absolute;
    inset: -5%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transition: opacity 1s ease;
}
.background-slide.is-active {
    opacity: 1;
    z-index: 2;
    animation: background-drift 20s linear forwards;
}
.background-slide.is-visible {
    opacity: 1;
    z-index: 1;
    animation: background-drift 20s linear forwards;
}
.background-slide.is-fading-out {
    opacity: 0;
    z-index: 1;
}
@keyframes background-drift {
    0% {
        transform: translateX(-4%);
    }
    100% {
        transform: translateX(4%);
    }
}
.content {
    position: relative;
    z-index: 1;
    height: 100%;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
h1 {
    font-size: clamp(1rem, 8vw, 8rem);
    font-family: "Hina Mincho", serif;
    font-weight: lighter;
}
h2 {
    font-size: clamp(0.8rem, 5vw, 4rem);
    font-family: "Hina Mincho", serif;
    font-weight: lighter;
}
p {
    font-size: clamp(0.1rem, 2.5vw, 2rem);
    font-family: "Hina Mincho", serif;
    font-weight: lighter;
}
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
}
.social-links a {
    display: grid;
    width: clamp(2.5rem, 6vw, 4rem);
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 70%);
    border-radius: 50%;
    background-color: rgb(0 0 0 / 25%);
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.social-links a:hover,
.social-links a:focus-visible {
    transform: translateY(-0.2rem);
    background-color: rgb(255 255 255 / 20%);
}
.social-links img {
    width: 55%;
    height: 55%;
    user-select: none;
}
h1, h2, p {
    text-shadow: 0 0 8px black;
}

@media (prefers-reduced-motion: reduce) {
    .background-slide {
        transform: none;
        transition: opacity 1s ease;
    }

    .background-slide.is-active,
    .background-slide.is-visible {
        animation: none;
    }
}