* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Esto hace que el padding no "estire" el ancho total */
}



body {
    background-color: #f8f8f8; /* Un blanco roto, menos agresivo */
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    font-family: 'Inter', sans-serif; /* O una similar muy limpia */
}

.nav {
    width: 100%;
    display: flex;
    justify-content: center; /* Centra el contenedor interno */
    height: 10vh;
}

.nav_container {
    width: 100%;
    max-width: 110rem; /* O 75rem. Aquí pones el límite de apertura */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3em;
}

.nav_rrss{
    display: flex;
    flex-flow: row nowrap;  
    justify-content: space-between;
    align-items: center;
    gap: 2em;
}

.rrss_a{
    display: flex;
}


section{
   
    max-height: 80vh;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: center;
}

.text_container{
    
    height: 100%;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

.section_eusk {
    /* Mínimo: 1.3rem (para que quepa en el iPhone 12 Pro) 
       Fluido: 4.5vw 
       Máximo: 4rem (para que no se desmadre en PC) */
    font-size: clamp(1.1rem, 4.5vw, 4rem); 
    line-height: 1.2;
    width: 100%;
    word-break: normal; /* Evita que rompa palabras a la mitad */
    overflow-wrap: break-word; 
}
   

.section_cast{
    font-size: 2em;
    font-weight: 800;
    margin-bottom: 1em;
    color:#727272;
    
}


/* 4. IMAGEN RESPONSIVE */
.section_img {
    max-width: 90rem; /* Evita que en pantallas gigantes se vea enorme */
    width: 90%;       /* En pantallas normales ocupa el 90% del ancho */
    height: auto;     /* Mantiene la proporción */
    border-radius: 4px;
}

/* 5. MEDIA QUERIES (Ajustes para móvil/tablet) */
@media (max-width: 768px) {
    .nav {
        padding: 1rem;
        flex-direction: column; /* Apila el nombre y el mail en móviles pequeños */
        gap: 0.5rem;
    }

    .nav_container {
        flex-direction: column; /* Apila el nombre arriba y el contacto abajo */
        padding: 1rem;
        height: auto; 
        gap: 0.5rem;
    }

    .nav_h1 {
        font-size: 1.8rem; /* Ajusta un poco el tamaño para que no domine tanto */
        text-align: center;
    }

    .nav_rrss {
        justify-content: center;
        width: 100%;

    }

    .section_eusk {
        font-size: 1.5rem; /* Texto un poco más pequeño en móvil */
    }

    .section_cast {
        font-size: 1rem;
    }

    .section_img {
        width: 100%; /* En móvil aprovechamos todo el ancho */
    }
}


