#videos .video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--medium);
}
#videos .video-grid .video {
  width: 100%;
  aspect-ratio: 689/426;
  position: relative;
  overflow: hidden;
  background-color: black;
  cursor: pointer;
}
#videos .video-grid .video::before {
  z-index: 3;
}
#videos .video-grid .video .play {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18%;
  aspect-ratio: 1;
  background-image: url("../IMG/play.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.3s;
  cursor: pointer;
}
#videos .video-grid .video .play:hover + img {
  transform: scale(1.1);
}
#videos .video-grid .video .details-parent {
  position: absolute;
  z-index: 4;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  padding: var(--x-small);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.3s;
}
#videos .video-grid .video .details-parent .details .category {
  font-family: var(--headings);
  font-size: 14px;
  font-weight: 400;
  line-height: 2em;
  color: var(--secondary);
  text-transform: capitalize;
}
#videos .video-grid .video .details-parent .details .heading2 {
  line-height: 1.4;
  color: var(--white);
  text-transform: capitalize;
}
#videos .video-grid .video::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: linear-gradient(200.31deg, rgba(0, 0, 0, 0) 51.34%, #000000 97.61%);
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.3s;
}
#videos .video-grid .video .thumbnail,
#videos .video-grid .video .default-thumbnail {
  position: absolute;
  z-index: 2;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.3s;
}
#videos .video-grid .video .thumbnail {
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 0.3s;
}
#videos .video-grid .video .default-thumbnail {
  background-color: var(--black);
}
#videos .video-grid .video.youtube .default-thumbnail {
  display: none !important;
}
#videos .video-grid .video.upload .default-thumbnail {
  display: none !important;
}
#videos .video-grid .video.upload.no-thumbnail .default-thumbnail {
  display: block !important;
}
#videos .video-grid .video.upload.no-thumbnail .thumbnail {
  display: none !important;
}

@media (max-width: 1350px) and (min-width: 1201px) {
  #videos .video-grid .video .details-parent {
    padding: 20px;
  }
  #videos .video-grid .video .details-parent .details .heading2 {
    font-size: min(20px, 1.2vw);
  }
}
@media (max-width: 1200px) {
  #videos .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 950px) and (min-width: 769px) {
  #videos .video-grid .video .details-parent .details .heading2 {
    font-size: min(20px, 2vw);
  }
}
@media (max-width: 768px) {
  #videos .video-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 485px) {
  #videos .video-grid .video .play {
    transform: translate(-50%, -75%);
  }
  #videos .video-grid .video .details-parent .details .heading2 {
    font-size: min(20px, 4.25vw);
  }
}/*# sourceMappingURL=videos.css.map */