* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

/* Colores
crema #eee3d3
naranja #faad15
negro #030304
rojo #ff0002
rosa #fc97ab
verde #accea7
salmon #fc684f
crema rosa #ffecef
gris claro #e0e0e0
*/


body {
    background-color: #eee3d3;
    font-family: 'Poppins', sans-serif;
    height: 100%;
}







/*Boton Menu*/
/*-----------------------------------------------------*/
*,
*:before,
*:after {
    box-sizing: inherit;
}

header ul,
menu,
dir {
    margin-block-end: 0;
    margin-block-start: 0;
    padding-inline-start: 0;
    -webkit-padding-start: 0;
}

a {
    text-decoration: none;
    color: #1e1e25;
}


:root {
    --maxSiteWidth: 1080px;
}

header {
    display: flex;
    flex-flow: row nowrap;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    margin: 0 auto 0 auto;
    position: fixed;
    background-color: #faad15;
    padding-bottom: 1em;
    box-shadow: 0em 0em .5em rgba(0, 0, 0, 0.288);
}

#logo img {
    padding: .5em 1em;
    width: 13em;
}

/*  MAIN MENU MOBILE FIRST
/*-------------------------------------------------------*/
nav {
    flex: 1 auto;
}

.mainMenu {
    position: fixed;
    top: 1em;
    left: 0;
    right: 0;
    margin: 80px auto 0 auto;
    height: 90%;
    /**hack for opera mini**/
    height: calc(100% - 79px);
    width: 100%;
    flex-flow: column nowrap;
    align-content: stretch;
    display: none;
}

.mainMenu a {
    flex: 1;
    width: 100%;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    display: flex;
    background: transparent;
    color: #1e1e25;
}

.mainMenu>li {
    flex: 1;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    text-align: center;
    border-bottom: 1px dotted rgba(22, 22, 22, .3);
    background: #accea7;
}

/*   MAIN MENU TOGGLE BUTTON
  /*-----------------------------------------------------*/
/*Hide checkbox*/
#show-menu-input-checkbox {
    display: none;
}


/*Show menu when invisible checkbox is checked*/
#show-menu-input-checkbox:checked~.mainMenu {
    display: flex;
}

#main-menu-toggler {
    width: 2em;
    height: 3em;
    position: fixed;
    top: 0;
    right: 0;
    padding: 1em;
    display: flex;
    justify-content: center;
    align-items: center;

}

#main-menu-toggler-icon:after,
#main-menu-toggler-icon:before {
    content: "";
    position: absolute;
    left: 0;
    top: -9px;
}

#main-menu-toggler-icon:after {
    top: 9px;
}

#main-menu-toggler-icon {
    position: relative;
    display: block;
}

#main-menu-toggler-icon,
#main-menu-toggler-icon:after,
#main-menu-toggler-icon:before {
    width: 100%;
    height: 5px;
    background-color: #faeee2;
    transition: all 0.3s;
    backface-visibility: hidden;
    border-radius: 2px;
}

/* on menu activation */
#show-menu-input-checkbox:checked~#main-menu-toggler>#main-menu-toggler-icon {
    background-color: transparent;
}

#show-menu-input-checkbox:checked~#main-menu-toggler>#main-menu-toggler-icon:before {
    transform: rotate(45deg) translate(5px, 5px);
}

#show-menu-input-checkbox:checked~#main-menu-toggler>#main-menu-toggler-icon:after {
    transform: rotate(-45deg) translate(7px, -8px);
}












/* Presentación
/*-----------------------------------------------------*/
.main_index {
    margin: 2em 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6em 1em 1em;
}

.main_index img {
    width: 8em;
}

.main_index h1 {
    font-size: 1.8em;
    color: #1e1e25;
}

.main_index p {
    font-size: 1.3em;
    color: #1e1e25;
}










/* Punteo - Carrousel
/*-----------------------------------------------------*/

article {
    margin: 2em 3em;
}



.carrousel {
    width: 100%;
}

.conteCarrousel {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.itemCarrousel {
    position: static;
    width: 100%;
    height: 100%;
}

.itemCarrouselTarjeta {
    width: 100%;
    height: 100%;
}

.itemCarrouselArrows {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

.itemCarrouselArrows>i:hover {
    cursor: pointer;
}

#itemCarrousel-1 {
    padding: 1em 0em;
    color: #fc684f;
    font-weight: bold;
    font-style: italic;
    font-size: 1.2em;
    text-align: center;
}

#itemCarrousel-2 {
    padding: 1em 0;
    color: #fc684f;
    font-weight: bold;
    font-style: italic;
    font-size: 1.2em;
    text-align: center;
}

#itemCarrousel-3 {
    padding: 1em 0;
    color: #fc684f;
    font-weight: bold;
    font-style: italic;
    font-size: 1.2em;
    text-align: center;
}

.conteCarrouselController {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}

.conteCarrouselController>a {
    text-decoration: none;
    font-size: 1em;
    color: grey;
}

.itemCarrouselTarjeta {
    font-size: 1em;
}










/* Carpetas - Unidades
/*-----------------------------------------------------*/
.unidades_index {
    margin: 2em;
}

.unidades_index img {
    width: 15em;
}

.unidades_index ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5em;
}



aside {
    margin: 2em;
}

aside li {
    padding: 1em;
}

aside h2 {
    font-size: 1.8em;
}

aside h3 {
    font-size: 1.5em;
}

aside p {
    font-style: italic;
    font-size: 1em;
}

aside span {
    font-weight: normal;
    font-size: 1.2em;
}

aside div {
    text-align: center;
}

aside div img {
    width: 18em;
}














/* Frame - Video
/*-----------------------------------------------------*/
iframe {
    width: 80vw;
    aspect-ratio: 16/9;
    padding: 5em 0em;
}













/* Unidad - Pagina
/*-----------------------------------------------------*/
.unidad_section {
    padding-top: 8em;
}

.unidad_section h2 {
    font-size: 1.2em;
    padding-left: 1em;
    padding-bottom: 1em;
    font-weight: bold;
}

.unidad_section h3 {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    padding: 0em;

}

.unidad_section figure {
    padding: 0 2em;
}

.unidad_section li img {
    width: 100%;
    border-radius: 1em;
}

.unidad_section li figcaption {
    font-size: 0.8em;
}


.unidad_section li p {
    padding: 2em;
    font-size: 1em;
}

.unidad_section b {
    font-size: 1.2em;
}

.cajita {
    background-color: #faad15;
    padding: 1em
}


.unidad_section h4 {
    font-weight: normal;
    padding: 2em;

}

.enviar {
    font-size: 1em;
    padding: 0 .6em;
    color: #030304;
    background-color: #fc97ab;
    border: solid #fc97ab;
    border-radius: 30em;
    font-weight: normal;
}

.aside_unidad {
    text-align: center;
}

.aside_unidad img {
    width: 20em;
}

.aside_unidad ul {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 2.0em 0;
}

.aside_unidad ul a {
    font-size: 1.3em;
    padding: 0 .5em;
    color: #030304;
    background-color: #faad15;
    border: solid #faad15;
    border-radius: 30em;
    font-weight: normal;
    font-style: italic;
}

.aside_unidad ul li img {
    width: 13%;
}











/* Perfil
/*-----------------------------------------------------*/
.estado_section {
    margin: 1em;
}

.mi_perfil {
    background-color: #cadfc7;
}

.estado_section .nombre {
    padding: 8em 0em 2em;
}

.estado_section div {
    text-align: center;
    padding: 2em 1em 2em;
}

.estado_section img {
    width: 8em;
}

.estado_section ul li {
    font-size: 1.3em;
    padding: 1em 1em;
    font-weight: bold;
}


.progreso_img ul li {
    display: inline;
}

.estado_section .progreso {
    background-color: #eee3d3;
    border-radius: 1em 1em 0em 0em;
}

.progreso_img img {
    width: 30%;
}

.estado_section .notas {
    background-color: #f8a6b6;
}

.estado_section .notas div {
    padding: 1em 0em 1em 0em;
    border-radius: 2em;
    font-weight: normal;
}

.estado_section .notas h4 {
    font-style: italic;
    font-weight: 550;
}

.notas .notas_unidad {
    text-align: start;
}




/* Ranking
/*-----------------------------------------------------*/

.ranking_main {
    margin-top: 8em;
    padding: 0 1em;

}

.ranking_main h2 {
    color: #fc684f;
    font-size: 1.8em;
    text-align: center;
}

.ranking_main span {
    font-size: 1.8em;
    color: #fc684f;
    font-weight: bold;
    font-style: italic;
}

.ranking_main li {
    background-color: #f8a6b6;
    padding: .4em;
    display: flex;
    align-items: center;
    margin: 1em 0;
    border-radius: .5em;
    gap: .4em;
    font-size: 1em;
}

.ranking_main li img {
    width: 4em;
}

.ranking_main p {
    font-size: .6em;
}








/* Unidades
/*-----------------------------------------------------*/
.unidades {
    background-color: #8093d6;
}

.unidades h2 {

    padding: .5em;
}

.contenedor_unidades {
    margin: 2em;
    padding-top: 6em;
}

.contenedor_unidades img {
    width: 10em;
}

.contenedor_unidades ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5em;
}

.contenedor_unidades h2 {
    color: #faad15;
    font-size: 2em;
    text-align: center;
}

/* Foro
/*-----------------------------------------------------*/


.foro_section {
    margin-top: 8em;
}

.foro_section h2 {
    color:#5b6fb8;;
    font-size: 2em;
    text-align: center;
}

.tabla li {
    color: #1e1e25;
    font-size: 1em;
    background-color: #8093d6;
    border-radius: 1em;
    margin-bottom: 1em;
    text-align: start;
}

.tabla p {
    font-weight: normal;
    font-size: .8em;
    color: #faeee2;
}


.foro_section div {
    text-align: center;
    padding: 2em 1em 2em;
}

.foro_section ul li {
    font-size: 1.3em;
    padding: 1em 1em;
    font-weight: bold;
}

/* Popup - Mensaje Emergente
/*-----------------------------------------------------*/
.popup {
    background-color: #3d3d4d75;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    display: flex;
    position: fixed;
    z-index: 999;
}

.popup .content {
    background: #faad15;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(33, 41, 52, .75);
    box-sizing: content-box;
    display: flex;
    flex-direction: column;
    margin: auto;
    max-width: 20px;
    min-width: 320px;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 2rem;
    font-size: 1.3rem;
}

.popup .content a {
    background-color: #ffffff63;
    border-radius: 5em;
    padding: 0 .5em;
    color: #030304;
}

.content div {
    text-align: center;
}



/* Unidad Bloqueada */
.popup_bloq {
    background-color: #030304be;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    display: flex;
    position: fixed;
    z-index: 999;
}

.popup_bloq .content {
    background: #fc684f;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(33, 41, 52, .75);
    box-sizing: content-box;
    display: flex;
    flex-direction: column;
    margin: auto;
    max-width: 20px;
    min-width: 320px;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 2rem;
    font-size: 1.3rem;
}

.popup_bloq .content a {
    background-color: #ffffff63;
    border-radius: 5em;
    padding: 0 1em;
    color: #030304;
}



/* Popup - Enviado/Trivia */
.popup_exito {
    background-color: #030304be;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    display: flex;
    position: fixed;
    z-index: 999;
}

.popup_exito .content {
    background: #faad15;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(33, 41, 52, .75);
    box-sizing: content-box;
    display: flex;
    flex-direction: column;
    margin: auto;
    max-width: 20px;
    min-width: 320px;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 2rem;
    font-size: 1rem;
}

.popup_exito .content a {
    background-color: #ffffff63;
    border-radius: 5em;
    padding: 0 1em;
    color: #030304;
}










/* Secciones / Trivia
/* Secciones
/*-----------------------------------------------------*/
.unidad_section form {
    padding: 0em 2em;
}

.unidad_section form p {
    padding: 0.5em 1em;
    background-color: #accea7;
    border-radius: 1em;
}

.question {
    font-size: 1.3em;
    margin-bottom: 10px;
    padding: 1em 2em;
}

.answers {
    margin-bottom: 20px;
    text-align: left;
    display: inline-block;
    padding: 0em 2em;
}

.answers label {
    display: block;
    margin-bottom: 10px;
}

button {
    font-size: 22px;
    background-color: #8093d6;
    color: #fff;
    border: 0px;
    border-radius: 0.5em;
    padding: 20px;
    cursor: pointer;
    margin-bottom: 20px;
}

.botones {
    text-align: center;
}

.trivia h1 {
    text-align: center;
    font-size: 2em;
}

button:hover {
    background-color: #8093d6;
}

.slide {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s;
}

.active-slide {
    opacity: 1;
    z-index: 2;
}

.quiz-container {
    position: relative;
    height: 200px;
    margin-top: 40px;
    padding-bottom: 10em;
}














/* Footer
/*-----------------------------------------------------*/
footer {
    background-color: #accea7;
    font-size: .8em;
    padding: 1em;
    margin: 0;
    position: absolute bottom;
    
}

.header_unidad {
    background-color: #faad15;
}

footer {
    margin-top: 4em;
}
footer div {
    width: 100%;

}

footer .primer_div {
    display: flex;
    align-items: start;

}
footer p {
    font-size: 1.1em;
}
.contenidos {
    font-style: italic;
    font-weight: bold;
    text-align: start;
    font-size: .8em;
}
footer .acumar {
    width: 15em;

}
footer .fadu {
    width: 10em;
    border-radius: 1em;

}

.aside_unidad .botones_unidad li {
    border-radius: 1em;
    font-size: 1em;
    background-color: #faad15;
 
}
.aside_unidad .botones_unidad li img {
    width: .7em;
    padding: 0 .5em;
    
}

/* vista escritorio */
/*-----------------------------------------------------*/
@media (min-width: 60em) {

    body {
        margin: 0;
        padding: 0;
    }

    #main-menu-toggler {
        display: none;
    }

    header {
        padding-bottom: 2em;
    }

    .mainMenu {
        position: initial;
        display: flex;
        flex-flow: row nowrap;
        flex-direction: row;
        height: 80px;
        margin-top: 1em;
    }

    .mainMenu>li {
        flex: 1 0 auto;
        border-bottom: none;
        background: transparent;
        align-items: initial;
    }

    .mainMenu a {
        font-size: 22px;
        width: auto;
        padding-left: 16px;
    }

    #logo img {
        width: 16em;
        padding-top: .4em;
        padding-left: 4em;
    }




    .ranking_main ul {
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 4em;


    }

    .ranking_main {
        margin-top: 10em;
        padding: 0 1em;
    }

    .ranking_main h2 {
        color: #fc684f;
        font-size: 1.8em;
        text-align: center;
    }

    .ranking_main span {
        font-size: 3em;
        color: #fc684f;
        font-weight: bold;
        font-style: italic;
    }


    .ranking_main li {
        background-color: #f8a6b6;
        display: flex;
        align-items: center;
        margin: 0 .5em;
        border-radius: .5em;
        gap: 1em;
        font-size: 1.4em;
    }

    .ranking_main li img {
        width: 5em;
    }

    .ranking_main p {
        font-size: .6em;
    }




    .foro_section h2 {
        font-size: 2em;
        text-align: center;
        color: #5b6fb8;

    }










    .main_index {
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 14em 18em 8em 18em;
    }

    .main_index div h1 {
        font-size: 4em;
    }

    .main_index div p {
        font-size: 2em;
    }

    .main_index div img {
        width: 18em;
    }



    article {
        padding: 2em 12em;
    }


    article ul {
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 3em;
    }

    .itemCarrouselTarjeta {
        font-size: 2em;
    }




    .unidades_index {
        background-color: #fc97ab;
        padding: 3em;
        margin: 0;
    }

    aside {
        padding: 2em 12em;
    }

    aside div img {
        width: 20em;
    }

    aside h2 {
        font-size: 3em;
        text-align: center;
        padding: .8em 1em;
    }

    aside ul h3 {
        font-size: 1.5em;
    }

    aside ul {
        display: flex;
        align-items: start;
        justify-content: center;
    }

    .mi_perfil {
        background-color: #cadfc7;

    }

    .unidades {
        background-color: #8093d6;
    }

    .contenedor_unidades h2 {
        font-size: 2em;
        text-align: center;
        color: #ffaa00;
    }

    .contenedor_unidades img {
        width: 15em;
    }

    .estado_section div {
        padding: 2em 0;
        display: block;
        text-align: center;
    }

    .estado_section img {
        width: 8em;
    }

    .estado_section h3 {
        font-size: 2em;
    }

    .notas .notas_unidad {
        text-align: start;
        font-size: .8em;
    }

    .progreso_img img {
        width: 4em;

    }

    .foro_div {
        display: block;
        text-align: center;
    }

    .foro_div button {
        background-color: #accea7;
        color: #030304;
        font-size: .8em;
        font-family: 'Poppins';
        padding: 0 1em;
        font-weight: bold;
        border-radius: 2em;
    }

    .foro_div input {
        width: 60em;
        background-color: #accea7;
    }




}