@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@700&display=swap');

body{
  font-family: 'Cairo', sans-serif;
  background-color: rebeccapurple;
  margin: 0;
  overflow: hidden;
  font-size: 20px;
}

#titulo{
  font-size: 30px;
  text-align: center;
  margin: 0;
}
#contenidoNintendo{
  width: 38%;
  display: flex;
  flex-direction: column;
}

.juego{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.juegoOverlay{
  position: relative;
}

#juegoCanvas{
  position: absolute;
  left: 16.9%;
  top: 5.1%;
  width: 73.8% ;
  background-color: #ecbe14;
}

.nintendo{
  width: 100%;
}

#puntaje{
  margin-left: 10%;
}

/*Reposive banner*/

.esconder{
  display: none !important;
}

#bannerRotarTelefono{
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: coral;
  color: white;
  padding: 10px;
  margin-bottom: 5px;
}

#bottonCerrarBanner{
  border: 1px solid white;
  border-radius: 5px;
  background-color: coral;
  color: white;
  font-weight:bolder;
  padding: 6px;
}

#bottonCerrarBanner:hover{
  cursor: pointer;
  background-color: white;
  color: coral;
}

@media screen and (max-width: 768px){
  #contenidoNintendo{
    width: 85%;
  }
  #puntaje{
    font-size: 17px;
  }
  h1{
    font-size: 25px;
  }
}

@media screen and (max-width: 1024px){
  #contenidoNintendo{
    width: 85%;
  }
  #puntaje{
    font-size: 25px;
  }
  h1{
    font-size: 30px;
  }
}

@media screen and (max-width: 1280px){
  #contenidoNintendo{
    width: 50%;
  }
  #puntaje{
    font-size: 18px;
  }

  h1{
    font-size: 30px;
  }
}

.shake-horizontal {
    -webkit-animation: shake-horizontal 0.8s
      cubic-bezier(0.455, 0.03, 0.515, 0.955) both;
    animation: shake-horizontal 0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955) both;
  }
  
  /* ----------------------------------------------
   * Generated by Animista on 2020-10-24 16:9:50
   * Licensed under FreeBSD License.
   * See http://animista.net/license for more info. 
   * w: http://animista.net, t: @cssanimista
   * ---------------------------------------------- */
  
  /**
   * ----------------------------------------
   * animation shake-horizontal
   * ----------------------------------------
   */
  @-webkit-keyframes shake-horizontal {
    0%,
    100% {
      -webkit-transform: translateX(0);
      transform: translateX(0);
    }
    10%,
    30%,
    50%,
    70% {
      -webkit-transform: translateX(-10px);
      transform: translateX(-10px);
    }
    20%,
    40%,
    60% {
      -webkit-transform: translateX(10px);
      transform: translateX(10px);
    }
    80% {
      -webkit-transform: translateX(8px);
      transform: translateX(8px);
    }
    90% {
      -webkit-transform: translateX(-8px);
      transform: translateX(-8px);
    }
  }
  @keyframes shake-horizontal {
    0%,
    100% {
      -webkit-transform: translateX(0);
      transform: translateX(0);
    }
    10%,
    30%,
    50%,
    70% {
      -webkit-transform: translateX(-10px);
      transform: translateX(-10px);
    }
    20%,
    40%,
    60% {
      -webkit-transform: translateX(10px);
      transform: translateX(10px);
    }
    80% {
      -webkit-transform: translateX(8px);
      transform: translateX(8px);
    }
    90% {
      -webkit-transform: translateX(-8px);
      transform: translateX(-8px);
    }
  }