@import url("https://fonts.googleapis.com/css2?family=Racing+Sans+One&display=swap");
.racing-sans-one-regular, #gameover, #joincode #joincode-button, #joincode input, #joincode, #prejoin #prejoin-gameid-wrapper #prejoin-gameid, #prejoin, #language-selection-wrapper.active #language-selection-wrapper-active #language-selection-buttons button, #language-selection-wrapper.active #language-selection-wrapper-active, #prepop #prepop-panel .prepop-option span, #prepop h1, #game .game-button, #turnInfo {
  font-family: "Racing Sans One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

*::-moz-selection {
  background: none;
}

*::selection {
  background: none;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Helvetica, Arial, sans-serif;
  background-color: #00202E;
}
@media screen and (max-width: 15cm) {
  body {
    overflow: hidden;
  }
}

#turnInfo {
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  color: white;
  text-align: center;
}
@media screen and (max-width: 1050px) {
  #turnInfo {
    font-size: 1rem;
    top: 15%;
  }
}

#game {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 410px;
  width: 410px;
  transform: translate(-50%, -50%);
}
@media screen and (max-width: 1050px) {
  #game {
    width: 95%;
    margin-left: 2.5%;
  }
}
@media screen and (max-width: 399px) {
  #game {
    width: 100%;
    margin: 1px;
  }
}
#game .row {
  margin: 5px;
}
#game .game-button {
  box-sizing: border-box;
  margin: 10px;
  width: 110px;
  height: 110px;
  font-size: 64px;
  cursor: pointer;
  max-width: 110px !important;
  max-height: 110px !important;
  border: none;
  outline: none;
  color: #2C4875;
  background-color: #2C4875;
  border-radius: 15px;
}
@media screen and (max-width: 1050px) {
  #game .game-button {
    margin: 5px;
  }
}
@media screen and (max-width: 399px) {
  #game .game-button {
    width: 30vw;
    height: 30vw;
    margin: 1px;
    padding: 1px;
  }
}
#game .game-button:hover {
  transform: scale(1.1);
  transition: transform 150ms ease;
}
#game .game-button:hover:active {
  transform: scale(1);
}
@media screen and (max-width: 1050px) {
  #game .game-button:hover {
    transform: scale(1);
  }
}
#game .game-button[data-player=X] {
  color: white;
  background-color: #FF6361;
}
#game .game-button[data-player=O] {
  color: black;
  background-color: #FF8531;
}

#prepop {
  box-sizing: border-box;
  z-index: 500;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  background-color: #8A508F;
  padding: 20px;
  border-radius: 15px;
  width: 1000px;
  height: 700px;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  align-items: stretch;
  text-align: center;
}
#prepop h1 {
  font-size: 128px;
  text-align: center;
  height: 161px;
  margin: 0;
  padding: 0;
}
@media screen and (max-width: 1050px) {
  #prepop h1 {
    line-break: auto;
    height: -moz-fit-content;
    height: fit-content;
    font-size: 64px;
  }
}
#prepop #prepop-panel {
  gap: 30px;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
  width: 100%;
}
@media screen and (max-width: 1050px) {
  #prepop #prepop-panel {
    flex-flow: column;
    gap: 20px;
  }
}
#prepop #prepop-panel .prepop-option {
  height: 500px;
  width: 30%;
  min-width: 108px;
  background-color: rgb(80, 80, 2);
  border-radius: 15px;
  cursor: pointer;
}
@media screen and (max-width: 1050px) {
  #prepop #prepop-panel .prepop-option {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    height: 250px;
  }
}
#prepop #prepop-panel .prepop-option span {
  line-height: 50px;
  position: relative;
  top: 30%;
  left: 0;
  transform: translate(-50%, -50%);
  font-size: 60px;
}
#prepop #prepop-panel .prepop-option:hover {
  transform: scale(1.05);
  transition: transform 150ms ease;
}
#prepop #prepop-panel .prepop-option:hover:active {
  transform: scale(1);
}
@media screen and (max-width: 1050px) {
  #prepop #prepop-panel .prepop-option:hover {
    transform: scale(1);
  }
}
#prepop #prepop-panel .prepop-option:nth-child(1) {
  background-color: #FF6361;
}
#prepop #prepop-panel .prepop-option:nth-child(2) {
  background-color: #FF8531;
}
#prepop #prepop-panel .prepop-option:nth-child(3) {
  background-color: #FFA600;
}
@media screen and (max-width: 1050px) {
  #prepop {
    width: 100%;
    height: 130vh;
    display: block;
    top: 0;
    left: 0;
    transform: none;
    border: 0px;
    border-radius: 0px;
  }
}

#language-selection-wrapper {
  z-index: 800;
  position: absolute;
  top: 87vh;
  left: 91vw;
  height: 100px;
  width: 100px;
  background-color: #FFD380;
  border: none;
  outline: none;
  border-radius: 15px;
  cursor: pointer;
  transform: scale(1);
  transition: transform 150ms ease, height 150ms ease, width 150ms ease, top 150ms ease, left 150ms ease;
  overflow: hidden;
}
#language-selection-wrapper #language-selection-icon {
  transform: translate(-50%, -50%);
  position: relative;
  top: 50%;
  left: 50%;
  opacity: 1;
  display: initial;
}
#language-selection-wrapper #language-selection-wrapper-active {
  opacity: 0;
  display: none;
}
#language-selection-wrapper.active {
  cursor: unset;
  width: 370px;
  height: 350px;
  top: 63vh;
  left: 78vw;
}
#language-selection-wrapper.active #language-selection-icon {
  display: none;
  opacity: 0;
}
@media screen and (max-width: 1050px) {
  #language-selection-wrapper.active {
    margin: 0;
    width: 83.25vw;
    left: 8.5vw;
    top: 65vh;
  }
}
#language-selection-wrapper.active #language-selection-wrapper-active {
  opacity: 1;
  display: initial;
}
#language-selection-wrapper.active #language-selection-wrapper-active h1 {
  font-size: 60px;
  text-align: center;
  margin: 20px;
  margin-bottom: 5px;
}
#language-selection-wrapper.active #language-selection-wrapper-active #language-selection-buttons {
  overflow-y: auto;
  height: 230px;
  padding: 10px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-evenly;
  align-items: center;
  gap: 15px;
}
#language-selection-wrapper.active #language-selection-wrapper-active #language-selection-buttons button {
  width: 270px;
  height: 80px;
  font-size: 48px;
  border: none;
  outline: none;
  border-radius: 15px;
  background-color: #2C4875;
  color: white;
  cursor: pointer;
  transition: transform 150ms ease;
  transform: scale(1);
}
#language-selection-wrapper.active #language-selection-wrapper-active #language-selection-buttons button:hover {
  transform: scale(1.05);
}
#language-selection-wrapper.active #language-selection-wrapper-active #language-selection-buttons button:hover:active {
  transform: scale(1);
}
@media screen and (max-width: 1050px) {
  #language-selection-wrapper.active #language-selection-wrapper-active #language-selection-buttons button:hover {
    transform: scale(1);
  }
}
#language-selection-wrapper.active:hover {
  transform: scale(1);
}
#language-selection-wrapper.active:hover:active {
  transform: scale(1);
}
#language-selection-wrapper:hover {
  transform: scale(1.05);
}
#language-selection-wrapper:hover:active {
  transform: scale(1);
}
@media screen and (max-width: 1050px) {
  #language-selection-wrapper {
    max-width: 90vw;
    position: relative;
    margin: 0;
    width: 83.25vw;
    left: 8.5vw;
    top: 93vh;
  }
  #language-selection-wrapper:hover, #language-selection-wrapper:active {
    transform: scale(1);
  }
}

#prejoin {
  box-sizing: border-box;
  z-index: 400;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #8A508F;
  color: white;
  border-radius: 15px;
  width: 1000px;
  height: 700px;
  text-align: center;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
}
#prejoin span {
  font-size: 48px;
  margin: 10px;
}
@media screen and (max-width: 1050px) {
  #prejoin span {
    font-size: 32px;
    line-break: normal;
    max-width: 90vw;
  }
}
@media screen and (max-width: 1050px) {
  #prejoin {
    height: 100vh;
    border-radius: 0px !important;
  }
}
#prejoin #prejoin-gameid-wrapper {
  background-color: #FF6361;
  font-size: 128px;
  padding: 10px;
  margin: 0;
  left: 50%;
  border-radius: 15px;
  width: 590px;
}
@media screen and (max-width: 1050px) {
  #prejoin #prejoin-gameid-wrapper {
    font-size: 70px;
    width: 420px;
    max-width: 80vw;
  }
}
#prejoin #prejoin-gameid-wrapper #prejoin-gameid {
  font-size: 128px;
  width: 580px;
  height: 128px;
  text-align: center;
  background-color: #FF6361;
  color: white;
  border: none;
  outline: none;
}
#prejoin #prejoin-gameid-wrapper *::-moz-selection {
  background-color: #FFA600;
}
#prejoin #prejoin-gameid-wrapper *::selection {
  background-color: #FFA600;
}
#prejoin #prejoin-gameid-wrapper:hover {
  transform: scale(1.05);
  transition: transform 150ms ease;
  cursor: pointer;
}
#prejoin #prejoin-gameid-wrapper:hover:active {
  transform: scale(1);
}
@media screen and (min-width: 1051px) {
  #prejoin #prejoin-gameid-wrapper:hover::after {
    z-index: 410;
    position: absolute;
    left: -100px;
    top: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23ffffff'%3E%3Cpath d='M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-560h80v560h440v80H200Zm160-240v-480 480Z'/%3E%3C/svg%3E");
    background-size: contain; /* Adjust as needed */
    background-repeat: no-repeat; /* Adjust as needed */
    background-position: center; /* Adjust as needed */
    content: "";
    display: block;
    width: 90px; /* Set the width of the SVG */
    height: 90px; /* Set the height of the SVG */
  }
}
@media screen and (max-width: 1050px) {
  #prejoin #prejoin-gameid-wrapper:hover {
    transform: scale(1);
  }
}

#joincode {
  box-sizing: border-box;
  z-index: 401;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 50px;
  background-color: #8A508F;
  color: white;
  border-radius: 15px;
  width: 1000px;
  height: 700px;
  text-align: center;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin: 0;
}
@media screen and (max-width: 1050px) {
  #joincode {
    width: 100vw;
    border-radius: 0px;
    height: 102vh;
  }
}
#joincode #joincode-title {
  font-size: 70px;
}
#joincode input {
  font-size: 24px;
  background-color: #FF8531;
  border: none;
  outline: none;
  padding: 10px;
  border-radius: 15px;
  color: white;
  margin-bottom: 10px;
  font-size: 48px;
  text-align: center;
  transition: transform 150ms ease;
}
#joincode input:hover, #joincode input:active {
  transform: scale(1.05);
}
@media screen and (max-width: 1050px) {
  #joincode input {
    width: 90vw;
  }
  #joincode input:hover, #joincode input:active {
    transform: scale(1);
  }
}
#joincode label {
  font-size: 24px;
}
#joincode #joincode-button {
  font-size: 48px;
  background-color: #FF8531;
  cursor: pointer;
  padding: 15px;
  padding-left: 70px;
  padding-right: 70px;
  border-radius: 15px;
  transition: transform 150ms ease;
  color: white;
}
#joincode #joincode-button:hover {
  transform: scale(1.05);
}
#joincode #joincode-button:hover:active {
  transform: scale(1);
}
@media screen and (max-width: 1050px) {
  #joincode #joincode-button {
    max-width: 90vw;
  }
  #joincode #joincode-button:hover, #joincode #joincode-button:active {
    transform: scale(1);
  }
}

#gameover {
  box-sizing: border-box;
  z-index: 600;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #FF6361;
  color: white;
  padding: 20px;
  border-radius: 5px;
  width: 800px;
  height: 400px;
  text-align: center;
}
#gameover div {
  padding: 0;
  margin: 0;
}
#gameover #gameover-title {
  font-size: 128px;
  padding: 0;
  margin: 0;
  margin-top: -20px;
}
#gameover #gameover-winner-wrapper {
  font-size: 60px;
  padding: 0;
  margin: 0;
  margin-top: 0px;
}
#gameover #gameover-return {
  padding: 0;
  margin: 0;
  width: 400px;
  height: 70px;
  font-size: 48px;
  background-color: #FF8531;
  position: relative;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%) scale(1);
  border-radius: 15px;
  cursor: pointer;
  transition: transform 150ms ease;
}
#gameover #gameover-return:hover {
  transform: scale(1.05) translateX(-47.5%);
}
#gameover #gameover-return:hover:active {
  transform: scale(1) translateX(-50%);
}
@media screen and (max-width: 1050px) {
  #gameover #gameover-return:hover, #gameover #gameover-return:active {
    transform: scale(1) translateX(-50%);
  }
}/*# sourceMappingURL=styles.css.map */