*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    margin: 0;
    height: 100%;
}

/*////////////////////////////////////////////

/////////// GENERAL CONTAINER ////////////////

////////////////////////////////////////////*/

.container-div {
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    margin: auto;
    display: flex;
    border-radius: 0.5rem;    
    text-align: center;
}

.inner-container-div {
    display: inline-block;
    display: flex;
    align-items: center;
}

.left {
    width: 50%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 3px solid rgba(255, 255, 255, 0.9);
}

.right {
    width: 50%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/*//////////////////////////////////

/////////// RESULTS ////////////////

//////////////////////////////////*/

#bact-to-home-button-holder {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0.5rem;
}



#result-subject-identifier {
    width: 50%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.invisible-div {
    visibility: hidden;
    position: absolute;
    top: -9999px;
}

/*////////////////////////////////////////

/////////// QUIZ ELEMENTS ////////////////

///////////////////////////////////////*/

/*Quiz element 1: hud and progress bar*/

#hud {
    display: flex;
    justify-content: center;
}

#progressBar {
    width: 900px;
    height: 0.8rem;
    border: 0.2rem solid #00308F;
    display: flex;
    border-radius: 5rem;
    margin-bottom: 0.5rem;
}

#progressBarFull {
    height: 100%;
    background-color: #8ecae6;
    width: 0%;
    border-radius: 5rem;
}

/* ¡¡¡¡¡¡¡ QUIZ !!!!!!! */

.quizz-header {
    background-color: #00308F;
    color: #fff;
}

.question-information-section {
    width: 50%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 3px solid #00308F;
}

.question-statement-section {
    width: 50%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.choice-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.choice-btn {
    width: 100%;
    height: 100%;
    padding: 1rem;
    border-bottom: #fff;
    border-left: #fff;
    border-color: #8ecae6;
    border-radius: 5rem;
    display: flex;
    flex-direction: column;
    text-emphasis-color: black;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    animation: aparecer 2s forwards;
}

.choice-image {
    width: 150px;
}

.choice-btn:hover {
    background: gray;
    color: #fff;
    opacity: 0;
    transform: scale(1.05,1.05);
    -webkit-transform:scale(1.05,1.05);
    -moz-transform:scale(1.05,1.05);
    transition: all 0.4s;
}

.choice-btn-selected {
    background: #00308F;
    color: #fff;
    opacity: 0;
    transition: all 0.4s
}

.choiceA {
    grid-area: one;
}

.choiceB {
    grid-area: two;
}

.choiceC {
    grid-area: three;
}

.choiceD {
    grid-area: four;
}

#submit-section {
    width: 100%;
    height: fit-content;
    justify-content: center;
    align-items: center;
    display: flex;
}

.next-btn {
    width: 200px;
    height: 40px;
    font-size: 1rem;
}

.next-btn:hover {
    cursor: pointer;
}

.correct {
    background: aquamarine;
    color: black;
}

.incorrect {
    background: pink;
    color: black;
}

.selected {
    border: 5rem;
    border-color: blue;
    background-color: #fff;
}

@keyframes aparecer {
    0% {
        opacity: 0;
        top: -30px;
    }
    100% {
        opacity: 1;
        top: 0;
    }
}

/*/////////////////////////////////////////////////////

/////////// FIRST PAGE - SELECTOR PAGE ////////////////

/////////////////////////////////////////////////////*/

#corporative-logo {
    width: 180px;
    height: 180px;
    animation: aparecer 2s forwards;
}

.pocket-teach-header {
    color: #fff;
}

.subject-img-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button-container-div {
    width: 100%;
    display: grid;
    justify-content: center;
    grid-template-areas: "lectura   ciencias" "sociales   math";
}

.subject-selector-btn {
    width: 100%;
    height: 100%;
    padding: 1rem;
    background-color: transparent;
    border-bottom: #fff;
    border-left: #fff;
    border-color: #8ecae6;
    border-radius: 5rem;
    display: flex;
    flex-direction: column;
    text-emphasis-color: white;
    color: white;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    animation: aparecer 2s forwards;
}

.subject-selector-btn:hover {
    transform: scale(1.1,1.1);
    -webkit-transform:scale(1.1,1.1);
    -moz-transform:scale(1.1,1.1);
    transition: all 0.2s;
}

.image-subject-selector {
    background-color: transparent;
    width: 100px;
    height: 120px;
}

.image-subject-selector-small {
    background-color: transparent;
    width: 60px;
    height: 85px;
}

.math {
    grid-area: math;
}

.ciencias {
    grid-area: ciencias;
}

.lectura {
    grid-area: lectura;
}

.sociales {
    grid-area: sociales;
}


/*///////////////////////////////////////////////////////////////////

/////////// HEADER, TAIL, SPACES, AND OTHER ELEMETS  ////////////////

///////////////////////////////////////////////////////////////////*/

.header {
    width: 100%;
    background-color: #00308F;
    position: fixed;
    top: 0;
    margin-top: 0;
}

.subject-identifier-header{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.tail {
    background-color: #00308F;
    color: #fff;
    width: 100%;
    text-align: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    margin-bottom: 0;
}

#tail-statement {
    size: 0.5rem;
    margin-bottom: -2px;
}

.pina-logo {
    width: 30px;
    margin-bottom: -20px;
}

.space-div {
    height: 160px;
}

.space-div-small {
    height: 130px;
}