* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  width: 100vw;
  height: 100vh;

  background: linear-gradient(45deg, #3da5eb, #1534e4);
}

/*  ========= CONTAINER ========= */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;

  position: fixed;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 500px;
  height: auto;
  padding: 20px;

  background-color: white;
  box-shadow: 0 0 10px #00000046;
}

/*  ========= GUESS BOX ========= */
.guess-box {
  display: flex;
  gap: 10px;
  height: 40px;
}

.guess-input {
  width: 130px;

  font-size: 1.2rem;
  text-align: center;
  color: royalblue;
  outline: none;
  border: none;
  border-bottom: solid 1px black;
}

.guess-btn {
  padding: 0 20px;

  color: white;
  background-color: royalblue;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.guess-btn:active {
  transform: scale(0.95);
}

.guess-btn:disabled {
  opacity: 0.5;
}

.guess-input:disabled {
  opacity: 0.5;
}

/*  ========= INFORMATION ========= */
.information {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 80%;
  max-width: 400px;
  margin-top: 20px;
}

.last-guess-label {
  margin-bottom: 10px;
}

.guess-status {
  padding: 5px 10px;
  border-radius: 2px;
  transition: 0.3s;
}

.guess-hint {
  text-transform: capitalize;
}

/*  ========= RESTART BUTTON ========= */
.restart-btn {
  display: none;
  width: 100px;
  padding: 5px 0;
  margin-top: 25px;
  color: white;
  background-color: #1534e4;
  border-radius: 2px;
  border: none;
  cursor: pointer;
}

.restart-btn:active {
  opacity: 0.5;
}

 /* ========= RESPONSIVE ========= */
@media (max-width: 360px) {
  .container {
    padding: 15px;
  }
}

