body {
    margin-block: 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 120vh;
    align-items: center;
}
.video-player {
    position: relative;
    width: 80%;
    max-width: 800px;
}

video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.controls {
    position: absolute; 
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    bottom: 10px;
    z-index: 10;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    padding: 10px;
}

button svg {
    fill: #faf9fa;
    width: 30px;
    height: 30px;
}

button:hover svg {
    fill: rgba(94,23,235,0.8);
}

.thumbnail {
    border: 2px solid #ccc;
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: all 0.2s ;
}

.video-thumbnails {
    margin-top: 15px;
    width: 80%;
    max-width: 800px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail:hover {
    transform: scale(1.05);
    border-color: rgba(94,23,235,0.8);
}