* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}
.container {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.container.colorActive {
  background-color: rgb(83, 83, 218);
}
#start-game {
  padding: 20px 30px;
  border-radius: 30px;
  border: none;
  outline: none;
  background-color: rgb(83, 83, 218);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
.game-area {
  width: 30%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 4px;
  box-shadow: 0px 0px 21px rgba(0, 0, 0, 0.4);
  padding: 20px 10px;
  align-items: center;
  position: relative;
  display: none;
}
.game-area h1 {
  font-size: 25px;
  color: #333;
  text-transform: capitalize;
  margin-bottom: 16px;
}
.game-area input {
  width: 100%;
  height: 40px;
  padding: 10px;
  outline: none;
  margin-bottom: 6px;
}

.game-area input:focus {
  border: 1px solid rgb(83, 83, 218);
}

.game-area button {
  padding: 10px 20px;
  background-color: rgb(83, 83, 218);
  border: none;
  outline: none;
  color: #fff;
  display: block;
  font-size: 16px;
  cursor: pointer;
  margin-top: 25px;
  text-transform: capitalize;
  border-radius: inherit;
  margin-bottom: 10px;
  pointer-events: none;
  transition: all 0.4s;
  opacity: 0.7;
}

.result {
  display: none;
  font-size: 16px;
}

.result.display {
  display: block;
}

.game-area button.active {
  opacity: 1;
  pointer-events: all;
}

.attempts {
  font-size: 16px;
}

.game-result {
  width: 30%;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px 10px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0px 0px 21px rgba(0, 0, 0, 0.4);
}

.game-result h1 {
  font-size: 70px;
  margin-bottom: 16px;
}

.game-result .heading {
  font-size: 30px;
  font-weight: bold;
  text-transform: capitalize;
  margin-bottom: 10px;
  letter-spacing: 3px;
}

.points {
  font-size: 16px;
  font-weight: 600;
}

.game-result button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: rgb(83, 83, 218);
  border: none;
  outline: none;
  color: #fff;
  display: block;
  font-size: 16px;
  cursor: pointer;
  text-transform: capitalize;
  border-radius: inherit;
}

@media (max-width: 450px) {
  .game-result {
    width: 90%;
  }
  .game-area {
    width: 90%;
  }
}
