:root {
    --font-base: 'dm-sans', sans-serif;
    --color-text: #283106;
    --color-bg: #aab992;
    --font-title: 'garamond-premier-pro';
}

/* Estilos default */
body {
    font-family: var(--font-base);
    color: var(--color-text);
    background: var(--color-bg);
    padding: 0;
    margin: 2000;
}
p {
    text-align: center;
}
a {
    color: var(--color-text);
    text-decoration: none;
}
a.active, 
a:hover {
    color: aliceblue;
}
/* Títulos responsive */
h1, h2, h3, h4, h5, h6 {
    font-weight: 1600;
    font-family: var(--font-title);
}

h1 {
    font-size: 10rem;
    font-weight: 1600;
    text-align: center;
    margin-bottom: 10rem;
}  

h2 {
    font-size: 2rem;
    text-align: center;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    max-width: 60ch;
    margin-top: 30px auto;
    margin: 30px auto;
}
code {
    background: var(--color-bg);
}

img {
    max-width: 100%;
    height: auto;
}
/* layout */
.nav-links {
    margin-bottom: 100px;
}
header#main-header nav {
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 0;
}

footer#main-footer {
    border-top: 1px solid var(--color-text);
    margin-top: 2em;
    text-align: center;
    padding: 2em 0 1em 0;
}

/* Components */

.hero {
    text-align: center;
    padding: 1em 0;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    padding: 0.25em 0.5em;
    font-weight: 100;
    font-size: 2rem;
}
#logo {
    font-size: 12rem;
    font-family: var(--font-title);

    margin: 0 auto;
    display: block;
    width: auto;
    text-align: center;

}

.button {
    background-color: var(--color-text);
    color: var(--color-bg);
    border-radius: 0;
}
.button:hover {
    background-color: var(--color-bg);
    color: var(--color-text);
}

/* Media queries responsive para títulos */
@media (max-width: 550px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.375rem;
    }
    
    h4 {
        font-size: 1.125rem;
    }
}

@media (min-width: 640px) {
    .nav-link {
        width: 120px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    h3 {
        font-size: 1.75rem;
    }
    
    h4 {
        font-size: 1.375rem;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    h3 {
        font-size: 2rem;
    }
    
    h4 {
        font-size: 1.5rem;
    }
}

.nav-link:hover {
    text-decoration: underline;
}

.text-center {
    text-align: center;
}

/* Estilos adicionales para títulos */
.lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1.5em;
}

/* Espacaiado mejorado para secciones */
section {
    margin-bottom: 2rem;
}

/* Estilos para listas en criterios de evaluación */
section ul {
    margin-bottom: 1rem;
}

section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Separadores visuales */
hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

/* Mejoras para la rúbrica */
section h3 {
    color: var(--color-text);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
}

section h4 {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}
article{
margin-top: 200px; 
margin-bottom: 200px;
}

.img-testimonios { 
    max-width: 100%;
    height: auto;
    width: 100%;
    aspect-ratio: 1 / 1.4;
    object-fit: cover;}