
#videoContainer {
    width: 100%;
    aspect-ratio: 16/8;
    background-color: #2B2B2B;
    margin: 30px auto;
    border-radius: 5px;
    -webkit-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
            box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
        user-select: none;
    border-radius: 24px;
    margin-bottom: 40px;
  }

  #videoContainer .title{
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 70;
    color: var(--white);
  }
  
  #videoContainer.fullScreen {
    width: 100vw !important;
    height: 100vh !important;
  }
  
  #videoContainer.small .intensityBar {
    width: 50px !important;
  }
  
  #videoContainer.small .playButton {
    margin: 0 !important;
    margin-right: 5px !important;
  }
  
  #videoContainer.small .timer {
    display: none !important;
  }
  
  #videoContainer.small .playPause,
  #videoContainer.small .volume .icon,
  #videoContainer.small .scale .icon {
    width: 15px !important;
    height: 15px !important;
  }
  
  #videoContainer.small .progressBar {
    height: 6px !important;
  }
  
  #videoContainer.small .overlay .button {
    width: 50px !important;
    height: 50px !important;
  }
  
  #videoContainer.small .time {
    display: none !important;
  }
  
  #videoContainer .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 50;
    border-radius: 5px;
  }
  
  #videoContainer .overlay .button {
    width: 80px;
    height: 80px;
    position: absolute;
    top: 50%;
    left: 50%;
    background: url(https://webdevtrick.com/wp-content/uploads/playBTN.svg);
    background-size: 100% 100%;
    -webkit-transform: translate(-50%, calc(-50% - 30px));
            transform: translate(-50%, calc(-50% - 30px));
    cursor: pointer;
    -webkit-transition: width 0.2s, height 0.2s;
    transition: width 0.2s, height 0.2s;
  }
  
  #videoContainer .overlay .button:hover {
    width: 90px;
    height: 90px;
  }
  
  #videoContainer #video {
    width: 100%;
    height: 100%;
    position: relative;
    top: 0;
    left: 0;
    overflow: hidden;
    border-radius: 24px;
  }
  
  #videoContainer #video video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    -o-object-fit: contain;
       object-fit: contain;
  }
  
  #videoContainer #video video::-webkit-media-controls-enclosure {
    display: none !important;
  }
  
  #videoContainer #controls {
    height: 90px;
    background: #0000001d;
    -webkit-backdrop-filter: blur(24px);
            backdrop-filter: blur(24px);
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    z-index: 60;
    right: 24px;
    bottom: 24px;
    left: 24px;
    border-radius: 12px;
    overflow: hidden;
    padding: 10px 20px;
  }
  
  #videoContainer #controls.is-visible {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  
  #videoContainer #controls .playButton {
    width: 40px;
    height: 100%;
    background: transparent;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-right: 20px;
    cursor: pointer;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    border-bottom-left-radius: 5px;
  }
  
  #videoContainer #controls .playButton:hover {
    background: transparent;
  }
  
  #videoContainer #controls .playButton .playPause {
    width: 25px;
    height: 25px;
    background: url(../images_new/quiz/play-icon.svg);
    background-size: 100% 100%;
  }
  
  #videoContainer #controls .ProgressContainer {
    color: #fff;
    width: calc(100% - 100px);
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    position: relative;
  }
  
  #videoContainer #controls .ProgressContainer .progressBar {
    width: 100%;
    height: 8px;
    background: #A9A9A9E5;
    border-radius: 20px;
    cursor: pointer;
    overflow: hidden;
  }
  
  #videoContainer #controls .ProgressContainer .progressBar:hover + .time {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  
  #videoContainer #controls .ProgressContainer .progressBar .progress {
    width: 0%;
    height: 100%;
    background: var(--white);
    border-radius: 20px;
  }
  
  #videoContainer #controls .ProgressContainer .timer {
    margin: 0 10px;
    font-family: Arial, sans-serif;
    font-weight: 300;
    font-size: 12px;
    font-weight: 300;
    color: var(--white);
    letter-spacing: 1px;
  }
  
  #videoContainer #controls .ProgressContainer .time {
    width: 80px;
    height: 25px;
    background: #2c7a57;
    position: absolute;
    top: -20px;
    left: 0;
    border-radius: 5px;
    color: var(--white);
    font-family: Arial, sans-serif;
    text-align: center;
    line-height: 25px;
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0;
    -webkit-transform: translateY(10px);
            transform: translateY(10px);
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s, -webkit-transform 0.3s;
  }
  
  #videoContainer #controls .ProgressContainer .time::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: 25px;
    left: 33px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--white);
  }
  
  #videoContainer #controls .volume {
    width: 150px;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    position: relative;
  }
  
  #videoContainer #controls .volume .icon {
    width: 25px;
    height: 25px;
    background: url(../images_new/quiz/volume-icon.svg) no-repeat center;
    background-size: 100% 100%;
    cursor: pointer;
    margin-right: 10px;
  }
  
  #videoContainer #controls .volume .intensityBar {
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.46);
    border-radius: 20px;
    max-width: 100px;
    overflow: hidden;
    -webkit-transform-origin: right center;
            transform-origin: right center;
    cursor: pointer;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
  }
  
  #videoContainer #controls .volume .intensityBar .intensity {
    width: 50%;
    height: 100%;
    background: #fff;
  }
  
  #videoContainer #controls .scale {
    width: 70px;
    height: 100%;
    background: transparent;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-left: 5px;
    cursor: pointer;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    border-bottom-right-radius: 5px;
  }
  
  #videoContainer #controls .scale .icon {
    width: 25px;
    height: 25px;
    background-size: 100% 100%;
    background: url(../images_new/quiz/fullscreen.svg) no-repeat center;
    background-size: 100% 100%;
  }

@media screen and (max-width:767px) {
  #videoContainer .overlay .button{
    transform: translate(-50%, calc(-50% - 0px));
  }

  #videoContainer .title{
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    top: 15px;
    left: 15px;
    right: 15px;
  }
}