:root,
body {
  font-size: 20px;
  --categoria: rgba(0, 0, 0, .2);
  --color1: #FBE6AB;
  --color2: #013E8F;
  --color3: #002F6F;
  --color4: #CC2E2F;
  --color5: #FFEBCE;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: none
}

body {
  margin: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #662d91;
  line-height: 1.5
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--fuenteTitulo);
  line-height: 1.2
}

a {
  text-decoration: none
}

p {
  margin-bottom: 10px;
  margin-top: 0
}

img {
  max-width: 100%;
  height: auto
}

:focus {
  outline: none !important;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  background-color: transparent;
  text-decoration: none;
}

.dNone {
  display: none;
}

@-webkit-keyframes show {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

@keyframes show {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

@-webkit-keyframes palpitar {
  0% {
    background-color: var(--categoria)
  }

  50% {
    background-color: #fff;
    color: var(--categoria);
    border-color: var(--categoria)
  }

  100% {
    background-color: var(--categoria)
  }
}

@keyframes palpitar {
  0% {
    background-color: var(--categoria)
  }

  50% {
    background-color: #fff;
    color: var(--categoria);
    border-color: var(--categoria)
  }

  100% {
    background-color: var(--categoria)
  }
}

@-webkit-keyframes bounce-entrada {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0)
  }

  80% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2)
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

@keyframes bounce-entrada {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0)
  }

  80% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2)
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

@-webkit-keyframes bounce-entrada2 {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0)
  }

  60% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3)
  }

  80% {
    -webkit-transform: scale(0.6);
    transform: scale(0.6)
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

@keyframes bounce-entrada2 {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0)
  }

  60% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3)
  }

  80% {
    -webkit-transform: scale(0.6);
    transform: scale(0.6)
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

.bounce-entrada {
  -webkit-animation: bounce-entrada .5s ease backwards;
  animation: bounce-entrada .5s ease backwards
}

@-webkit-keyframes fade-in-iz {
  0% {
    opacity: 0;
    position: relative;
    left: -100%
  }

  90% {
    opacity: 1
  }

  100% {
    position: relative;
    left: 0
  }
}

@keyframes fade-in-iz {
  0% {
    opacity: 0;
    position: relative;
    left: -100%
  }

  90% {
    opacity: 1
  }

  100% {
    position: relative;
    left: 0
  }
}

.fade-in-iz {
  -webkit-animation: fade-in-iz .5s ease backwards;
  animation: fade-in-iz .5s ease backwards
}

@-webkit-keyframes fade-in-der {
  0% {
    opacity: 0;
    position: relative;
    right: -100%
  }

  90% {
    opacity: 1
  }

  100% {
    position: relative;
    right: 0
  }
}

@keyframes fade-in-der {
  0% {
    opacity: 0;
    position: relative;
    right: -100%
  }

  90% {
    opacity: 1
  }

  100% {
    position: relative;
    right: 0
  }
}

.fade-in-der {
  -webkit-animation: fade-in-der .5s ease backwards;
  animation: fade-in-der .5s ease backwards
}

@-webkit-keyframes vibration {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0)
  }

  25% {
    -webkit-transform: rotate(-5deg);
    transform: rotate(-5deg)
  }

  50% {
    -webkit-transform: rotate(0);
    transform: rotate(0)
  }

  75% {
    -webkit-transform: rotate(5deg);
    transform: rotate(5deg)
  }

  100% {
    -webkit-transform: rotate(0);
    transform: rotate(0)
  }
}

@keyframes vibration {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0)
  }

  25% {
    -webkit-transform: rotate(-5deg);
    transform: rotate(-5deg)
  }

  50% {
    -webkit-transform: rotate(0);
    transform: rotate(0)
  }

  75% {
    -webkit-transform: rotate(5deg);
    transform: rotate(5deg)
  }

  100% {
    -webkit-transform: rotate(0);
    transform: rotate(0)
  }
}

.delay-0 {
  -webkit-animation-delay: 0;
  animation-delay: 0
}

.delay-1 {
  -webkit-animation-delay: .3s;
  animation-delay: .3s
}

.opacity {
  opacity: .3
}

.hidden {
  display: none
}

.memoria .memoria-contenedor-elementos {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap
}

.memoria .memoria-contenedor-elementos .memoria-elemento-1,
.memoria .memoria-contenedor-elementos .memoria-elemento-2,
.memoria .memoria-contenedor-elementos .memoria-elemento-3,
.memoria .memoria-contenedor-elementos .memoria-elemento-4,
.memoria .memoria-contenedor-elementos .memoria-elemento-5,
.memoria .memoria-contenedor-elementos .memoria-elemento-6 {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;

  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: auto;
  max-width: none;

  width: 30%;
  height: 50%;
  padding: 5px;
  text-align: center;
  max-width: 250px;
}


@media (max-width: 576px) {

  .memoria .memoria-contenedor-elementos .memoria-elemento-1,
  .memoria .memoria-contenedor-elementos .memoria-elemento-2,
  .memoria .memoria-contenedor-elementos .memoria-elemento-3,
  .memoria .memoria-contenedor-elementos .memoria-elemento-4,
  .memoria .memoria-contenedor-elementos .memoria-elemento-5,
  .memoria .memoria-contenedor-elementos .memoria-elemento-6 {
    width: 150px;
  }
}

.memoria .memoria-contenedor-elementos .memoria-elemento-1 .memoria-img-el-1,
.memoria .memoria-contenedor-elementos .memoria-elemento-2 .memoria-img-el-2,
.memoria .memoria-contenedor-elementos .memoria-elemento-3 .memoria-img-el-3,
.memoria .memoria-contenedor-elementos .memoria-elemento-4 .memoria-img-el-4,
.memoria .memoria-contenedor-elementos .memoria-elemento-5 .memoria-img-el-5,
.memoria .memoria-contenedor-elementos .memoria-elemento-5 .memoria-img-el-6 {
  max-height: 370px
}

.memoria .memoria-contenedor-elementos {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center
}

.memoria .play .play-btn,
.memoria .memoria-contenedor-elementos .memoria-elemento-1 .memoria-img-el-1,
.memoria .memoria-contenedor-elementos .memoria-elemento-2 .memoria-img-el-2,
.memoria .memoria-contenedor-elementos .memoria-elemento-3 .memoria-img-el-3,
.memoria .memoria-contenedor-elementos .memoria-elemento-4 .memoria-img-el-4,
.memoria .memoria-contenedor-elementos .memoria-elemento-5 .memoria-img-el-5,
.memoria .memoria-contenedor-elementos .memoria-elemento-5 .memoria-img-el-6 {
  cursor: url(../img/pointer.png), pointer;
  width: auto;
  height: auto;
  max-height: 100%
}

.memoria .memoria-contenedor-elementos {
  margin-left: auto;
  margin-right: auto
}

@keyframes bounce-entrada {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0)
  }

  80% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2)
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

.bounce-entrada {
  -webkit-animation: bounce-entrada .5s ease backwards;
  animation: bounce-entrada .5s ease backwards
}

@keyframes fade-in-iz {
  0% {
    opacity: 0;
    position: relative;
    left: -100%
  }

  90% {
    opacity: 1
  }

  100% {
    position: relative;
    left: 0
  }
}

.fade-in-iz {
  -webkit-animation: fade-in-iz .5s ease backwards;
  animation: fade-in-iz .5s ease backwards
}

@keyframes fade-in-der {
  0% {
    opacity: 0;
    position: relative;
    right: -100%
  }

  90% {
    opacity: 1
  }

  100% {
    position: relative;
    right: 0
  }
}

.fade-in-der {
  -webkit-animation: fade-in-der .5s ease backwards;
  animation: fade-in-der .5s ease backwards
}

.delay-0 {
  -webkit-animation-delay: 0;
  animation-delay: 0
}

.delay-1 {
  -webkit-animation-delay: .2s;
  animation-delay: .2s
}

.delay-2 {
  -webkit-animation-delay: .4s;
  animation-delay: .4s
}

.delay-3 {
  -webkit-animation-delay: .6s;
  animation-delay: .6s
}

.delay-4 {
  -webkit-animation-delay: .8s;
  animation-delay: .8s
}

.delay-5 {
  -webkit-animation-delay: 1s;
  animation-delay: 1s
}

.delay-6 {
  -webkit-animation-delay: 1.2s;
  animation-delay: 1.2s
}

.memoria__head {
  height: 15vh;
  max-height: 60px;
  margin-bottom: 50px;
  position: relative
}

.memoria__head .ec-logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  max-width: 200px;
  width: 20%;
  min-width: 150px;
  padding-left: 0;
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 10
}

.memoria__head .ec-logo-img {
  width: auto;
  max-height: 100%;
  max-width: 100%;
  height: auto
}

.memoria__head .logo2 {
  position: absolute;
  right: 2%;
  top: 10%;
  width: 18%;
  max-width: 300px
}

@media (max-width: 992px) {
  .memoria__head .logo2 {
    width: 23%
  }
}

.categoria {
  margin-bottom: 30px;
  background-color: var(--categoria);
  -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 10px 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px;
  color: #fff;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 24px;
  text-shadow: 2px 3px 1px rgba(0, 0, 0, 0.2)
}

@media (max-width: 992px) {
  .categoria {
    font-size: 18px;
    line-height: 1
  }
}

.categoria .categoria__nombre {
  text-transform: uppercase;
  font-size: 40px;
  line-height: 1;
  margin-top: 0
}

@media (max-width: 992px) {
  .categoria .categoria__nombre {
    font-size: 28px
  }
}

.memoria {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-bottom: 50px;
  min-height: calc(100vh - 127px - 45px);
}

@media (max-width: 992px) {
  .memoria {
    background-size: auto;
    padding-bottom: 40px;
    min-height: 100%;
  }
}

.memoria .memoria-contenedor {
  width: 100%;
  height: 100%;
  position: relative;
  padding: 50px 0;
}

@media (max-width: 767px) {
  .memoria .memoria-contenedor {
    padding: 30px 0;
  }
}


.memoria .play {
  margin-left: auto;
  margin-right: auto;
}

.memoria .play .play-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 75px;
  height: 75px;
  text-decoration: none;
  background-color: #CC2E2F;
  border: 3px solid #CF4D4D;
  -webkit-box-shadow: 0 8px 0 #9D1F1D;
  box-shadow: 0 8px 0 #9D1F1D;
  border-radius: 50%;
  position: relative;
  top: -4px;
  -webkit-transition: all 200ms;
  transition: all 200ms
}

.memoria .play .play-btn:hover {
  top: 0;
  -webkit-box-shadow: 0 4px 0 #9D1F1D;
  box-shadow: 0 4px 0 #9D1F1D
}

.memoria .play .play-btn:active {
  top: 4px;
  -webkit-box-shadow: 0 0 0 #9D1F1D;
  box-shadow: 0 0 0 #9D1F1D
}

@media (max-width: 992px) {
  .memoria .play .play-btn {
    width: 60px;
    height: 60px
  }
}

.memoria .play img {
  max-width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%)
}

.memoria .play .iconoJugar {
  width: 40%
}

.memoria .play .iconoJugar__path {
  fill: #fff
}

.memoria .recargar {
  position: fixed;
  bottom: 20px;
  right: 30px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end
}

.memoria .recargar .recargar-btn {
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  cursor: url(../img/pointer.png), pointer;
  border-radius: 10px;
  z-index: 1;
  font-size: 20px;
  padding: 4px 18px;
  background-color: #EB6651;
  border: 3px solid #e8523a;
  -webkit-box-shadow: 0 8px 0 #e63e23;
  box-shadow: 0 8px 0 #e63e23;
  border-radius: 10px;
  position: relative;
  top: -4px;
  -webkit-transition: all 200ms;
  transition: all 200ms
}

.memoria .recargar .recargar-btn:hover,
.memoria .recargar .recargar-btn:active {
  top: 0;
  -webkit-box-shadow: 0 4px 0 #e63e23;
  box-shadow: 0 4px 0 #e63e23
}

@media (max-width: 992px) {
  .memoria .recargar .recargar-btn {
    font-size: 16px;
    padding: 4px 10px
  }
}

.memoria .finalizar {
  position: absolute;
  bottom: 30px;
  left: 30px
}

.memoria .finalizar .finalizar-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 22px;
  font-weight: bold;
  background-color: red;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: -webkit-transform .3s;
  transition: -webkit-transform .3s;
  transition: transform .3s;
  transition: transform .3s, -webkit-transform .3s
}

.memoria .finalizar .finalizar-btn:hover {
  -webkit-transform: scale(1.02);
  transform: scale(1.02)
}

.memoria .memoria-contenedor-elementos {
  min-height: auto;
  width: auto;
  max-width: 1000px;
}

.memoria .memoria-contenedor-elementos .memoria-elemento {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center
}

.memoria .memoria-contenedor-elementos .memoria-elemento .memoria-radio {
  display: none
}

.memoria .memoria-contenedor-elementos .memoria-elemento .memoria_error {
  display: none;
  -webkit-animation: bounce-entrada2 .8s linear backwards;
  animation: bounce-entrada2 .8s linear backwards;
  position: absolute;
  width: 96%;
  left: 2%;
  top: -4%;
}

.memoria .memoria-contenedor-elementos .memoria-elemento .memoria_error img {
  margin: auto;
  width: auto;
  height: 100%
}



@media (min-width: 1022px) {
  .memoria-elemento.memoria-elemento-3 {
    margin-right: 15%;
  }

  .memoria-elemento.memoria-elemento-4 {
    margin-left: 15%;
  }
}


@media (min-width: 768px) {
  .memoria-elemento.memoria-elemento-3 {
    margin-right: 10%;
  }

  .memoria-elemento.memoria-elemento-4 {
    margin-left: 10%;
  }
}

.hidden {
  display: none !important;
  visibility: hidden !important
}

@-webkit-keyframes cambio-de-color {
  0% {
    color: #fff
  }

  100% {
    color: #F0DA2C
  }
}

@keyframes cambio-de-color {
  0% {
    color: #fff
  }

  100% {
    color: #F0DA2C
  }
}

*::-webkit-scrollbar {
  width: 8px
}

*::-webkit-scrollbar-thumb {
  background: #bfbfbf;
  border-radius: 4px
}

*::-webkit-scrollbar-thumb:hover {
  background: #b3b3b3
}

*::-webkit-scrollbar-thumb:active {
  background-color: #adadad
}

*::-webkit-scrollbar-track {
  background: #ededed;
  border-radius: 4px
}

*::-webkit-scrollbar-track:hover,
*::-webkit-scrollbar-track:active {
  background: #ededed
}



.gameDisabled {
  pointer-events: none;
  filter: grayscale(1);
  opacity: .5;
}