body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

body {
    background-image: url('/img/background.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* keep it behind everything */
    background: url('/img/background.jpg') no-repeat center center;
    background-size: cover;
}

.headline {
    font-size: 4rem;
    color: #fff;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.8);
    margin-top: 5vh;
    margin-bottom: 10vh;
    font-weight: bold;
    text-align: center;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    padding-top: 40px;
    padding-right: 20px;
    padding-bottom: 0vh;
    padding-left: 20px;
    max-width: 900px;
    width: 90%;
    justify-items: center;
    align-items: center;
}

.image-link {
    aspect-ratio: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 4px solid #000;
    box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.9);
}

.image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.image-link:hover img {
    transform: scale(1.2);
}

.musicbox {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #121318;
    border: 1px solid #1b1d28;
    border-radius: 8px;
    padding: .6rem 1rem;
    max-width: 500px;
}

#playPauseBtn{
    width:50px;height:50px;border-radius:50%;
    display:inline-flex;align-items:center;justify-content:center;
    border:2px solid #555;background:radial-gradient(circle at 30% 30%, #1a1a1a, #000);
    cursor:pointer;position:relative;
    transition:background .3s, transform .2s, box-shadow .3s;
    color:transparent;font-size:0;line-height:0;
}
#playPauseBtn:hover{background:radial-gradient(circle at 30% 30%, #222, #000);transform:scale(1.08);box-shadow:0 0 12px rgba(180,180,255,.35)}
#playPauseBtn.pause{outline:none;-webkit-box-shadow: #FFF 0 -1px 4px, #ff0 0 -2px 10px, #ff8000 0 -10px 20px, red 0 -18px 40px, 5px 5px 15px 5px rgba(0,0,0,0); box-shadow: #FFF 0 -1px 4px, #ff0 0 -2px 10px, #ff8000 0 -10px 20px, red 0 -18px 40px, 5px 5px 15px 5px rgba(0,0,0,0);}

#playPauseBtn::before { content: none; }

#playPauseBtn.play::before{
    content:""; position:absolute; left:50%; top:50%;
    width:16px; height:16px; transform:translate(-50%,-50%);
    background:#fff;
    clip-path: polygon(0% 0%, 0% 100%, 100% 50%);
}

#playPauseBtn.pause::before{
    content:""; position:absolute; left:50%; top:50%;
    width:16px; height:16px; transform:translate(-50%,-50%);
    background:linear-gradient(to right,
    #fff 45%, transparent 45%, transparent 55%, #fff 55%);
}

.track-title {
    font-size: .95rem;
    color: #a5acb8;
}

.image-grid img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}
.image-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

footer a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s ease;
}
footer a:hover {
    color: #aaa;
}
footer {
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}
