.slider-container {
    position: relative;
    width: 90%;  
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
  }

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  width: 100%;
  flex-shrink: 0;
  height: 100%;
  object-fit: cover;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 5rem;
  color: #ffc100ff;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); /* ombra */
}

.arrow.left {
  left: 3%;
}

.arrow.right {
  right: 3%;
}

.video-container {
  width: 90%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  flex-direction: row;
}

.video-wrapper {
  flex: 1 1 20%;
  /* max-width: 400px; */
  aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.shorts-container {
  position: flex;
  flex-direction: row;
  width: 100%;
  max-width: 30%; 
  aspect-ratio: 9 / 16;
  margin: auto;
}

.shorts-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  left: 0;
  top: 0;
}

@media (max-aspect-ratio: 1.5/1) { 
    .shorts-container {
        width: 100%;
        max-width: 100%; 
    }
    .video-container {
        width: 90%; 
        margin: auto;
        flex-direction: column;
        align-items: center;
    }
    .video-wrapper {
        width: 100%;
        max-width: none;
    }
}