body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: url(/assets/images/5898131.jpg);
  background-color: #FEB35F;
  background-position: bottom;
  flex-direction: column;
  font-family: "Bubblegum Sans", sans-serif;
  margin: 0;
  padding: 0;
  background-size: cover;
}

h1,
h2,
ul,
p {
  margin: 0;
}

.game-controls {
  display: flex;
  gap: 20px;
}

.game-detail {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.game-detail h1 {
  font-weight: 900;
  font-size: 72px;
}

.game-detail p {
  font-family: "Bubblegum Sans", sans-serif;
  font-weight: 700;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.main {
  background-color: #F3E3CA;
  padding: 36px 48px 52px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
}

.board {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.score {
  width: 88px;
  height: 368px;
  border-radius: 12px;
  background: #F75D5F;
  border: 3px solid wheat;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  pointer-events: none;
  flex-wrap: wrap;
  gap: 4px;
}

.top-user-scoreboard {
  position: absolute;
  left: -110px;
}

.bottom-user-scoreboard {
  position: absolute;
  right: -110px;
}

#pits {
  display: flex;
  gap: 30px;
  flex-direction: column;
  padding: 40px 0px;
}

.pit:not(.score) {
  width: 120px;
  height: 120px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background-color: #EED08A;
  border-radius: 25%;
  border: 1px solid cornsilk;
  flex-wrap: wrap;
  gap: 4px;
  position: relative;
  padding: 10px;
}

.top-user {
  display: flex;
  flex-direction: row-reverse;
  gap: 20px;
}

.bottom-user {
  display: flex;
  gap: 20px;
}

.pits-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.tas {
  height: 20px;
  width: 20px;
  object-fit: cover;
  display: flex;
  animation-duration: 0.5s;
  animation-timing-function: ease-out;
}

@keyframes moveRight {
  from {
    left: 0;
  }

  to {
    left: 100px;
  }
}

@keyframes moveLeft {
  from {
    left: 100px;
  }

  to {
    left: 0;
  }
}

.tas.move-right {
  animation-name: moveRight;
}

.tas.move-left {
  animation-name: moveLeft;
}

#p6 {
  position: absolute;
  left: -110px;
  top: 0px;
}

#p6 .stone-count {
  top: 6px;
  left: 12px;
}

#p13 {
  position: absolute;
  right: -110px;
  top: 0;
}

#p13 .stone-count {
  top: 6px;
  right: 12px;
}

.stone-count {
  font-size: 28px;
  color: #333;
  text-align: center;
  font-weight: 600;
  position: absolute;

  font-family: "Bubblegum Sans", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.top-user .stone-count {
  position: absolute;
  top: -52px;
}

.bottom-user .stone-count {
  position: absolute;
  bottom: -52px;
}

button {
  padding: 0;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #262626;
  color: snow;
  cursor: pointer;
  height: 48px;
  width: 48px;
  transition: .3s all;
}

button:hover {
  opacity: 0.8;
}

.avatar {
  position: absolute;
  bottom: -3px;
  width: 100%;
  height: auto;
  object-fit: cover;
  right: 0;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
  opacity: 0;
  transform: scale(0.9);
  /* Küçük başlasın */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal-content {
  background-color: gainsboro;
  margin: 100px auto;
  padding: 28px 44px 44px;
  border: 1px solid #888;
  width: 800px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 16px;
  font-family: "Kanit", sans-serif;
  font-weight: 300;
  font-style: normal;
  align-items: center;
}

.modal-content h2 {
  font-size: 40px;
}

.modal-content ul {
  list-style: none;
  padding: 0;
}

.modal-content strong {
  font-weight: 600;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 36px;
  top: 20px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal.show {
  display: block;
  opacity: 1;
  transform: scale(1);
}

.description {
  position: absolute;
  bottom: 12px;
  font-size: 12px;
  right: 48px;
  color: #26262663;
  font-style: italic;
  font-family: "Kanit", sans-serif;
  font-weight: 300;
}