* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: "Outfit", sans-serif;
}

.container-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100vh;
  background-color: #1a2a33;
}

.container {
  max-width: 450px;
  width: 100%;
  padding: 0 15px;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
}

.container > * {
  width: 100%;
  height: 100%;
}

.home-page {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: 0.4s all;
  transition: 0.4s all;
  opacity: 100%;
}

.game-logo {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}

.game-logo img {
  width: 60px;
}

.player-sign-selection {
  background-color: #1f3641;
  border-radius: 10px;
  width: 100%;
  height: 170px;
  padding: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.player-sign-selection h2 {
  font-size: 17px;
  text-align: center;
  color: #a8bfc9;
}

.player-sign-selection > div {
  width: 100%;
  height: 65px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  background-color: #1a2a33;
  border-radius: 8px;
}

.player-sign-selection > div .X-logo,
.player-sign-selection > div .O-logo {
  width: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: 0.3s all;
  transition: 0.3s all;
  cursor: pointer;
  border-radius: 8px;
  padding: 4px;
  margin: 7px;
}

.player-sign-selection > div .X-logo svg,
.player-sign-selection > div .O-logo svg {
  height: 30px;
}

.player-sign-selection p {
  font-size: 14px;
  text-align: center;
  color: #a8bfc9;
  opacity: 0.5;
}

.player-actions {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 30px;
}

.player-actions button {
  width: 100%;
  padding: 24px;
  border-radius: 10px;
  border: none;
  margin: 9px;
  font-size: 20px;
  font-weight: bold;
  -webkit-transition: 0.3s all;
  transition: 0.3s all;
  -webkit-box-shadow: 0px 8px 0px rgba(189, 189, 189, 0.219);
          box-shadow: 0px 8px 0px rgba(189, 189, 189, 0.219);
  cursor: pointer;
}

.player-actions button:first-child {
  background-color: #f2b137;
  -webkit-box-shadow: inset 0 -0.7rem 0 #b77c0c;
          box-shadow: inset 0 -0.7rem 0 #b77c0c;
}

.player-actions button:first-child:hover {
  background-color: #ffc860;
}

.player-actions button:last-child {
  background-color: #31c3bd;
  -webkit-box-shadow: inset 0 -0.7rem 0 #1d716e;
          box-shadow: inset 0 -0.7rem 0 #1d716e;
}

.player-actions button:last-child:hover {
  background-color: #65e9e4;
}

.selected-sign {
  background-color: #a8bfc9;
}

.hover-on-selected-sign:hover {
  background-color: #1d303a;
}

.hidden {
  opacity: 0%;
}

.game {
  opacity: 100%;
  width: 100%;
  position: absolute;
  z-index: -1;
  border-radius: 10px;
  -webkit-transition: 0.6s all;
  transition: 0.6s all;
}

.game > * {
  width: 100%;
}

.game .game-cards-container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
      grid-template-columns: repeat(3, 1fr);
  -ms-grid-rows: (130px)[3];
      grid-template-rows: repeat(3, 130px);
  grid-gap: 25px;
  margin: 30px 0;
}

.game .game-cards-container.o .game-card:not(.x):not(.o):hover::before {
  content: url("../images/SVG/icon-o-outline.svg");
}

.game .game-cards-container.x .game-card:not(.x):not(.o):hover::before {
  content: url("../images/SVG/icon-x-outline.svg");
}

.game .game-card.x::before {
  content: url("../images/SVG/icon-x.svg");
}

.game .game-card.o::before {
  content: url("../images/SVG/icon-o.svg");
}

.game .game-logo {
  margin: 0;
  text-align: left;
  width: unset;
}

.game-card {
  background-color: #1f3641;
  -webkit-box-shadow: inset 0 -0.8rem 0 #0f191e;
          box-shadow: inset 0 -0.8rem 0 #0f191e;
  border-radius: 8px;
  cursor: pointer;
  padding: 2rem;
}

.game-card.x.win {
  background-color: #31c3bd;
}

.game-card.x.win::before {
  content: url("../images/SVG/icon-x-win.svg");
}

.game-card.o.win {
  background-color: #f2b137;
}

.game-card.o.win::before {
  content: url("../images/SVG/icon-o-win.svg");
}

.game-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 40px;
}

.game-restart {
  background-color: #a8bfc9;
  -webkit-transition: 0.3s all;
  transition: 0.3s all;
  padding: 13px 23px;
  border-radius: 5px;
  -webkit-box-shadow: inset 0 -0.4rem 0 #6991a2;
          box-shadow: inset 0 -0.4rem 0 #6991a2;
}

.game-restart img {
  width: 20px;
  height: 100%;
}

.game-restart:hover {
  background-color: #dbe8ed;
}

.game-turn-display {
  background-color: #1f3641;
  width: 133.328px;
  color: #a8bfc9;
  font-weight: bold;
  padding: 15px 50px;
  border-radius: 8px;
  -webkit-box-shadow: inset 0 -0.4rem 0 #0f191e;
          box-shadow: inset 0 -0.4rem 0 #0f191e;
}

.game-turn-display div {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.game-turn-display div img {
  width: 20px;
  margin-right: 4px;
}

.game-info {
  width: 100%;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
      grid-template-columns: repeat(3, 1fr);
  text-align: center;
  grid-gap: 20px;
}

.game-info > div {
  padding: 13px 10px;
  border-radius: 8px;
}

.game-info > div span {
  display: block;
  font-weight: bold;
  font-size: 20px;
}

.game-info .player-X-score {
  background-color: #31c3bd;
}

.game-info .player-O-score {
  background-color: #f2b137;
}

.game-info .ties-score {
  background-color: #a8bfc9;
}

.modal {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 10;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.modal .overlay {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.4;
}

.modal > div {
  width: 100%;
  height: 250px;
  background-color: #1f3641;
}

.modal > div:last-child > div {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 20px 0;
}

.modal .winner-title {
  color: #a8bfc9;
  font-weight: bold;
}

.modal .winner-details {
  margin: 10px 0;
}

.modal .quite-btn {
  background-color: #a8bfc9;
  -webkit-transition: 0.3s all;
  transition: 0.3s all;
}

.modal .quite-btn:hover {
  background-color: #dbe8ed;
}

.modal .next-round-btn {
  background-color: #f2b137;
}

.modal .next-round-btn:hover {
  background-color: #ffc860;
}

.modal .next-round-btn,
.modal .quite-btn {
  padding: 20px;
  -webkit-transition: 0.3s all;
  transition: 0.3s all;
  border: none;
  cursor: pointer;
  margin: 0 4px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
}

@media screen and (max-width: 580px) {
  .game {
    padding: 0 15px;
  }
  .game .game-cards-container {
    -ms-grid-columns: (minmax(80px, 1fr))[3];
        grid-template-columns: repeat(3, minmax(80px, 1fr));
    -ms-grid-rows: (minmax(80px, 1fr))[3];
        grid-template-rows: repeat(3, minmax(80px, 1fr));
  }
}
/*# sourceMappingURL=main.css.map */