body {
  font-family: "Outfit", sans-serif;
  background-color: rgb(26, 42, 51);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0 2rem;
}

.new-game {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}
.new-game__logo {
  width: 4rem;
  align-self: center;
}
.new-game__selectMark {
  background-color: rgb(31, 54, 65);
  padding: 1rem;
  border-radius: 16px;
  border-bottom: "8px" solid rgb(16, 26, 31);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 300px;
  min-width: 300px;
}
@media (min-width: 768px) {
  .new-game__selectMark {
    width: 480px;
  }
}
.new-game p {
  text-transform: uppercase;
  color: rgb(219, 232, 237);
  letter-spacing: 1px;
  margin: 0.5rem 0;
}
.new-game__title {
  font-weight: 700;
}
.new-game__description {
  font-weight: 400;
  font-size: 0.9rem;
}
.new-game__options {
  background-color: rgb(26, 42, 51);
  padding: 1rem;
  border-radius: 16px;
  display: flex;
}
.new-game__mark {
  appearance: none;
  -moz-appearance: none;
  font-family: "Outfit", sans-serif;
  border: none;
  text-align: center;
  padding: 0.5rem 3rem;
  background-color: transparent;
  cursor: pointer;
  border-radius: 10px;
}
@media (min-width: 768px) {
  .new-game__mark {
    padding: 0.5rem 5rem;
  }
}
.new-game__mark img {
  width: 3rem;
  filter: brightness(10) contrast(0.3) sepia(1) hue-rotate(165deg);
  -webkit-filter: brightness(10) contrast(0.3) sepia(1) hue-rotate(165deg);
}
.new-game__mark:hover {
  background-color: rgb(33, 49, 59);
}
.new-game__mark--active {
  background-color: rgb(169, 208, 241);
}
.new-game__mark--active img {
  filter: brightness(0) saturate(100%) invert(13%) sepia(14%) saturate(1090%) hue-rotate(161deg) brightness(91%) contrast(90%);
  -webkit-filter: brightness(0) saturate(100%) invert(13%) sepia(14%) saturate(1090%) hue-rotate(161deg) brightness(91%) contrast(90%);
}
.new-game__mark--active:hover {
  background-color: rgb(169, 208, 241);
}
.new-game__buttons {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.new-game #vsCPU {
  appearance: none;
  -moz-appearance: none;
  width: 100%;
  font-family: "Outfit", sans-serif;
  border: none;
  padding: 1rem 0;
  border-radius: 12px;
  background-color: rgb(242, 177, 55);
  box-shadow: 0 8px 0px 0px rgb(183.0985915493, 123.5915492958, 11.9014084507);
  display: block;
  cursor: pointer;
  text-transform: uppercase;
  color: rgb(26, 42, 51);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1.5px;
}
.new-game #vsCPU:hover {
  background-color: rgb(255, 200, 96);
}
.new-game #vsPlayer {
  appearance: none;
  -moz-appearance: none;
  width: 100%;
  font-family: "Outfit", sans-serif;
  border: none;
  padding: 1rem 0;
  border-radius: 12px;
  background-color: rgb(45, 195, 189);
  box-shadow: 0 8px 0px 0px rgb(25.875, 112.125, 108.675);
  display: block;
  cursor: pointer;
  text-transform: uppercase;
  color: rgb(26, 42, 51);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1.5px;
}
.new-game #vsPlayer:hover {
  background-color: rgb(101, 233, 228);
}

.game__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.game__logo {
  width: 3.2rem;
}
.game__turn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: rgb(31, 54, 65);
  padding: 0.5rem 1.5rem;
  border-radius: 10px;
  border-bottom: 4px solid rgb(16, 26, 31);
}
.game__turn img {
  width: 1rem;
  filter: brightness(10) contrast(0.3) sepia(1) hue-rotate(165deg);
  -webkit-filter: brightness(10) contrast(0.3) sepia(1) hue-rotate(165deg);
}
.game__turn p {
  margin: 0;
  color: rgb(168, 191, 201);
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 0.9rem;
}
.game__turn--thinking {
  opacity: 0.7;
  animation: pulse 1s infinite alternate;
}
.game__restart {
  appearance: none;
  -moz-appearance: none;
  font-family: "Outfit", sans-serif;
  border: none;
  background-color: rgb(168, 191, 201);
  border-radius: 8px;
  padding: 0.6rem 1.1rem;
  border-bottom: 3px solid rgb(82.7234042553, 117.9574468085, 133.2765957447);
  font-weight: 600;
  color: rgb(26, 42, 51);
}
.game__restart:hover {
  cursor: pointer;
  background-color: rgb(219, 232, 237);
  transform: scale(1.05);
}
.game__restart {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
}
.game__restart img {
  width: 1rem;
  margin: 0;
}
.game__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

.board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 1rem;
}
.board__cell {
  width: 100px;
  height: 100px;
  background-color: rgb(31, 54, 65);
  border-radius: 16px;
  border-bottom: 6px solid rgb(16, 26, 31);
  display: flex;
  align-items: center;
  justify-content: center;
}
.board__cell:hover {
  cursor: pointer;
}
.board__cell img {
  margin: 0;
}
.board__cell--Xwinner {
  background-color: rgb(45, 195, 189);
}
.board__cell--Xwinner img {
  filter: brightness(0);
}
.board__cell--Owinner {
  background-color: rgb(242, 177, 55);
}
.board__cell--Owinner img {
  filter: brightness(0);
}

.footer__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  width: 100px;
  height: 50px;
}
.footer__box p {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 400;
}
.footer__box #x-score,
.footer__box #o-score,
.footer__box #ties {
  font-weight: 700;
  font-size: 1.1rem;
}
.footer__box:first-child {
  background-color: rgb(45, 195, 189);
}
.footer__box:nth-child(2) {
  background-color: rgb(168, 191, 201);
}
.footer__box:last-child {
  background-color: rgb(242, 177, 55);
}

.win-loss {
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  background-color: rgb(26, 42, 51);
  top: 40%;
  height: 10rem;
  width: 100%;
  padding-top: 2rem;
  position: fixed;
  right: -100%;
  opacity: 1;
  transition: visibility 0.4s ease, opacity 0.6s ease;
  visibility: hidden;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 768px) {
  .win-loss {
    top: 38%;
  }
}
.win-loss.is-active {
  right: 0;
  opacity: 1;
  visibility: visible;
}
.win-loss__winner {
  color: rgb(168, 191, 201);
  font-weight: 500;
  font-size: 0.8rem;
  margin: 0;
  margin-bottom: 0.6rem;
}
.win-loss__text {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
.win-loss__winner-mark {
  width: 2.5rem;
}
@media (min-width: 768px) {
  .win-loss__winner-mark {
    width: 3rem;
  }
}
.win-loss__takes-text {
  font-size: 1.7rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 3px;
}
@media (min-width: 768px) {
  .win-loss__takes-text {
    font-size: 2rem;
  }
}
.win-loss__takes-text--x {
  color: rgb(45, 195, 189);
}
.win-loss__takes-text--o {
  color: rgb(242, 177, 55);
}
.win-loss__buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}
.win-loss__quit {
  appearance: none;
  -moz-appearance: none;
  font-family: "Outfit", sans-serif;
  border: none;
  background-color: rgb(168, 191, 201);
  border-radius: 8px;
  padding: 0.6rem 1.1rem;
  border-bottom: 3px solid rgb(82.7234042553, 117.9574468085, 133.2765957447);
  font-weight: 600;
  color: rgb(26, 42, 51);
}
.win-loss__quit:hover {
  cursor: pointer;
  background-color: rgb(219, 232, 237);
  transform: scale(1.05);
}
.win-loss__next {
  appearance: none;
  -moz-appearance: none;
  font-family: "Outfit", sans-serif;
  border: none;
  background-color: rgb(242, 177, 55);
  border-radius: 8px;
  padding: 0.6rem 1.1rem;
  border-bottom: 3px solid rgb(135.2112676056, 91.2676056338, 8.7887323944);
  font-weight: 600;
  color: rgb(26, 42, 51);
}
.win-loss__next:hover {
  cursor: pointer;
  background-color: rgb(255, 200, 96);
  transform: scale(1.05);
}

.tied,
.restart {
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  background-color: rgb(26, 42, 51);
  top: 40%;
  height: 10rem;
  width: 100%;
  padding-top: 2rem;
  position: fixed;
  right: -100%;
  opacity: 1;
  transition: visibility 0.4s ease, opacity 0.6s ease;
  visibility: hidden;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 768px) {
  .tied,
  .restart {
    top: 38%;
  }
}
.tied.is-active,
.restart.is-active {
  right: 0;
  opacity: 1;
  visibility: visible;
}
.tied,
.restart {
  top: 40%;
}
.tied p,
.restart p {
  margin: 0;
  margin-top: 1rem;
  color: rgb(168, 191, 201);
  font-size: 2.5rem;
  font-weight: 600;
}

.restart__buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}
.restart__no {
  appearance: none;
  -moz-appearance: none;
  font-family: "Outfit", sans-serif;
  border: none;
  background-color: rgb(168, 191, 201);
  border-radius: 8px;
  padding: 0.6rem 1.1rem;
  border-bottom: 3px solid rgb(82.7234042553, 117.9574468085, 133.2765957447);
  font-weight: 600;
  color: rgb(26, 42, 51);
}
.restart__no:hover {
  cursor: pointer;
  background-color: rgb(219, 232, 237);
  transform: scale(1.05);
}
.restart__yes {
  appearance: none;
  -moz-appearance: none;
  font-family: "Outfit", sans-serif;
  border: none;
  background-color: rgb(242, 177, 55);
  border-radius: 8px;
  padding: 0.6rem 1.1rem;
  border-bottom: 3px solid rgb(135.2112676056, 91.2676056338, 8.7887323944);
  font-weight: 600;
  color: rgb(26, 42, 51);
}
.restart__yes:hover {
  cursor: pointer;
  background-color: rgb(255, 200, 96);
  transform: scale(1.05);
}

body:has(.is-active)::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 5;
}

.hidden {
  display: none !important;
}

@keyframes pulse {
  from {
    opacity: 0.5;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/*# sourceMappingURL=styles.css.map */
