body{
  margin: 0;
  padding: 0;
  font-family: 'Rubik', sans-serif;
  font-size: 24px;
  background: #D7DBDD;
  color: #1C2833;
}

h1{
  font-family: 'Press Start 2P', cursive;
  font-size: 2em;
  text-transform: uppercase;
  color: #FFF;
  margin: 76px 0 30px 0;
  line-height: 1.5em;
}

header h1{
  font-size: 1.3em;
  margin-top: 30px;
  text-align: center;
  color: #1C2833;
}

h2, h3{
  font-family: 'Bungee', cursive;
  letter-spacing: .1em;
}
h2{
  margin-bottom: 30px;
}
h3 {
  font-size: .7em;
}

button{ 
  min-width: 136px;
}

button:hover {
  background: #51bb8f;
  color: #FFF;
}

/* spans */
.pointer{
  cursor: pointer;
}

.hidden{
  display: none;
}

#modal_chose, #modal_quest, #pc_questions{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 50%;
  position: absolute;
  top: 25vh;
  left: 25vw;
  z-index: 1;
  background: rgba(9, 19, 28, 0.8);
  border: 12px solid #17b89a;
  color: #fff;
  text-align: center;
}

#modal_quest{
  height: 36vh;
  top: 35vh;
}
#modal_quest .fa{
  animation-name: arrow;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  position: relative;
  bottom: 8px;
}

@-webkit-keyframes arrow {
  0% { bottom: 8px; }
  5% { bottom: 8.8px; }
  10% { bottom: 9.6px; }
  15% { bottom: 10.4px; }
  20% { bottom: 11.2px; }
  25% { bottom: 12px; }
  30% { bottom: 12.8px; }
  35% { bottom: 13.6px; }
  40% { bottom: 14.4px; }
  45% { bottom: 15.2px; }
  50% { bottom: 16px; }
}

.buttons{
  margin-top: 20px;
}
.buttons button{
  margin: 5px;
}

.fa{
  font-size: 3em;
}

#win{
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  z-index: 1;
  background: rgba(9, 19, 28, 0.8);
  color: #fff;
  text-align: center;
  padding: 35vh 0;
}

.container{
  display: flex; 
  justify-content: center;
  margin-top: 50px;
}

#player_board {
  max-width: 769px;
  min-width: 720px;
}

.person .back {
  top: -120px;
}

.person{
  width: 100px;
  height: 120px;
  margin: 5px;
  float: left;
  background: none;
}

.person.pointer .front:hover {
  border-radius: 20px;
  border: 2px solid #3eaab5;
}


.back, .front {
  width: 100px;
  height: 120px; 
  border-radius: 10px 10px 0 0;
}

.back {
  position: relative;
  background: rgba(24, 33, 117, .7);
}

.selected_card, .pc_selected_card {
  background: #808080;
  width: 100px;
  height: 120px;
}

/* Carousel */
.carousel{
  height: 60px;
  background: #fff;
  /*border: 1px solid greenyellow;*/
  border-radius: 20px;
  text-align: center;
  width: 100%;
}
.carousel a{
  background: #148F77;
}
.carousel-control-prev {
  border-radius: 20px 0 0 20px;
}
.carousel-control-next {
  border-radius: 0 20px 20px 0;
}
.question {
  margin-top: 13px;
}

.question:hover {
  color: #17b89a;
}

/** PC **/
#pc_board{
  margin: 20px 0;
  min-width: 210px;
  max-width: 210px;
}

.pc_card h3{
  margin-top: 30px;
}

#pc_board .person{
  max-width: 35px;
  max-height: 42px;
  margin: 0;
}

#pc_board .back, #pc_board .front {
  width: 35px;
  height: 42px;
}

#pc_board .back {
  top: -42px;
}

#pc_questions p{
  font-size: 1.5em;
}

.pc_selected{
  width: 100px;
  height: 120px;
}

/* ANIMACION PLAY */
.play{
  width: 100%;
  padding: 50px 0;
  min-height: 100vh;
  height: 100%;
  background: url("../img/bg.png") repeat;
  color: #fff;
  text-align: center;
}
.play button {
  width: 125px;
}

.play h1{ 
  animation-name: fadeInWho;
  animation-duration: 10s;
}
.play button{  
  animation-name: fadeInPlay;
  animation-duration: 20s;
}

.rules{
  font-family: 'Press Start 2P', cursive;
  max-width: 700px;
  margin: 0 auto 20px auto;
  font-size: .4em;
  line-height: 26px;
  letter-spacing: 1px;
  color: #a0a7a3;
  animation-name: fadeInPlay;
  animation-duration: 15s;
}
ol{
  list-style: none;
  margin: 0;
  padding: 0;
}

@keyframes fadeInWho {
  0% {
    opacity: 0;
  }

  20% {
    opacity: 0%;
  }

  100% {
    opacity: 100%;
  }
}
@keyframes fadeInPlay {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0%;
  }

  100% {
    opacity: 100%;
  }
}

@media (max-width:930px){
  body{
    font-size: 20px;
  }
}