html {
    max-width: 100vw;
    height: 100vh;
    overflow: scroll;
}

body {
    max-width: 100vw;
    height: 100vh;
    overflow: hidden;
    margin: 0px;
}


/* @media screen and (min-width: 320px) and (max-width: 767px) and (orientation: portrait) {
 html {
     transform: rotate(-90deg);
     transform-origin: left top;
     width: 100vh;
     height: 100vw;
     overflow-x: hidden;
     position: absolute;
     top: 100%;
     left: 0;
 }
} */


/* Hide scrollbar for Chrome, Safari and Opera */

body::-webkit-scrollbar {
    display: none;
}


/* Hide scrollbar for IE, Edge and Firefox */

body {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.video-container {
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    background-color: black;
}

.video-container.theater,
.video-container.full-screen {
    max-width: initial;
    width: 100%;
}

.video-container.theater {
    max-height: 90vh;
}

.video-container.full-screen {
    max-height: 100vh;
}

video {
    width: 100%;
}

.teste {
    top: 0;
    padding: 10px;
    font-weight: 600;
}

.video-controls-container {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 130px;
    padding: 2rem 0px;
    padding-top: 0px;
    right: 0;
    color: white;
    z-index: 100;
    opacity: 0;
    transition: opacity 150ms ease-in-out;
}

.mobile {
    height: 100px !important;
}

.video-controls-container::before {
    content: "";
    position: absolute;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .75), transparent);
    width: 100%;
    aspect-ratio: 6 / 1;
    z-index: -1;
    pointer-events: none;
}

.video-container:hover .video-controls-container,
.video-container:focus-within .video-controls-container,
.video-container.paused .video-controls-container,
.test {
    opacity: 1;
}

.captions-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

.controls {
    margin-top: 15px;
}

.video-controls-container .controls {
    display: flex;
    gap: .5rem;
    padding: .25rem;
    height: 100%;
    align-items: center;
}

.video-controls-container .controls button {
    background: none;
    border: none;
    color: inherit;
    padding: 0;
    height: 50px;
    width: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: .85;
    transition: opacity 150ms ease-in-out;
}

.video-controls-container .controls button:hover {
    opacity: 1;
}

.video-container.paused .pause-icon {
    display: none;
}

.video-container:not(.paused) .play-icon {
    display: none;
}

.video-container.theater .tall {
    display: none;
}

.video-container:not(.theater) .wide {
    display: none;
}

.video-container.full-screen .open {
    display: none;
}

.video-container:not(.full-screen) .close {
    display: none;
}

.volume-high-icon,
.volume-low-icon,
.volume-muted-icon {
    display: none;
}

.volume-high-icon {
    display: block;
}

.video-container[data-volume-level="high"] .volume-high-icon {
    display: block;
}

.video-container[data-volume-level="low"] .volume-low-icon {
    display: block;
}

.video-container[data-volume-level="muted"] .volume-muted-icon {
    display: block;
}

.volume-container {
    display: flex;
    align-items: center;
}

.volume-slider {
    width: 0;
    transform-origin: left;
    transform: scaleX(0);
    transition: width 150ms ease-in-out, transform 150ms ease-in-out;
}

.volume-container:hover .volume-slider,
.volume-slider:focus-within {
    width: 100px;
    transform: scaleX(1);
}

.duration-container {
    font-size: 21px;
    display: flex;
    align-items: center;
    gap: .25rem;
    flex-grow: 1;
}

.video-controls-container .controls button.wide-btn {
    width: 50px;
}

.timeline-container {
    height: 7.5px;
    margin-inline: .5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.timeline {
    border-radius: 10px;
    background-color: rgba(100, 100, 100, .5);
    height: 3px;
    width: 100%;
    position: relative
}

.timeline::before {
    content: "";
    border-radius: 10px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: calc(100% - var(--preview-position) * 100%);
    background-color: rgb(150, 150, 150);
    display: none;
}

.timeline::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 10px;
    right: calc(100% - var(--progress-position) * 100%);
    background-color: red;
}

.timeline .thumb-indicator {
    --scale: 0;
    position: absolute;
    transform: translateX(-50%) scale(var(--scale));
    height: 200%;
    top: -50%;
    left: calc(var(--progress-position) * 100%);
    background-color: red;
    border-radius: 50%;
    transition: transform 150ms ease-in-out;
    aspect-ratio: 1 / 1;
}

.timeline .preview-img {
    position: absolute;
    height: auto;
    padding: 5px;
    top: -1rem;
    transform: translate(-50%, -100%);
    left: calc(var(--preview-position) * 100%);
    border-radius: .25rem;
    border: 2px solid white;
    display: none;
}

.thumbnail-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.video-container.scrubbing .thumbnail-img {
    display: block;
}

.video-container.scrubbing .preview-img,
.timeline-container:hover .preview-img {
    display: block;
}

.video-container.scrubbing .timeline::before,
.timeline-container:hover .timeline::before {
    display: block;
}

.video-container.scrubbing .thumb-indicator,
.timeline-container:hover .thumb-indicator {
    --scale: 1;
}

.video-container.scrubbing .timeline,
.timeline-container:hover .timeline {
    height: 100%;
}

.setting-info {
    display: none;
    position: absolute;
    margin-right: 0px;
    right: 0;
    bottom: 0;
    width: 15%;
    overflow: hidden;
    margin-bottom: 85px;
    margin-right: 40px;
    color: #FFF;
    z-index: 2000;
    background-color: rgb(38, 38, 38);
    transition: opacity 150ms ease-in-out;
}

.option-div {
    padding: 0px 20px;
    display: flex;
    padding-top: 10px;
    align-items: center;
}

.back {
    margin-right: 10px;
    cursor: pointer;
}

.sub-alert {
    margin: 0px;
    padding: 10px;
    font-size: 15px;
}

li {
    font-size: 15px;
    margin: 0px auto !important;
    list-style-type: none;
    padding: 10px;
}

li:hover {
    cursor: pointer;
    background-color: #FFFFFF1A;
}

.test-list {
    padding: 10px;
}

.test-list:nth-child(1) {
    padding-top: 0px;
}

.current-option {
    cursor: default;
    margin: 0px;
    font-weight: 400;
}

.mini-player-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px !important;
}

.speed-btn {
    font-size: 20px !important;
}

.captions-btn svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
}

.test-list-subtitle,
.test-list-audio,
.test-list-3rd-party,
.test-list-speeed {
    display: none;
    max-height: 60vh;
    overflow-y: scroll;
    display: none;
}

.test-list-subtitle li,
.test-list-audio li {
    color: gray;
}

.orientation-lock {
    display: none;
    width: 100vw;
    height: 100vh;
    position: absolute;
    background-color: rgba(38, 38, 38);
    z-index: 999;
}

.playButton {
    position: absolute;
    cursor: pointer;
    background-color: #0071e3;
    color: white;
    border: 1px solid #0071e3;
    padding: 8px 10px;
    border-radius: 10px;
}

.button-di {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.playButton:active {
    transition: 0.5s;
    transform: translateY(5px);
}


/* Portrait orientation */

@media screen and (orientation: portrait) {
    .orientation-lock {
        display: block;
    }
}


/* Landscape orientation */

@media screen and (orientation: landscape) {
    .orientation-lock {
        display: none;
    }
}

.backwardIcon,
.forwardIcon {
    height: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.backwardIcon svg,
.forwardIcon svg {
    width: 80px !important;
    height: 80px !important;
}

.backwardIconAnimate {
    opacity: 0;
}

.backwardIconAnimate.animate {
    animation: remove 1s;
    animation-timing-function: ease
}

.forwardIconAnimate {
    opacity: 0;
}

.forwardIconAnimate.animate {
    animation: add 1s;
    animation-timing-function: ease
}

@keyframes add {
    from {
        margin-left: 0px;
        opacity: 1;
    }
    to {
        margin-left: 180px;
        opacity: 1;
    }
}

@keyframes remove {
    from {
        margin-right: 0px;
        opacity: 1;
    }
    to {
        margin-right: 180px;
        opacity: 1;
    }
}

.mobile-ctr button {
    width: 35px !important;
    height: 35px !important;
}

.center-play-button,
.center-pause-button {
    position: absolute;
    opacity: 0;
    width: 55px;
    height: 55px;
    cursor: pointer;
}

.center-play-button.animate,
.center-pause-button.animate {
    animation: play-pause 1s;
    animation-timing-function: ease
}

@keyframes play-pause {
    from {
        opacity: 1;
    }
    to {
        scale: 2;
        opacity: 0;
    }
}