:root {
    --youtube-red: #FE0900;
}

.player_left_buttons {
    display: flex;
    flex-direction: row;
    vertical-align: middle;
    text-align: center;
    align-items: center;
}

.time-played-container {
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
    color: white;
    font-size: 20px;
}

.time-remaining-container {
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
    color: white;
    font-size: 20px;
}

.video-progress-container {
    display: flex;
    flex-direction: row;
    vertical-align: middle;
    color: white;
    margin-bottom: 10px;
    margin-right: 10px;
    margin-left: 10px;
}

.video-progress {
    position: relative;
    height: 8.4px;
    flex: 1;
    margin-top: 8px;
}

progress {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 2px;
    width: 100%;
    height: 8.4px;
    pointer-events: none;
    position: absolute;
    top: 0;
}

progress::-webkit-progress-bar {
    background-color: #474545;
    border-radius: 50px 50px 50px 50px;
}

progress::-webkit-progress-value {
    background: var(--youtube-red);
    border-radius: 50px 0px 0px 50px;
}

progress::-moz-progress-bar {
    border: 1px solid var(--youtube-red);
    background: var(--youtube-red);
}

.seek:hover+.seek-tooltip {
    display: block;
}

.seek {
    position: absolute;
    top: 0;
    width: 100%;
    cursor: pointer;
    margin: 0;
}

.playback-animation {
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -40px;
    margin-top: -40px;
    width: 80px;
    height: 80px;
    border-radius: 80px;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}


input[type=range] {
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 8.4px;
    background: transparent;
    cursor: pointer;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    cursor: pointer;
    border-radius: 1.3px;
    -webkit-appearance: none;
    transition: all 0.4s ease;
}

input[type=range]::-webkit-slider-thumb {
    height: 16px;
    width: 16px;
    border-radius: 16px;
    background: var(--youtube-red);
    cursor: pointer;
    -webkit-appearance: none;
    margin-left: -1px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: transparent;
}

input[type=range].volume {
    height: 5px;
    background-color: #fff;
}

input[type=range].volume::-webkit-slider-runnable-track {
    background-color: transparent;
}

input[type=range].volume::-webkit-slider-thumb {
    margin-left: 0;
    height: 14px;
    width: 14px;
    background: #fff;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 1.3px;
}

input[type=range]::-moz-range-thumb {
    height: 14px;
    width: 14px;
    border-radius: 50px;
    border: 1px solid var(--youtube-red);
    background: var(--youtube-red);
    cursor: pointer;
    margin-top: 5px;
}

input[type=range]:focus::-moz-range-track {
    outline: none;
}

input[type=range].volume::-moz-range-thumb {
    border: 1px solid #fff;
    background: #fff;
}