* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #EDE5D1;
    color: #161616;
    line-height: 1.6;
}

.barra-navegacion {
    background-color: #161616;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.contenedor-navegacion {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-navegacion img {
    max-width: 8rem;
    height: auto;
}

.enlaces-navegacion {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.enlaces-navegacion li a {
    color: #EDE5D1;
    text-decoration: none;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.enlaces-navegacion li a:hover {
    background-color: #328D5B;
}

.boton-hamburguesa {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.boton-hamburguesa span {
    width: 25px;
    height: 3px;
    background-color: #EDE5D1;
    margin: 3px 0;
}

.checkbox-navegacion {
    display: none;
}

.contenido-principal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.seccion-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.seccion-hero h2 {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    color: #328D5B;
    margin-bottom: 2rem;
    font-weight: bold;
}

.texto-contenido {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.texto-contenido p {
    margin-bottom: 1.5rem;
}

.texto-contenido strong {
    color: #DF3838;
    font-weight: bold;
}


.texto-bienvenido{
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
    text-align: center;
}



.resaltador{
    background-color: red;
    padding: 0.6rem;
    margin-bottom: 1.2rem;
}

.contenedor-video {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
}

.video-index {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 2px solid #328D5B;
}

.contenido-academia{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contenido-academia img{
    max-width: 20rem;
    height: auto;
}

.seccion-interactiva {
    margin-top: 3rem;
}

.seccion-interactiva h3 {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: #328D5B;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: bold;
}

.contenedor-grilla {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.checkbox-modal {
    display: none;
}

.elemento-grilla {
    cursor: pointer;
    position: relative;
}

.elemento-grilla:hover {
    transform: scale(1.05);
}

.imagen-grilla {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid #328D5B;
}

.ventana-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 22, 22, 0.8);
    backdrop-filter: blur(5px);
}

.contenido-modal {
    background-color: #C6C6F8;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.boton-cerrar {
    color: #161616;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    text-decoration: none;
}

.boton-cerrar:hover {
    color: #DF3838;
}

.cuerpo-modal h3 {
    font-family: 'Courier New', monospace;
    color: #161616;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.cuerpo-modal p {
    color: #161616;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cuerpo-modal em {
    color: #DF3838;
    font-style: italic;
}

.checkbox-modal:checked + .ventana-modal {
    display: block;
}

.pie-pagina {
    background-color: #328D5B;
    color: #EDE5D1;
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 3rem;
}

.pie-pagina p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .enlaces-navegacion {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #161616;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
    }

    .checkbox-navegacion:checked ~ .barra-navegacion .enlaces-navegacion {
        left: 0;
    }

    .enlaces-navegacion li {
        margin: 1rem 0;
    }

    .boton-hamburguesa {
        display: flex;
    }

    .checkbox-navegacion:checked ~ .barra-navegacion .boton-hamburguesa span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .checkbox-navegacion:checked ~ .barra-navegacion .boton-hamburguesa span:nth-child(2) {
        opacity: 0;
    }

    .checkbox-navegacion:checked ~ .barra-navegacion .boton-hamburguesa span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .seccion-hero h2 {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .texto-contenido {
        font-size: 1rem;
    }

    .contenedor-grilla {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .imagen-grilla {
        height: 120px;
    }

    .contenido-modal {
        margin: 20% auto;
        padding: 1.5rem;
        width: 95%;
    }

    .cuerpo-modal h3 {
        font-size: 1.1rem;
    }

    .cuerpo-modal p {
        font-size: 0.9rem;
    }

    .contenido-principal {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-navegacion h1 {
        font-size: 1.4rem;
    }

    .seccion-hero h2 {
        font-size: 1.3rem;
    }

    .seccion-interactiva h3 {
        font-size: 1.2rem;
    }

    .imagen-grilla {
        height: 100px;
    }

    .contenido-modal {
        margin: 30% auto;
        padding: 1rem;
    }
}* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #EDE5D1;
    color: #161616;
    line-height: 1.6;
}

.barra-navegacion {
    background-color: #161616;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.contenedor-navegacion {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-navegacion h1 {
    color: #EDE5D1;
    font-size: 1.8rem;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.enlaces-navegacion {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.enlaces-navegacion li a {
    color: #EDE5D1;
    text-decoration: none;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.enlaces-navegacion li a:hover {
    background-color: #328D5B;
}

.boton-hamburguesa {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.boton-hamburguesa span {
    width: 25px;
    height: 3px;
    background-color: #EDE5D1;
    margin: 3px 0;
}

.checkbox-navegacion {
    display: none;
}

.contenido-principal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.seccion-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.seccion-hero h2 {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    color: #328D5B;
    margin-bottom: 2rem;
    font-weight: bold;
}

.texto-contenido {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.texto-contenido p {
    margin-bottom: 1.5rem;
}

.texto-contenido strong {
    color: #DF3838;
    font-weight: bold;
}

.seccion-interactiva {
    margin-top: 3rem;
}

.seccion-interactiva h3 {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: #328D5B;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: bold;
}

.contenedor-grilla {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.checkbox-modal {
    display: none;
}

.elemento-grilla {
    cursor: pointer;
    position: relative;
    background-color: #C6C6F8;
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.elemento-grilla:hover {
    transform: scale(1.05);
}

.imagen-grilla {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid #328D5B;
    margin-bottom: 1rem;
}

.titulo-articulo {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    color: #161616;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.resumen-articulo {
    color: #161616;
    font-size: 0.9rem;
    line-height: 1.4;
}

.ventana-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 22, 22, 0.8);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.contenido-modal {
    background-color: #C6C6F8;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.boton-cerrar {
    color: #161616;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    text-decoration: none;
}

.boton-cerrar:hover {
    color: #DF3838;
}

.cuerpo-modal h3 {
    font-family: 'Courier New', monospace;
    color: #161616;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.cuerpo-modal p {
    color: #161616;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cuerpo-modal em {
    color: #DF3838;
    font-style: italic;
}

.cuerpo-modal strong {
    color: #DF3838;
    font-weight: bold;
}

.fuentes-modal {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid #328D5B;
}

.fuentes-modal h4 {
    font-family: 'Courier New', monospace;
    color: #328D5B;
    margin-bottom: 1rem;
}

.fuentes-modal ul {
    list-style: none;
    padding: 0;
}

.fuentes-modal li {
    margin-bottom: 0.5rem;
}

.fuentes-modal a {
    color: #328D5B;
    text-decoration: none;
}

.fuentes-modal a:hover {
    text-decoration: underline;
}

.checkbox-modal:checked + .ventana-modal {
    display: block;
}

.pie-pagina {
    background-color: #328D5B;
    color: #EDE5D1;
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 3rem;
}

.pie-pagina p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .enlaces-navegacion {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #161616;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
    }

    .checkbox-navegacion:checked ~ .barra-navegacion .enlaces-navegacion {
        left: 0;
    }

    .enlaces-navegacion li {
        margin: 1rem 0;
    }

    .boton-hamburguesa {
        display: flex;
    }

    .checkbox-navegacion:checked ~ .barra-navegacion .boton-hamburguesa span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .checkbox-navegacion:checked ~ .barra-navegacion .boton-hamburguesa span:nth-child(2) {
        opacity: 0;
    }

    .checkbox-navegacion:checked ~ .barra-navegacion .boton-hamburguesa span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .seccion-hero h2 {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .texto-contenido {
        font-size: 1rem;
    }

    .contenedor-grilla {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .imagen-grilla {
        height: 150px;
    }

    .contenido-modal {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }

    .cuerpo-modal h3 {
        font-size: 1.2rem;
    }

    .cuerpo-modal p {
        font-size: 0.9rem;
    }

    .contenido-principal {
        padding: 1rem;
    }
}resaltado {
    background-color: rgb(234, 255, 46);    
}
h2 {
    color: rgb(33, 33, 33);
    font-size: 30px;
    font-family: roboto, monospace;
    text-align: center;
    font-style: italic;
}
.articulo-1 {
    background-color:rgb(198, 198, 248);
    color: rgb(33, 33, 33);
    font-size: 20px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: [row1-start] 25% , auto;
    grid-template-areas: header main footer;
    gap: 1rem;
    justify-content: center;
    margin: 50px auto;
    padding: 15px;
}
figure img {
    width: 100%;
    height: auto;
    padding: 0%;
}
.autor-1 {
    font-weight: bold;
}
.articulo-2 {
    background-color:rgb(198, 198, 248);
    color: rgb(33, 33, 33);
    font-size: 20px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: [row1-start] 25% , auto;
    grid-template-areas: header main footer;
    gap: 1rem;
    justify-content: center;
    margin: 50px auto;
    padding: 15px;
}
.articulo-3 {
    background-color:rgb(198, 198, 248);
    color: rgb(33, 33, 33);
    font-size: 20px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: [row1-start] 25% , auto;
    grid-template-areas: header main footer;
    gap: 1rem;
    justify-content: center;
    margin: 50px auto;
    padding: 15px;
}
.articulo-4 {
    background-color:rgb(198, 198, 248);
    color: rgb(33, 33, 33);
    font-size: 20px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: [row1-start] 25% , auto;
    grid-template-areas: header main footer;
    gap: 1rem;
    justify-content: center;
    margin: 50px auto;
    padding: 15px;
}
.parrafo-1 {
    margin: auto;
}
a {
    color: rgb(239, 239, 239);
    text-decoration: none;
    font-family: monospace;
}



aca empieza lo mio leoooo
.juegos { background-color: #161616;

}


/* Configuración del body */
.pantallanivel2{
    background-color: #000000;
}
.pp2{background-color: #328D5B;}
.pp{background-color: #B33333;}

body {
    font-family: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Clase específica para páginas de juegos */
.juegos {
    background-color: #1a1a1a;
}

/* Contenido principal */
.contenido.principal {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
}

/* Texto de bienvenida */
.bienvenida {
    font-family: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 50px;
    color: #ffffff;
    text-align: center;
}

/* Pregunta principal */
.pregunta-principal {
    font-family: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 60px;
    max-width: 600px;
    color: #ffffff;
    text-align: center;
    letter-spacing: 1px;

}

/* Container de botones */
.botones-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 400px;
}

/* Estilos de botones */
.boton {
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    font-family: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    letter-spacing: 1px;
}

.boton-primario {
    background-color: #EDE5D1;
    color: #2a2a2a;
}

.boton-primario:hover {
    background-color: #000000;
color: white;

}

.boton-secundario {
    background-color: #6a6a6a;
    color: #000000;
}




/* Indicadores de nivel */
.nivel-indicador {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    font-weight: normal;
    font-family: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    letter-spacing: 1px;
}

.boton-secundario .nivel-indicador {
    color: #ccc;
}




    .bienvenida {
        font-size: 20px;
        letter-spacing: 2px;
    }
    
    .pregunta-principal {
        font-size: 16px;
    }
    
    .boton {
        padding: 16px 30px;
        font-size: 14px;
    }
    
    .contenido.principal {
        padding: 30px 15px;
    }


    * {
        margin: 0;
        padding: 0;

    }
    
 
    .container {
        max-width: 400px;
        width: 100%;
        text-align: center;
    }
    
    .nivel {
        font-size: 14px;
        font-weight: bold;
        letter-spacing: 2px;
        margin-bottom: 30px;
        color: #333;
    }
    
    .pregunta {
        font-size: 18px;
        font-weight: bold;
        letter-spacing: 1px;
        margin-bottom: 20px;
        line-height: 1.4;
        color: #2c2c2c;
    }
    
    .contador {
        font-size: 12px;
        color: #666;
        margin-bottom: 20px;
    }
    
    .noticia {
        background-color: #2c2c2c;
        color: #f0e8d8;
        padding: 20px;
        margin-bottom: 30px;
        font-size: 14px;
        line-height: 1.4;
        border-radius: 2px;
        text-align: center;
    }
    
    .botones {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .boton {
        background-color: #f0e8d8;
        border: 3px solid #2c2c2c;
        color: #2c2c2c;
        padding: 15px 30px;
        font-size: 16px;
        font-weight: bold;
        font-family: 'Courier Prime', monospace;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.2s ease;
        text-transform: uppercase;
    }
    
    .boton:hover {
        background-color: #2c2c2c;
        color: #f0e8d8;
        transform: translateY(-2px);
    }
    
    .boton:active {
        transform: translateY(0);
    }
    
    .pista {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .icono-pista {
        width: 40px;
        height: 40px;
        border: 3px solid #2c2c2c;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 20px;
        font-weight: bold;
        background-color: #000000;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .icono-pista:hover {
        background-color: #2c2c2c;
        color: #f0e8d8;
        transform: scale(1.1);
    }
    
    .texto-pista {
        font-size: 12px;
        font-weight: bold;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: #000000;
    }
    
    .resultado {
        margin-top: 20px;
        padding: 15px;
        border-radius: 5px;
        font-weight: bold;
        font-size: 16px;
        display: none;
    }
    

    .pantalla1main{background-color: white;}
    .pantalla1main2{background-color: rgb(0, 0, 0);}
    h1 {
        font-size: 2.5rem;
        font-weight: bold;
        margin-bottom: 40px;
        letter-spacing: 2px;
    }

    .message-box {
        background-color: #f5f5dc;
        color: #333;
        padding: 25px;
        border-radius: 20px;
        margin-bottom: 30px;
        font-size: 1rem;
        line-height: 1.4;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
        font-weight: normal;
    }

    .continue-btn {
        background-color: #1a1a1a;
        color: white;
        padding: 15px 40px;
        border: none;
        border-radius: 5px;
        font-size: 1rem;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .continue-btn:hover {
        background-color: #333;
    }

    @media (max-width: 480px) {
        h1 {
            font-size: 2rem;
        }
        
        .message-box {
            padding: 20px;
            font-size: 0.9rem;
        }
        
        .continue-btn {
            padding: 12px 30px;
            font-size: 0.9rem;
        }

nivel2
.pantallanivel2   {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    font-family: 'Courier Prime', monospace !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.level {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 50px;
    line-height: 1.4;
    letter-spacing: 1px;
}

.question-counter {
    font-size: 14px;
    margin-bottom: 30px;
    text-align: left;
}

.question-box {
    background-color: #ffffff;
    color: #000000;
    padding: 20px;
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

.options{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-button {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 15px 20px;
    font-family: 'Courier Prime', monospace;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.option-button:hover {
    background-color: #ffffff;
    color: #000000;
}

.option-button:active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    .container {
        max-width: 350px;
    }
    
    .title {
        font-size: 16px;
    }
    
    .question-box {
        font-size: 14px;
        padding: 15px;
    }
    
    .option-button {
        font-size: 14px;
        padding: 12px 15px;
    }
