body {
  font-family: Arial, sans-serif;
  background: url('../imagenes/Ima1.webp') no-repeat center center fixed;
  background-size: cover;
  color: #222;
  line-height: 1.6;
  font-size: 1.1rem;
  margin: 0;
}

header {
  background-color: rgba(0, 64, 128, 0.8);
  color: white;
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  max-width: 80px;
}

h1 {
  font-size: 2rem;
  margin: 0;
  color: #FFD700;
}

main {
  padding: 6rem 2rem 2rem;
}

.content {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #004080;
  text-align: center;
}

.content p {
  text-align: center;
  color: #000;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  overflow-x: auto;
}

.button {
  display: inline-block;
  background-color: #007ACC;
  color: white;
  padding: 1rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.button:hover {
  background-color: #005fa3;
}

footer {
  background-color: rgba(0, 64, 128, 0.85);
  color: white;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.footer-block {
  text-align: center;
  max-width: 300px;
}

.footer-logo {
  max-width: 100px;
  margin-bottom: 0.5rem;
}

.footer-copy {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.6rem;
  }
  .button {
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
  }
  .content p {
    font-size: 1rem;
  }
}
