* {
  margin: 0px;
  padding: 0px;
  display: block;
  box-sizing: border-box;
}

img {
  width: 100%;
  height: 100%;
}

#game {
  position: absolute;
  height: 800px;
  width: 800px;
  overflow: hidden;
}

.obstacle {
  display: inline-block;
  z-index: 1;
  position: absolute;
}

.among {
  display: inline-block;
  z-index: 1;
  position: absolute;
  animation: rotation 3s infinite linear;
}

#player {
  display: block;
  z-index: 2;
  position: absolute;
}

.earth {
  display: block;
  width: 100%;
  height: 50%;
  top: 50%;
  z-index: 0;
  position: absolute;
}

.atmosphere {
  display: block;
  width: 100%;
  height: 10%;
  top: 40%;
  z-index: 0;
  background-color: rgb(135, 206, 250);
  position: absolute;
}

.space {
  display: block;
  width: 100%;
  height: 40%;
  z-index: 0;
  position: absolute;
}

.landing {
  z-index: 1;
  background-color: rgb(57, 56, 149);
  position: absolute;
}

.score {
  display: block;
  height: 10%;
  z-index: 10;
  position: absolute;
  top: 95%;
  margin-left: 5px;
  font-size: 2em;
  font-weight: bold;
  color: #fff;
}

.time {
  display: block;
  height: 10%;
  z-index: 10;
  position: absolute;
  top: 0;
  margin-left: 5px;
  font-size: 1.5em;
  font-weight: bold;
  color: #fff;
}

.sat {
  display: block;
  width: 20%;
  height: 10%;
  z-index: 10;
  position: absolute;
  top: 90%;
  margin-left: 5px;
  font-size: 2em;
  font-weight: bold;
  color: #fff;
}

.lives-container {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  width: 100%;
  height: 100%;
}

.heart {
  display: block;
  z-index: 1;
  width: 40px;
  height: 40px;
}

.rocket {
  visibility: hidden;
  position: absolute;
  display: inline-block;
  z-index: 2;
}

.menu-screen {
  position: absolute;
  margin: auto;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 11;
}

.menu-screen .background {
  position: absolute;
  width: 100%;
  height: 100%;
}

.logo {
  width: 25%;
  margin-top: 20%;
  z-index: 2;
}

#scoreboard .logo {
  width: 20%;
  margin-top: 15%;
  z-index: 2;
}

button {
  margin-top: 2.5%;
  width: 50%;
  background: transparent;
  border-radius: 40px;
  border: 0px;
  color: #fff;
  font-size: 2em;
  font-weight: bold;
  padding: 0 20px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  z-index: 2;
}

.invis {
  visibility: hidden;
}

#finish_score {
  display: block;
  margin-top: 2.5%;
  z-index: 10;
  font-size: 2em;
  font-weight: bold;
  color: #fff;
}

.item {
  color: white;
  margin: 2% auto;
  font-weight: bold;
  font-size: 2em;
  width: 50%;
  z-index: 2;
  border-bottom: 1px solid #fff;
  display: flex;
}

.item img {
  width: 60px;
  height: 100%;
}

.m-auto-0 {
  margin: auto 0;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
