﻿/** {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #121212;
    color: white;
    font-family: Segoe UI, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}*/

.video-player {
    position: relative;
    width: 860px;
    max-width: 95%;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,.5);
}

video {
    width: 100%;
    display: block;
    background: black;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    background: #1e1e1e;
    align-items: center;
}

button,
select {
    border: none;
    border-radius: 6px;
    background: #2d2d2d;
    color: white !important;
    padding: 8px 12px;
    cursor: pointer;
}

    button:hover,
    select:hover {
        background: #404040;
    }

#progress {
    flex: 1;
    min-width: 200px;
}

#volume {
    width: 100px;
}

#time {
    min-width: 100px;
    text-align: center;
    color:white;
}

@media(max-width:768px) {

    .controls {
        justify-content: center;
    }

    #progress {
        width: 100%;
        flex: auto;
    }
}








.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    background: rgba(0,0,0,.75);
    transition: opacity .3s ease;
}

/* Fullscreen mode */
.video-player:fullscreen .controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

/* Hidden controls */
.video-player.hide-controls .controls {
    opacity: 0;
    pointer-events: none;
}

/* Visible controls */
.video-player.show-controls .controls {
    opacity: 1;
}


