:root {
    --bg: #151515;
    --bg-soft: #202020;
    --bg-darker: #101010;

    --pink: #d94f83;
    --pink-dark: #b63867;
    --pink-soft: rgba(217, 79, 131, 0.14);

    --cream: #f4eadc;
    --muted: #bcb3a8;

    --border: rgba(217, 79, 131, 0.22);
}


/* --------------------------------------------------
   Reset
-------------------------------------------------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--bg);
    color: var(--cream);

    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}


/* --------------------------------------------------
   Header
-------------------------------------------------- */

.site-header {
    background: var(--bg-darker);

    border-bottom:
        1px solid
        rgba(217, 79, 131, 0.25);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;

    padding: 22px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.brand {
    font-size: 1.25rem;
    font-weight: 700;
}

.brand span {
    color: var(--pink);
}

.header-link {
    color: var(--pink);
    font-weight: 700;

    transition: color .2s ease;
}

.header-link:hover {
    color: var(--cream);
}


/* --------------------------------------------------
   Algemene pagina
-------------------------------------------------- */

main {
    max-width: 1200px;
    margin: 0 auto;

    padding: 45px 20px 75px;
}

.page-title {
    margin: 0 0 5px;

    font-size:
        clamp(
            2.2rem,
            5vw,
            3.8rem
        );

    line-height: 1.1;
}

.page-intro {
    max-width: 750px;

    margin:
        0 0 38px;

    color: var(--muted);
}


/* --------------------------------------------------
   Albums
-------------------------------------------------- */

.albums {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(250px, 1fr)
        );

    gap: 24px;
}

.album-card {
    overflow: hidden;

    border-radius: 20px;

    background: var(--bg-soft);

    border:
        1px solid
        var(--border);

    transition:
        transform .2s ease,
        border-color .2s ease;
}

.album-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(217, 79, 131, 0.7);
}

.album-image {
    width: 100%;

    aspect-ratio: 4 / 3;

    object-fit: cover;

    display: block;

    background: #292929;
}

.album-content {
    padding: 18px;
}

.album-content h2 {
    margin:
        0 0 4px;

    font-size: 1.25rem;
}

.album-content p {
    margin: 0;

    color: var(--pink);

    font-size: .9rem;
}


/* --------------------------------------------------
   Foto grid
-------------------------------------------------- */

.photos {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(230px, 1fr)
        );

    gap: 18px;
}

.photo-card {
    overflow: hidden;

    border-radius: 16px;

    background:
        var(--bg-soft);

    border:
        1px solid
        var(--border);
}

.photo-card img {
    width: 100%;

    aspect-ratio: 4 / 3;

    display: block;

    object-fit: cover;

    cursor: zoom-in;

    transition:
        transform .25s ease;
}

.photo-card:hover img {
    transform:
        scale(1.025);
}


/* --------------------------------------------------
   Lege melding
-------------------------------------------------- */

.empty-message {
    padding: 30px;

    border-radius: 18px;

    background:
        var(--bg-soft);

    border:
        1px solid
        var(--border);

    color: var(--muted);
}


/* --------------------------------------------------
   Muziek
-------------------------------------------------- */

.music-section {
    margin-top: 70px;
}

.music-heading {
    margin-bottom: 22px;
}

.music-label {
    color: var(--pink);

    text-transform:
        uppercase;

    letter-spacing:
        2px;

    font-size: .8rem;
    font-weight: 700;
}

.music-heading h2 {
    margin:
        3px 0 4px;

    font-size:
        clamp(
            1.8rem,
            4vw,
            2.5rem
        );
}

.music-heading p {
    margin: 0;

    color:
        var(--muted);
}

.music-player {
    max-width: 800px;

    padding: 25px;

    border-radius: 22px;

    background:
        var(--bg-soft);

    border:
        1px solid
        rgba(217, 79, 131, 0.30);
}

.now-playing {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-bottom: 20px;
}

.music-icon {
    width: 52px;
    height: 52px;

    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        var(--pink);

    color: #fff;

    font-size: 1.6rem;
}

.now-playing small {
    display: block;

    color:
        var(--muted);
}

.now-playing strong {
    display: block;

    margin-top: 2px;

    font-size: 1.15rem;
}


/* Browser audio player */

#audio-player {
    width: 100%;

    margin-bottom: 20px;

    accent-color:
        var(--pink);
}


/* Playlist */

.playlist {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.track {
    width: 100%;

    display: grid;

    grid-template-columns:
        42px
        minmax(0, 1fr)
        42px;

    align-items: center;

    padding:
        12px 10px;

    border: 0;

    border-radius: 11px;

    background:
        transparent;

    color:
        var(--cream);

    font: inherit;

    text-align: left;

    cursor: pointer;

    transition:
        background .15s ease,
        color .15s ease;
}

.track:hover {
    background:
        rgba(
            217,
            79,
            131,
            0.10
        );
}

.track.active {
    background:
        rgba(
            217,
            79,
            131,
            0.18
        );

    color:
        var(--pink);
}

.track-number {
    color: #777;

    font-size:
        .8rem;
}

.track-title {
    overflow: hidden;

    white-space:
        nowrap;

    text-overflow:
        ellipsis;

    font-weight: 600;
}

.track-play {
    text-align: center;

    color:
        var(--pink);
}


/* --------------------------------------------------
   Lightbox
-------------------------------------------------- */

.lightbox {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 1000;

    align-items: center;
    justify-content: center;

    padding: 30px;

    background:
        rgba(0, 0, 0, 0.95);
}

.lightbox.open {
    display: flex;
}

.lightbox-image {
    max-width: 95vw;
    max-height: 92vh;

    object-fit:
        contain;
}

.lightbox-close {
    position: absolute;

    top: 18px;
    right: 24px;

    width: 48px;
    height: 48px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background:
        rgba(255,255,255,.08);

    color: white;

    font-size:
        2rem;

    cursor: pointer;
}


/* --------------------------------------------------
   Footer
-------------------------------------------------- */

.site-footer {
    padding: 27px 20px;

    text-align: center;

    background:
        var(--bg-darker);

    color:
        #777;

    font-size:
        .9rem;
}

.site-footer strong {
    color:
        var(--cream);
}


/* --------------------------------------------------
   Mobiel
-------------------------------------------------- */

@media (max-width: 650px) {

    .header-inner {
        flex-direction:
            column;

        align-items:
            flex-start;
    }

    main {
        padding-top: 32px;
    }

    .music-player {
        padding: 18px;
    }

    .photos {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 10px;
    }

}


/* --------------------------------------------------
   Zeer smal scherm
-------------------------------------------------- */

@media (max-width: 400px) {

    .photos {
        grid-template-columns:
            1fr;
    }

}