/* Estilos globales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background-color: #eee;
}

/* Encabezado */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #fff;
  border-bottom: 1px solid #e5e5e5;
  border-top: 3px solid #3498db;
  color: black;
}

.logo img {
  height: 50px;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

.menu a {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
}

.menu a:hover {
  text-decoration: underline;
}

/* Contenido principal */
main {
  flex: 1;
  padding: 20px;
  text-align: justify;
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
}
#map {
  height: 400px; /* Ajusta la altura según tus necesidades */
  width: 100%; /* Ocupa todo el ancho del contenedor */
}
.box {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  flex: 1 1 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.large {
  flex: 2 1 300px;
}

.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
}

/* Carrusel */
.carousel {
  display: flex;
  overflow: hidden;
  position: relative;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 10px;
  margin: 10px;
}

.carousel-track {
  display: flex;
  animation: scroll 10s linear infinite;
}

.carousel img {
  height: 80px;
  object-fit: contain;
  padding: 0 10px;
}

@keyframes scroll {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Pie de página */
.footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-icons a {
  color: white;
  font-size: 20px;
  margin-left: 10px;
  text-decoration: none;
}

.footer-icons a:hover {
  color: #cccccc;
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
  }

  .menu ul {
    flex-direction: column;
    padding-top: 10px;
    gap: 10px;
  }

  .container {
    flex-direction: column;
    height: auto;
    padding: 5px;
  }

  .box, .large {
    flex: 1 1 auto;
    min-height: 150px;
    padding: 15px;
  }

  .carousel img {
    height: 60px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-icons {
    margin-top: 10px;
  }
}

