* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  text-align: center;
  background-image: url(../imagens/fundo.webp);
}

body {
  background-color: gainsboro;
  width: 90%;
  height: 90%;
  margin-left: 5%;
  margin-top: 2%;
}

.cabecalho {
  width: 30%;
  height: 100%;
  display: grid;
  place-items: center;
  float: left;
}

.nivel {
  text-align: left;
  margin-left: 10%;
}

#valor {
  width: 50%;
}

.mesa {
  background-color: azure;
  width: 70%;
  height: 100%;
  float: left;
}

.roleta {
  box-shadow: inset 0 0 10px 10px #9d870c;
  width: 33.33%;
  height: 100%;
  float: left;
  display: grid;
  place-items: center;
  padding-top: 1%;
}

.caixa {
  place-items: center;
  width: 60%;
  height: 11vw;
  background-image: url(../imagens/interrogacao.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 5%;
}

.botao {
  margin-top: 20px;
  padding: 5px 10px;
  font-size: 1em;
  background-color: goldenrod;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.botao:hover {
  background-color: green;
}

.placar {
  width: 70%;
  text-align: left;
}

.valores {
  padding-left: 5px;
  box-shadow: inset 0 0 2px 2px gray;
  width: 40%;
  background-color: white;
  float: right;
  margin-right: 20%;
}

.vitoria {
  width: 1%;
  height: 80%;
  position: fixed;
  background-color: green;
  display: none;
  border-radius: 40%;
}

#xisRight {
  transform: rotate(58deg);
  height: 130%;
}

#xisLeft {
  transform: rotate(-58deg);
  height: 130%;
}

#horizontalBottom {
  transform: rotate(-90deg);
  height: 110%;
  margin-bottom: -25%;
}

#horizontalCenter {
  transform: rotate(-90deg);
  height: 110%;
}

#horizontalTop {
  transform: rotate(-90deg);
  height: 110%;
  margin-bottom: 25%;
}

#direitos {
  color: white;
}

/* Estilos para o popup e o fundo */
.popup-overlay {
  display: none;
  /* Inicialmente escondido */
  position: fixed;
  /* Fixo na tela */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Fundo semitransparente */
  justify-content:left ;
  align-items:start;
  text-align: left;
}

.popup-content {
  background: white;
  padding: 20px;
  border-radius: 5px;
  position: relative;
  width: 35%;
  /* Tamanho do popup */
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}