*{
    margin: 0;
    padding: 0;
}
html{
    position: relative;
    height: 100%;
}
body {
    font-size: 14px;
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    background: #beffe4;
}
.cabezera {
    width: 100%;
    height: 140px;
    background: #F9B233;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
h1 {
    color: darkblue;
    font-weight: 500;
}
h3 {
    color: #fff;
    font-weight: 300;
}
h2 {
    color: forestgreen;
}
.cerrar {
    font-weight: 700;
    text-decoration: none;
    font-size: 20px;
    padding-top: 20px;
    color: darkblue;
}
.espacio{
    height: 550px;
}
#bienvenida{
    width: 100%;
    height: 120px;
    padding-top: 10%;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}
.bienvenida p{
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    color: blue;
    text-align: center;

    display: flex;
    align-content: center;
}
.bienvenida img{
    width: 300px;
    padding-top: 1%;
    display: flex;
    align-content: center;
    align-items: center;
}
#btn_inicio:hover{
    opacity: 0.5;
    cursor: pointer;
}
.contenedor2{
    width: 60%;
    min-width: 800px;
    height: 450px;
    margin: auto;
    display: none;
    flex-direction: row;
}

table{
    width: 40%;
    min-width: 350px;
    height: 350px;
    margin-top: 3%;
    margin-left: 4%;
}
.celda p{
    font-family: 'Questrial';
    font-weight: 600;
    font-size: 50px;
    color: #0027ff;
    text-align: center;
    cursor: pointer;
}
.respuesta{
    width: 35%;
    height: 100px;
    display: flex;
    flex-direction: row;
    margin: auto;
}
.cajas{
    width: 70px;
    height: 70px;
    border: 2px solid green;
    border-radius: 15px;
    background: #ffffff;
    margin: auto;
    display: flex;
    flex-direction: row;
}
.selected{
    color: #d800ff;
}
.over{
    width: 80px;
    height: 80px;
    border: 4px solid #80007b;
    background: white;
    margin: auto;
    box-shadow: 1px 1px 15px 8px rgba(242,158,242, 0.6);
    border-radius: 10px;
}
.comprobar{
    width: 200px;
    height: 100px;
    padding-top: 1.5%;
    margin: auto;
    display: none;
}
.comprobar img{
    width: 100%;
}
.comprobar:hover{
    cursor: pointer;
}
#final{
    width: 100%;
    height: 450px;
    margin-top: 10%;

    display: none;
    flex-direction: column;
    align-content: center;
    align-items: center;
}
.final p{
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    color: blue;
    text-align: center;

    display: flex;
    align-content: center;
}
.final img{
    width: 300px;
    display: flex;
    align-content: center;
}
.final img:hover{
    opacity: 0.5;
    cursor: pointer;
}
footer{
    bottom: 0;
}
.pie-pagina{
    width: 100%;
    height: 30px;
    background: #1E3D87;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pie-pagina p{
    font-family: 'Roboto';
    font-size: 16px;
    text-align: center;
    color: #ffffff;
}
/********************************* MEDIA QUERIS****************************************/
/**************************************************************************************/
@media screen and (min-width: 941px) and (max-width: 1024px){
    .respuesta{
        width: 50%;
    }
    .pie-pagina{
        position: absolute;
    }
}
@media screen and (min-width: 769px) and (max-width: 940px){
    .cabezera{
        width: 100%;
        height: 100px;
        background: #F9B233;

        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        justify-content: space-between;
    }
    .logo{
        margin-top: 5%;
        width: 200px;
    }
    .logo img{
        width: 100%;
        /*height: 60px;*/
        margin: 0;
        padding: 0;
    }
    .informacion{
        font-size: 9px;
    }
    .h1 {
        font-weight: 200;
        font-size: 8px;
    }
    h3 {
        color: #fff;
        font-weight: 300;
    }
    .cerrar {
        font-weight: 500;
        text-decoration: none;
        font-size: 16px;
        padding-top: 10%;
        color: darkblue;
    }
    .contenedor2{
        width: 70%;
        min-width: 630px;
        height: 280px;
        margin: auto;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .imagen{
        width: 280px;
    }
    .imagen img{
        width: 100%;
    }
    table{
        width: 30px;
        min-width: 250px;
        height: 250px;
        /*margin-top: 3%;*/
        margin-left: 0;
    }
    .respuesta{
        width: 80%;
        height: 100px;
        margin-top: 180px;
        display: flex;
        flex-direction: row;
    }
    .cajas{
        width: 60px;
        height: 60px;
        border: 1px solid green;
        border-radius: 15px;
        background: #ffffff;
        margin: auto;
        display: flex;
        flex-direction: row;
    }
    .comprobar{
        width: 200px;
        height: 100px;
        padding-top: 0;
        margin: auto;
        display: block;
    }
    .pie-pagina{
        position: absolute;
    }
}
@media screen and (min-height: 540px) and (max-height: 640px){
    .respuesta{
        margin-top: 0;
        width: 50%;
    }
}
@media screen and (min-width: 600px) and (max-width: 768px){
    .cabezera{
        width: 100%;
        height: 100px;
        background: #F9B233;

        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        justify-content: space-between;
    }
    .logo{
        margin-top: 5%;
        width: 200px;
    }
    .logo img{
        width: 100%;
        /*height: 60px;*/
        margin: 0;
        padding: 0;
    }
    .informacion{
        font-size: 9px;
    }
    .h1 {
        font-weight: 200;
        font-size: 8px;
    }
    h3 {
        color: #fff;
        font-weight: 300;
    }
    .cerrar {
        font-weight: 500;
        text-decoration: none;
        font-size: 16px;
        padding-top: 10%;
        color: darkblue;
    }
    .contenedor2{
        width: 100%;
        max-width: 640px;
        min-width: 600px;
        flex-direction: column;
        align-items: center;
    }
    .imagen{
        width: 240px;
    }
    .imagen img{
        width: 100%;
    }
    table{
        width: 350px;
        min-width: 350px;
        height: 350px;
        /*margin-top: 3%;*/
        margin-left: 0;
    }
    .respuesta{
        width: 80%;
        height: 100px;
        margin-top: 180px;
        display: flex;
        flex-direction: row;
    }
    .cajas{
        width: 60px;
        height: 60px;
        border: 1px solid green;
        border-radius: 15px;
        background: #ffffff;
        margin: auto;
        display: flex;
        flex-direction: row;
    }
    .pie-pagina{
        position: absolute;
    }
}
@media screen and (min-width: 540px) and (max-width: 599px){
    .cabezera{
        width: 100%;
        height: 110px;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .logo{
        margin-top: 8px;
        margin-left: 7%;
        width: 120px;
    }
    .logo img{
        width: 100%;
        height: 40px;
    }
    .contenedor {
        width: 100%;
        margin: auto;
        position: static;
    }
    .informacion{
        padding-left: 7%;
        font-size: 8px;
        margin-bottom: 5px;
    }
    .h1 {
        font-weight: 200;
        font-size: 6px;
    }
    h3 {
        color: #fff;
        font-weight: 300;
    }
    .cerrar {
        font-weight: 500;
        text-decoration: none;
        font-size: 12px;
        color: darkblue;
    }
    .contenedor2{
        width: 100%;
        max-width: 599px;
        min-width: 540px;
        flex-direction: column;
        align-items: center;
    }
    .imagen{
        width: 200px;
    }
    .imagen img{
        width: 100%;
    }
    table{
        width: 300px;
        min-width: 300px;
        height: 300px;
        /*margin-top: 3%;*/
        margin-left: 0;
    }
    .respuesta{
        width: 90%;
        height: 100px;
        margin-top: 120px;
        display: flex;
        flex-direction: row;
    }
    .cajas{
        width: 60px;
        height: 60px;
        border: 1px solid green;
        border-radius: 15px;
        background: #ffffff;
        margin: auto;
        display: flex;
        flex-direction: row;
    }
    .pie-pagina{
        position: absolute;
    }
}
