@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body{
    min-height: 100vh;
    background: #E3F2FD;
}
body, .video-timer, .video-controls, .options{
    display: flex;
    align-items: center ;
    justify-content: center;

}
.container {
    position: relative;
    max-width: 900px ;
    width: 98%;
    background: #000;
    border-radius: 5px;
    overflow: hidden;
}

.container.fullscreen{
    max-width: 100%;
    width: 100%;
}

.wrapper{
    position: absolute  ;
    left : 0;
    right: 0;
    bottom: -50px;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition:  all .8s ease;
}

.container.show-controls .wrapper {
    bottom: 0;
    opacity: 1;
    pointer-events: auto;
    transition:  all .13s ease;
}
.wrapper::before{
    content: '';
    bottom: 0;
    width: 100%;
    z-index: -1;
    position: absolute;
    background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent);
    height: calc(100% + 35px)  ;
}

.video-timeline{
    height: 7px;
    width: 100%;
    cursor: pointer;
}

.video-timeline .progress-area{
    background-color: rgba(255, 255, 255, .6);
    height: 3px;
    position: relative;
}

.progress-area .progress-bar{
    width: 0;
    height: 100%;
    position: relative;
    background: #2289ff ;
}
.progress-area .progress-bar::before{
    content: '';
    position: absolute;
    right: 0;
    height: 13px;
    width: 13px;
    top:50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background-color: inherit;
}

.progress-area span, .progress-area .progress-bar::before{
    display: none;
}
 .video-timeline:hover .progress-area span,
.video-timeline:hover .progress-area .progress-bar::before{
    display: block;
}

.progress-area span{
    position: absolute;
    background-color:   transparent;
    color: #fff;
    left: 50%;
    top : -25px;
    font-size: 13px;
    transform: translateX(-50%);
}
.video-controls {
    padding: 5px 20px 10px ;
}

.video-controls .options {
    width: 100%;
}
.video-controls .options:first-child {
    justify-content: flex-start;
}
.video-controls .options:last-child {
    justify-content: flex-end;
}
.options button {
    width: 40px;
    height: 40px;
    border: none;
    color: #fff;
    font-size: 19px;
    background: none;
    cursor: pointer !important;
}
.options button :where(i, span){
    width: 100%;
    height: 100%;
    line-height: 40px;
}

.options input {
    height: 4px;
    max-width: 75px;
}

.options .video-timer{
    font-size: 14px;
    color: #efefef;
    margin-left: 15px;
}

.video-timer .separator{
    font-size: 16px;
    margin: 0 5px;
    font-family: "Open sans" ;
}
.playback-content {
    position: relative;
}
.playback-content .speed-options{
    position: absolute;
    list-style: none;
    left: -40px;
    bottom: 40px;
    width: 95px;
    overflow: hidden;
    opacity: 0;
    border-radius: 4px;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: opacity 0.13s ease;
}
.playback-content   .speed-options.show{
    opacity: 1;
    pointer-events: auto;
}
 .speed-options li  {
    font-size: 14px;
    padding: 5px 0 5px 15px;
    cursor: pointer;
}
.speed-options li.active  {
    color: #fff;
    background: #2289ff ;
}
.container video {
    width: 100%;
}