body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: #dcd7c9;
  height: 100vh;
}
.play-area {
  background-color: #3f4e4f;
  width: 60%;
  height: 70%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 5px 5px #191919;
  position: relative;
  overflow: hidden;
}
.split {
  height: 100%;
  width: 1%;
  background-color: #2c3639;
  border: 2px solid #191919;
}
.p1,
.p2 {
  height: 17%;
  width: 1.5%;
  background-color: #a27b5c;
  border: 2px solid #191919;
  position: absolute;
}
.p2 {
  right: 1%;
}
.ball {
  width: 2%;
  height: 3%;
  border: 2px solid #191919;
  background-color: aliceblue;
  border-radius: 100%;
  position: absolute;
  left: 49.5%;
}
.direct2 {
  width: 100%;
}
.direct1 {
  width: 100%;
}
.middle {
  height: 30%;
}
.bottom,
.up {
  height: 25%;
}
.upper,
.down {
  height: 10%;
}
.score {
  width: 47%;
  height: 60%;
  background-color: inherit;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.score-text {
  color: #526668;
  font-size: 20rem;
}
.hidden {
  display: none;
}
.starting {
  height: 50%;
  width: 50%;
  background-color: #3f4e4f;
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 2px 5px 10px black;
  border-radius: 20px;
}
.overlay {
  backdrop-filter: blur(5px);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
}
.buttons {
  width: 40%;
  height: 10%;
}
.options {
  width: 100%;
  padding: 3%;
  background-color: #a27b5c;
  border-radius: 20px;
  font-size: 2rem;
  color: aliceblue;
  border: 1px solid #a27b5c;
  margin: 1%;
}
.options:hover,
.restart:hover {
  background-color: #866245;
}
.heading {
  color: aliceblue;
}
.decision {
  width: 40%;
  height: 40%;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #2c3639;
  box-shadow: 2px 5px 10px black;
  border-radius: 20px;
  animation: expand 0.7s;
}

@keyframes expand {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
.reset {
  padding: 2%;
  width: 50%;
}
.restart {
  width: 100%;
  padding: 3%;
  background-color: #a27b5c;
  border-radius: 20px;
  font-size: 1.5rem;
  color: aliceblue;
  border: 1px solid #a27b5c;
  margin: 1%;
}
.win {
  color: aliceblue;
}
