/*body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background-color: #070707;

  padding: 0;
  margin: 0;
  border: 0;
}

#container {
  height: 600px;
  width: 900px;
  position: relative;
  background-color: #000;
}
*/
#game-canvas {
  margin: 0;
  padding: 0;
  border: 0;
  height: 100%;
  width: 100%;
}

#invader-info {
  position: absolute;
  bottom: 210px;
     left: 50%;
   transform: translate(-50%);

  /*display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;*/

  width: auto;
  height: auto;

  font-family: 'Bungee Inline', cursive;
  font-size: 20px;
  color: #fff;
}

#invader-info p {
    margin: 0;
        margin-left: 0px;
    border: 0;
    padding: 0;
    margin-left: 10px;
    float: left;
    margin-top: 8px;
    line-height: 23px;
}

#splash-instruction {
  position: absolute;
  bottom: 110px;
 
  height: 40px;

  left: 50%;
   transform: translate(-50%);
  height: auto;
  width: auto;


  text-align: center;
  font-family: 'Bungee Inline', cursive;
  font-size: 23px;
  color: #fff;
  letter-spacing: 2px;
}

#audio {
  position: absolute;
  bottom: 10px;
  right: 30px;

  height: 40px;
  width: 40px;
}

#mute {
  position: absolute;
  bottom: 10px;
  right: 30px;

  height: 40px;
  width: 40px;
}

#audio:hover {
  cursor: pointer;
}

#mute:hover {
  cursor: pointer;
}

#menu-button {
  font-family: 'Bungee Inline', cursive;
  font-size: 23px;
  color: #e7e7e7;

  position: absolute;
  top: 11px;
  left: 420px;

  width: 300px;
  height: 30px;
  z-index: 5;
}

#menu-button:hover {
  cursor: pointer;
  color: #ffff6d;
}

#menu-container {
  position: absolute;
  bottom: 100px;
  left: 300px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;

  background-color: grey;
  height: 400px;
  width: 300px;

  font-family: 'Bungee Inline', cursive;
  font-size: 22px;
  letter-spacing: 2px;
  color: #fff;

  border-radius: 10px;
}

.header {
  color: #ee300c;
}

.button:hover {
  cursor: pointer;
}

#about-button:hover {
  cursor: pointer;
  color: #ffff6d;
}

#about {
  padding: 0 10px 0 10px;

  position: absolute;
  bottom: 100px;
  left: 300px;

  background-color: grey;
  height: 400px;
  width: 300px;

  font-family: 'Bungee Inline', cursive;
  letter-spacing: 1px;
  line-height: 25px;
  color: #000;

  text-align: center;
  border-radius: 10px;
}

#port-link {
  color: #ffff6d;
  text-decoration: none;
  transition: color .15s ease-in;
}

#port-link:hover {
  color: #fff;
  transition: color .15s ease-in;
}

#close-about {
  margin-left: 200px;
  margin-top: 5px;
  color: #fff;
}

#close-about:hover {
  cursor: pointer;
  color: #ffff6d;
}

#instructions-button:hover {
  cursor: pointer;
  color: #ffff6d;
}

#instructions {
  padding: 0 15px 0 15px;

  position: absolute;
  bottom: 100px;
  left: 300px;

  background-color: grey;
  height: 400px;
  width: 300px;

  font-family: 'Bungee Inline', cursive;
  letter-spacing: 1px;
  line-height: 25px;
  color: #000;

  text-align: center;
  border-radius: 10px;
}

#close-instructions {
  margin-left: 200px;
  margin-top: 5px;
  color: #fff;
}

#close-instructions:hover {
  cursor: pointer;
  color: #ffff6d;
}

#close-instructions:hover {
  cursor: pointer;
  color: #ffff6d;
}

#resume-button:hover {
  cursor: pointer;
  color: #ffff6d;
}

#restart-button:hover {
  cursor: pointer;
  color: #ffff6d;
}

#main-logo {
  position: absolute;
  top: 45px;
   left: 50%;
   transform: translate(-50%);
  height: auto;
  width: auto;
}


#grunt-1 {
   margin-bottom:15px;
  left: 355px;
  bottom: 350px;
  float:left;
  height: 30px;
  width: 30px;
}

#soldier-1 {
 float:left;
  left: 355px;
  bottom: 310px;
  margin-bottom:15px;
  height: 30px;
  width: 30px;
}

#invader-1 {
   float:left;
  left: 355px;
  bottom: 270px;
  margin-bottom:15px;
  height: 30px;
  width: 30px;
}

#ufo {
    float: left;
    left: 344px;
    bottom: 226px;
    margin-bottom: 15px;
    height: auto;
    width: 30px;
    margin-top: 8px;
}

#play-game {
  position: absolute;
  bottom: 30px;
  left: 50%;
transform: translate(-50%);
  z-index: 5;
  height: 50px;
  width: 250px;
  transition: all .2s ease-in;
  border: 2px solid #fff;
  border-radius: 3px;

  font-family: 'Bungee Inline', cursive;
  font-size: 23px;
  color: #fff;
  letter-spacing: 2px;
}

#play-game:hover {
  cursor: pointer;
  transition: all .2s ease-in;
  background: #de415d;
}

#play-game p {
  width: 100%;
  height: 100%;

  position: absolute;
 

  display: flex;
  justify-content: center;
  align-items: center;
}

.hide {
  display: none;
  z-index: -5;
}

.show {
  z-index: 5;
}

#game-over {
    position: absolute;
    z-index: 5;
    bottom: 150px;
    top: 46px;
    left: 50%;
    transform: translate(-50%);
    max-width: 100%;
}
@media(max-width:1170px){
  #main-logo{
    max-width: 300px;
  }

  #grunt-1, #soldier-1 , #invader-1{

    margin-bottom: 10px;
  }
  #invader-info {

    position: absolute;
    bottom: 189px;
  }


}
@media(max-width:990px){
  #splash-instruction{
    display:none !important;
  }

  #invader-info {

    position: absolute;
    bottom: 82px;

}
}

@media(max-width:768px){
  #game-over {
    
    max-width: 60%;
  }
}
@media(max-width:750px){
 #play-game {

    position: absolute;
    bottom: 13px;
    left: 50%;
    transform: translate(-50%);
    z-index: 5;
    height: 38px;
    width: 224px;
    transition: all .2s ease-in;
    border: 2px solid #fff;
    border-radius: 3px;
    font-family: 'Bungee Inline', cursive;
    font-size: 23px;
    color: #fff;
    letter-spacing: 2px;
    font-size: 18px;

  }
  #invader-info {

      position: absolute;
      bottom: 52px;

  }
  #invader-info p {

      margin: 0;
      margin-top: 0px;
      margin-left: 0px;
      margin-left: 0px;
      border: 0;
      padding: 0;
      margin-left: 10px;
      float: left;
      margin-top: 8px;
      font-size: 14px;

  }
  #grunt-1, #soldier-1, #invader-1 {

      margin-bottom: 7px;

  }

  #grunt-1, #soldier-1, #invader-1{
    width:25px;
    height:25px;
    
  }
}

@media(max-width:650px){
  #main-logo{
    max-width: 200px;
  }
  #audio, #mute {

    position: absolute;
    bottom: 10px;
    right: 30px;
    height: 30px;
    width: 30px;

}
  #game-canvas {

    margin: 0;
    padding: 0;
    border: 0;
    height: 100%;
    width: 100%;

}
}

.logearse{
color: black;
position: absolute;
top: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(0, 0, 0, 0.4);
 z-index: 500;
  text-align: center;
  display: flex;
  justify-content: center;
  vertical-align: middle;align-items: center;border-radius: 3px; left: 0px;
}
.contenedor_texto{
  background-color: white;border: 2px solid #f20041;padding: 10px;border-radius: 18px;color: black;font-size: 12px;
}

.texto-nick {
    display: block;
    text-align: center;
    color: black;
    margin-bottom: 17px;
    max-width: 70%;
    margin: 0 auto;
        margin-bottom: 0px;
    margin-bottom: 17px;
}

.nickname{
  display: block;
margin: 0 auto;
    margin-bottom: 0px;
border: 1px solid black;
margin-bottom: 10px;
}
.confirmar_nickname {
    background-color: #de415d;
    text-decoration: none;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    cursor: pointer;
}
#center_column{
  padding:0px;
}

#highscore{
          padding: 6px 5px;
    background-color: #de415d;
    color: white;
    float: left;
    width: 100%;
}
#highscore h2{
        display: inline;
    margin-right: 25px;
    margin-top: 0;
    margin-bottom: 0px;
    float: left;
    font-size:21px;
}

#highscore span {
    float: left;
    margin-top: 5px;
    font-weight: bold;
}




@media(max-width:530px){
  #grunt-1, #soldier-1, #invader-1 {
    width: 19px;
    height: 19px;
  }
  #main-logo {
    max-width: 132px;
}
}
.arrow.primera{
  width: 60px;
  height: 60px;
  background-color: #de415d;
  border-radius: 50%;

  float: left;
  margin-right:20px;
  border: 5px solid black;
}
.arrow.segunda{
  width: 60px;
  height: 60px;
  background-color: #de415d;
  border-radius: 50%;

  float: left;
  border: 5px solid black;
}
#cta{
    float: left;
    width: 50%;
    padding: 10px;
    display: flex;
    justify-content: start;

}
#cta2 {

    float: left;
    width: 50%;
    padding: 10px;
    display: flex;
    justify-content: end;
    height: 80px;

}
.boton_disparo {
    background-color: black;
    width: auto;
    color: white;
    padding: 10px 40px;
        padding-right: 40px;
        padding-left: 40px;
    text-align: center;
    margin-left: 10%;
    margin-top: 5px;
    border-radius: 2px;
    display: flex;
    font-weight: bold;
    border: 5px solid #de415d;
    height: 50px;
    font-family: 'Bungee Inline', cursive;
    font-size: 20px;
    max-width: 100%;
}

  .contenedor_movil{
    display:none;
  }

@media(max-width:500px){
  .boton_disparo {
    padding-left:10px;
    padding-right:10px;
  }
  #grunt-1, #soldier-1, #invader-1 {
    width: 15px;
    height: 15px;
  }
  #invader-info p {
    margin: 0;
        margin-top: 0px;
        margin-left: 0px;
    margin-top: 0px;
    margin-left: 0px;
    margin-left: 0px;
    border: 0;
    padding: 0;
    margin-left: 10px;
    float: left;
    margin-top: 2px;
    font-size: 14px;
  }
  #ufo{
    width:15px;
  }
}

.boton_disparo::before{
  content:"disparar";
}

.primera::before{
      content: "\f100";
    font-family: "FontAwesome";
    display: inline-block;
    font-size: 50px;
    line-height: 23px;
    color: white;
    padding-right: 15px;
    padding-top: 12px;
    padding-left: 7px;

}

.segunda::before{
      content: "\f101";
    font-family: "FontAwesome";
    display: inline-block;
    font-size: 50px;
    line-height: 23px;
    color: white;
    
    padding-top: 12px;
padding-left: 13px;

}

.tg  {border-collapse:collapse;border-spacing:0;width:100%;margin-top:10px; color:black;} 
.tg td{font-family: Arial, sans-serif;font-size:14px;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;  background-color: rgb(57, 186, 252, 0.4);}
.tg th{ font-size:14px;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;}
.tg .tg-baqh{text-align:center;vertical-align:middle}
.tg .tg-lqy6{text-align:right;vertical-align:top}
.tg .tg-yw4l{vertical-align:top}
.tg td.decorado, .tg th.decorado {
   font-weight:bold;
   color:black;
   background-color: rgb(222, 65, 93, 0.4);
}
.decorado{
    font-weight:bold;
 
}
.premios-tres{
  text-align: center;
}

.informacion {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 17px;
}