* {

    margin: 0;

    padding: 0;

  }

  

  body {

    margin: 20px auto;

    font-family: "Lato";

    font-weight: 300;

  }

  

.carousel {
  overflow: visible;
  width: 100%;
  display: flex;
  justify-content: center;   /* Centra horizontalmente */
  align-items: center;       /* Centra verticalmente */
  background-color: transparent !important;          /* opcional */
 
  left: 0;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 25s linear infinite;
}

.carousel-track img {
  width: 100px;
  height:80px ;
  margin: 0 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* animacion suave para zoom y sombra */
  display: block;
}

.carousel-track img:hover {
  transform: scale(1.05); /*zoom pequeño al pasar el maus */
  box-shadow: 0 8px 16px rgba(196, 32, 7, 0.6) !important; /* sombra al hacer zoom */
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}





/* Contenedor horizontal responsivo */
.banner-solicitudes-horizontal {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px auto;
  max-width: 900px;
  flex-wrap: wrap;
}

/* Estilo de cada banner */
.banner {
  flex: 1 1 300px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  justify-content: center;
  cursor: pointer;
}

.banner i {
  font-size: 24px;
}

.banner.arco {
  background-color: #8b1226;
  color: #fff;
}

.banner.info {
  background-color: #8b1226;
  color: #fff;
}

.banner:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

/* Modal */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0; 
  top: 0; 
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 900px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.cerrar {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.cerrar:hover {
  color: #000;
}

/* Ajustes responsivos */
@media (max-width: 600px) {
  .banner {
    font-size: 16px;
    padding: 15px;
  }
  .banner i {
    font-size: 20px;
  }
  .modal-content {
    width: 90%;
    margin-top: 10%;
  }
}
