

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}


/* Barra de navegaciones */
.cabecera {
    width: 100%;
    height: 80px;
    background-color: chocolate;
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    z-index: 100;
}
#menu_bar {
    display: none;
}

.boton-ingreso-movil {
    display: none;
}

.barra-navegacion label {
    display: none;
    cursor: pointer;
    font-size: 24px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
}

.barra-navegacion {
    position: relative;
    height: 80px;
    width: 100%;
    margin: auto;
}

.logo {
    position: absolute;
    left: 10px;
    padding-top: 10px;
    padding: 0%;
}

.logo img {
    width: 90px;
}


/* Botones del menu */
.botones-menu {
    padding-top: 20px;
    position: relative;
    left: 10%;
    display: block;
}


.boton-ingreso {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
}


.boton {
    background-color: black;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 5px;
    display: inline-block;
}

.boton:hover {
    background-color: #333;
    padding: 11px 21px;
}


.boton i {
    margin-right: 8px;
}


/* Pagina Inicio */
#seccion-inicio {
    position: relative;
    text-align: center;
    background-color: black;

}

.imagen-principal {
    margin-top: 5%;
    width: 100%;
    height: 100%;
}

.contenido-inicio {
    padding: 35px 15px;
    background-color: #f4f4f439;
    position: absolute;
    top: 200px;
    left: 55%;
}

.contenido-inicio h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #000000;
}

.contenido-inicio p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #000000;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.botones-inicio {
    text-align: center;
}

.boton-negro {
    background-color: black;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    margin: 5px;
}

.boton-negro:hover {
    background-color: #333;
    padding: 15px 32px;
}

.boton-amarillo {
    background-color: rgba(238, 185, 12, 0.7);
    color: black;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    margin: 5px;
}

.boton-amarillo:hover {
    background-color: rgba(238, 185, 12, 0.9);
    padding: 15px 32px;
}


.boton-negro i,
.boton-amarillo i {
    margin-right: 8px;
}


/* Pagina Actualizaciones */
#pagina-actualizaciones {
    padding: 40px 20px;
    background-color: #f4f4f4;
}


.imagen-banner {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}

.imagen-banner img {
    width: 100%;
    max-height: 400px;
}


.imagen-banner h1 {
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 48px;
    text-shadow: 2px 2px 4px black;
}

.caja-noticias {
    text-align: center;
}

.tarjeta-noticia {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    text-align: center;
    display: inline-block;
    margin: 10px;
    vertical-align: top;
    transition: transform 0.8s ease;
}
.tarjeta-noticia:hover{
    transform: rotateY(180deg);
    background-color: #333;
}

.tarjeta-noticia img {
    width: 100%;
    height: 200px;
    border-radius: 5px;
}

.tarjeta-noticia h3 {
    margin: 15px 0 10px;
    color: #333;
}

.tarjeta-noticia p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.boton-ver {
    background-color: black;
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.boton-ver:hover {
    background-color: #333;
}


/* Pagina Ingreso */
#pagina-ingreso {
    position: relative;
    min-height: 600px;
}

.titulo-ingreso {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    margin: 0;
    font-size: 32px;
}


.caja-ingreso {
    position: relative;
    width: 100%;
    height: 600px;
}


.fondo-ingreso {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.fondo-ingreso img {
    width: 100%;
    height: 100%;
}

.caja-formulario {
    position: absolute;
    top: 150px;
    right: 180px;
    background-color: rgba(255, 255, 255, 0.133);
    padding: 40px;
    border-radius: 15px;
    width: 350px;
}

.formulario-ingreso {
    text-align: center;
}

.formulario-ingreso input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background-color: #f5f5f5;
}

.boton-verde {
    width: 250px;
    background-color: #00b300;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    margin: 0 auto 15px;
    display: block;
}

.boton-verde:hover {
    background-color: #009900;
    width: 280px;
}

.texto-codigo {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin: 10px 0;
}


/* Pagina Juego */
#pagina-juego {
    padding-top: 80px;
    background-color: #f4f4f4;
}

.banner-juego {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}

.banner-juego img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.banner-juego h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 48px;
    text-shadow: 2px 2px 6px black;
}

.caja-clases {
    text-align: center;
    padding: 20px;
}

.tarjeta-clase {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 200px;
    text-align: center;
    display: inline-block;
    margin: 10px;
    vertical-align: top;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-clase:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.tarjeta-clase img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.tarjeta-clase h3 {
    margin: 12px 0 6px;
    color: #333;
    font-size: 16px;
}

.tarjeta-clase p {
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
}

.proximamente {
    text-align: center;
    padding: 30px 20px;
    background-color: chocolate;
    color: white;
    font-size: 22px;
}

.proximamente h2 {
    color: white;
}


/* Pagina Registro */
#pagina-registro {
    padding-top: 80px;
}

.caja-registro {
    position: relative;
    width: 100%;
    min-height: 600px;
}

.fondo-registro {
    width: 100%;
    min-height: 600px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    background-color: #f4f4f4;
}

.caja-formulario-registro {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    width: 420px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.titulo-registro {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
    font-size: 26px;
}

.formulario-registro {
    text-align: center;
}

.formulario-registro input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background-color: #f5f5f5;
    box-sizing: border-box;
}


/* Pie de Pagina */
.pie-pagina {
    background-color: black;
    color: white;
    padding: 40px 20px 20px;
}

.seccion-redes {
    text-align: center;
    padding: 20px 0;
    background-color: rgba(240, 248, 255, 0.1);
    margin-bottom: 30px;
}

.seccion-redes h2 {
    margin-bottom: 15px;
}

.iconos-redes {
    text-align: center;
}

.iconos-redes img {
    width: 30px;
    height: 30px;
    margin: 0 7px;
}

.iconos-redes img:hover{
    height: 40px;
    width: 40px;
}

.info-footer {
    text-align: center;
    margin-bottom: 30px;
}

.contacto {
    margin-bottom: 20px;
}

.contacto p {
    margin: 10px 0;
}

.columnas-enlaces {
    text-align: center;
}

.columna {
    display: inline-block;
    margin: 0 30px;
    vertical-align: top;
}

.columna h3 {
    margin-bottom: 10px;
    color: white;
}

.columna a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 5px 0;
}

.columna a:hover {
    color: white;
}

.derechos {
    text-align: center;
    padding: 20px 0;
    background-color: rgba(240, 248, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.derechos p {
    color: rgba(255, 255, 255, 0.7);
}


/* Responsive */
@media (max-width: 500px) {


    .barra-navegacion label {
        display: block;
        left: 85%;
    }


    .boton-ingreso {
        display: none;
    }


    .boton-ingreso-movil {
        display: block;
        margin: 5px 0;
        width: 100%;
        text-align: center;
        background-color: black;
        color: white;
        padding: 10px 20px;
        text-decoration: none;
        border-radius: 5px;
        box-sizing: border-box;
    }

    .boton-ingreso-movil:hover {
        background-color: #333;
    }


    .botones-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: chocolate;
        padding: 10px;
        z-index: 99;
    }

    #menu_bar:checked ~ .botones-menu {
        display: block;
    }


    .botones-menu .boton {
        display: block;
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }

    .boton-negro,
    .boton-amarillo {
        display: block;
        width: 80%;
        margin: 8px auto;
        text-align: center;
        box-sizing: border-box;
    }

    .imagen-banner h1 {
        font-size: 28px;
        top: 100px;
    }


    .caja-formulario {
        position: absolute;
        top: auto;
        right: auto;
        width: 90%;
        margin: 20px auto;
        padding: 25px;
    }

    .caja-ingreso {
        height: auto;
        padding-bottom: 20px;
    }


    .caja-formulario-registro {
        width: 95%;
        padding: 25px 15px;
    }

    #seccion-inicio .imagen-principal {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
        margin-top: 80px;
    }
    #seccion-inicio{
        background-color: white;
    }

    .fondo-ingreso img{
        display: block;
        width: 100%;
        height: 530px;
        object-fit: cover;
    }

    .contenido-inicio {
        position: relative;
        top: auto;
        padding: 30px 15px;
        left: auto;
        width: 90%;
        margin: 20px auto;
    }

    .contenido-inicio h1 {
        font-size: 26px;
    }

    .contenido-inicio p {
        font-size: 15px;
    }

    #pagina-ingreso {
    min-height: 600px;
    margin-top: 0;
    }

}
