.filter-buttons {
  display: flex;
  justify-content: center;
  position: absolute;
  top: 630px;
  background-color: rgba(0, 0, 0, 0.1);
  padding: 0px;
}

.filter-button {
  background-color: #000f89;
  border: none;
  color: #fff;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
}

.video-gallery {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-gallery .slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-gallery #bigwaterfall {
  transition-duration: 3s;
  transition-timing-function: ease-in-out;
}

#video-controls-bar {
  height: 50px;
  background-color: #000f89;
  position: absolute;
  bottom: 0;
  left: 0;
  align-items: center;
}

#volumeslider {
  width: 200px;
  padding: 3px;
  margin: 0;
  border: 2px solid #000b65;
  border-radius: 5px;
  background: linear-gradient(145deg, #000e7b, #001093);
  box-shadow: 3px 3px 7px #000b65, -3px -3px 7px #0013ad;

  border: 2px solid #ffffff;
}

#volumeslider::before::before {
  content: "Volume";
  font-size: 20px;
  color: #ffffff;
}

#volumeslider::before {
  content: "Volume -";
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin: 0px 5px 0px 5px;
  line-height: 10px;
}

#volumeslider::before:hover {
  color: aqua;
}

#volumeslider::after {
  content: "+";
  font-size: 17px;
  color: #fff;
  margin: 0px 5px 0px 5px;
  line-height: 10px;
}

.video-controls-button {
  color: #ffffff;
  padding: 2px 5px 2px 5px;
  border-radius: 5px;
  border: 2px solid #000b65;
  font-size: 16px;
  font-weight: 500;
  height: 32px;
  cursor: grab;
  background: linear-gradient(145deg, #000e7b, #001093);
  box-shadow: 3px 3px 7px #000b65, -3px -3px 7px #0013ad;
  /* Revised Color */
  border: 2px solid #ffffff;
  background: #000f89;
  box-shadow: none;
}

.video-controls-button:hover {
  color: aqua;
  border: 2px solid aqua;
}

.volume-button {
  color: #ffffff;
  padding: 2px 5px 2px 5px;
  border-radius: 5px;
  border: 0px solid #000b65;
  font-size: 16px;
  font-weight: 500;
  height: 32px;
  cursor: grab;
  background-color: #000f89;
}

.video-gallery-description {
  position: absolute;
  bottom: 30px;
}

.video-gallery-description a {
  /* text-decoration: none; */
  color: white;
}

/* Hide Timeline*/
video::-webkit-media-controls-timeline {
  display: none;
}

/* Hide Time Display */

video::-webkit-media-controls-current-time-display {
  display: none;
}

video::-webkit-media-controls-time-remaining-display {
  display: none;
}

/* This gives us invisible or unstyled range inputs in all browsers. Now we can apply our custom styles. */
input[type="range"] {
  -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
  width: 100%; /* Specific width is required for Firefox. */
  background: transparent; /* Otherwise white in Chrome */
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
}

input[type="range"]:focus {
  outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

input[type="range"]::-ms-track {
  width: 100%;
  cursor: pointer;

  /* Hides the slider so custom styles can be added */
  background: transparent;
  border-color: transparent;
  color: transparent;
}

/* Test - BEGIN  - https://css-tricks.com/styling-cross-browser-compatible-range-inputs-css */
input[type="range"] {
  -webkit-appearance: none;
  margin: 18px 0;
  width: 100%;
}
input[type="range"]:focus {
  outline: none;
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8.4px;
  margin: 0 5px 0 5px;
  cursor: pointer;
  border-radius: 0px;
  background: #000f89;
  box-shadow: inset 5px 5px 7px #000637, inset -5px -5px 7px #0018db;
}
input[type="range"]::-webkit-slider-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000b65;
  height: 24px; /* 36px */
  width: 16px;
  border-radius: 3px;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -8px; /* -14px */
  /*box-shadow: 3px 3px 6px #000b65, -3px -3px 6px #0013ad;*/
  background-color: #0013ad;
  opacity: 1;
  background-image: linear-gradient(
    -45deg,
    #0013ad,
    #0013ad 40%,
    #000f89 60%,
    #000f89
  );
  background-size: 4px 4px;
  border: 2px solid #ffffff;
}
input[type="range"]::-webkit-slider-thumb:hover {
  border: 2px solid aqua;
}
input[type="range"]:focus::-webkit-slider-runnable-track {
  background: #367ebd;
}
input[type="range"]::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #3071a9;
  border-radius: 1.3px;
  border: 0.2px solid #000b65;
}
input[type="range"]::-moz-range-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  border: 1px solid #ffffff;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  /*background: #ffffff;*/
  cursor: pointer;
  background: linear-gradient(
    145deg,
    #000e7b,
    #000b65
  ); /* linear-gradient(145deg, #000e7b, #001093); */
  box-shadow: 5px 5px 7px #000b65, -5px -5px 7px #0013ad;
}
input[type="range"]::-ms-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  border-width: 16px 0;
  color: transparent;
}
input[type="range"]::-ms-fill-lower {
  background: #2a6495;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type="range"]::-ms-fill-upper {
  background: #3071a9;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type="range"]::-ms-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid black;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
}
input[type="range"]:focus::-ms-fill-lower {
  background: #3071a9;
}
input[type="range"]:focus::-ms-fill-upper {
  background: #367ebd;
}
/* Test - END */

/* Mobile layout */
@media (max-width: 575px) {
  .video-gallery {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /*
  .video-gallery ul li video {
    width: 75px;
    transition: all 0.3s;
    border: 5px solid #175676;
  }

  .video-gallery ul {
    position: absolute;
    bottom: 30px;
    left: 46%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
  }

  .video-gallery ul li {
    list-style: none;
    cursor: pointer;
    margin: 2px;
  }

  .video-gallery ul li video:hover {
    transform: scale(1.2);
  }
  */

  /* List of videos and category buttons */
  .filter-buttons,
  .video-gallery ul {
    display: none;
  }

  /* Video Controls Bar */
  #video-controls-bar button,
  input {
    display: none;
  }
  #video-controls-bar {
    height: 0px;
  }
}

/* Tablet layout */
@media (min-width: 768px) {
  .video-gallery {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .video-gallery ul li video {
    width: 75px;
    transition: all 0.3s;
    border: 5px solid #175676;
  }

  .video-gallery ul {
    position: absolute;
    bottom: 30px;
    left: 46%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
  }

  .video-gallery ul li {
    list-style: none;
    cursor: pointer;
    margin: 2px;
  }

  .video-gallery ul li video:hover {
    transform: scale(1.2);
  }
}

/* Desktop layout */
@media (min-width: 769px) {
  .filter-buttons {
    display: flex;
    justify-content: center;
    position: absolute;
    top: 630px;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 0px;
  }

  .filter-button {
    background-color: #000f89;
    border: none;
    color: #fff;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
  }

  .video-gallery {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .video-gallery .slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .video-gallery ul {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 0px;
    z-index: 20;
  }

  .video-gallery ul li {
    list-style: none;
    cursor: pointer;
    margin: 10px;
  }

  .video-gallery ul li video {
    width: 150px;
    transition: all 0.3s;
    border: 3px solid #000f89;
  }
}
