:root {
  background-color: rgb(29, 26, 26);
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-size: 62.5%;
}

.container {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

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

h1 {
  font-size: 3.4rem;
  color: #fff;
  margin-bottom: 4rem;
  text-align: center;
}

h2 {
  font-size: 3.2rem;
  color: #fff;
  margin-bottom: 4rem;
  text-align: center;
}

.button {
  font-size: 2.4rem;
  text-decoration: none;
  padding: 2rem 0;
  margin-bottom: 1rem;
  width: 30rem;
  border-radius: 4px;
  color: rgb(28, 26, 26);
  background: linear-gradient(
    to right,
    rgb(18, 92, 225) 0%,
    rgb(0, 102, 255) 100%
  );
  text-align: center;
}

.button:hover {
  cursor: pointer;
  box-shadow: 0 0 2.4rem 0 rgba(8, 114, 244, 0.6);
  transition: transform 330ms;
  transform: scale(1.05);
}

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

#highscore-button {
  display: flex;
  align-items: center;
  background: linear-gradient(
    90deg,
    rgb(255, 247, 9) 0%,
    rgb(240, 221, 6) 100%
  );
}

#highscore-button:hover {
  box-shadow: 0 0.4rem 1.4rem 0 rgba(255, 255, 0, 0.5);
}

.fa-crown {
  font-size: 2.5rem;
  margin-left: 1rem;
}

/* End Page CSS */

.end-form-container {
  /* width: 100%; */
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 30rem;
}

input {
  box-sizing: border-box;
  margin-bottom: 1rem;
  width: 30rem;
  padding: 1.5rem;
  font-size: 1.8rem;
  border: none;
  box-shadow: 0 0.1rem 1.4rem 0 rgba(86, 185, 235, 0.5);
}

.warning {
  color: red;
  box-shadow: 0 0.1rem 1.4rem 0 rgba(255, 22, 22, 0.5);
}

input::placeholder {
  color: #aaa;
}

#username {
  margin-bottom: 3rem;
  outline: none;
}

#saveScoreBtn {
  border: none;
}

#goHomeBtn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fa-home {
  margin-left: 1rem;
  font-size: 2rem;
  color: rgb(28, 26, 26);
}

/* References */
p {
  color: #fff;
  font-size: 3rem;
}

.link {
  color: #fff;
  font-size: 3rem;
  text-decoration: none;
}

@media screen and (min-width: 600px) {
  h1 {
    font-size: 5.4rem;
  }

  h2 {
    font-size: 4.2rem;
  }

  .button {
    font-size: 3.4rem;
    width: 40rem;
  }

  /* End Page CSS */

  .end-form-container {
    max-width: 40rem;
  }

  input {
    width: 40rem;
  }
}
