.container-palabras{
    justify-content: center


}

/* Presentacion Section */
.presentacion {
    display: flex;
    justify-content: flex-end; /* Alinea el contenido a la derecha */
    padding: 2em 0; /* Ajusta el padding según sea necesario */
}

.presentacion-content {
    display: flex;
    flex-direction: row; /* Invierte el orden de los elementos */
    max-width: 800px; /* Ajusta el ancho máximo según sea necesario */
    width: 100%;
    gap: 1em;
}

.presentacion p {
    font-family: var(--font-regular);
    font-weight: normal;
    flex: 1;
    text-transform: uppercase;
    font-size: var(--font-tamaño-aaaa);
    text-align: left; /* Alinea el texto a la derecha */
    text-wrap: balance;
}

.img-presentacion {
    width: 30%;
    height: auto;
    align-self: flex-start; /* Alinea la imagen al inicio del contenedor */
}

.cv-container {
    font-family: var(--font-regular);
    font-weight: normal;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    padding: 2em 0;
}

.cv {
    display: flex;
    color: var(--color-negro-optimizado);
    flex-direction: column;
    gap: 2em;
}

.cv-dos {
    display: flex;
    flex-direction: column;
    gap: 5.5em;
}

.cv-block {
    display: flex;
    flex-direction: row;
    gap: 2em;
    align-items: flex-start; /* Asegura que los elementos de la fila se alineen al inicio */
}

.titulos-cv {
    font-family: var(--font-regular);
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    width: 10em; /* Fija el ancho de los títulos para una mejor alineación */
    align-self: flex-start; /* Alinea los títulos al inicio de su contenedor */
}

.titulos-column {
    display: flex;
    flex-direction: column;
    
    gap: 1em;
    flex: 1; /* Asegura que la columna ocupe el espacio disponible */
}

.titulos-column a{
    text-decoration: none;
    color: var(--color-negro-optimizado);
}


/* GIF Centering */
.gif-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 2em; /* Ajusta el margen superior según sea necesario */
}

.hi {
    width: 10%;
    height: auto;
}


@media screen and (max-width: 1410px){
    .cv-dos{
        gap: 6.2em;
    }
}

@media screen and (max-width: 1311.5px){
    .cv-dos{
        gap: 7.6em;
    }
}

@media screen and (max-width: 1152px){
    .cv-dos{
        gap: 7.6em;
    }
    .hi {
        width: 15%;
        height: auto;
    }
    
}

@media screen and (max-width: 975px){
    .cv-dos{
        gap: 6.5em;
    }
}

@media screen and (max-width: 918px){
    .cv-dos{
        gap: 8em;
    }
}

@media screen and (max-width: 807px){
    .cv-dos{
        gap: 9em;
    }

    .presentacion p{
        font-size: var(--font-tamaño-aaa);
    }
}

@media screen and (max-width: 769px){
    .cv-dos{
        gap: 10em;
    }
    
    .hi {
        width: 20%;
        height: auto;
    }
    

}

@media screen and (max-width: 730px){
    .cv-dos{
        gap: 11em;
    }

    .container_palabras_categorias{
        padding-top: 32px;
        padding-bottom: 32px;
    }
}

@media screen and (max-width: 714px){
    .cv-dos{
        gap: 10em;
    }
}

@media screen and (max-width: 691px){
    .titulos-cv{
        width: 6em;
    }
    .cv-container{
        display: flex;
        flex-direction: column;
    }
    .cv{
    flex-direction: column;
    }
    .cv-dos{
        flex-direction: column;
        gap: 2em;
    }

    .presentacion p{
        font-size: var(--font-tamaño-aa);
    }

    .hi {
        width: 25%;
        height: auto;
    }
    

}