.video-wrapper {
    width: fit-content;
    position:relative
}

.controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    padding: 1% 1% 3% 1%;
    gap: 5px;
    flex-direction: column;
    background: linear-gradient(to top, rgb(116 116 116 / 69%) 0%, rgb(255 255 255 / 0%) 100%);
}

.controls #volume{
    display:none;
}

.video-icons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.controls button,
.video-icons button {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.2s ease;
}

.controls button:hover,
.video-icons button:hover {
    color: #1DB954;
}

.control-row1 {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.controls input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
    cursor: pointer;
    flex: 1;
}

.controls input[type=range]:focus {
    outline: none;
}

.controls input[type=range]::-webkit-slider-runnable-track {
    height: 6px;
    background: #444;
    border-radius: 3px;
}

.controls input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    margin-top: -4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.controls input[type=range]:hover::-webkit-slider-thumb {
    background: #1DB954;
}

.controls input[type=range]::-moz-range-track {
    height: 6px;
    background: #444;
    border-radius: 3px;
}

.controls input[type=range]::-moz-range-thumb {
    width: 13px;
    height: 13px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.controls input[type=range]:hover::-moz-range-thumb {
    background: #1DB954;
}

.time {
    min-width: 70px;
    font-variant-numeric: tabular-nums;
    text-align: center;
    color: white;
    font-family: sans-serif;
}

.control-play,
.control-volume {
    display: flex;
    align-items: center;
    gap: 10px;
}