body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

  header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      background-color: #1C396B;
      color: #fff;
      position: relative;
      /*background-color: #1C396B;
      color: white;
      padding: 20px;
      text-align: center; */
    }
select {
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 80%;
  max-width: 400px;
}

#map {
  width: 100%;
  height: 600px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.content {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .content {
    flex-direction: row;
  }

  #map {
    flex: 2;
    height: 600px;
  }

  #infoPanel {
    flex: 1;
    padding: 1rem;
    background-color: #ffffff;
    border-left: 2px solid #ddd;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
}

#infoPanel h2 {
  margin-top: 0;
  color: #333;
}
.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  background-color: #0077cc;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: #005fa3;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white-text);
    font-size: 1.5em;
    font-weight: bold;
}

.navbar-brand img {
    height: 50px;
    margin-right: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--blue-bg);
    font-weight: 400;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after { /* Animación de subrayado */
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease-out;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animación del icono de hamburguesa a cruz */
.nav-toggle.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

    .logo, .volver {
      width: 25%;
    }

    .logo a, .volver a {
      color: #fff;
      text-decoration: none;
      font-weight: bold;
    }
    .logo a:hover, .volver a:hover {
      text-decoration: underline;
    }
