body {
  text-align: center;
}
button {
  border: none;
  outline: none;
  cursor: pointer;
}

.game {
  border: 10px solid black;
  border-radius: 10px;
  margin: auto;
  display: flex;
  flex-direction: column;
  margin-top: 100px;
  width: 800px;
  height: 500px;
  background-color: rgb(241, 241, 241);
  padding: 0;
}

.game__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.game__image,
.game__status {
  font-size: 100px;
  margin: 0;
}

.game__button {
  width: 60px;
  height: 60px;
  background-color: rgb(245, 245, 245);
  border: 5px solid black;
  font-size: 24px;
  transition: transform 300ms ease-in;
}

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

.game__info {
  display: flex;
  font-family: "Lexend Mega", sans-serif;
}

.game__timer {
  display: block;
  width: 60px;
  background-color: white;
  text-align: center;
  border: 5px solid black;
  font-size: 34px;
  font-weight: bolder;
  border-radius: 5px;
  padding: 0 20px;
  visibility: hidden;
  user-select: none;
  cursor: auto;
}

.game__score {
  margin-left: 20px;
  display: block;
  width: 50px;
  height: 50px;
  font-size: 34px;
  background-color: darksalmon;
  color: white;
  border: 5px solid black;
  border-radius: 30%;
  visibility: hidden;
  user-select: none;
  cursor: auto;
}
.game__field {
  border-top: 5px solid black;
  text-align: center;
  width: 100%;
  height: 100%;
  margin-top: 40px;
  position: relative;
  background-color: rgb(172, 117, 0);
  overflow: hidden;
}

.feedable,
.unfeedable {
  font-size: 50px;
  position: absolute;
  transition: transform 100ms ease-in;
}

.feedable:hover,
.unfeedable:hover {
  transform: scale(1.1);
}
/* pop up */
.pop-up {
  margin: auto;
  background-color: black;
  width: 400px;
  height: 140px;
  color: white;
  padding: 20px;
  text-align: center;
  transform: translateY(-150%);
  opacity: 0.7;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pop-up--hide {
  display: none;
}
.pop-up__refresh,
.pop-up__next-level {
  width: 60px;
  height: 60px;
  font-size: 24px;
  background-color: wheat;
  border-radius: 50%;
  border: 2px solid black;
  display: none;
}

.pop-up__next-level {
  background-color: rgb(148, 0, 0);
  color: white;
}

.pop-up__message {
  font-family: "Lexend Mega", sans-serif;

  display: block;
  font-size: 40px;
}

/* //.modal */

.modal {
  margin: auto;
  background-color: black;
  width: 700px;
  height: 300px;
  transform: translateY(-130%);
  color: white;
  padding: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  opacity: 0.9;
  visibility: hidden;
  border-radius: 20px;
}
