video {
  width: 80%;
  border-radius: 1em;
  margin-bottom: 1em;
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}


.video-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: scale(0.8);
  animation: fadeInZoom 2s ease-out 0.8s forwards;
  figcaption {
    font-family: var(--text-subtitle);
    font-size: 1.2em;
  }
}

@keyframes fadeInZoom {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media  screen and (width > 768px) {
  .video-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
  }
}