*,
::before,
::after {
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: #111;
}

/* Mobile-First Ansatz */
.body {
    background: url('Jonas.jpeg') no-repeat center center;
    background-size: cover;
    position: relative;
    min-height: 100dvh;
    /* Stellt sicher, dass der gesamte Viewport abgedeckt wird */
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
    /* Horizontale Zentrierung */
    justify-content: center;
    margin: 0;
    font-family: "Rubik", sans-serif;
    /* Standardschrift */
    font-optical-sizing: auto;
    /* Automatische optische Anpassung */
    padding: 16px;
    height: 100dvh;
}

.body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #00000033;
    /* Kopiert das Hintergrundbild von body */
    background-size: cover;
    /* Sichert die gleiche Skalierung wie im body */
    backdrop-filter: blur(7px);
    /* Blur-Effekt */
    z-index: 1;
    /* Hinter den Inhalt legen */
}

/* Zusätzliche Stile für andere Elemente */
.container {
    width: 100%;
    max-width: 600px;
    /* Optionale Maximalbreite */
    background: #fafafa;
    padding: 10px;
    box-shadow: 2px 5px 10px 6px #00000033;
    margin-bottom: 80px;
    z-index: 2;
    border-radius: 4px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* Höhe ist 100% der Breite */
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: all 2s ease;
}

.hidden {
    opacity: 0;
}


h1 {
    margin: 0;
    margin-top: 12px;
    color: #222;
}

p {
    margin-top: 8px;
    color: #555;
}

.controls {
    display: flex;
    justify-content: space-between;
    /* Verteil die Items mit gleichmäßigem Abstand */
}

#back,
#play,
#next {
    width: 32px;
    height: 32px;
    color: #333;
    cursor: pointer;
    transition: all .8s ease-out;
}

#back:hover,
#play:hover,
#next:hover {
    transform: scale(1.3);
}

.artist_counter {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

#artist {
    flex-grow: 1;
    text-align: left;
}

#counter {
    background: #ececec;
    padding: 6px;
    border-radius: 8px;
    color: #555;
    font-size: 10px;
    margin-top: 4px;
    opacity: 0;
    transition: all 2s ease-out;
}

.credits {
    position: absolute;
    display: block;
    color: #ffffff99;;
    opacity: 1;
    bottom: 0;
    margin: 0;
    right: 0;
    padding: 8px;
    z-index: 1;
    font-size: 8px;
    background: #00000022;
    border-radius: 8px 0 0 0;
    backdrop-filter: blur(4px);
    border: 1px solid #ffffff33;
    border-bottom: none;
    border-right: none;
    transition: transform 3s ease;
    transform: translateY(50px);
}