h1,
h2,
h3,
p {
  color: #faf9f6;
}

h1,
h2,
h3,
p {
  color: #faf9f6;
}

.btn {
  background: #9897fe;
  color: #faf9f6;
  font-family: "Press Start 2P", cursive;
  display: block;
  margin: auto;
  padding: 1em;
  border: 1px solid white;
  cursor: pointer;
}

.btn-jump {
  background: #9897fe;
  color: #faf9f6;
  font-family: "Press Start 2P", cursive;
  display: block;
  margin: auto;
  margin-bottom: 20px;
  padding: 1em;
  border: 1px solid white;
  width: 90%;
  cursor: pointer;
}

.start-reset {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  margin: auto;
}

@media screen and (min-width: 1024px) {
  .btn-jump {
    width: 30%;
  }

  .btn:hover {
    background-color: #faf9f6;
    color: #9897fe;
    transition: 0.2s;
  }
}
h1,
h2,
h3,
p {
  color: #faf9f6;
}

.header {
  text-transform: uppercase;
  text-align: center;
  margin: 30px 0;
}

@media screen and (min-width: 768px) {
  #header {
    margin: 3rem 0 8rem 0;
  }
}
h1,
h2,
h3,
p {
  color: #faf9f6;
}

.scores {
  font-size: 0.8rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.scores__current {
  margin-bottom: 1.5rem;
}

h1,
h2,
h3,
p {
  color: #faf9f6;
}

.screen {
  width: 90%;
  height: 200px;
  background-color: #faf9f6;
  margin: auto;
  margin-bottom: 25px;
  padding: 0.5rem;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

@media screen and (min-width: 1024px) {
  .screen {
    width: 40%;
    height: 200px;
  }
}
.character {
  font-size: 3rem;
  animation-timing-function: linear;
  position: absolute;
}

@keyframes jump {
  0% {
    bottom: 0px;
  }
  50% {
    bottom: 70px;
  }
  100% {
    bottom: 0px;
  }
}
@keyframes double-jump {
  0% {
    bottom: 60px;
  }
  50% {
    bottom: 100px;
  }
  100% {
    bottom: 0px;
  }
}
.animate-character {
  animation: jump 0.7s;
}

.double-jump {
  animation: double-jump 0.5s;
}

#bomb {
  font-size: 2rem;
  position: absolute;
  right: 0;
  animation-timing-function: linear;
}

@keyframes side-scroll {
  0% {
    left: 100%;
  }
  100% {
    left: -8px;
  }
}
.animate-bomb {
  animation: side-scroll 0.95s infinite;
}

#star {
  font-size: 2rem;
  position: absolute;
  right: -15%;
  bottom: 65%;
  animation-timing-function: linear;
  color: #f6be00;
}

@keyframes side-scroll {
  0% {
    left: 100%;
  }
  100% {
    left: -15%;
  }
}
.animate-star {
  animation: side-scroll 2s infinite;
}

.game-desc {
  text-align: center;
  line-height: 1.5rem;
  padding: 0.75rem 1.5rem;
}

@media screen and (min-width: 1024px) {
  .game-desc {
    margin-bottom: 1.5rem;
  }
}
h1,
h2,
h3,
p {
  color: #faf9f6;
}

.footer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;
  font-size: 0.8rem;
}

@media screen and (min-width: 1024px) {
  .footer {
    height: auto;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #9897fe;
  font-family: "Press Start 2P", cursive;
  height: 100vh;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  touch-action: manipulation;
}

@media screen and (min-width: 1024px) {
  body {
    padding: 50px;
  }
}