@font-face {
  font-family: 'Milligram-Medium-trial';
  src: url("assets/fonts/milligram/Milligram-Medium-trial.ttf") format('truetype');
  font-weight: normal;
  font-style: normal;
}


body {
  /* height: 100vh; */
  /* box-sizing: border-box; */
  /* position: relative; */
  /* max-width: 1200px; */
  width: 100%;
  /* margin: 0 auto; */
  padding: 30px 15px;
  background-color: #573e81;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.tablero div { 
  -webkit-touch-callout: none !important; 
  -webkit-user-select: none !important; 
}

/* body { -webkit-touch-callout: none !important; }
a { -webkit-user-select: none !important; } */

.page {
  position: relative;
  display: none;
  width: 100%
}

.page:first-child {
  display: block
}

.page .title {
  text-align: center
}

.section {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  
  /* max-width: 1200px; */
  width: 100%;
  margin: 0 auto;
  padding: 30px 15px
}

.retrocede {
  position: absolute;
  width: 100%;
  top: 6%;
  left: -0.3%;
  transform: translate(-50%, 0%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  text-decoration: none;
}

.retrocede a{
  z-index: 1;
  text-decoration: none;
}

.retrocede img {
  /* position: absolute; */
  width: 10%;
  /* top: 6%;
  left: -0.3%;
  transform: translate(-50%, 0%); */
  color: #fff;
}

.retrocede2 {
  position: absolute;
  width: 100%;
  top: 4.5%;
  left: -0.3%;
  transform: translate(-50%, 0%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  text-decoration: none;
}

.retrocede2 a{
  z-index: 1;
  text-decoration: none;
}

.retrocede2 img {
  /* position: absolute; */
  width: 8%;
  /* top: 4.5%; */
  /* left: -0.3%; */
  /* transform: translate(-50%, 0%); */
  color: #fff;
}

.retrocede3 {
  position: absolute;
  width: 100%;
  top: 3.9%;
  left: -0.4%;
  transform: translate(-50%, 0%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  text-decoration: none;
}

.retrocede3 a{
  z-index: 1;
  text-decoration: none;
}

.retrocede3 img {
  /* position: absolute; */
  width: 6%;
  /* top: 3.9%; */
  /* left: -0.4%; */
  /* transform: translate(-50%, 0%); */
  color: #fff;
}
/****************************** BUSCAMINAS ******************************/
:root{
  /* --num-columnas: 7;
  --num-filas: 8; */
  --size: 51px;
}

/* .tablero{
  display:grid;
  grid-template-columns: repeat(var(--num-columnas), var(--size));
  grid-template-rows: repeat(var(--num-filas), var(--size));
} */

.tab1{
  display:grid;
  grid-template-columns: repeat(5, var(--size));
  grid-template-rows: repeat(5, var(--size));
}

.tab2{
  display:grid;
  grid-template-columns: repeat(7, var(--size));
  grid-template-rows: repeat(8, var(--size));
}

.tab3_4{
  display:grid;
  grid-template-columns: repeat(10, var(--size));
  grid-template-rows: repeat(10, var(--size));
}
 
.tablero div:not(.flash,.flash-container){
  background-color: #ab8ddd;
  border: 2px solid;
  border-top-color: #ab8ddd;
  border-left-color: #ab8ddd;
  border-bottom-color: #573e81;
  border-right-color: #573e81;
  background-image: linear-gradient(360deg, #573e81, #2a1f3f);
  box-shadow: inset 0 0 2px 0 #ab8ddd;
  text-align: center;
  line-height: var(--size);
  list-style: none;
  color: #fff;
}

.tab1 div:nth-child(5),.tab1 div:nth-child(10),.tab1 div:nth-child(15),
.tab1 div:nth-child(20),.tab1 div:nth-child(25){
  border-right-color: #ab8ddd;
}

.tab1 div:nth-child(21),.tab1 div:nth-child(22),.tab1 div:nth-child(23),
.tab1 div:nth-child(24),.tab1 div:nth-child(25) {
  border-bottom-color: #ab8ddd;
}

.tab2 div:nth-child(7),.tab2 div:nth-child(14),.tab2 div:nth-child(21),
.tab2 div:nth-child(28),.tab2 div:nth-child(35),.tab2 div:nth-child(42),
.tab2 div:nth-child(49),.tab2 div:nth-child(56){
  border-right-color: #ab8ddd;
}

.tab2 div:nth-child(50),.tab2 div:nth-child(51),.tab2 div:nth-child(52),
.tab2 div:nth-child(53),.tab2 div:nth-child(54),.tab2 div:nth-child(55),
.tab2 div:nth-child(56),.tab2 div:nth-child(57) {
  border-bottom-color: #ab8ddd;
}

.tab3_4 div:nth-child(10),.tab3_4 div:nth-child(20),.tab3_4 div:nth-child(30),
.tab3_4 div:nth-child(40),.tab3_4 div:nth-child(50),.tab3_4 div:nth-child(60),
.tab3_4 div:nth-child(70),.tab3_4 div:nth-child(80),.tab3_4 div:nth-child(90),.tab3_4 div:nth-child(100){
  border-right-color: #ab8ddd;
}

.tab3_4 div:nth-child(91),.tab3_4 div:nth-child(92),.tab3_4 div:nth-child(93),
.tab3_4 div:nth-child(94),.tab3_4 div:nth-child(95),.tab3_4 div:nth-child(96),
.tab3_4 div:nth-child(97),.tab3_4 div:nth-child(98),.tab3_4 div:nth-child(99),.tab3_4 div:nth-child(100) {
  border-bottom-color: #ab8ddd;
}

@font-face {
    font-family: 'fontello';
    src: url('assets/fonts/fontello/fontello.eot');
    src: url('assets/fonts/fontello/fontello.woff2') format('woff2'),
        url('assets/fonts/fontello/fontello.woff') format('woff'),
        url('assets/fonts/fontello/fontello.ttf') format('truetype'),
        url('assets/fonts/fontello/fontello.svg') format('svg');
    font-weight: normal;
    font-style: normal;
  }
   
   [class^="icon-"]:before, [class*=" icon-"]:before {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    /* speak: none; */
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 2px 2px 2px #999999;
    color:#000;
   
  }
   
  .icon-bandera:before { content: '\e800';  color: #b22222;}
  .icon-duda:before { content: '\e801'; }
  /* .icon-bomba:before { content: '\f1e2'; } */

  .tablero div.destapado{
    font-family: "ProximaNova-Black";
    background-color: #dbd3e9;
    background-image: linear-gradient(90deg, #dbd3e9, #dbd3e9);
    border: 1px solid #ab8ddd;
    color: #000;
  }
  .tablero div.icon-bandera {
    background-color: #ffbd01;
    background-image: linear-gradient(180deg, #ffbd01, #fd8a8a);
    border: 2px solid;
    border-left-color:#fdb32d;
    border-top-color:#fdb32d;
    border-right-color:#c75454;
    border-bottom-color:#ed6868;
    color:transparent;
  }  
  .tablero div.icon-bomba {
    /* color: #000; */
    /* background-image: linear-gradient(90deg, #e13c44, #e13c44); */
    background-image: url(assets/images/bomba_juego.png);
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    border: 2px solid;
    border-left-color:#dd6051;
    border-top-color:#dd6051;
    border-right-color:#d72c15;
    border-bottom-color:#ae2413;

    /* display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background: transparent; */
  } 
  .tablero div.sinmarcar{
    background-color: #e13c44;
  }
  .tablero div.banderaErronea{
    /* background-color: #AAAAAA;
    border: 1px solid #B22222; */
    background-image: linear-gradient(180deg, #aaaaaa, #aaaaaa);
    border: 2px solid;
    border-bottom-color: #b22222;
    border-right-color: #b22222;
    border-top-color: #c75454;
    border-left-color: #c75454;
  }
   
  /*colores con número de minas alrededor*/
  .tablero div.c1{ color: #0000ff; font-weight: bold; font-size:1.3em;}
  .tablero div.c2{ color: #52b327; font-weight: bold; font-size:1.3em;}
  .tablero div.c3{ color: #ff0000; font-weight: bold; font-size:1.3em;}
  .tablero div.c4{ color: #1c4587; font-weight: bold; font-size:1.3em;}
  .tablero div.c5{ color: #a61c00; font-weight: bold; font-size:1.3em;}
  .tablero div.c6{ color: #1ebab2; font-weight: bold; font-size:1.3em;}
  /*Extras*/
  .tablero div.c7{ color: #ff3300; font-weight: bold; font-size:1.3em;}
  .tablero div.c8{ color: #660000; font-weight: bold; font-size:1.3em;}

  /* CONTENEDOR */
  /* @font-face {
    font-family: 'Press Start 2P';
    src: url('assets/fonts/PressStart2P/PressStart2P-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  } */

  @font-face {
    font-family: 'ProximaNova-Bold';
    src: url('assets/fonts/ProximaNova/ProximaNova-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: 400;
  }

  @font-face {
    font-family: 'ProximaNova-Black';
    src: url('assets/fonts/ProximaNova/ProximaNova-Black.ttf') format('truetype');
    font-weight: normal;
    font-style: 400;
  }
  
  /* .container {
    background-color: gray;
    padding: 0.3em;
  } */

  .page-buscaminas {
    font-family: "ProximaNova-Bold";
    font-size: 1.5em;
    text-align: center;
  }

  .nivel {
        font-size: 1.8em;
  }
  
  .puntaje {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 0;
    border-right: 2px;
    border-left: 2px;
    border-bottom: 2px;
    border-color: #ab8ddd;
    border-style: solid;
    padding: 0 0.6em 0.6em;
    margin: 0 0 1.4em;
  }
  
  .puntos,
  .tiempo {
    /* width: 5vh; */
    width: auto;
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; */
    color: #fff;
    background-color: #ffbd01;
    border-top: 1px solid #ffbd01;
    border-bottom: 1px solid #fd8a8a;
    background-image: linear-gradient(180deg, #ffbd01, #fd8a8a);
    box-shadow: inset 0 0 2px 0 #fd8a8a;
    font-family: "ProximaNova-Bold";
  }

  .puntos {
    padding: 0.1em 1em;
  }

  .tiempo {
    /* padding: 0.1em 0.5em; */
    width: 3.3em;
    padding: 0.1em;
  }
  
  .smile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .smile a {
    z-index: 1;
    text-decoration: none;
  }
  
  .level {
    font-size: 0.6em;
    padding: 0.5em 0;
    margin: 0;
  }
  
  .smile img {
    width: 35px;
    height: 35px;
  }

table {
  width: 100%;
  border-top: 2px;
  border-right: 2px;
  border-left: 2px;
  border-bottom: 0;
  border-color: #ab8ddd;
  border-style: solid;
  background-image: linear-gradient(360deg, #573e81, #2a1f3f);
  padding: 0.6em 0.6em 0;
  color: #fff;
  font-family: "Milligram-Medium-trial";
}

table tr:first-child {
  color: #ffbd01;
}

@keyframes grow {
  50% {
      transform: scale(1000);
  }

  100% {
      transform: scale(10);
  }
}

.flash-container {
  animation: grow 1s linear forwards;
  width: 10px;
  height: 10px;
  z-index: 2;
  margin: 0 auto;
}

.flash {
  background: radial-gradient(circle, #d72c15, transparent 10%);
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 100%;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 7vh;
  background-image: url('assets/images/pleca_amarilla.jpg');
  background-repeat: no-repeat, repeat;
  background-position: center;
  background-size: cover;
  color: #ffbd01;
  text-align: center;
}

/* /////// MODAL //////// */
.modal{
  max-width: 1000px;
  width: 100%;
  z-index: 3;
  font-family: 'Milligram-Medium-trial';
  color: #fff;
  font-size: 25px;
  background-color: transparent;
}

.modal a.close-modal[class*="icon-"] {
  top: -10px;
  right: -10px;
  width: 20px;
  height: 20px;
  color: #fff;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-indent: 0;
  background: #900;
  border: 2px solid #fff;
  -webkit-border-radius:  26px;
  -moz-border-radius:     26px;
  -o-border-radius:       26px;
  -ms-border-radius:      26px;
  -moz-box-shadow:    1px 1px 5px rgba(0,0,0,0.5);
  -webkit-box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
  box-shadow:         1px 1px 5px rgba(0,0,0,0.5);
}

.img-introduccion, .seleccion {
  position: relative;
  text-align: center;
  margin: 3vh auto;
}

.button{
  background-color: #ffbd01;
  background-image: linear-gradient(270deg, #ffbd01, #fd8a8a);
  border: solid 0.9vw #573e81;
  border-radius: 40px;
  color: white;
  padding: 0.5vw 10vw;
  text-align: center;
  font-size: 3.3vw;
}

.modal img{
  width: 100%;
}

/* * {
  box-sizing: border-box;
} */

.row::after {
  content: "";
  clear: both;
  display: table;
}

[class*="col-"] {
  float: left;
  padding: 15px;
}

/* For mobile phones: */
[class*="col-"] {
  width: 100%;
}

@media only screen and (min-width: 600px) {
  /* For tablets: */
  .col-s-1 {width: 8.33%;}
  .col-s-2 {width: 16.66%;}
  .col-s-3 {width: 25%;}
  .col-s-4 {width: 33.33%;}
  .col-s-5 {width: 41.66%;}
  .col-s-6 {width: 50%;}
  .col-s-7 {width: 58.33%;}
  .col-s-8 {width: 66.66%;}
  .col-s-9 {width: 75%;}
  .col-s-10 {width: 83.33%;}
  .col-s-11 {width: 91.66%;}
  .col-s-12 {width: 100%;}
}
@media only screen and (min-width: 768px) {
  /* For desktop: */
  .col-1 {width: 8.33%;}
  .col-2 {width: 16.66%;}
  .col-3 {width: 25%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {width: 50%;}
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 75%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}
}

.feedback {
  /* height:0; */
  /* padding-top:33.33%; */
  margin-left: 33.33%;
  position:relative;

  background-color: #ab8ddd;
  border: 7px solid;
  border-top-color: #ab8ddd;
  border-left-color: #ab8ddd;
  border-bottom-color: #573e81;
  border-right-color: #573e81;
  background-image: linear-gradient(360deg, #573e81, #2a1f3f);
  box-shadow: inset 0 0 2px 0 #ab8ddd;
}

/* @media (min-width: 768px){
  .feedback {
    margin-left: auto;
  }
} */

.button{
    background-color: #ffbd01;
    background-image: linear-gradient(270deg, #ffbd01, #fd8a8a);
    border: solid 8px #573e81;
    border-radius: 40px;
    color: white;
    padding: 10px;
    width: 100%;
    text-align: center;
    font-size: 30px;
  }

  .feedback div.time {
    /* position: fixed;
    z-index: 4;
    margin-left: 10%;
    margin-top: 2%;
    color: #fff; */
    position: absolute;
    /* background-color: red; */
    top: 0;
    left: 0;
    right: 0;
    margin: 35px auto;
    /* width: 20px; */
    text-align: center;
  }

  .feedback div.final {
    /* position: fixed;
    z-index: 4;
    margin-left: 11%;
    margin-top: 4.8%; */
    position: absolute;
    /* background-color: red; */
    top: 0;
    left: 0;
    right: 0;
    margin: 65px auto;
    width: 25%;
    text-align: center;
    font-family: "ProximaNova-Bold";

  }

.final div {
  background-color: #ffbd01;
  background-image: linear-gradient(180deg, #ffbd01, #fd8a8a);
  border: 2px solid;
  border-left-color:#fdb32d;
  border-top-color:#fdb32d;
  border-right-color:#c75454;
  border-bottom-color:#ed6868;
}

.next{
  text-align: center;
  font-size: 24px;
}

a.btn {
  background-color: #ffbd01;
  background-image: linear-gradient(90deg, #ffbd01, #fd8a8a);
  border: none;
  border-radius: 20px;
  color: white;
  padding: 3px 56px;
  text-align: center;
  font-size: 25px;
  text-decoration: none;
}

.continuar {
  padding: 3px 73px;
}

.btn-continuar {
  text-align: center;
}

@media (max-width: 540px) {
  body{
    justify-content: unset;
  }

  .button {
    font-size: 20px;
  }

  .next {
    font-size: 20px;
  }

  a.btn {
    padding: 3px 33px;
    font-size: 20px;
  }

  .feedback{
    margin-left: -7%;
  }
}

@media (max-width: 360px) {
  .modal {
    font-size: 16px;
  }

  .button, .next, a.btn {
    font-size: 17px;
  }

  a.btn {
    padding: 3px 15px;
  }

  .feedback div.time {
    margin: 17px auto;
  }

  .feedback div.final {
    margin: 36px auto;
  }
}