/* Estilo general */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #fdfaf6;
  color: #3e2723;
  line-height: 1.6;
}
h2 {
  font-size: 2.2rem;
  font-weight: 500;
  color: #5a2e0f; 
  text-shadow: 1px 1px 1px #a67c52; 
  margin-bottom: 1rem;
}



/* Navegación */
.navbar {
  background-color: #5d4037;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
  flex-wrap: wrap;
}

.navbar h1 {
  font-size: 1.5rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1em;
  margin: 0;
  padding: 0;
}

.navbar ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* Contenido principal */
main.contenido {
  padding: 2em;
  max-width: 900px;
  margin: auto;
}

main ul {
  list-style: none;
  padding: 0;
}

main ul li {
  margin-bottom: 1em;
}

main ul li a {
  background-color: #8d6e63;
  color: #fff;
  padding: 0.7em 1.2em;
  text-decoration: none;
  display: inline-block;
  border-radius: 5px;
  transition: background-color 0.3s;
}

main ul li a:hover {
  background-color: #6d4c41;
}
.grid-botones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5em;
  justify-items: center;
  margin-top: 2em;
}

.boton-redondo {
  width: 120px;
  height: 120px;
  background-color: #8d6e63;
  color: #fff;
  text-align: center;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); 
  transition: background-color 0.3s, transform 0.3s;
}

.boton-redondo:hover {
  background-color: #6d4c41;
  transform: scale(1.05);
}

/* Footer */
footer {
  text-align: center;
  background-color: #5d4037;
  color: #fff;
  padding: 1em;
  margin-top: 3em;
}
.formulario {
  background-color: #f3e8dc;
  padding: 2em;
  max-width: 500px;
  margin: 2em auto;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(80, 50, 20, 0.2);
  font-family: 'Roboto', sans-serif;
}

.formulario label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: bold;
  color: #5b3e2b;
}

.formulario input[type="text"],
.formulario textarea {
  width: 100%;
  padding: 0.8em;
  margin-bottom: 1.5em;
  border: 1px solid #bfa98a;
  border-radius: 6px;
  font-family: 'Roboto', sans-serif;
  background-color: #fffaf5;
  color: #3a2a1b;
}

.botones-formulario {
  display: flex;
  justify-content: space-between;
  gap: 1em;
}

.botones-formulario button {
  padding: 0.6em 1.2em;
  background-color: #8b5e3c;
  color: white;
  border: none;
  border-radius: 6px;
  font-family: 'Roboto', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s;
}

.botones-formulario button:hover {
  background-color: #704929;
}
.mensaje-confirmacion {
  display: none;
  background-color: #f9f1e7;
  color: #5b3e2b;
  padding: 0.5em 1em;
  border: 1px solid #d8c1a4;
  border-radius: 6px;
  font-size: 0.9em;
  align-self: center;
  text-align: center;
}
.cierre-pagina {
  margin: 4em auto;
  max-width: 900px;
  padding: 2em;
  background-color: #fffaf5;
  border-top: 2px dashed #a1887f;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(90, 70, 50, 0.1);
}

.frase-inspiradora {
  font-style: italic;
  color: #6d4c41;
  margin-bottom: 1.5em;
  font-size: 1.2em;
}

.tips-rapidos {
  display: flex;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
  margin-bottom: 1.5em;
}

.tip {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 120px;
  font-size: 0.9em;
  color: #5d4037;
}

.tip span {
  font-size: 1.8em;
  margin-bottom: 0.5em;
}

.decorativo-trepa {
  margin-top: 1em;
  max-width: 100px;
  opacity: 0.8;
}



/* Responsivo */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar ul {
    flex-direction: column;
    gap: 0.5em;
    margin-top: 1em;
  }
}
