* {
  box-sizing: border-box;
}
body {
  background-color: rgba(211, 211, 211, 0.849);
  width: 100%;
  height: 100vh;
}
button {
  border: none;
  outline: none;
  cursor: pointer;
}
.game {
  display: flex;
  flex-direction: column;
  width: 80%;
  height: 90%;
  background: url(img/background.png) center/ cover;
  margin: auto;
  border-radius: 20px;
}

.game__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  margin-top: 20px;
}

.game__button {
  width: 3rem;
  height: 3rem;
  background: rgba(148, 178, 233, 1);
  border: 4px solid black;
  font-size: 24px;
}

.game__button:hover {
  transform: scale(1.1);
}

.game__timer {
  width: 10rem;
  background-color: white;
  text-align: center;
  font-weight: bold;
  border-radius: 5px;
  font-size: 2rem;
  margin-top: 8px;
  padding: 0.2rem;
  visibility: hidden;
}

.game__score {
  text-align: center;
  width: 3rem;
  height: 3rem;
  padding-bottom: 5px;
  margin-top: 1rem;
  padding-top: 0.5rem;
  font-size: 2rem;
  background: rgb(152, 231, 161);
  background: linear-gradient(
    90deg,
    rgba(148, 178, 233, 1) 26%,
    rgba(152, 231, 161, 1) 77%
  );
  border-radius: 50%;
  color: white;
  visibility: hidden;
}

.game__field {
  position: relative;
  width: 100%;
  height: 100%;
  margin-top: 40px;
}

.pop-up {
  width: 30rem;
  height: 12rem;
  padding: 25px;
  background-color: #00000090;
  border-radius: 20px;
  color: white;
  text-align: center;
  margin: auto;
  transform: translateY(-140%);
}

.pop-up--hide {
  display: none;
}

.pop-up__refresh {
  width: 3.5rem;
  height: 3.5rem;
  background: rgb(152, 231, 161);
  border-radius: 50%;
  font-size: 2rem;
}

.pop-up__refresh:hover {
  transform: scale(1.2);
}

.pop-up__replay {
  display: block;
  font-size: 2rem;
  margin: 8px 0;
}

.pop-up__info {
  display: block;
  font-size: 1.2rem;
}

.info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 30rem;
  height: 12rem;
  padding: 25px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: white;
  text-align: center;
  margin: auto;
  transform: translateY(-200%);
}

.info__title {
  font-size: 1.5rem;
}

.info__message {
  margin-top: 0.8rem;
  font-size: 1.1rem;
}
