@import url("https://use.fontawesome.com/releases/v5.13.0/css/all.css");

*,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.video {
    width: 100%;
    height: auto;
    display: block;
}

.c-video-desktop,
.c-video-mobile {
    height: auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .c-video-mobile {
        display: none;
    }
    .c-video-desktop {
        display: flex;
    }
}

@media (max-width: 767px) {
    .c-video-desktop {
        display: none;
    }
    .c-video-mobile {
        display: flex;
    }
}

.initial-play-pause-desktop,
.initial-play-pause-mobile {
    position: absolute;
    background: none;
    border: 0;
    outline: none;
    cursor: pointer;
    z-index: 1;
    bottom: 1rem;
    left: 1rem;
    padding: 0;
}

.initial-play-pause-desktop::before,
.initial-play-pause-mobile::before {
    content: url("img-video/Watch.svg");
    display: block;
    width: auto;
    height: auto;
}

.initial-play-pause-desktop.hidden,
.initial-play-pause-mobile.hidden {
    display: none !important;
}

.controls-desktop,
.controls-mobile {
    z-index: 1;
    position: absolute;
    bottom: 1rem;
    width: 100%;
    max-width: calc(1300px - 20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px;
    border-radius: 5px;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
}

.controls-desktop.hidden,
.controls-mobile.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
}

.controls-desktop .play-pause-btn,
.controls-mobile .play-pause-btn {
    background: none;
    border: 0;
    outline: none;
    cursor: pointer;
    padding: 0 16px;
    color: #fff;
    font-size: 20px;
    height: 2.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.controls-desktop .play-pause-btn:before,
.controls-mobile .play-pause-btn:before {
    content: url("img-video/Play.svg");
    display: block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.controls-desktop .play-pause-btn.pause:before,
.controls-mobile .play-pause-btn.pause:before {
    content: url("img-video/Pause.svg");
}

.controls-desktop .buttonsvolume,
.controls-mobile .buttonsvolume-mobile {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.controls-desktop .volume-btn,
.controls-mobile .volume-btn {
    background: none;
    border: 0;
    outline: none;
    cursor: pointer;
    padding: 8px;
    color: #fff;
    font-size: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.controls-desktop .volume-btn:before,
.controls-mobile .volume-btn:before {
    content: url("img-video/Volume_High.svg");
    display: block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
}

.controls-desktop .volume-btn.muted:before,
.controls-mobile .volume-btn.muted:before {
    content: url("img-video/Mute.svg");
}

.orange-bar,
.orange-bar-mobile {
    flex-grow: 1;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin: 0 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.orange-bar > .progress-bar-container,
.orange-bar-mobile > .progress-bar-container-mobile {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.orange-bar > .progress-bar-container > .progress-bar-fill,
.orange-bar-mobile
    > .progress-bar-container-mobile
    > .progress-bar-fill-mobile {
    background-color: white;
    height: 100%;
    width: 0%;
    border-radius: 4px;
}

.controls-desktop .time,
.controls-mobile .time-mobile {
    color: white;
    font-weight: bold;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
    margin-left: 10px;
}

.controls-desktop .fullscreen,
.controls-mobile .fullscreen-mobile {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.controls-desktop .fullscreen-btn,
.controls-mobile .fullscreen-btn {
    background: none;
    border: 0;
    outline: none;
    cursor: pointer;
    padding: 8px;
    color: #fff;
    font-size: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.controls-desktop .fullscreen-btn:before,
.controls-mobile .fullscreen-btn:before {
    content: url("img-video/Expand.svg");
    display: block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    font-weight: 900;
}

.controls-desktop .fullscreen-btn.fullscreen-active:before,
.controls-mobile .fullscreen-btn.fullscreen-active:before {
    content: url("img-video/Expand.svg");
}

.c-video-desktop:fullscreen > .controls-desktop,
.c-video-desktop:-webkit-full-screen > .controls-desktop,
.c-video-desktop:-moz-full-screen > .controls-desktop,
.c-video-desktop:-ms-fullscreen > .controls-desktop,
.c-video-mobile:fullscreen > .controls-mobile,
.c-video-mobile:-webkit-full-screen > .controls-mobile,
.c-video-mobile:-moz-full-screen > .controls-mobile,
.c-video-mobile:-ms-fullscreen > .controls-mobile {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) translateX(-50%) !important;
    pointer-events: auto !important;
}

video::-webkit-media-controls-overlay-enclosure,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls,
video::-moz-media-controls,
video::-ms-media-controls {
    display: none !important;
}
