@font-face {
  font-family: 'trashhandregular';
  src: url('../fonts/trashhand-webfont.ttf') format('ttf'), 
  url('../fonts/trashhand-webfont.woff2') format('woff2'),
  url('../fonts/trashhand-webfont.eot') format('eot'),
  url('../fonts/trashhand-webfont.woff') format('woff');

  font-weight: normal;
  font-style: normal;

}
a, button{
  outline: none !important;
}

html,body{
  overflow: hidden;
}

/* Prevent the text contents of draggable elements from being selectable. */
[draggable] {
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  /* Required to make elements draggable in old WebKit */
  -khtml-user-drag: element;
  -webkit-user-drag: element;
}


.no-padding{
  padding:0 !important;
}

.img-responsive{
  width:100%;
}

.img-flip {
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
}

.modal{
  overflow-y: auto;
  padding-left: 0px !important;
}

.modal-dialog {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.modal-content {
  height: auto;
  min-height: 100%;
  border-radius: 0;
}

.btn-fogafin {  
  font-size: 1em;
}

.btn-fogafin, .btn-fogafin:hover, .btn-fogafin:focus, .btn-fogafin:active{
  font-family: 'trashhandregular';
  color:#fff;
  padding: 1px 20px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
  -webkit-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.38);
  -moz-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.38);
  box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.38);
  border:2px solid #FFFF4A;
  background: #519dca; /* Old browsers */
  background: -moz-linear-gradient(45deg, #519dca 0%, #496e7f 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(45deg, #519dca 0%,#496e7f 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(45deg, #519dca 0%,#496e7f 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#519dca', endColorstr='#496e7f',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.btn-fogafin:active{
  position: relative;
  top:2px;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.38);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.38);
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.38);
}

.congratsModal .btn-fogafin.congrats:active {
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.38);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.38);
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.38);
}

/*LOADER*/

  .loader {
    height: 100%;
    background-color: #FFF;
    overflow: hidden;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1200;
  }

  .loader div:nth-child(1) {
    position: absolute;
    top: 50%;
    margin-top: -20px;
  }




/*MAP*/
.map{
 height: inherit;
}

.gameSpotsContainer {
  height: inherit;
  position: relative;
  top: -100%;
  left: 0px;
}

.gamespot{
  position: absolute;
  width:10px;
  height:10px;
  padding:0;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  background: red none repeat scroll 0% 0%;
  border: 2px solid rgb(255, 255, 255);
}

.game_Spot {
  position: absolute;
}

.gamespot.completed{
  background-color:#00E73B;
  border:2px solid #fff;
}

.gamespot.one{
  top: 45.5vh;
  left: 11.5%;
}

.gamespot.two{
  top: 25vh;
  left: 18%;
}

.gamespot.three{
  top: 73vh;
  left: 18%;
}

.gamespot.four{
  top: 25vh;
  left: 59%;
}

.gamespot.five{
  top: 71vh;
  left: 59%;
}

.gamespot.six{
  top: 25vh;
  left: 79.8%;
}

.gamespot.seven{
  top: 70vh;
  left: 79.8%;
}

.gamespot.eight{
  top: 43vh;
  left: 84%;
}

.gamespot.eight.final{
  width:15px;
  height:15px;
  background-color: #FF0000;
}

/*CHARACTER*/

.character{
  position:absolute;
  left: 36.2%;
  top: 65vh;
  width:32px;
  height:32px;
  background: url('../img/character.png') no-repeat;
  -webkit-transition-duration: 3.5s; /* Safari */
  transition-duration: 3.5s;
}

.delay1{
  -webkit-transition-duration: 4.8s; /* Safari */
  transition-duration: 4.8s;
}
.delay2{
  -webkit-transition-duration: 5.5s; /* Safari */
  transition-duration: 5.5s;
}


.walk-down {
  -webkit-animation: walkdown 0.7s steps(2) infinite;
  -moz-animation: walkdown 0.7s steps(2) infinite;
  -ms-animation: walkdown 0.7s steps(2) infinite;
  -o-animation: walkdown 0.7s steps(2) infinite;
  animation: walkdown 0.7s steps(2) infinite;
}

@-webkit-keyframes walkdown {
  0% { background-position: 0px 0px; }
  50% { background-position: -64px 0px; }
}
@-moz-keyframes walkdown {
  0% { background-position: 0px 0px; }
  50% { background-position: -64px 0px; }
}
@-ms-keyframes walkdown {
  0% { background-position: 0px 0px; }
  50% { background-position: -64px 0px; }
}
@-o-keyframes walkdown {
  0% { background-position: 0px 0px; }
  50% { background-position: -64px 0px; }
}
@-keyframes walkdown {
  0% { background-position: 0px 0px; }
  50% { background-position: -64px 0px; }
}

.walk-up { 
  -webkit-animation: walkup 0.7s steps(2) infinite;
  -moz-animation: walkup 0.7s steps(2) infinite;
  -ms-animation: walkup 0.7s steps(2) infinite;
  -o-animation: walkup 0.7s steps(2) infinite;
  animation: walkup 0.7s steps(2) infinite;     
}

@-webkit-keyframes walkup {
  0% { background-position: -64px -96px }   
  100%{ background-position: 64px -96px }
}
@-moz-keyframes walkup {
  0% { background-position: -64px -96px }   
  100%{ background-position: 64px -96px }
}
@-ms-keyframes walkup {
  0% { background-position: -64px -96px }   
  100%{ background-position: 64px -96px }
}
@-o-keyframes walkup {
  0% { background-position: -64px -96px }   
  100%{ background-position: 64px -96px }
}
@-keyframes walkup {
  0% { background-position: -64px -96px }   
  100%{ background-position: 64px -96px }
}

.walk-right { 
  -webkit-animation: walkright 0.7s steps(2) infinite;
  -moz-animation: walkright 0.7s steps(2) infinite;
  -ms-animation: walkright 0.7s steps(2) infinite;
  -o-animation: walkright 0.7s steps(2) infinite;
  animation: walkright 0.7s steps(2) infinite;     
}

@-webkit-keyframes walkright {
  0% { background-position: -64px -64px }   
  100%{ background-position: 64px -64px; }
}
@-moz-keyframes walkright {
  0% { background-position: -64px -64px }   
  100%{ background-position: 64px -64px; }
}
@-ms-keyframes walkright {
  0% { background-position: -64px -64px }   
  100%{ background-position: 64px -64px; }
}
@-o-keyframes walkright {
  0% { background-position: -64px -64px }   
  100%{ background-position: 64px -64px; }
}
@-keyframes walkright {
  0% { background-position: -64px -64px }   
  100%{ background-position: 64px -64px; }
}

.walk-left { 
  -webkit-animation: walkleft 0.7s steps(2) infinite;
  -moz-animation: walkleft 0.7s steps(2) infinite;
  -ms-animation: walkleft 0.7s steps(2) infinite;
  -o-animation: walkleft 0.7s steps(2) infinite;
  animation: walkleft 0.7s steps(2) infinite;     
}

@-webkit-keyframes walkleft {
  0% { background-position: -64px -32px }   
  100%{ background-position: 64px -32px; }
}
@-moz-keyframes walkleft {
  0% { background-position: -64px -32px }   
  100%{ background-position: 64px -32px; }
}
@-ms-keyframes walkleft {
  0% { background-position: -64px -32px }   
  100%{ background-position: 64px -32px; }
}
@-o-keyframes walkleft {
  0% { background-position: -64px -32px }   
  100%{ background-position: 64px -32px; }
}
@-keyframes walkleft {
  0% { background-position: -64px -32px }   
  100%{ background-position: 64px -32px; }
}




.character.front-right { background-position: 0px 0px; }
.character.front-stand { background-position: -32px 0px; }
.character.front-left { background-position: -64px 0px; }

.character.left-right { background-position: 0px -32px; }
.character.left-stand { background-position: -32px -32px; }
.character.left-left { background-position: -64px -32px; }

.character.right-right { background-position: -64px -64px; }
.character.right-stand { background-position: -32px -64px; }
.character.right-left { background-position: -0px -64px; }

.character.back-right { background-position: 0px -96px; }
.character.back-stand { background-position: -32px -96px; }
.character.back-left { background-position: -64px -96px; }

/*MODAL INICIO*/

.modal-body {
  position: relative;
  padding: 10px;
}

.memoryModal .modal-body {
  position: relative;
  padding: 0px;
} 

.modal-content.startModal {
  border: 3px solid #0C73B0;
  border-radius: 15px;
  background-color: #E9F7FE;
}

.startModal .containerCharacter {
  position: relative;
  left: 10%;
}

.startinstrucciones {
  color: #0C72B0;
  font-size: 0.86rem;
  text-align:justify;
  margin-bottom: 0px;
}


/*DIALOG*/
.gamebg, .finalgamebg{ 
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.finalgamebg{
  background-image: url(../img/bg.jpg);
}

.letrero-dialog{
  margin-bottom: 3px;
}

@media screen and (max-width: 368px) {
  .memoryModal .letrero-dialog {
    display: none;
  }
}

.talk-bubble{
  position: relative;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  border: 1px solid #000;
  background-color: #fff;
  padding: 1px 9px;
  margin-bottom: 5px;
} 

.talk-bubble.talk-left{
  position: relative;
  left:-10px;
  margin-top:2px;
  margin-bottom:2px;
}
.talk-bubble.talk-right{
  position: relative;
  right:-10px;
  margin-bottom:2px;
}

.talk-bubble p{
  font-size: 0.5em;
  color:#000;
  text-align: center;
  margin-bottom:0;
}

.personaje-left, .personaje-right {
  margin-top: 120%;
}

.dialogtitulo{
  position: absolute;
  text-align: center;
  font-family: 'trashhandregular';
  color:#5B2A19;
  top: -5px;
  left: 0;
  width: 100%;
  font-size: 0.8rem;
}

.congratsModal .dialogtitulo {
  top: -1px;
  font-size: 1rem;
}

.triangle-left, .triangle-right{
  position: absolute;
  width:9%;
}

.triangle-left {
  bottom: 0px;
  left: -11px;
}

.triangle-right {
  bottom: 21%;
  right: -8.5%;
}

/* HANGMAN */

.hangman {
  font-family: "Londrina Solid", cursive;
  margin: 0 auto;
  text-align: center;
  padding: 10px 15px;
}

.hangman-container {
  background-color: #FFF;
  padding: 0px;
}

h1 {
  font-size: 50px;
  margin-bottom: 20px;
  color: #53BDFF;
  font-weight: 300;
}

p {
  margin-bottom: 20px;
  color: gray;
  line-height: 1.3;
}

@keyframes letteranim {
  50% {
    transform: translateY(-5px) scale(1.05);
  }
}

.hangmanModal .imgCharacter {
  top: -5px;
}

.letter {
  display: inline-block;
  color: transparent;
  border-bottom: 2px solid #840609;
  margin: 0 2px;
  font-size: 0.7em;
  padding: 0px;
  transition: .5s;
  text-transform: uppercase;
  margin-top: 1px;
}

.word {
  display: block;
  padding:0;
}

.correct {
  color: #53BDFF;
  animation: letteranim .3s ease;
}

.guessForm {
  margin: 0px auto;
}
.guessForm input, .guessForm .guessButton {
  font-family: "Londrina Solid", cursive;
}
.guessForm input[type="text"] {
  outline: none;
  padding: 1px;
  font-size: 13px;
  margin-bottom: 0px;
  border: none;
  color: gray;
  background-color: lightgray;
}

.guessForm .guessButton {
  border: none;
  font-size: 10px;
  padding: 1px 12px;
  cursor: pointer;
  background: #53BDFF;
  color: white;
  transition: .3s;
  margin: 5px 0;
  text-shadow: 1px 2px 0 #20a9ff;
}

.guessForm .guessButton:hover {
  background: #20a9ff;
}

.wrongLetters {
  font-size: 12px;
  padding-left: 0px;
}
.wrongLetters p {
  margin-bottom: 10px;
  font-size: 1rem;
}

.wrongLetters li {
  display: inline-block;
  font-size: 0.8rem;
  background: #ff4d4d;
  text-shadow: 1px 2px 0 red;
  padding: 3px;
  color: white;
  text-transform: uppercase;
  margin-right: 5px;
  animation: letteranim .3s ease;
}

.hangmanModal .message {
  display: none;
  padding: 5px;
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  width: 100%;
  background: #0091ec;
  z-index: 12402402;
}
.hangmanModal .message h1 {
  display: none;
  color: white;
  font-size: 1.1rem;
  margin-top: 0px;
  margin-bottom: 0px;
  top: 0px;
  position: relative;
  text-shadow: none;
}
.message .highlight {
  color: yellow;
  text-transform: capitalize;
}
.message .text {
  color: white;
  font-size: 30px;
  display: none;
}
.message .text p {
  color: white;
}
.message .text .highlight {
  font-size: 40px;
}
.message .muted {
  margin: 20px auto;
  color: #86d1ff;
}

.hangmanModal .message button {
  margin-top: 5px;
  font-size: 1.1rem;
  padding: 0px 9px;
}

.button {
  display: none;
  margin: 10px 0;
  border: none;
  font-size: 30px;
  padding: 10px 20px;
  cursor: pointer;
  background: #34cd39;
  color: white;
  transition: .3s;
  text-shadow: 1px 2px 0 #2EB933;
  font-family: "Londrina Solid", cursive;
}
.button:hover {
  background: #71dc75;
}

.hangmanModal .logoGame,
.memoryModal .logoGame,
.congratsModal .logoGame {
  position: absolute;
  top: 4px;
  left: 15px;
  width: 34px;
}

@media screen and (max-width: 368px) {
  .memoryModal .logoGame {
    display: none;
  }
}

.hangmanModal .titleGame {
  margin: 0px 39%;
  position: absolute;
  top: 0px;
  width: 288px;
}

.titleGame .titleText {
  font-family: 'trashhandregular';
  color: #4C2A1B;
  font-size: 4.4rem;
  position: absolute;
  top: 55px;
  width: 100%;
  text-align: center;
}

.gameContainer {
  border: 2px solid #0C73B0;
  border-radius: 15px;
  background-color: #E9F7FE;
  padding-top: 15px;
  padding-bottom: 15px;
}

.congratsModal .gameContainer {
  padding-top: 7px;
  padding-bottom: 0px;
}

.hangmanModal .gameContainer {
  margin-top: 10px;
  padding-top: 7px;
  padding-bottom: 2px;
}

.hangmanModal .text-imgCharacter .hangmanInstrucciones {
  color: #0C72B0;
  font-size: 0.6rem;
  line-height: 0.9;
  margin-bottom: 6px;
}

.hangmanModal .texto {
  margin-top: 2px;
}

.hangmanModal .gameContainer .iconCharacter, .dragDropModal .iconCharacter {
  position: absolute;
  top: -3px;
  right: -13px;
  z-index: 1030;
  width: 26px;
}

.hangmanModal .gameContainer .iconCharacter2, .dragDropModal .iconCharacter2 {
  position: absolute;
  left: -16px;
  bottom: -1px;
  z-index: 1030;
  width: 26px;
}

.hangmancontainer {
  background: url('../img/secuencia.png') 0 0 no-repeat;
  width: 23px;
  height:32px;
  background-size: 615%;
}

/* MEMORY GAME */

.wrap {
  position: relative;
  /*height: 100%;*/
  min-height: 158px;/*
  padding-bottom: 20px;*/
}

.game {
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-perspective: 500px;
  perspective: 500px;
  min-height: 100%;
  height: 100%;
  border-radius: 15px;
  background-color: #E9F7FE;
  border: 2px solid #0C73B0;
  padding: 6px 10px 0px;
}

.memoryModal .game{
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-perspective: 500px;
  perspective: 500px;
  min-height: 89%;
  height: 90%;
  border-radius: 15px;
  background-color: #E9F7FE;
  border: 2px solid #0C73B0;
  padding: 6px 10px 0px;
  margin-top: 10px;
}

/*@-webkit-keyframes matchAnim {
  0% {
    background: #bcffcc;
  }
  100% {
    background: white;
  }
}

@keyframes matchAnim {
  0% {
    background: #bcffcc;
  }
  100% {
    background: white;
  }
}*/
.card {
  float: left;
  width: 16%;
  height: 24%;
  min-height: 33px;
  padding: 5px;
  text-align: center;
  display: block;
  -webkit-perspective: 500px;
  perspective: 500px;
  position: relative;
  cursor: pointer;
  z-index: 50;
  -webkit-tap-highlight-color: transparent;
}

@media screen and (min-width: 500px)  and (max-width: 767px) {
  .congratsModal .iconCharacter {
    bottom: -13px;
    left: -47px;
    width: 121px;
  }
}

@media (max-width: 767px) {
  .card {
    width: 16%;    
    height: 24%;
  }

  .congratsModal .imgCoins {
    position: absolute;
    right: 5px;
    bottom: 3px;
    width: 54px;
  }
}
.card .inside {
  width: 100%;
  height: 104%;
  display: block;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: .4s ease-in-out;
  transition: .4s ease-in-out;/*
  background: white;*/
}
.card .inside.picked, .card .inside.matched {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.card .inside.matched {
  -webkit-animation: 1s all ease;
  animation: 1s all ease;
  -webkit-animation-delay: .4s;
  animation-delay: .4s;
}
.card .front, .card .back {
  border: 3px solid #0C73B0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0px;
  background-color: #FFF;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  min-height: 29px;
}
.card .front img, .card .back img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
  max-height: 100%;
}
.card .front {
  -webkit-transform: rotateY(-181deg);
  transform: rotateY(-181deg);
}

.memoryModal .titleGame,
.congratsModal .titleGame {
  margin: 0px 39%;
  position: absolute;
  top: 0px;
  width: 288px;
  z-index: 1030;
}

.memoryModal .iconCharacter {
  position: absolute;
  top: -10px;
  right: -16px;
  z-index: 1030;
}

.memoryModal .iconCharacter2 {
  position: absolute;
  left: -17px;
  bottom: 0px;
  z-index: 1030;
}

.card .picked .back img {
 display:none;
}

.instructionmemory{
  color: #0C73B0;
  font-size: 0.5em;
  margin-top: 3px;
  margin-bottom: 3px;
}

/* CONGRATS MODAL */

.finalgamebg .modal-content{
  background-color: transparent;
  box-shadow: none;
  border: none;
}

.congratsModal .gameContainer {
  /*margin-top: 130px;*/
}

.congratsModal .iconCharacter {
  position: absolute;
  bottom: 4px;
  left: -45px;
  z-index: 1030;
}

.congratsModal.finalgamebg .iconCharacter {
  bottom: 4px;
  left: -45px;
}

.congratsMessage {
  font-size: 2.4rem;
  color: #0C73B0;
  margin-bottom: 0;
}

.congratsModal .congratsMessage {
  font-size: 1.35rem;
  color: #0C73B0;
  margin-bottom: 0;
}

.congratsModal.finalgamebg .congratsMessage {
  color: #0C73B0;
  margin-bottom: 0;
  font-size: 0.75rem;
}

.congratsModal .texto {
 /* margin-bottom: 50px;*/
}

.congratsModal.finalgamebg .containerBtn-fogafin {
  position: absolute;  
  bottom: 4px;
  right: 70px;
}

.congratsModal .btn-fogafin {
  padding-top: 1px;
  padding-bottom: 1px;
  font-size: 1.2rem;
}

.congratsModal.finalgamebg .btn-fogafin {
  font-size: 1.1rem;
}

/* DRAG AND DROP*/
.dndgame{
  border: 2px solid #0C73B0;
  border-radius: 15px;
  background-color: #E9F7FE;
  padding: 0px 10px;
  margin-bottom: 5px;
  margin-top: 10px;
}

.dndcard{
  cursor: move;
  margin-bottom: 4px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.dragDropModal .dialogtitulo{
  top:20%;
}


/* GAMESPOTS STYLE */

@media screen and (min-width: 368px) {

  .gamespot.one{
    top: 45.5vh;
    left: 11.5%;
  }

  .gamespot.two{
    top: 25vh;
    left: 18.5%;
  }

  .gamespot.three{
    top: 73vh;
    left: 18.5%;
  }

  .gamespot.four{
    top: 25vh;
    left: 59.3%;
  }

  .gamespot.five{
    top: 71vh;
    left: 59.3%;
  }

  .gamespot.six{
    top: 25vh;
    left: 80%;
  }

  .gamespot.seven{
    top: 70vh;
    left: 80%;
  }

  .gamespot.eight{
    top: 45vh;
    left: 84%;
  }

  .character{
    left: 36.2%;
    top: 68vh;
  }
}

@media screen and (min-width: 500px) {

  .gamespot.one{
    top: 46.5vh;
    left: 11.5%;
  }

  .gamespot.two{
    top: 25vh;
    left: 18.5%;
  }

  .gamespot.three{
    top: 73vh;
    left: 18.5%;
  }

  .gamespot.four{
    top: 25vh;
    left: 59.4%;
  }

  .gamespot.five{
    top: 71vh;
    left: 59.4%;
  }

  .gamespot.six{
    top: 26vh;
    left: 80.4%;
  }

  .gamespot.seven{
    top: 70vh;
    left: 80.4%;
  }

  .gamespot.eight{
    top: 46vh;
    left: 85%;
  }

  .character {
    left: 37.2%;
    top: 72vh;
  }
}

@media screen and (min-width: 600px) {

  .gamespot.one{
    top: 47vh;
    left: 12%;
  }

  .gamespot.two{
    top: 25vh;
    left: 18.8%;
  }

  .gamespot.three{
    top: 74vh;
    left: 18.8%;
  }

  .gamespot.four{
    top: 25vh;
    left: 59.7%;
  }

  .gamespot.five{
    top: 72vh;
    left: 59.7%;;
  }

  .gamespot.six{
    top: 26vh;
    left: 80.5%;
  }

  .gamespot.seven{
    top: 70vh;
    left: 80.5%;
  }

  .gamespot.eight{
    top: 46vh;
    left: 86%;
  }

  .character {
    left: 38%;
    top: 75vh;
  }
}

@media screen and (min-width: 768px) {

  .gamespot.one{
    top: 46vh;
    left: 11.5%;
  }

  .gamespot.two{
    top: 24vh;
    left: 18.5%;
  }

  .gamespot.three{
    top: 72vh;
    left: 18.5%;
  }

  .gamespot.four{
    top: 25vh;
    left: 59.3%;
  }

  .gamespot.five{
    top: 70vh;
    left: 59.3%;
  }

  .gamespot.six{
    top: 26vh;
    left: 80.3%;
  }

  .gamespot.seven{
    top: 69vh;
    left: 80.1%;
  }

  .gamespot.eight{
    top: 45vh;
    left: 85%;
  }

  .gamespot.eight.final{
    width:25px;
    height:25px;
  }

  .character {
    left: 38.2%;
    top: 77vh;
  }
}  

@media screen and (min-width: 900px) {

  .gamespot.one{
    top: 47vh;
    left: 11.5%;
  }

  .gamespot.two{
    top: 25vh;
    left: 18.6%;
  }

  .gamespot.three{
    top: 73vh;
    left: 18.6%;
  }

  .gamespot.four{
    top: 26vh;
    left: 59.6%;
  }

  .gamespot.five{
    top: 71vh;
    left: 59.6%;
  }

  .gamespot.six{
    top: 26vh;
    left: 80.4%;
  }

  .gamespot.seven{
    top: 69vh;
    left: 80.4%;
  }

  .gamespot.eight{
    top: 46.2vh;
    left: 86%;
  }

  .character {
    left: 38.7%;
    top: 79vh;
  }
}

@media screen and (min-width: 1200px) {

  .gamespot.one{
    top: 47vh;
    left: 11.5%;
  }

  .gamespot.two{
    top: 26vh;
    left: 18.8%;
  }

  .gamespot.three{
    top: 73vh;
    left: 18.8%;
  }

  .gamespot.four{
    top: 26vh;
    left: 59.75%;
  }

  .gamespot.five{
    top: 71vh;
    left: 59.75%;
  }

  .gamespot.six{
    top: 26vh;
    left: 80.5%;
  }

  .gamespot.seven{
    top: 69vh;
    left: 80.5%;
  }

  .gamespot.eight{
    top: 46.5vh;
    left: 86%;
  }

  .character {
    left: 38.7%;
    top: 79vh;
  }
}

@media screen and (min-width: 1300px) {

  .gamespot.one{
    top: 48vh;
    left: 11.5%;
  }

  .gamespot.two{
    top: 26vh;
    left: 19%;
  }

  .gamespot.three{
    top: 73vh;
    left: 19%;
  }

  .gamespot.four{
    top: 26vh;
    left: 59.8%;
  }

  .gamespot.five{
    top: 72vh;
    left: 59.8%;
  }

  .gamespot.six{
    top: 26vh;
    left: 80.5%;
  }

  .gamespot.seven{
    top: 71vh;
    left: 80.5%;
  }

  .gamespot.eight{
    top: 47.5vh;
    left: 86%;
  }

  .character {
    left: 39%;
    top: 82vh;
  }
}

@media screen and (min-width: 1600px) {

  .gamespot.one{
    top: 47vh;
    left: 11.5%;
  }

  .gamespot.two{
    top: 25vh;
    left: 18.8%;
  }

  .gamespot.three{
    top: 73vh;
    left: 18.8%;
  }

  .gamespot.four{
    top: 26vh;
    left: 59.75%;
  }

  .gamespot.five{
    top: 71vh;
    left: 59.75%;
  }

  .gamespot.six{
    top: 26vh;
    left: 80.5%;
  }

  .gamespot.seven{
    top: 69vh;
    left: 80.5%;
  }

  .gamespot.eight{
    top: 46.5vh;
    left: 86%;
  }

  .character {
    left: 38.7%;
    top: 79vh;
  }
}




/* GENERAL STYLES */

@media screen and (min-width: 360px) {
  .dialogtitulo{
    top: -2px;
    font-size: 1rem;
  }
  .startinstrucciones {
    font-size: 0.98rem;
  }

  .memoryModal .game{
    min-height: 89%;
    height: 85%;
  }

  .congratsModal .dialogtitulo {
    top: 1px;
    font-size: 1.35rem;
  }

  .congratsModal .gameContainer {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .congratsModal.finalgamebg .gameContainer {
    padding-top: 13px;
    padding-bottom: 13px
  }

  .hangmanModal .text-imgCharacter .hangmanInstrucciones {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }
}

@media screen and (min-width: 500px) {

  .dialogtitulo {
    top: 7px;
    font-size: 1.8rem;
  }

  .hangmanModal .gameContainer {
    margin-top: 20px;
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .hangmanModal .text-imgCharacter .hangmanInstrucciones {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .congratsModal .dialogtitulo {
    top: 7px;
    font-size: 2rem;
  }
}

@media screen and (min-width: 768px) {


  .loader div:nth-child(1) {
    position: absolute;
    top: 50%;
     margin-top: -35px; 
  }

  .modal-body {
    position: relative;
    padding: 15px;
  }

  .game {
    border: 8px solid #0C73B0;
    padding: 6px 40px 0px;
  }

  .gamespot{
    width:20px;
    height:20px;
    border: 4px solid rgb(255, 255, 255);
  }

  .gamespot.completed{
    background-color:#00E73B;
    border:4px solid #fff;
  }

  .modal-content{
    min-height: calc(100% - 1px);
  }

  .btn-fogafin, .btn-fogafin:hover, .btn-fogafin:focus, .btn-fogafin:active {
    border: 3px solid #FFFF4A;
  }

  .startinstrucciones {
    margin-bottom: 20px;
    font-size: 0.9em;
  }

  .modal-content.startModal {
    border: 10px solid #0C73B0;
  }

  .memoryModal .dialogtitulo{
    top: 2px;
    font-size: 1.2rem;
  }

  .dialogtitulo {
    top: 13px;
    font-size: 1.55rem;
  }
  
  .personaje-left,
  .personaje-right{
    margin-top:70%;
  }

  .talk-bubble.talk-left{
    margin-top:30px;
  }

  .talk-bubble {
    padding: 15px;
    border: 3px solid #000;
  }

  .talk-bubble p {
    font-size: 0.8em;
  }

  .triangle-left{
    bottom: 0px;
    left: -8%;
  }

  .triangle-right{
    bottom: 3px;
    right: -8.5%;
  }

  .message h1 {
    text-shadow: 1px 2px 0 #ccc;
  }

  .hangmanModal .logoGame,
  .memoryModal .logoGame,
  .congratsModal .logoGame {
    width:100px;
  }

  .letter {
    font-size: 0.7em;
  }

  .wrongLetters li {
    display: inline-block;
    font-size: 12px;
    background: #ff4d4d;
    text-shadow: 1px 2px 0 red;
    padding: 3px;
    color: white;
    text-transform: uppercase;
    margin-right: 10px;
    animation: letteranim .3s ease;
  }

  .memoryModal .card {
    width: 16%;
    height: 24%;
  }

  .memoryModal .logoGame{
    top: 0px;
    left: 15px;
  }

  .gameContainer {
    border: 10px solid #0C73B0;
  }

  /*Hangman*/
  .hangmanModal .gameContainer {
    margin-top: 10px;
  }

  .hangmanModal .gameContainer .iconCharacter, #dragDropModal .iconCharacter {
    position: absolute;
    top: -30px;
    right: -28px;
    z-index: 1030;
    width:50px;
  }

  .hangmanModal .gameContainer .iconCharacter2, #dragDropModal .iconCharacter2 {
    position: absolute;
    left: -26px;
    bottom: -14px;
    z-index: 1030;
    width: 50px;
  }
  
  .hangmancontainer {
    height: 50px;
    width: 37px;
  }

  .hangman-container {
    padding-bottom: 10px;
  }

  .hangmanModal .text-imgCharacter .hangmanInstrucciones {
    font-size: 1.4rem;
  }

  .hangmanModal .message {
    padding: 25px;
  }

  .hangmanModal .message h1 {
    font-size: 1.5rem;
  }

  .hangmanModal .ContainerCerrarJuego {
    position: absolute;
    right: 0px;
    top: -10px;
  }

  .hangmanModal .message button {
    margin-top: 0px;
    font-size: 1.2em;
  }

  .letter {
    margin: 0 4px;
    font-size: 1em;
    padding: 4px;
    margin-top: 15px;
  }

  .guessForm input[type="text"] {
    padding: 4px;
    margin-bottom:7px;
    font-size:15px;
  }

  .guessForm .guessButton {
    border: none;
    font-size: 17px;
    padding: 3px 0px 2px;
    cursor: pointer;
    background: #53BDFF;
    color: white;
    transition: .3s;
    margin: 0;
    text-shadow: 1px 2px 0 #20a9ff;
  } 

  .wrongLetters p {
    margin-bottom: 5px;
    margin-top: 8px;
    font-size: 1.7rem;
  }

  .wrongLetters li {
    font-size: 25px;
  }

  .failhangman.title{
    font-size: 18px;
    margin-top: 5px;
    text-shadow: none;
    font-weight: bold;
  }

  .memoryModal .game{
    margin-top: 0px;
    min-height: 82%;
    height: 80%;
    padding: 6px 10px 0px 26px;
  }

  .memoryModal .modal-body {
    position: relative;
    padding: 0px;
  } 

  .instructionmemory{
    color: #0C73B0;
    font-size: 1em;
    margin-top: 20px;
    margin-bottom: 9px;
  }

  .memoryModal .iconCharacter {
    top: -20px;
    right: -37px;
  }

  .memoryModal .iconCharacter2 {
    left: -43px;
    bottom: 0px;
  }

  .congratsModal .gameContainer {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .congratsModal .dialogtitulo {
    top: 29px;
    font-size: 3rem;
  }

  .congratsModal .congratsMessage {
    font-size: 2.2rem;
    color: #0C73B0;
    margin-bottom: 0;
  }
  .congratsModal .iconCharacter {
    position: absolute;
    bottom: -20px;
    left: -100px;
    z-index: 1030;
  }

  .congratsModal .btn-fogafin {
    padding-top: 1px;
    padding-bottom: 1px;
  }

  .congratsModal .containerBtn-fogafin {
    position: absolute;
    bottom: -58px;
    right: -7px;
  }

  .congratsModal .containerBtn-fogafin.download {
    right: 170px;
    bottom: 45px;
  }

  .dndgame{
    border: 5px solid #0C73B0;
    border-radius: 15px;
    background-color: #E9F7FE;
    padding: 0px 0px 5px;
    margin-bottom: 0px;
    margin-top: 8px;
  }

  .dragDropModal .iconCharacter {
    top: -8px;
    right: -31px
    width: 40px;
  }

  .dragDropModal .iconCharacter2 {
    left: -26px;
    bottom: -5px;
    width: 40px;
  }

  .congratsModal .btn-fogafin {
    padding-top: 1px;
    padding-bottom: 1px;
    font-size: 2rem;
  }

  .congratsModal.finalgamebg .congratsMessage {
    font-size: 1.3rem;
  }

  .congratsModal.finalgamebg .iconCharacter {
    bottom: -19px;
    left: -100px;
  }

  .congratsModal.finalgamebg .iconCharacter {
    bottom: -4px;
    left: -100px;
  }

  .congratsModal.finalgamebg .btn-fogafin {
    font-size: 2.1rem;
  }
}

@media screen and (min-width: 992px) {

  .btn-fogafin {  
    font-size: 2em;
  }

  .btn-fogafin, .btn-fogafin:hover, .btn-fogafin:focus, .btn-fogafin:active{
    border:4px solid #FFFF4A;
  }

  .dialogtitulo{
    top: 30%;
    font-size: 2.8rem;
  }

  .dragDropModal .dialogtitulo {
    top: 30%;
    font-size: 3rem;
  }

  .memoryModal .dialogtitulo{
    top: 6px;
    font-size: 2.5rem;
  }

  .startinstrucciones {
    font-size: 2rem;
    margin-bottom:20px;
  }
  .talk-bubble p{
    font-size: 1.2em;
  }

  .talk-bubble.talk-left {
    margin-top: 2px;
  }

  .triangle-left {
    bottom: -14px;
    left: -8%;
  }

  .talk-bubble.talk-right {
    margin-bottom: 45px;
  }

  .hangmanModal .gameContainer {
    margin-top: 25px;
  }

  .hangmanModal .texto {
    margin-top: 15px;
  }

  .hangmancontainer{
    background: url('../img/secuencia.png') -118px 0 no-repeat;
    height: 118px;
    width: 90px;
    background-size: 615%;
  }

  .hangmanModal .text-imgCharacter
  .hangmanInstrucciones {
    font-size: 2rem;
  }

  .hangmanModal .message h1 {
    font-size: 2rem;
  }

  .hangmanModal .gameContainer .iconCharacter, #dragDropModal .iconCharacter{
    position: absolute;
    top: -30px;
    right: -43px;
    z-index: 1030;
    width:80px;
  }

  .hangmanModal .gameContainer .iconCharacter2, #dragDropModal .iconCharacter2 {
    position: absolute;
    left: -56px;
    bottom: -12px;
    z-index: 1030;
    width: 80px;
  }

  .hangmanModal .ContainerCerrarJuego {
    position: absolute;
    right: 15px;
    top: -6px;
    padding: 0px 20px;
  }

  .hangmanModal .ContainerCerrarJuego .btn-fogafin {
    font-size: 1em;
  }

  .letter {
    font-size: 1.5em;
  }

  .guessForm input[type="text"] {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .guessForm .guessButton {
    font-size: 22px;
  }

  .wrongLetters p {
    font-size: 20px;
  }

  .failhangman.title{
    font-size: 25px;
    margin-top: 5px;
    text-shadow: none;
    font-weight: bold;
  }

  .memoryModal .logoGame {
    top: 15px;
    left: 15px;
  }

  .memoryModal .game {
    border: 10px solid #0C73B0;
  }

  .instructionmemory {
    margin-top: 34px;
    margin-bottom: 9px;
  }

  .memoryModal .card.card2 {
    width: 12%;
    height: 18.666%;
    margin-left: 3.2%;
  }

  .congratsModal .iconCharacter {
    bottom: -59px;
    left: -126px;  
  }

  .congratsModal .dialogtitulo {
    top: 44px;
    font-size: 4rem;
  }

  .congratsModal .containerBtn-fogafin {
    position: absolute;
    bottom: -75px;
    right: -7px;
  }

  .congratsModal.finalgamebg .gameContainer {
    padding-top: 25px;
    padding-bottom: 2px;
  }

  .congratsModal.finalgamebg .iconCharacter {
    bottom: -10px;
    left: -125px;
  }

  .congratsModal.finalgamebg .congratsMessage {
    font-size: 1.7rem;
  }

  .congratsModal .containerBtn-fogafin.download {
    right: 207px;
    bottom: 58px;
  }

  .congratsModal.finalgamebg .btn-fogafin {
    font-size: 2.7rem;
  }
}

@media screen and (min-width: 1200px) {
  .startinstrucciones {
    font-size: 2.3rem;
  }

  .memoryModal .dialogtitulo {
    top: 19px;
    font-size: 2.4rem;
  }

  .instructionmemory {
    margin-top: 41px;
    margin-bottom: 9px;
    font-size: 1.6em;
  }

  .dragDropModal .instructionmemory {
    font-size: 1.5em;
  }

  .hangmancontainer{
    background: url('../img/secuencia.png') -118px 0 no-repeat;
    height: 168px;
    width:115px;
    background-size: 615%;
  }

  .hangmanModal .message h1 {
    font-size: 3.2rem;
  }

  .dndgame {
    padding: 0px 0px 20px;
  }

  .dragDropModal .dialogtitulo {
    top: 38%;
    font-size: 3.8rem;
  }

  .talk-bubble.talk-left {
    margin-top: 58px;
  }

  .congratsModal.finalgamebg .dialogtitulo {
    top: 64px;
    font-size: 4rem;
  }

  .congratsModal.finalgamebg .congratsMessage {
    font-size: 2rem;
  }

  .congratsModal.finalgamebg .iconCharacter {
    bottom: 4px;
    left: -125px;
  }

  .congratsModal .containerBtn-fogafin.download {
    right: 246px;
    bottom: 58px;
  }

  .congratsModal.finalgamebg .btn-fogafin {
    font-size: 3rem;
  }
}

@media screen and (min-width: 1600px) {

  .btn-fogafin {
    font-size: 2.5em;
  }

  .loader div:nth-child(1) {
    position: absolute;
    top: 50%;
    margin-top: -61px;
  }

  .separador {
    display: block!important;
  }

  .memoryModal .dialogtitulo {
    top: 28px;
    font-size: 3.7rem;
  }

  .dialogModal .dialogtitulo {
    top: 60px;
    font-size: 4.6rem;
  }

  .triangle-left {
    bottom: -27px;
    left: -8%;
  }

  .triangle-right {
    bottom: -4px;
    right: -8.5%;
  }

  .memoryModal .dialogtitulo {
    top: 32px;
    font-size: 3.4rem;
  }

  .instructionmemory {
    margin-top: 60px;
    margin-bottom: 9px;
  }

  .congratsModal .dialogtitulo {
    top: 91px;
    font-size: 6rem;
  }

  .congratsModal .congratsMessage {
    font-size: 4.35rem;
  }

  .congratsModal.finalgamebg .dialogtitulo {
    top: 90px;
    font-size: 6rem;
  }

  .congratsModal.finalgamebg .congratsMessage {
    font-size: 2.8rem;
  }

  .congratsModal.finalgamebg .iconCharacter {
    bottom: 1px;
    left: -163px;
  }

  .congratsModal .containerBtn-fogafin.download {
    right: 390px;
    bottom: 97px;
  }

  .congratsModal.finalgamebg .btn-fogafin {
    font-size: 3.4rem;
  }
}

@media screen and (min-width: 1900px) {

  .startinstrucciones {
    font-size: 3.3rem;
  }

  .loader div:nth-child(1) {
    top: 50%;
    margin-top: -90px;
  }

  .congratsModal.finalgamebg .dialogtitulo {
    top: 114px;
    font-size: 8rem;
  }

  .congratsModal.finalgamebg .iconCharacter {
    bottom: -45px;
    left: -181px;
  }

  .congratsModal.finalgamebg .congratsMessage {
    font-size: 2.8rem;
  }

  .congratsModal.finalgamebg .iconCharacter {
    bottom: -9px;
    left: -202px;
  }

  .congratsModal.finalgamebg .btn-fogafin {
    font-size: 4.5rem;
  }

  .congratsModal .containerBtn-fogafin.download {
    right: 405px;
    bottom: 97px;
  }

}

@media (max-width: 800px) {

  .card .front {
    padding: 5px;
  }

  .card .back {
    padding: 4px;
  }
}

