@font-face {
    font-family: octin;
    src: url(octin.ttf) format("truetype");
}

:root {
    --scale: 0.67;
    --spacing: 20px;
    --line: 1.35;
    --text-blur: 6px;
    --bg-brightness: 70%;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

body {
    margin: 0;
    padding: 0;
    overflow: auto;
    background-color: black;
    color: white;
    font-family: octin, Arial, sans-serif;
}

.fullscreen-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.fullscreen-bg img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    opacity: 0.5;
    transition: opacity 1s ease;
}

#content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: auto;
    text-align: center;
    padding: var(--spacing);
    box-sizing: border-box;
}

#content img {
    width: 40%;
}

#social-links {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: calc(var(--spacing) / 2) var(--spacing);
}

#social-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#social-links li {
    margin: 0;
}

#social-links a {
    color: white;
    text-decoration: none;
    font-size: 40px;
    -webkit-text-stroke: 0.5px black;
}

#social-links a:hover {
    color: gray;
}

#social-links a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
    border-radius: 2px;
}

.horizontal-bar {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: var(--spacing) 0;
}

.horizontal-bar img {
    width: 40%;
    height: 10px;
}

#bandcamp {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing);
    padding: var(--spacing);
}

.bandcamp-embed iframe {
    max-width: 100%;
    height: auto;
    border: 0;
}

#main-content h2,
#main-content h3,
#main-content p,
#main-content ul,
#main-content li,
#discography p {
    -webkit-text-stroke: 0.5px black;
}

#main-content h2,
#main-content h3 {
    font-size: 2.2em;
    text-align: center;
    font-weight: bold;
    line-height: 1.6;
    color: white;
    text-shadow: 0px 0px 2px black;
}

#main-content p {
    font-size: 1.5em;
    line-height: 1.6;
    text-align: center;
    color: white;
    text-shadow: 0px 0px 2px black;
}

#main-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 3em;
}

#main-content li {
    margin: 10px 0;
    text-align: center;
}

#main-content li span {
    font-size: 1.4em;
    line-height: 1.6;
    color: white;
    text-shadow: 0px 0px 2px black;
}

.origin-story {
    max-width: 960px;
    margin: 0 auto;
}

.origin-story p {
    font-size: 2.2em;
    line-height: 1.65;
}

.origin-story h3 {
    font-size: 3em;
}

.narrative-title {
    display: inline-block;
    font-size: 2.5em;
    letter-spacing: 0.08em;
    padding: 10px 20px;
}

#discography {
    font-size: 1em;
    line-height: 1.3;
    text-align: center;
    color: white;
    text-shadow: 0px 0px 2px black;
    margin: 20px;
}

#discography p {
    margin: 5px 0;
}

.u-scale-67 {
    zoom: var(--scale);
}

@supports not (zoom: 1) {
    .u-scale-67 {
        transform: scale(var(--scale));
        transform-origin: 0 0;
        width: calc(100% / var(--scale));
    }
}

:where(p, a, h1, h2, h3, h4, h5, h6, span, strong, em, small, label, li, ul, ol, blockquote) {
    mix-blend-mode: difference;
    -webkit-backdrop-filter: blur(var(--text-blur));
    backdrop-filter: blur(var(--text-blur));
}

.bandcamp-embed iframe {
    mix-blend-mode: normal;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

iframe[loading="lazy"] {
    contain: paint;
}

@media (max-width: 768px) {
    #social-links a {
        font-size: 28px;
    }
}
