* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: #fff;
}

body {
  font-family: "Poiret One", cursive;
  font-size: 62.5%;
  background-color: #0d1211;
  background-image: url(/assets/images/confetti-4-unscreen.gif);
}

h1 {
  font-family: "Rubik Vinyl", cursive;
  font-size: 5.4rem;
  font-color: #fff;
  margin-bottom: 5rem;
  text-align: center;
  text-shadow: 4px 4px green;
}

.container {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 50rem;
  margin: 0 auto;
}
.container > * {
  width: 90%;
}

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

.flex-center {
  justify-content: center;
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.text-center {
  text-align: center;
}

.home-img {
  position: absolute;
  margin-top: 10rem;
  left: 68%;
  width: 50%;
  top: 30%;
  transition: transform 0.2s;
}
.home-img:hover {
  transform: scale(1.5);
}

.btn {
  font-family: "Italiana";
  color: #fff;
  font-size: 2em;
  font-weight: 900;
  top: 80%;
  background-color: green;
  text-decoration: none;
  border-radius: 40px;
  border: 2px solid #fff;
  padding: 15px 32px;
  margin: 4px 2px;
}
.btn:hover {
  cursor: pointer;
  box-shadow: 0 0 30px whitesmoke;
  transform: translate(-0.1rem);
  transition: transform 150ms;
}

.btn[disabled]:hover {
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.rules {
  margin-bottom: 3rem;
  font-size: 1rem;
}

#saveScoreBtn {
  font-family: "Poiret One", cursive;
}

form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

input {
  margin-bottom: 1rem;
  width: 20rem;
  padding: 1.5rem;
  font-size: 1.8rem;
  border: none;
  box-shadow: 0 0.1rem 1.4rem 0 #fff;
  background-color: black;
}
input::-moz-placeholder {
  color: rgb(198, 239, 210);
  text-align: center;
}
input::placeholder {
  color: rgb(198, 239, 210);
  text-align: center;
}

#highScoresList {
  list-style: none;
  padding-left: 0;
  margin-bottom: 4rem;
  background-color: rgb(32, 31, 30);
  padding: 3.5rem;
  border-radius: 50px 20px;
  box-shadow: 0 0.1rem 1.4rem 0 #fff;
}

.high-score {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}