@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.material-icons
{
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
}
body
{
    background-color: #002333;
}
section
{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 51px);
    width: 100%;
    padding: 1.7%;
}
.container
{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Video player Styling */
.container #video_player
{
    position: relative;
    width: 700px;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(255,255,255,0.24);
}
.container #video_player #main-video
{
    position: relative;
    width: 100%;
    height: 100%;
    outline: none;
}
#video_player .progressAreaTime
{
    position: absolute;
    left: var(--x);
    transform: translateX(-50%);
    bottom: 60px;
    min-width: 60px;
    text-align: center;
    white-space: nowrap;
    padding: 5px 10px;
    color: #fff;
    font-size: 14px;
    background: #002333;
    border-radius: 5px;
    z-index: 1;
    display: none;
}
#video_player .progressAreaTime::before
{
    content: '';
    position: absolute;
    bottom: -40%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(45deg);
    background: #002333;
    width: 15px;
    height: 15px;
    z-index: -1;
}

.container #video_player .controls
{
    position: absolute;
    bottom: 0;
    left: 0;
    height: 50px;
    width: 100%;
    background: rgb(0 0 0 / 71%);
    box-shadow: 0 0 40px 10px rgb(0 0 0 / 25%);
    z-index: 3;
    transform: translateY(180%);
    transition: 0.3s;
}
.container #video_player .controls.active
{
    transform: translateY(0);
}
#video_player .controls .progress-area
{
    width: 100%;
    height: 5px;
    margin: auto;
    background: #f0f0f0;
    cursor: pointer;
}
.controls .progress-area .progress-bar
{
    position: relative;
    width: 0%;
    background: rgb(255,174,0);
    height: inherit;
    border-radius: inherit;
    cursor: pointer;
}
.controls .progress-area .progress-bar::before
{
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(255,174,0);
}
.controls .controls-list
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    width: 97%;
    height: 46px;
    margin: 0 auto;
}
.controls .controls-list .controls-left,
.controls .controls-list .controls-right
{
    display: flex;
    justify-content: center;
    align-items: center;
}
.controls .controls-left .timer
{
    display: inline-block;
    font-size: 14px;
    white-space: nowrap;
    color: #fff;
    margin-left: 5px;
    text-align: center;
}
.controls .icon
{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-left: 8px;
    margin-right: 5px;
}
.controls .icon .material-icons
{
    font-size: 26px;
    color: #fff;
    cursor: pointer;
}
.controls .icon .material-icons.fast-rewind:active
{
    transition: 0.2s;
    transform: rotate(-45deg);
}
.controls .icon .material-icons.fast-forward:active
{
    transition: 0.2s;
    transform: rotate(45deg);
}
.controls .icon .volume_range
{
    -webkit-appearance: none;
    appearance: none;
    width: 0px;
    height: 3px;
    background: #fff;
    color: #fff;
    cursor: pointer;
    outline: none;
    border: none;
    transition: 0.4s;

}
.controls .icon .volume_range::-webkit-slider-thumb
{
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    outline: none;
    background: #fff;
    color: #fff;
    opacity: 0;
    transition: 0.3s;
}
.controls .icon:hover .volume_range
{
    display: inline-block;
    width: 60px;
}
.controls .icon:hover .volume_range::-webkit-slider-thumb
{
    opacity: 1;
    pointer-events: auto;
    transition: 0.5s;
}
.controls-right .icon .auto-play
{
    width: 30px;
    height: 10px;
    border-radius: 20px;
    position: relative;
    margin-right: 8px !important;
    background: #b6b6b6;
}
.controls-right .icon .auto-play::before
{
    content: '\e034';
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    line-height: 17px;
    font-size: 14px;
    background: #727272;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 50%;
    font-family: "Material Icons";
}
.controls-right .icon .auto-play.active::before
{
    content: '\e037';
    left: 15px;
    font-family: "Material Icons";
}
.controls-right .icon .material-icons.settingsBtn
{
    font-size: 24px;
    transition: 0.3s;
}
.controls-right .icon .settingsBtn.active
{
    transform: rotate(45deg);
}

#video_player #settings
{
    position: absolute;
    right: 25px;
    bottom: 62px;
    background: rgb(28 28 28 / 90%);
    width: 200px;
    height: 250px;
    color: #fff;
    overflow-y: scroll;
    z-index: 20;
    display: none;
}
#video_player #settings.active
{
    display: block;
}
#video_player #settings .playback span
{
    font-size: 14px;
    font-weight: 300;
    padding: 15px 30px;
    display: block;
    border-bottom: 1px solid rgb(83, 83, 83);
}
#video_player #settings .playback ul
{
    position: relative;
}
#video_player #settings .playback ul li
{
    position: relative;
    width: 100%;
    cursor: pointer;
    text-align: left;
    padding: 12px 33px;
    display: block;
    font-size: 14px;
}
#video_player #settings .playback ul li:hover
{
    background: rgba(28, 28, 28, 0.9);
}

#video_player #settings .playback ul li.active::before
{
    content: '\e876';
    font-family: "Material Icons";
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    padding-right: 10px;
    font-size: 18px;
}

#video_player #settings::-webkit-scrollbar
{
    width: 8px;
    background: transparent;
}
#video_player #settings::-webkit-scrollbar-thumb
{
    height: 20px;
    border: 2px solid transparent;
    background: rgba(83, 83, 83, 0.9);
    border-radius: 20px;
}

footer
{
    padding: 15px 23px;
    background: #1b1b1a;
    text-align: center;
    color: #fff;
    font-size: 14px;
}
footer a
{
    color: crimson;
    text-decoration: none;
}
footer a:hover
{
    text-decoration: underline;
}

@media(max-width: 400px){
    .container
    {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .controls .icon
    {
        margin-left: 5px;
        margin-right: 5px;
        font-size: 24px;
    }
    .volume,.volume_range,.picture_in_picutre
    {
        display: none;
    }
}