/* General reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body style */
body {
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  background-image: url("images/fondo.1.png");
  background-size: cover;
  background-position: center;
  padding-top: 60px; /* Avoid navbar overlap */
}

/* Navbar styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f5baf4;
  padding: 10px 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar .logo a {
  color: #000000;
  font-size: 2.5rem;
  text-decoration: none;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin: 0 20px;
}

.nav-links a {
  text-decoration: none;
  color: #000000;
  font-size: 1rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: #f50057;
}

.nav-links button {
  padding: 8px 12px;
  background-color: #000000;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.nav-links button:hover {
  background-color: #ffc9fe;
}

/* Main content */
main {
  padding: 20px;
  text-align: center;
}

h1 {
  font-size: 2rem;
  color: #000000;
  margin-bottom: 20px;
}

p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 20px;
}

ol {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 20px;
}

img {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-top: 20px;
  border-radius: 8px;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px 0;
  background-color: #f5baf4;
  margin-top: 20px;
}

/* Dark Mode Styles */
.dark-mode {
  background-color: #333;
  color: white;
}

.dark-mode .navbar {
  background-color: #555;
}

.dark-mode .nav-links a {
  color: white;
}

.dark-mode .nav-links button {
  background-color: #444;
  color: white;
}

.dark-mode footer {
  background-color: #444;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .nav-links {
      flex-direction: column;
      text-align: center;
  }

  .nav-links li {
      margin-bottom: 10px;
  }
}
