#foto1{
  width:95%;
  height: 685px;
  margin: 0 5% auto;
  margin-bottom: 10%;
  border-radius: 30px;
  border: solid 3px #2106ec;
  box-shadow: 10px 10px 5px 2px rgba(0,0,0,0.5);
  background-image:-webkit-linear-gradient(#78e3f3, #b4e8f0);
}
#contenitore{
  margin-top: 5%;
  display: flex;
  justify-content: space-between; /* Centra orizzontalmente */
  align-items: center; 
}

#slaid{
  
  margin:0 auto;
  padding: 2%;
  width: 80%;
  height: 600px;
  border-radius: 20px;
  border: solid 3px #2106ec; ;
  background-color: #c8f4f4;
  box-shadow: 10px 10px 5px 2px rgba(118, 220, 236, 0.5);
}
button{
  width: 10%;
}
#slaid .img{
 
  width: 80%;
  margin: 0 auto; 
}
#img img{
  width: 100%;
  height: 550px;
  object-fit: scale-down; 
  display: none;  
}

#img img:nth-child(1){
  display: block;
}

#contenitore button{
  margin: 0 2% 0 2%;
  width: 50px;
  height: 50px;
  background: none;
  border-radius: 25px;
  border: solid rgb(13, 1, 1) 2px;
  font-size: 40px;
  color: #010c17;
  cursor: pointer;
  outline: none;
  transition: all 0.1s ease-out; 
}

#descrizione{
  margin-top:-10% ;
}

 #descrizione p {
  margin: 0 auto;
  width: 250px;
  padding: 3px;
  font-size: 18px;
  display: none;
  text-align: center;
  border-radius: 20px;
  border: solid 1px #111;
  background-color: aqua;
  box-shadow: 10px 10px 5px 2px rgba(10, 82, 93, 0.5);
  
}

#descrizione p:nth-child(1){
  display: block;
}

#descrizione p{
  font-size: 25px;
  width: 400px;

}
#descrizione p{
  font-size: 25px;
  width: 400px;

}

@media (max-width:2504px) {
#contenitore button{
  font-size: 45px;
  border: solid 3px #111;
}
#foto1{
  height:1400px ;
} 
#slaid{
    height: 1000px;
  }
  #img img{
    height: 930px;
  }
  #descrizione{
    margin-top: 3.5%;
  }
  #descrizione p{
    font-size: 40px;
    width: 500px;

  }
}
@media (max-width:768px) {
  #foto1{
    height:520px ;
  }
  #slaid{
    height: 400px;
  }
  #img img{
    height: 370px;
  }
  #descrizione{
    margin-top: 1.5%;
  }
  #descrizione p{
    font-size: 15px;
    width: 300px;

  }
}
@media (max-width:425px) {
  #foto1{
    height:400px ;
  }
  #slaid{
    height: 300px;
  }
  #img img{
    height: 280px;
  }
  #descrizione{
    margin-top: 3%;
  }
  #descrizione p{
    font-size: 15px;
    width: 300px;

  }
}