@font-face {
  font-family: "MarsCentra-Bold";
  src: url("../fuentes/MarsCentra-Bold.ttf");
}

@font-face {
  font-family: "MarsCentra-Book";
  src: url("../fuentes/MarsCentra-Book.ttf");
}

@font-face {
  font-family: "MarsCentra-Extrabold";
  src: url("../fuentes/MarsCentra-Extrabold.ttf");
}

.pointer, .next, .prev, .home{
    cursor: pointer;
}

.no-pointer{
    pointer-events: none;
}

.oculto{
    display: none;
}

/*==============================
=            cartas            =
==============================*/

/* THE MAINCONTAINER HOLDS EVERYTHING */
.maincontainer{
  /*position: absolute;
  width: 250px;
  height: 320px;*/
  width: 100%;
  height: 100%;
  background: none;
}

/* THE CARD HOLDS THE FRONT AND BACK FACES */
.thecard{
  position: relative;
  top: -10px;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  transform-style: preserve-3d;
  transition: all 0.8s ease;
}

/* THE PSUEDO CLASS CONTROLS THE FLIP ON MOUSEOVER AND MOUSEOUT */
/*.thecard:hover{
  transform: rotateY(180deg);
}*/

/* THE FRONT FACE OF THE CARD, WHICH SHOWS BY DEFAULT */
 .thefront{
    position: absolute;
    top: 0;
    left: -15px;
    width: 100%;
    height: 100%;
    border-radius: 23px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
    /*background: rgb(217,23,45);*/
    color: white;
    /*border: solid 10px rgb(250,255,255);*/
    box-shadow: 0px 5px 5px 0px #000;
    transition: 1s;
}

/* THE BACK FACE OF THE CARD, WHICH SHOWS ON MOUSEOVER */
.theback{
    position: absolute;
    top: 0;
    /*left: -5px;
    width: 100%;
    height: 100%;*/
    left: 15px;
    width: 89%;
    height: 93%;

    border-radius: 23px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
    background: rgb(183,184,191);
    border: solid 10px rgb(255,255,255);
    color: rgb(75,73,79);
    /*text-align: center;*/
    transform: rotateY(180deg);
    box-shadow: 0px 5px 5px 0px #000;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
}


/*This block (starts here) is merely styling for the flip card, and is NOT an essential part of the flip code */
.thefront h1, .theback h1{
  font-family: 'MarsCentra-Book', sans-serif;
  padding: 7px;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
}

.thefront p, .theback p{
  font-family: 'MarsCentra-Book', sans-serif;
  padding-top: 5px;
  font-weight: normal;
  margin: 0;
  font-size: 12px!important;
  text-align: center;
}

.thefront img{
  width: 100%;
  height: 100%;
}

.pregunta{
  display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    height: 100%;
}


/*=====  End of cartas  ======*/
