*,
*::after,
*::before {
  box-sizing: border-box;
}

body {
  font-family: "Fredoka One", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #43115b;
  display: flex;
  justify-content: center;
}

.restart-btn {
  position: absolute;
  bottom: 0; 
  right: 0;
  width: 50pxpx;
  height: 24px; 
  background-color: #43115B; 
}

.body {
  background-color: #5A1E76;
  width: 95%;
  height: 100vh;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.game-container {
  background-color: #2B0040;
  padding: 50px;
  border-radius: 30px;
  z-index: 2;
  opacity: 0.9;
  max-width: 380px;
}

.inner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.scores-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 18px;
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  font-size: smaller;
  margin-bottom: 20px;
}

.scores-section > div {
  width: 75px;
  height: 75px;
  border-radius: 10%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.scores-section > div > * {
  margin: 0;
}

.scores-section > div > .score {
  font-family: "Inter", sans-serif;
  font-size: 21px;
  margin-top: 5px;
  font-weight: 700  ;
}

.p1-score-container {
  background-color: #48D2FE;
}

.draw-score-container {
  background-color: #BCDBF9;
}

.p2-score-container {
  background-color: #E2BE00;
}

.game-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}


.game-board > div {
  width: 75px;
  height: 75px;
  background-color: #43115b;
  border-radius: 10%;
}

.game-board > div:hover {
  background-color: #5A1E76;
}

.btns {
  margin-top: 15px;
  width: 270px;
  height: 50px;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.new-game-btn {
  cursor: pointer;
  background-color: #F4F6F5;
}

.win-indicator {
  background-color: rgb(36, 151, 36);
  display: none;
}

.draw-indicator {
  background-color: #BCDBF9;
  display: none;
}

.turn-indicator {
  display: none;
}

.new-game-btn:hover {
  background-color: #C5A0D7;
}

.game-title {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0;
  margin: 0;
  font-size: 130px;
  font-weight: 400;
  line-height: .6;
  transform: translateX(-13px);
  z-index: 1;
}

.yellow-txt {
  color: #DCBF3F;
}

.blue-txt {
  color: #72CFF9;
}

.cell {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 50px;
  text-align: center;
}

.restart-btn {
  display: block;
  padding: 10px 20px;
  padding-bottom: 30px;
  cursor: pointer;
  background-color: #E2BE00;
  border-radius: 6px;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 1000;
}
