* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


header {
    /*position: sticky;*/
    /*top: 0;*/
    /*z-index: 9999;*/

    background: #212529;
    border-bottom: 4px solid #444;
}

.menu-principal {

    max-width: 1400px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 25px;
}

.logo {

    font-family: "Press Start 2P";
    font-size: 18px;
}

.menu-links {

    display: flex;
    gap: 35px;

    list-style: none;

    margin: 0;
    padding: 0;
}

.menu-links a {

    color: white;

    text-decoration: none;

    font-family: "Press Start 2P";
    font-size: 11px;

    transition: .2s;
}

.menu-links a:hover {

    color: #92cc41;
    /* verde NES */
}


header h1 {
    font-size: 28px;
}

main {
    flex: 1;
    padding: 40px;
}

.bloque-portfolio {
    width: 100%;
    padding: 80px 8%;
}

.titulo-principal {
    font-family: 'Patrick Hand', cursive;
    font-size: 4.6rem;
    line-height: 1;
    font-weight: normal;
    margin-top: 16px;
    margin-bottom: 16px;

}

.titulo-mediano {
    font-family: 'Patrick Hand', cursive;
    font-size: 4.0rem;
    line-height: 1;
    font-weight: normal;
    margin-top: 16px;
    margin-bottom: 16px;

}

.titulo-pequeno {
    font-family: 'Patrick Hand', cursive;
    font-size: 2.4rem;
    line-height: 1;
    font-weight: normal;
    margin-top: 16px;
    margin-bottom: 16px;
}

.texto-pequeno {
    font-family: 'Patrick Hand', cursive;
    font-size: 2.4rem;
    line-height: 1;
    font-weight: normal;
    margin-top: 16px;
    margin-bottom: 16px;
}


.texto {
    font-size: 2.4rem;
    line-height: 1;
    font-weight: normal;
    margin-top: 16px;
    margin-bottom: 16px;
}

.jumbo-titulo {
    font-family: "Itim", cursive;
    font-size: 92px;
    text-align: center;
    margin-top: 16px;
    margin-bottom: 16px;
}

.jumbo-subtitulo {
    font-family: "Itim", cursive;
    font-size: 48px;
    text-align: center;
    margin-top: 16px;
    margin-bottom: 16px;
}

.presentacion {
    margin-bottom: 180px;
}

.imagen-columna {
    text-align: center;
}

.imagen-columna img {
    display: inline-block;
}

.tabla-skills {
    display: flex;
    justify-content: center;
    margin: 80px 0;
}

.tabla-skills .nes-table-responsive {
    max-width: 900px;
}

/* ===========================================
   HEADER RESPONSIVE
=========================================== */


@media (max-width: 768px) {

    .menu-principal {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px;
    }

    .menu-links {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .menu-links li {
        width: calc(50% - 12px);
    }

    .menu-links a {
        font-size: 10px;
        margin-right: 0;
        display: block;
    }

}

/* ===========================================
   ACTIVIDAD EN LÍNEA
=========================================== */

.actividad-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    margin-top: 40px;
}

.actividad-columna-derecha {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.actividad-card {
    padding: 25px;
}

.video-short {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9/16;
    margin: 20px auto;
}

.video-short iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.comentario-instagram {
    background: #fff;
    border: 3px solid #222;
    padding: 18px;
    margin-bottom: 20px;
    font-family: 'Patrick Hand', cursive;
    font-size: 2.2rem;
}

.comentario-instagram p {
    margin-bottom: 10px;
}

.comentario-instagram span {
    display: block;
    text-align: right;
    color: #e91e63;
    font-size: 1.8rem;
}

.github-proyecto {

    border-top: 2px dashed #999;
    padding-top: 18px;
    margin-top: 18px;

}

.github-proyecto:first-child {

    border-top: none;
    padding-top: 0;
    margin-top: 0;

}

.github-proyecto h3 {

    margin-bottom: 8px;
    font-family: 'Patrick Hand', cursive;
    font-size: 2.6rem;

}

.github-proyecto p {

    margin-bottom: 15px;
    font-size: 1.8rem;

}

.github-proyecto .nes-btn {

    width: 100%;

}

@media(max-width:992px) {

    .actividad-grid {

        grid-template-columns: 1fr;

    }

}

/* ===========================================
   CIERRE DE PORTFOLIO
=========================================== */

.cierre-portfolio {
    padding: 100px 8%;
    text-align: center;
    background: #111;
}

.botones-cierre {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* ===========================================
   FOOTER
=========================================== */

footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
}