

html,
body {
    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;
}

body {
    overflow: hidden;

    background: #000;

    color: #d8d4c8;

    font-family: "Courier New", Courier, monospace;

    font-size: 12px;
}




.rain {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;
}


/* back */

.rain.back-row {
    display: block;

    z-index: 1;

    bottom: 60px;

    opacity: 0.5;
}


/* front */

.rain.front-row {
    z-index: 2;
}


/* raindrops */

.drop {
    position: absolute;

    bottom: 100%;

    width: 15px;
    height: 120px;

    pointer-events: none;

    animation:
        drop 0.5s linear infinite;
}


/* drop anim */

@keyframes drop {

    0% {
        transform: translateY(0vh);
    }

    75% {
        transform: translateY(90vh);
    }

    100% {
        transform: translateY(90vh);
    }

}


/* rain stem */

.stem {
    width: 1px;
    height: 60%;

    margin-left: 7px;

    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.25)
        );

    animation:
        stem 0.5s linear infinite;
}


/* stem anim */

@keyframes stem {

    0% {
        opacity: 1;
    }

    65% {
        opacity: 1;
    }

    75% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }

}


/* splatter */

.splat {
    display: block;

    width: 15px;
    height: 10px;

    border-top:
        2px dotted
        rgba(255, 255, 255, 0.5);

    border-radius: 50%;

    opacity: 1;

    transform: scale(0);

    animation:
        splat 0.5s linear infinite;
}


/* raindrop anim */

@keyframes splat {

    0% {
        opacity: 1;

        transform: scale(0);
    }

    80% {
        opacity: 1;

        transform: scale(0);
    }

    90% {
        opacity: 0.5;

        transform: scale(1);
    }

    100% {
        opacity: 0;

        transform: scale(1.5);
    }

}


/* nav */

.navigation {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    z-index: 10;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 70px;

    width: max-content;

    white-space: nowrap;
}


/* links */

.navigation a {
    color: #d8d4c8;

    text-decoration: none;

    font-family:
        "Courier New",
        Courier,
        monospace;

    font-size: 12px;

    letter-spacing: 1px;

    opacity: 0.85;

    transition:
        color 0.25s ease,
        text-shadow 0.25s ease,
        opacity 0.25s ease;
}


/* on hover */

.navigation a:hover {
    color: #fff;

    opacity: 1;

    text-shadow:
        0 0 4px #fff,
        0 0 8px #d8d4c8,
        0 0 14px #d8d4c8;
}


/* mobile */

@media (max-width: 700px) {

    body {
        overflow: auto;
    }


    .navigation {
        flex-direction: column;

        gap: 30px;

        width: 100%;
    }

}

    .player-container {
      font-family: sans-serif;
    }
    .player-top {
      display: flex;
      align-items: center;
    }
    .cd-cover {
      width: 50px;
      height: 50px;
      background: url('https://file.garden/arkcYFq0FjI2TvF7/images.png') no-repeat center/cover; /* change the cover here */
      border: 2px solid #ccc;
      border-radius: 5px;
    }
    .controls {
      display: flex;
      flex-direction: column;
      margin-left: 10px;
    }
    .controls button {
      width: 0px;
      height: 0px;
      margin-bottom: 10px;
      font-size: 18px;
      cursor: pointer;
      border: none;
      background-color: #eee;
      border-radius: 4px;
      transition: background 0.2s ease;
    }
    .controls button:hover {
      background-color: #ddd;
    }
    .song-title {
      width: 75px;
      margin-top: 10px;
      text-align: center;
      font-size: 7px;
      color: #333;
    }