.video-player {
    width: 100%;
    margin: 0 auto;
}

video {
    max-width: 100%;
    display: block;
    border-radius: 10px 10px 0px 0px;
    /* max-height: calc(100vh - 90px); */
}

#seek-bar {
    min-width: 30%;
    max-width: 50%;
    flex: .9 0 0%;
}

#volume-bar {
    transition: max-width 0.5s ease-in-out;
}

.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 10px;
    color: #fff;
    border-radius: 0px 0px 10px 10px;
}

.controls button {
    background-color: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    outline: none;
    font-size: 1.5rem;
}

@keyframes LoadingBar {
    0% {
        transform: translateX(-102%);
    }

    45% {
        transform: translateX(0);
    }

    55% {
        transform: translateX(0);
    }

    90% {
        transform: translateX(102%);
    }

    100% {
        transform: translateX(102%);
    }
}

.loading-bar {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    overflow-x: hidden;
    background-color: rgb(107, 107, 107);
    /* use px color $primary-light */
}

.loading-bar:before {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 102%;
    background-color: rgb(235, 235, 235);
    /* use px color $primary-default */
    animation: LoadingBar 1.5s cubic-bezier(0.5, 0.01, 0.51, 1) infinite;
}


.aspect-ratio-tall {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    overflow: hidden;
    background-color: #eeeeee;
}


.aspect-ratio-wide {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

@media (min-width: 776px) {
    .padding-video {
        padding-left: 4vh;
        padding-right: 4vh;
    }
}

@media (min-width: 992px) {
    .padding-video {
        padding-left: 8vh;
        padding-right: 8vh;
    }
}

@media (min-width: 1200px) {
    .padding-video {
        padding-left: 14vh;
        padding-right: 14vh;
    }
}

@media (min-width: 1400px) {
    .padding-video {
        padding-left: 20vh;
        padding-right: 20vh;
    }
}

.plyr__volume {
    max-width: 30%;
  }

  .plyr__volume input[type=range]{
    min-width: 30px;
  }

  .plyr__progress input[type=range] {
    min-width: 30px;
  }