*{
    margin: 0;
    padding: 0;
}

@font-face{
	font-family: porkys;
	src: url('../fonts/porky.ttf') format('truetype');
}

.contenedor{
    width: 800px;
    height: 600px;
    margin: auto;
    background: #FCE8ED;
    margin-top: 2%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tabla{
    width: 95%;
    height: 75%;
    margin-top: 2.5%;
}
.cuadro{
    width: 20%;
    height: 30%;
}
.card{
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;

    -webkit-transition: -webkit-transform 0.4s;
    -moz-transition: -moz-transform 0.4s;
    -o-transition: -o-transform 0.4s;
    transition: transform 0.4s;

    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
}
.card.flipped {
    -webkit-transform: rotateY( 180deg );
    -moz-transform: rotateY( 180deg );
    -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
}

.card .front,
.card .back{
    position: absolute;
    margin-left: 3%;
    margin-top: 2%;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
}
.card .back {
    -webkit-transform: rotateY( 180deg );
    -moz-transform: rotateY( 180deg );
    -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
}
.botones{
    margin-top: 2%;
    width: 92%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.texto1{
    font-family: 'porkys';
    font-size: 36px;
    position: absolute;
    margin-top: -67px;
    margin-left: 202px;
    color: #BE1621;
}
.texto2{
    font-family: 'porkys';
    font-size: 36px;
    position: absolute;
    margin-top: -67px;
    margin-left: 33px;
    color: #662382;
}
.btnreset{
    margin-top: 2%;
    width: 25%;
    height: 40px;
    cursor: pointer;
}
.fuera{
    width: 100%;
    height: 100%;
    border-radius: 25px;
    background: #fff1a1;
    padding-top: 5%;
}
.dentro{
    width: 90%;
    height: 70%;
    border: 2px solid #E61D72;
    border-radius: 20px;
    margin-left: 4%;
    background: #98D5EB;
}
.textoreset{
    font-family: 'Roboto';
    font-size: 20px;
    text-align: center;
    color: #302683;
    margin-top: 1%
}
.fuera:hover{
    background: #ffd900;
}
.tablaMovil{
    display: none;
}
/*////////////////////////////////////  MEDIA QUERIE ///////////////////////////////////*/
/*//////////////////////////////////////////////////////////////////////////////////////*/

@media screen and (min-width: 599px) and (max-width: 650px){
    .contenedor{
        width: 600px;
        height: 700px;
    }
    .tabla{
        width: 95%;
        height: 75%;
        margin-top: 2.5%;
    }
    .card .front,
    .card .back{
        width: 95%;
    }
    .botones{
        margin-top: 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    .btnreset{
        margin-top: 2%;
        width: 30%;
    }
}
@media screen and (min-width: 659px) and (max-width: 700px){
    .contenedor{
        width: 659px;
        height: 700px;
    }
    .tabla{
        width: 95%;
        height: 75%;
        margin-top: 2.5%;
    }
    .card .front,
    .card .back{
        width: 95%;
    }
    .botones{
        margin-top: 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    .btnreset{
        margin-top: 2%;
        width: 30%;
    }
}

@media screen and (min-width: 701px) and (max-width: 740px){
    .contenedor{
        width: 700px;
        height: 700px;
    }
    .tabla{
        width: 95%;
        height: 75%;
        margin-top: 2.5%;
    }
    .card .front,
    .card .back{
        width: 95%;
    }
    .botones{
        margin-top: 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    .btnreset{
        margin-top: 2%;
        width: 30%;
    }
}

@media screen and (min-width: 741px) and (max-width: 770px){
    .contenedor{
        width: 740px;
        height: 700px;
    }
    .tabla{
        width: 95%;
        height: 75%;
        margin-top: 2.5%;
    }
    .card .front,
    .card .back{
        width: 95%;
    }
    .botones{
        margin-top: 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    .btnreset{
        margin-top: 2%;
        width: 30%;
    }
}