/* ===== Video item ===== */

.video-item {
    margin: 40px auto 60px;
}

.video-item h3 {
    text-align: center;
    margin-bottom: 12px;
}

/* ===== Video Player ===== */

.video-player {
    position: relative;

    width: 100%;
    max-width: 900px;
    margin: 0 auto;

    aspect-ratio: 9 / 16 ;

    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.video-thumb,
.video-player video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.video-thumb {
    cursor: pointer;
}

.video-player video {
    position: absolute;
    inset: 0;
    visibility: hidden;
}

.video-player.video-loaded video {
    position: relative;
    visibility: visible;
}

.video-player.video-loaded .video-thumb,
.video-player.video-loaded .musiclib-play {
    display: none;
}

/* Hover-effect op de playknop */

.video-player:hover .musiclib-play {
    transform: translate(-50%, -50%) scale(1.08);
}

/* ===== Beschrijving ===== */

.video-description {
    max-width: 500px;
    margin: 10px auto 0;

    text-align: center;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}