@import "standard.css";

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    justify-items: center;
}
.video-thumb {
  position: relative;
  max-width: 320px;
  cursor: pointer;
  display: flex;
}
.video-thumb::after {
    content: "\25B6";
    font-size: 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, .5);
}
.video-thumb video {
  width: 100%;
  border-radius: 8px;
  display: block;
}
.close-area {
    position: absolute;
    top: 4%;
    font-size: 3rem;
}
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,1);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
#lightbox video {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}
#lightbox .close-area {
  cursor: pointer;
}

