.player {
    width: 800px;
    height: 600px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 1);
    display: flex;
    flex-direction: column;
}

.video-container {
    flex-grow: 1;
}

.control-buttons {
    background: black;
    display: flex;
    align-items: center;
    padding: 0.5em 0.3em;
    gap: 0.5em;
}

.time-label {
    color: white;
    font-family: 'Roboto';
}

.right-controls {
    display: flex;
    align-items: center;
    gap: 0.3em;
}

.progress {
    flex: 0 1 16%;
    height: 0.3em;
    background: black;
    cursor: pointer;
    border-radius: 0.1em;
    margin-left: 0.20em;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: red;
    width: 0%;
    border-radius: 0.1em;
    position: relative;
}

.slider {
    position: absolute;
    right: -0.4em;
    top: 50%;
    transform: translateY(-50%);
    width: 0.5em;
    height: 0.5em;
    background: red;
    border: 0.17em solid white;
    border-radius: 50%;
    opacity: 0;
    transition-property: opacity;
    transition-duration: 300ms;
    transition-timing-function: ease-in;
}

.progress:hover .slider {
    opacity: 1;
    transition-timing-function: ease-out;
}

.control-button {
    border: none;
    cursor: pointer;
    background-color: transparent;
    width: 2em;
    height: 2em;
    text-align: center;
    outline: none;
}

.control-button i {
    color: white;
    font-size: 150%;
}