.hidden {
  display: none !important;
}

.video-section {
  max-width: 670px;
}

.video-thumbnail:hover {
  opacity: 0.75;
  cursor: pointer;
}

.video-thumbnail {
  transition: 0.3s ease-out;
}

#video-modal .modal-body {
  position: relative;
}

#play-icon,
#pause-icon {
  position: absolute;
  left: calc(50% - 3rem);
  top: calc(50% - 3rem);
  background-color: lightgray;
  font-size: 3rem;
  border-radius: 50%;
  width: 6rem;
  height: 6rem;
  opacity: 0.75;
}

#speed-bar {
  position: absolute;
  bottom: 1rem;
}

.speed-icon {
  background-color: lightgray;
  font-size: 1rem;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  opacity: 0.75;
  cursor: pointer;
}
.fullscreen-btn {
    background-color: lightgray;
    font-size: 1rem;
    border-radius: 50%;
    width: 4rem;
    height: 2rem;
    opacity: 0.75;
    cursor: pointer;
  }

.volume-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: lightgray;
  font-size: 2rem;
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  opacity: 0.75;
  cursor: pointer;
}

#video-modal .modal-dialog {
  max-width: 100%;
}

#playing-video {
  max-height: 80vh;
}

.video-text {
    font-size: 1.2rem;
}

.video-text-on-modal {
  position: absolute;
  color: white;
  font-size: 1.2rem;
}

.right-close-icon {
  top: 0 !important;
  right: -2rem !important;
}

@media (min-width: 576px) {
  #video-modal .modal-dialog {
    max-width: 75%;
  }

  .video-text-on-modal {
    font-size: 1.8rem;
  }
}
