/* Imagen y nombre en columna */
.yo-foto-nombre {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    width: auto;
}
.foto-yo {
    display: block;
    margin: 0;
}
.foto-nombre-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.yo-nombre {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 10px 0 0 0;
    text-align: center;
    width: 250px;
    max-width: 100%;
    display: block;
}
/* Estudios */
.estudios-section {
    margin: 40px auto 32px auto;
    max-width: 700px;
    padding: 0 16px;
}
.estudios-titulo {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    margin: 32px 0 16px 0;
    letter-spacing: 1px;
    font-weight: 700;
}
.estudios-lista {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.estudio-item {
    background: #122725;
    border-left: 5px solid #d9a53e;
    border-radius: 8px;
    padding: 16px 18px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.07);
}
.estudio-nombre {
    font-size: 1.1rem;
    font-weight: 600;
}
.estudio-inst {
    font-size: 1rem;
    opacity: 0.85;
}
.estudio-fechas {
    font-size: 0.95rem;
    color: #d9a53e;
    margin-top: 4px;
}
@media (max-width: 900px) {
    .estudios-lista {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .estudios-section { margin: 28px 0 20px 0; }
    .estudios-titulo { font-size: 1.3rem; }
    .estudio-item { padding: 12px 10px; }
}

body {
    background-color: #11302e;
}

/* Header */
header {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    flex-direction: column;
}

.container-header {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.header-vector {
    background: url("../img/BackBalmaPrincipal.svg") no-repeat center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    position: absolute;
    opacity: 0.4;
}

.header-div {
    position: relative;
    text-align: center;
    height: 200px;
    z-index: 2;
}

/* Fast-Index */
.header-fastindex {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    background: #11302e;
    color: white;
}

.header-list {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.header-list li a {
    text-decoration: none;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 3vh;
    padding: 8px;
    transition: color 0.3s;
}

.header-list li a:hover {
    color: #d9a53e;
}

@media (max-width: 768px) {
    .header-list {
        gap: 15px;
    }
    
    .header-list li a {
        font-size: 1rem;
        padding: 6px;
    }
}

@media (max-width: 480px) {
    .header-list {
        gap: 10px;
        justify-content: space-around;
        width: 100%;
    }
    

    .header-list li a {
        font-size: 0; 
        padding: 10px;
        position: relative;
        min-width: 44px; 
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    

    .header-list li a::before {
        content: attr(data-emoji);
        font-size: 1.6rem;
        display: block;
    }
}

/* YO */
.yo {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    padding: 20px;
    background: #11302e;
    color: white;
    text-align: center;
    gap: 20px;
}

.foto-yo {
    width: 250px;
    height: 250px;
    border-radius: 20%;
    border: 3px solid white;
    object-fit: cover;
    margin: 0;
}

.yo-texto {
    max-width: 400px;
}

.yo-parrafo {
    font-size: 1.2rem;
    line-height: 1.5;
    text-align: justify;
    font-family: 'Poppins', sans-serif;
}




/* REPOOOS */
.repositorios-titulo {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    margin: 32px 0 16px 0;
    letter-spacing: 1px;
    font-weight: 700;
}
.card {
    position: relative;
    width: 280px; 
    height: 140px; 
    background-image: linear-gradient(163deg, white, #d9a53e 100%);
    border-radius: 20px;
    transition: all .3s;
}

.contenedor-repos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 20px;
    justify-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.repos-ayudantia {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: radial-gradient(circle at top left, #2f626e, #193c3e);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all .2s;
}

.repos-ayudantia:hover {
    transform: scale(0.98);
}

.card:hover {
    box-shadow: 0px 0px 30px 1px rgba(0, 255, 117, 0.30);
}

.repos-ayudantia a {
    text-decoration: none;
    color: white;
    font-size: 16px;
}
/* Prototipo */
.juego-club {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}


/* Placeholder & loader button */

.btn-load-iframe {
    background: transparent;
    border: 1px solid #d9a53e;
    color: #d9a53e;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.12s, color 0.12s, opacity 0.12s;
}
.btn-load-iframe:hover { background: #d9a53e; color: #11302e; }
.btn-load-iframe[disabled] { opacity: 0.6; cursor: not-allowed; }
/* BackBalma */
.backbalma-icono {
    height: 10px;
    width: 10px;
}

.backbalma-titulo {
    color: #d9a53e;
    font-size: 12vw;
    font-family: 'Adumu', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
}

/* Clases */
[class^="header-titulo"] {
    font-size: clamp(30px, 2vw, 100px);
    color: white;
    text-align: center;
    padding: 0px;
    margin: 0px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

[class^="link-"] {
    text-decoration: none;
    display: inline-block;
    transform: scale(0.5);
    transition: transform 0.3s;
    margin: 0px;
}

[class^="link-"]:hover {
    transform: scale(0.6);
}

/* Fonts */
@font-face {
    font-family: 'Adumu';
    src: url('./fonts/Adumu.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('./fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* Mish */



::selection {
    background-color: #5f4e2d;
    color: white;
}

/* kfngkldfnklgnfdg */
/* Scroll completo */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #376e7e;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #5f4e2d;
    min-width: 30px;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4af37;
}

/* FlipContainer */
.containerFlip {
    color: white;
    text-transform: uppercase;
    font-size: 36px;
    font-weight: bold;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', sans-serif;
}

.flip {
    height: 45px;
    width: 400px;
    overflow: hidden;
    position: relative;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

.flip>div>h3 {
    color: #fff;
    padding: 4px 12px;
    height: 45px;
    line-height: 45px;
    margin: 0;
}

.flip div:first-child {
    animation: show 12s linear infinite;
}

@keyframes show {
    0% {
        margin-top: 0px;
    }

    15% {
        margin-top: 0px;
    }

    16% {
        margin-top: -45px;
    }

    35% {
        margin-top: -45px;
    }

    36% {
        margin-top: -90px;
    }

    60% {
        margin-top: -90px;
    }

    61% {
        margin-top: -135px;
    }

    100% {
        margin-top: -135px;
    }
}

/* Footer */
.contenedor-footer {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    background: #081615;
}

.footer-redes {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.footer-titulo {
    color: #d9a53e;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0px;
    letter-spacing: 1px;
    text-align: left;
    width: 100%;
    display: block;
}

.footer-links {
    display: flex;
    gap: 18px;
    justify-content: flex-start;
    width: 100%;
}

.footer-copy {
    color: #d9a53e;
    font-size: 0.95rem;
    opacity: 1;
    text-align: right;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}


/* Experiencia */
/* Mi Experiencia*/
.experiencia-titulo {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    margin: 32px 0 16px 0;
    letter-spacing: 1px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .experiencia-titulo {
        font-size: 2rem;
        margin: 28px 0 12px 0;
    }
}

@media (max-width: 600px) {
    .experiencia-titulo {
        font-size: 1.4rem;
        margin: 20px 0 8px 0;
    }
}
.contenedor-exp {
    position: relative;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 150px;
}

.linea {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #081615;
    z-index: 1;
}

.circulo {
    position: relative;
    width: 30px;
    height: 30px;
    background-color: #d9a53e;
    border-radius: 50%;
    z-index: 2;
    cursor: pointer;
}


.mensaje {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #081615;
    color: #fff;
    padding: 8px 24px 6px 24px;
    border-radius: 8px;
    white-space: normal;
    font-size: 1.05rem;
    z-index: 3;
    display: none;
    min-width: 220px;
    max-width: 340px;
    box-sizing: border-box;
    text-align: center;
    line-height: 1.3;
}


.mensaje.mostrar {
    display: block;
}


@media (max-width: 600px) {
    .contenedor-exp {
        position: relative;
    }
    .circulo {
        position: static;
    }
    .mensaje {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: 60px !important;
        margin-top: 16px;
        max-width: 96vw;
        min-width: 70vw;
        font-size: 1rem;
        text-align: center;
        white-space: normal;
        padding: 8px 8px 6px 8px;
        line-height: 1.25;
    }
}
