@charset "UTF-8";
@font-face {
  font-family: "SugoDisplay";
  src: url("../assets/fonts/Sugo-Pro-Classic-Light-trial.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", serif;
}

/* Para navegadores baseados em WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

/* Para Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.1);
}

/* Mixins */
/* VARIÁVEIS */
/* Main Container */
.main {
  width: 100%;
  height: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Header */
.header {
  background-color: #213555;
  width: 100%;
  height: 100%;
  max-height: 100px;
  color: #f5efe7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.header .top {
  background-color: #213555;
  width: 100%;
  height: 100%;
  max-height: 70px;
  padding: 0.938rem 1.25rem;
  color: #f5efe7;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-between;
}
.header .top h1 {
  font-size: 2.5rem;
  letter-spacing: 0.1rem;
  font-family: "SugoDisplay", serif;
}
.header .top > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  position: relative;
}
.header .top > div i {
  font-size: 1.6rem;
  cursor: pointer;
}
.header .score-content {
  width: 100%;
  padding: 0.3rem 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-between;
  background-color: #3e5879;
}
.header .score-content .score-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-between;
  font-size: 0.6rem;
  text-transform: uppercase;
  gap: 0.4rem;
  padding: 0.5rem 0;
}
.header .score-content .score-bar .score-title {
  color: #213555;
  font-weight: 700;
  display: flex;
}
.header .score-content .score-bar .score-info {
  font-size: 0.7rem;
  color: #f5efe7;
  font-weight: 300;
}

/* Game Content */
.game-content {
  height: 100%;
  min-height: 60vh;
  padding: 1rem 5%;
  background-color: #3e5879;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  /* Password Panel */
  /* Boardgame */
  /* Player Bet */
}
.game-content .password-panel {
  width: 100%;
  padding: 0.5rem 1.25rem;
  background-color: #f5efe7;
  border-radius: 50px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.4);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
  font-size: 1.5rem;
  line-height: 2rem;
  color: #d8c4b6;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-around;
}
.game-content .boardgame {
  width: 100%;
  height: 60%;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.4);
  background-color: #d8c4b6;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.game-content .boardgame .boardgame-title {
  width: 100%;
  padding: 15px 10px;
  color: #213555;
  text-transform: uppercase;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.03rem;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.game-content .boardgame .attempts-content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(5px, 3vw, 20px);
}
.game-content .boardgame .attempts-content .sequence {
  width: 100%;
  max-height: 60px;
  padding: 0 10px;
  margin-bottom: 15px;
  display: grid;
  grid-template-columns: repeat(5, auto) 2% 16%;
  gap: 2px;
}
.game-content .boardgame .attempts-content .sequence .item {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f5efe7;
  border-radius: 5px;
  font-size: clamp(1rem, 8vw, 3rem);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}
.game-content .boardgame .attempts-content .sequence .result {
  text-align: center;
  padding: 5px 2px;
  display: grid;
  grid-template-areas: "a b" "c c" "d e";
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto auto;
  justify-items: center;
  align-items: center;
}
.game-content .boardgame .attempts-content .sequence svg {
  width: clamp(0.5rem, 2vw, 1rem);
  height: clamp(0.5rem, 2vw, 1rem);
  display: block;
}
.game-content .boardgame .attempts-content .sequence .item-1 {
  grid-area: a;
}
.game-content .boardgame .attempts-content .sequence .item-2 {
  grid-area: b;
}
.game-content .boardgame .attempts-content .sequence .item-3 {
  grid-area: c;
}
.game-content .boardgame .attempts-content .sequence .item-4 {
  grid-area: d;
}
.game-content .boardgame .attempts-content .sequence .item-5 {
  grid-area: e;
}
.game-content .boardgame .attempts-content .sequence .wrong {
  fill: rgba(167, 167, 167, 0.712);
  stroke: darkgray;
  stroke-width: ".5";
  opacity: 0.3;
}
.game-content .boardgame .attempts-content .sequence .match {
  fill: #231c1b;
  opacity: 1;
}
.game-content .boardgame .attempts-content .sequence .partial {
  fill: #fff;
  opacity: 1;
}
.game-content .boardgame .boardgame-botton {
  width: 100%;
  padding: 10px;
  color: #213555;
  text-transform: uppercase;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.03rem;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
  gap: 5px;
}
.game-content .boardgame .boardgame-botton > span {
  background-color: #fff;
  padding: 4px 6px;
  border-radius: 100%;
  font-size: 0.8rem;
}
.game-content .player-bet {
  width: 100%;
  height: 70px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-between;
  gap: 2%;
}
.game-content .player-bet .bet-emojis {
  height: 100%;
  width: 80%;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-between;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1647058824);
  background-color: #213555;
  border-radius: 50px;
  font-size: clamp(1.2rem, 6vw, 2rem);
}
.game-content .player-bet .bet-circle {
  background-color: rgba(0, 0, 0, 0.1647058824);
  padding: 0.3rem 0.4rem;
  border-radius: 100%;
  cursor: pointer;
}
.game-content .player-bet .bet-circle:hover {
  background-color: #231c1b;
}
.game-content .player-bet .bet-button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #213555;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1647058824);
  border-radius: 50px;
  cursor: pointer;
  height: 100%;
  width: 20%;
  color: #d8c4b6;
  font-size: calc(80% + 1rem);
}
.game-content .player-bet .bet-button:hover {
  color: #d8c4b6;
}
.game-content .player-bet .block {
  pointer-events: none;
}

/* Footer */
.footer {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 20%;
  padding: 10px;
  background-color: #213555;
  color: #f5efe7;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer .title {
  position: absolute;
  top: -12px;
  width: 60%;
  padding: 0.2rem;
  background-color: #fff;
  border-radius: 50px;
  color: #213555;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05rem;
  text-align: center;
}
.footer .emojis-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer .emojis-container ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 12px;
  margin-top: 10px;
  max-width: 90%;
  list-style: none;
}
.footer .emojis-container li {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer .emojis-container li button {
  width: 100%;
  height: 50px;
  font-size: clamp(1.7rem, 8vw, 2.5rem);
  background-color: transparent;
  border: none;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}
.footer .emojis-container li button:hover {
  text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.4);
}
.footer .emojis-container li button:active {
  transform: scale(0.9);
}

.alert-box {
  width: 40%;
  max-width: 450px;
  height: 150px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 5px 10px;
  background-color: rgba(255, 255, 255, 0.7333333333);
  color: #231c1b;
  z-index: 999;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.alert-box .modal-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.alert-box .modal-box h1 {
  font-size: 1rem;
  text-align: center;
}
.alert-box .modal-box p {
  font-size: 0.8rem;
  text-align: center;
}
.alert-box .close-alert {
  padding: 2px 6px;
  border-radius: 5px;
  background-color: #231c1b;
  color: #fff;
  transition: all 0.2s ease-in-out;
}

.nivel-box {
  width: 200px;
  position: absolute;
  top: 35px;
  right: 3%;
  background-color: #213555;
  color: #f5efe7;
  z-index: 999;
  border-radius: 5px;
  border: 1px solid #231c1b;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translate(30px, -30px) scale(0.5);
  pointer-events: none; /* Impede cliques quando oculto */
}
.nivel-box .modal-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nivel-box .modal-box .title-box {
  background-color: rgba(0, 0, 0, 0.1647058824);
  width: 100%;
  height: 100%;
  padding: 5px;
}
.nivel-box .modal-box .title-box h1 {
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
  font-family: "Poppins", serif;
}
.nivel-box .modal-box .btn-box {
  display: flex;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 10px;
}
.nivel-box .modal-box .btn-box .nivel-option {
  width: 100%;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  transition: background 0.3s;
}

.show {
  animation: showMenu 0.4s ease-out forwards;
  pointer-events: auto; /* Permite cliques quando visível */
}

@keyframes showMenu {
  0% {
    opacity: 0;
    transform: translate(30px, -30px) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}
.hidden {
  display: none;
}

@media (max-width: 350px) and (max-height: 570px) {
  body {
    overflow: hidden;
  }
  .header {
    max-height: 70px;
  }
  .header .top {
    min-height: 30px;
  }
  /* Player Bet */
  .player-bet {
    max-height: 40px;
    margin: 15px 0;
    gap: 2px;
  }
  .player-bet .bet-emojis {
    padding: 0.5rem;
    font-size: clamp(1rem, 5vw, 2rem);
  }
  /* Footer */
  .footer .emojis-container ul {
    max-width: 100%;
    gap: clamp(10px, 5vw, 50px);
    margin-top: 10px;
  }
  .footer .emojis-container li button {
    height: 30px;
    font-size: clamp(14px, 7vw, 30px);
  }
}
@media (max-width: 400px) and (min-height: 570px) {
  body {
    overflow: hidden;
  }
  /* Header */
  .header .top h1 {
    font-size: 1.7rem;
  }
  .header .top > div i {
    font-size: 1rem;
  }
  /* Footer */
  .footer .emojis-container ul {
    max-width: 100%;
    gap: 20px;
    margin-top: 10px;
  }
  .footer .emojis-container li button {
    height: 30px;
    font-size: 20px;
  }
}
@media (min-width: 750px) and (min-height: 700px) {
  /* Footer */
  .footer .emojis-container ul {
    max-width: 80%;
    height: 100%;
    gap: 50px;
    margin-bottom: 20px;
  }
  .footer .emojis-container li button {
    height: 40px;
    font-size: clamp(1.5rem, 9vw, 2.5rem);
  }
}
@media (min-width: 900px) and (min-height: 500px) {
  /* Footer */
  .footer .emojis-container ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
  }
}
@media (min-width: 1024px) and (min-height: 600px) {
  /* Footer */
  .footer .emojis-container ul {
    max-width: 100%;
    gap: 10px;
    margin-bottom: 20px;
  }
  .footer .emojis-container li button {
    width: 100%;
    height: 40px;
    font-size: clamp(1.5rem, 9vw, 2.5rem);
  }
}

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