/* Styles for the modal */
.modal {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  min-height: 400px;
  min-width: 500px;
  background-color: #232748;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  opacity: 0.95;
  z-index: 1000;
}

/* Styles for the overlay */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 900;
}

#modalContent {
  width: 300px;
  text-shadow: 1px 1px #000, -1px 1px #000, -1px -1px #000, 1px -1px #000;
  font-size: 30px;
  text-align: center;
  color: #ffffff;
  margin-top: 100px;
}

#modalButtons {
  display: flex;
  flex-direction: row;
  width: 350px;
  gap: 30px;

  gazable-square-button {
    height: 75px;
  }
}

#progress-stats {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

#lvl-progress {
  accent-color: #96e697;
}

body {
  background-color: #191919;
  margin: 0;
}

main {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
  height: 100vh;
  color: #FFFFFF;
}

.desktop {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  /* row-gap: 30px; */
}

#ttt-welcome {
  row-gap: 30px;
}

#ttt-options {
  row-gap: 30px;
}

.ttt-options-choices {
  display: flex;
  gap: 50px;
}

.game-row {
  display: flex;
  flex-direction: row;
  /* gap: 30px; */
  font-size: 20px;
}

.fade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out;
}

.fade.active {
  opacity: 1;
  visibility: visible;
}

#go-back-btn {
  position: absolute;
  top: 20px;
  right : 20px
}

gazable-element {
  display: inline-block;
  transform-origin: center;
}

gazable-element[gaze-focused].cell.gaze-allowed-cell {
  animation: animate-click var(--dwell-time) forwards;
}

gazable-element.cell {
  width: 25%;
  height: 25%;
  padding: 12px;
  border-radius: 50%;
}

#divider {
  border: 2px solid black;
  width: 100%;
  background-color: red;
}

.left-border {
  border-left: 10px solid #232748;
}

.right-border {
  border-right: 10px solid #232748;
}

.bottom-border {
  border-bottom: 10px solid #232748;
}

.board-spacing {
 padding: 20px;
}

#current-player-move {
  font-size: 35px;
  font-weight: 400;
}

/* 

.modal {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  min-height: 400px;
  min-width: 500px;
  background-color: #232748;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  opacity: 0.95;
  z-index: 1000;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 900;
}

#modalContent {
  width: 300px;
  text-shadow: 1px 1px #000, -1px 1px #000, -1px -1px #000, 1px -1px #000;
  font-size: 30px;
  text-align: center;
  color: #ffffff;
  margin-top: 100px;
}

#modalButtons {
  display: flex;
  flex-direction: row;
  width: 350px;
  gap: 30px;

  gazable-square-button {
    height: 75px;
  }
}

#progress-stats {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

#lvl-progress {
  accent-color: #96e697;
}

body {
  background-color: #191919;
  margin: 0;
}

main {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
  height: 100vh;
  color: #FFFFFF;
}

.desktop {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  row-gap: 30px;
}

.ttt-options-choices {
  display: flex;
  gap: 50px;
}

.game-row {
  display: flex;
  flex-direction: row;
  gap: 30px;
  font-size: 20px;
}

.fade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out;
}

.fade.active {
  opacity: 1;
  visibility: visible;
}

#go-back-btn {
  position: absolute;
  top: 20px;
  right : 20px
}

gazable-element {
  display: inline-block;
  transform-origin: center;
}

gazable-element[gaze-focused].cell.gaze-allowed-cell {
  animation: animate-click var(--dwell-time) forwards;
}

gazable-element.cell {
  width: 25%;
  height: 25%;
  padding: 12px;
  border-radius: 50%;
}

#divider {
  border: 2px solid black;
  width: 100%;
  background-color: red;
}

.left-border {
  border-left: 20px solid #232748;
}

.right-border {
  border-right: 20px solid #232748;
}

.bottom-border {
  border-bottom: 20px solid #232748;
} */