* {
  box-sizing: border-box;
}

body {
  height: 100vh;
  margin: 0;
  background-image: url(../assets/invaders.png);
  background-repeat: no-repeat;
  background-size:cover;
}

#top-header {
  flex-direction: column;
  display: flex;
}

#game-stats {
  display: flex;
  text-align: center;
  justify-content: center;
  font-size: 20px;
}

#game-stats ul {
  display: flex;
  color: white;
  font-family: 'Press Start 2P', cursive;
}

#game-stats ul li {
  padding-right: 30px;
}

#top-elements {
  flex-direction: row;
  display: flex;
  padding:20px
}

#logo {
  width: 100%;
  height: auto;
  padding-left: 20px;
}

.buttons {
  display: flex;
  text-align: center;
  align-self: center;
  margin-right: 20px;
}

#start-button {
  width: 150px;
  height: 30px;
  margin-right: 20px;
  font-family: 'Press Start 2P', cursive;
    background: none;
    color: green;
    border: 3px solid green;
    padding-top: 15px;
    padding-bottom: 25px;
}



#reset-button {
  width: 150px;
  height: 30px;
  font-family: 'Press Start 2P', cursive;
    background: none;
    color: red;
    border: 3px solid red;
    padding-top: 15px;
    padding-bottom: 25px;
}

ul {
  margin-top: 50px;
  list-style-type: none;
  text-align: center;
}

.grid-wrapper {
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
}


body {
  display: flex;
  flex-direction: column;
}

.grid {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  justify-content: center;
  height: 700px;
  width: 700px;
  
}

.grid div {
  flex-grow: 1;
  height: 5%;
  width: 5%;
}

.grid div.player-ship {
  background-image: url('../assets/player.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.grid div.alien-ships {
  background-image: url('../assets/alien_animated.gif');
  width: 35;
  height: 35px;
  background-repeat: no-repeat;
  background-size: contain;
}

.grid div.player-laser {
  background-image: url('../assets/laser.gif');
  background-repeat: no-repeat;
  background-size: contain;
}
.grid div.alien-laser {
    background-image: url('../assets/laser.gif');
    background-repeat: no-repeat;
    background-size: contain;
}

.grid div.explosion {
  background-image: url('../assets/explosion.gif');
  background-repeat: no-repeat;
  background-size: contain;
}
