
/*
.cd {
    position: relative;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    animation: cd-spin 24s linear infinite;
    width: 25%;
    aspect-ratio: 1;
    object-fit: cover;
    flex-shrink: 0;
}*/

.cd {
    position: relative;
    width: clamp(70px, 25%, 120px);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    animation: cd-spin 24s linear infinite;
    flex-shrink: 0;
}

.cd.paused {
    animation-play-state: paused;
    position: relative;
    width: clamp(70px, 25%, 120px);
    border-radius: 0;
    flex-shrink: 0;
    overflow: hidden;
}

.cd img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.cd::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

.cd::after {
    content: "";
    position: absolute;

    width: 15px;
    height: 15px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;
    background: #000;

    border: 2px solid rgba(255,255,255,0.5);

    z-index: 10;
}

@keyframes cd-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.date-stamp {
    font-family: 'OCR-A', monospace;
    color: #ff8c00;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    justify-content: center;
}



:root {
    --fg: #eee;
    --bg: #000;
    --accent: #b375fa;
}

html {
    background-color: var(--bg);
    overflow-x: hidden;
    position: relative;
    font-family: 'OCR-A', monospace;
}

::selection {
    background: #eee;
    color: #000;
    opacity: 1;
}

body::after {
    background: radial-gradient(
        ellipse at center,
        transparent 55%,
        rgba(0, 0, 0, 0.25) 100%
    );
}

img {
    filter:
        contrast(0.95)
        saturate(0.85)
        brightness(1.02);

    border-radius: 1px;
}

body::before {
    content: '';
    position: fixed;
    inset: -50%;

    background-image: url('/noise.svg');
    background-repeat: repeat;
    
    opacity: 0.14;
    mix-blend-mode: exclusion;

    pointer-events: none;
    z-index: 9999;

    animation: static 0.15s steps(1) infinite;
}

.timestamp {
    font-family: monospace;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: rgba(232, 117, 79, 0.85);
    display: flex;
    justify-content: center;
}

.timestamp span::selection {
    opacity: 1;
}

.container {
    min-height: 100vh;
    box-sizing: border-box;
    padding-block: 2rem;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

body {
    color: #eee;
    margin: 0;
}

h1 span {
    font-size: 1.17em;
}

#net {
    font-size: 0.9em;
}

#camrn {
    color: #000;
    background: #eee;
    margin-right: 0px;
    padding: 0px 6px;
}

#camrn::selection {
    background: #000;
    color: #eee;
}

#content {
    margin-inline: auto;
    width: min(90%, 576px);
    padding: 1.5em;
    box-sizing: border-box;
}

@keyframes static {
    0%   { transform: translate(0, 0); }
    10%  { transform: translate(-2%, 3%); }
    20%  { transform: translate(3%, -1%); }
    30%  { transform: translate(-1%, -3%); }
    40%  { transform: translate(2%, 2%); }
    50%  { transform: translate(-3%, 1%); }
    60%  { transform: translate(1%, -2%); }
    70%  { transform: translate(3%, 3%); }
    80%  { transform: translate(-2%, -1%); }
    90%  { transform: translate(1%, 2%); }
    100% { transform: translate(0, 0); }
}

header {
    text-align: center;
    width: min(90%, 70ch);
    margin-inline: auto;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    width: min(90%, 70ch);
    margin-inline: auto;
}

footer nav {
    text-align: center;
}


nav {
    margin: 22px;
}

a {
    text-decoration: underline;
    color: white;
}

a::selection {
    text-decoration: underline;
    text-decoration-color: black;
}

nav a {
    padding: 3px 6px;
    color: inherit;
    text-decoration: none;
}

nav a.active {
    background: #eee;
    color: #000;
    border-radius: 1px;
}

nav span a {
    transition: background 0.3s ease, color 0.3s ease;
}

nav span a:hover {
    background: #eee;
    color: #000;
    border-radius: 1px;
}

#contact-finn {
    width:30%;
}

#avatar {
    width: 20%;
    aspect-ratio: 1;
    object-fit: cover;
    flex-shrink: 0;
}

.now-playing {
    display: flex;
    gap: 9px;
    width: min(100%, 340px);
    height: 85px;
    margin: 22px auto;
    align-items: center;
    box-sizing: border-box;
}
/*
.now-playing {
    display: flex;
    gap: 9px;
    max-width: 340px;
    align-items:center;
    height:85px;
    margin:22px;
}
*/
/*
#now-playing-cover {
    width: 25%;
    aspect-ratio: 1;
    object-fit: cover;
    flex-shrink: 0;
}
*/
.now-playing-info {
    flex: 1;
    min-width: 0;
    height:100%;
}

#now-playing-title {
    font-size: 0.75em;
    font-weight: 700;
}

#now-playing-artist {
    font-size: 0.65em;
    font-weight: 500;
}

#now-playing-album {
    font-size: 0.6em;
    font-weight: 400;
}

.progress-container {
    width: 100%;
    margin-top: 7px;
    font-size: 0.75em;
}

.progress-bar {
    width: 100%;
    height: 2px;
    background: #464646;
    border-radius: 2px;
    overflow: hidden;
}

#now-playing-progress {
    width: 0%;
    height: 100%;
    background: currentColor;
    border-radius: 2px;
    transition: width 0.2s linear;
}

.progress-times {
    display: flex;
    justify-content: space-between;
    margin-top: 3px;
}

.contact-main {
    gap:5%;
    display:flex;
    flex-direction:row;
    max-width:100%;
    justify-content:center;
}

@media (max-width: 600px) {
    #content {
        width: 100%;
        padding: 1.25em;
    }

    header,
    footer {
        width: 100%;
    }

    nav {
        margin: 18px 0;
    }

    .contact-main {
        flex-direction: column;
        align-items: center;
    }

    .contact-main img {
        display:none;
    }
}