/* ================= TIPOGRAFÍAS ================= */
@import url("https://fonts.googleapis.com/css2?family=Notable&family=Prata&display=swap");

/* ================= ESTILOS GENERALES ================= */
body {
  background-color: #8e81a3;
  font-family: 'Prata', serif;
  color: #154e4b;
  padding: 40px;
  line-height: 1.6;
}
:root {
  --color-principal: #9eb856;
  --color-fondo: #8e81a3;
  --color-secundario: #154e4b;
  --color-texto: #ffffff;
}

/* Navbar horizontal */
.navbar {

  text-align: center;
  
}

.navbar-items {
   display: inline-flex;
  gap: 30px; /* separación entre los ítems */
}

.navbar-items li a {

  color: #154e4b;
  font-family: 'Prata', serif;
  font-size: 16px;
  border-radius: 100px;
  transition: background-color 0.4s ease, color 0.3s ease;
}

/* Efecto al pasar el mouse */
.navbar-items li a:hover {
  background-color: #d5c2ff;
}

/* ================= TITULOS ================= */
h1 {
  font-family: 'Notable', sans-serif;
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

h2 {
  font-family: 'Prata', serif;
  font-style: italic;
  font-size: 10px;
 

}

h3 {
  font-family: 'Prata', serif;
  font-style: italic;
  font-size: 15px;
  margin-top: 5px;
  color: #9eb856;
}

h4 {
  font-family: 'Notable', sans-serif;
  font-size: 25px;
  margin-bottom: 10px;
  letter-spacing: 2px;
  color: #9eb856;
}
h5 {
  font-family: 'Prata', serif;
  font-style: italic;
  font-size: 20px;
  margin-top: 30px;
  padding-bottom: 5px;
}

h7 {
  font-family: 'Prata', serif;
  font-size: 20px;
  margin-top: 30px;
  padding-bottom: 5px;
}

/* ================= TEXTO ================= */
p {
  font-size: 13px;
  margin-top: 1px;
}

figcaption {
  font-family: 'Prata', serif;
  font-size: 12px;
  margin-top: 8px;
  color: #555;
}

/* ================= ENLACES ================= */
a {
  font-size: 15px;
  font-family: 'Prata', serif;
  font-style: italic;
  margin-top: 5px;
  color: #9eb856;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: white;
  letter-spacing: 2px;
  transform: scale(1.05);
}

/* ================= IMÁGENES ================= */
img {
  margin-top: 5px;
  width: 250px;
  border-radius: 18px;
  box-shadow: 5px 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

img:hover {
  transform: scale(1.05);
}
/* ================= CONTENEDORES ================= */
.centrado {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100vh; /* ocupa todo el alto de la pantalla */
}

/* ================= COMENTARIOS ================= */
/* selector { propiedad: valor } */
