* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    font-family: "Cormorant Garamond", serif;
}

#background {
    position: fixed;
    inset: 0;
    background-image: url("./assets/bg-desktop.png");
    background-size: cover;
    background-position: center center;
    transform: scale(1.05);
    transition: transform .15s linear;
}

#background::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        rgba(0, 0, 0, .25);
}

#lyrics-layer {
    position: fixed;
    inset: 0;
    overflow: hidden;
}

.letter {
    position: absolute;
    color: white;
    font-size: clamp(.75rem, 1.2vw, 1.625rem);
    letter-spacing: .08em;
    will-change: transform;
    user-select: none;
    pointer-events: none;
    text-shadow: 0 0 .5rem rgba(255, 255, 255, .15);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5.625rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.logo {
    width: 16rem;
    height: auto;
    filter: drop-shadow(0 0 .75rem rgba(0, 0, 0, .5));
}

.release-card-wrapper {
    position: fixed;
    right: 1.75rem;
    bottom: 1.75rem;
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
    max-width: calc(100vw - 3.5rem);
}

.release-card {
    width: auto;
    min-width: 13rem;
    max-width: 20rem;
    min-height: 7.25rem;
    display: grid;
    grid-template-columns: 7.25rem 1fr;
    overflow: hidden;
    background: rgba(15, 15, 15, .88);
    backdrop-filter: blur(1rem);
    border: .0625rem solid rgba(255, 255, 255, .08);
    box-shadow: 0 .9375rem 2.5rem rgba(0, 0, 0, .45);
    color: white;
}

.release-cover {
    position: relative;
    width: 7.25rem;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    flex-shrink: 0;
}

.release-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin-right: 0.5rem;
    box-sizing: border-box;
    object-fit: cover;
    object-position: center center;
}

.release-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.75rem 1rem;
    overflow: hidden;
}

.release-info h2 {
    margin: 0 0 0.375rem;
    font-size: 1.1rem;
    line-height: 1.2;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
}

.listen-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin-top: 0;
    padding: 0.3rem 0.6rem;
    color: #fff;
    text-decoration: none;
    font-size: .75rem;
    letter-spacing: .08em;
    background: rgba(255, 255, 255, .04);
    border: .0625rem solid rgba(255, 255, 255, .18);
    transition: all .25s ease;
    white-space: nowrap;
}

.listen-btn:visited {
    color: #fff;
}

.listen-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-.125rem);
}

@media (max-width:43.75rem) {
    #background {
        background-image: url("./assets/bg-mobile.png");
    }

    .release-card-wrapper {
        right: 1rem;
        bottom: 1rem;
        gap: 0.75rem;
        flex-direction: column;
        align-items: stretch;
    }

    .release-card {
        width: auto;
        min-width: auto;
        max-width: 100%;
        min-height: 4.5rem;
        grid-template-columns: 4.5rem 1fr;
    }

    .release-cover {
        width: 4.5rem;
        aspect-ratio: 1 / 1;
    }

    .release-info {
        padding: 0.625rem 0.75rem;
    }

    .release-info h2 {
        display: none;
    }

    .listen-btn {
        display: inline-flex;
        padding: 0.3rem 0.6rem;
        font-size: .7rem;
    }

    .logo {
        width: 16rem;
    }

}