/* CSS Document SLIDER */
.slider {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.slides img {
  width: 100%;
  height: 80vh;
  object-fit: cover;
  display: none;
}

.slides img.active {
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  text-align: center;
  padding: 1rem;
}

.overlay h1 {
font-size: clamp(2.3rem, 6vw, 3rem);
color:#fff;
 text-shadow: 0 2px 6px rgba(0,0,0,0.6); 
}

.overlay h2{
 
   font-size: clamp(1.5rem, 4vw, 2rem);
   color: #f3ce91; 
    text-shadow: 0 2px 6px rgba(0,0,0,0.6); 
  
}

.overlay p {
  font-size: 1.2rem;
  max-width: 600px;
}

/* FRECCETTE */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  background: rgba(0,0,0,0.3);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
}

.prev { left: 10px; }
.next { right: 10px; }

  
