@font-face {
    font-family: "amogusFont";
    src: url("amogus.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}


body {
    background-image: url('image.jpg');
}

.teste {
    color: aliceblue;
    margin-top: 0;
}

.smartwatch {
    width: 400px;
    height: 400px;
    border-radius: 20px;
    border: 5px solid rgb(93, 93, 93);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000000;
    z-index: 1;
}

.tasks {
    color: white;
    position: absolute;
    font-size: 25px;
    bottom: 0;
    left: 0;
}

.Saida {
    margin-top: 20px;
    margin-left: 60px;
}

#fora-da-aplicacao {
    text-align: center;
}

.fora-aplicacao{
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 120px;
    background-color: black;
    border: 7px solid white;
    border-radius: 10px;
    margin-top: 35%;
}
  
.app-header {
    border-radius: 20px;
    text-align: center;
    position: absolute;
    padding: 10px;
    top: 50%;
    left: 50%;
    border-radius: 20px;
    transform: translate(-50%, -50%);
}

.fimJogo button{
    color: white;
    background-color: black;
    border: 5px solid white;
    border-radius: 20px;
    font-size: 35px;
}

.fimJogo a{
    text-decoration: none;
    color: white;
}

.regras {
    color: white;
    font-size: 33px;
}

.regras-jogar {
    color: rgb(255, 144, 236);
}

.app-title {
    color: white;
    align-self: center;
    font-size: 50px;
    margin-top: 20px;
}

.sairS, .sairN{
    position: absolute;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 55px;
    background-color: black;
    border: 5px solid white;
    border-radius: 10px;
}

.sairS {
    top: 165px;
    left: 142px;
    width: 30%;
}

.sairN {
    top: 265px;
    left: 142px;
}

.sairS a{
    text-decoration: none;
    color: white;
}

.codigo-sala{
    position: absolute;
    top: -10px;
    left: 10px;
    color: white;
}

.codigo-titulo {
    font-size: 40px;
    margin-left: -55px;
    margin-top: 3px;
    color: white;
    width: 1000px;
}

.codigo-sala span {
    font-size: 50px;
}
  
.app-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75%;
}
  
.app-button {
    background-color: white;
    color: black;
    border: 1px solid black;
    border-radius: 10px;
    padding: 5px 10px;
    margin: 0 10px;
}
  
.app-help-button {
    background-color: white;
    color: black;
    border-radius: 50%;
    width: 39px;
    height: 39px;
    font-weight: bold;
    font-size: 30px;
    position: absolute;
    top: 10px;
    left: 265px;
}
  
.button-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
  
.button {
    width: 200px;
    height: 86px;
    margin: 15px;
    border-radius: 14px;
    font-size: 35px;
    font-weight: bold;
    color: white;
    background-color: black;
    border: 5px solid;
    border-color: white;
    cursor: pointer;
}

.b-lateral {
    position: absolute;
    border-radius: 10px;
    top: 40%;
    left: 101%;
    width: 50px;
    height: 75px;
    background-color: rgb(61, 61, 61);
}

/**/
.smartwatch {
  display: none;
}

.menu{
  display: block;
}

.active-section {
  display: block;
}
/**/

.insere-nome {
    color: white;
}

.caixaTexto {
    margin-left: 0px;
    color: black;
    font-size: 30px;
    margin-left: 35px;
    width: 230px;
}

.conffirmar {
    font-size: 45px;
    margin-top: 35px;
    margin-left: 93px;
    border-radius: 10px;
    color: white;
    background-color: black;
    border-color: white;
    border: 5px solid;
}

.nome {
    font-size: 50px;
    margin-left: 40px;
    left: 40px;
}

.falar {
    font-size: 30px;
    margin-left: 10px;
    margin-top: 20px;
    background-color: black;
    color: white;
    border: 5px solid rgb(16, 186, 16);
    border-radius: 10px;
}

.codigo {
    color: white;
    margin-left: 70px;
    font-size: 20px;
}

.codigo #code {
    font-size: 20px;
}

.codigo label {
    margin-left: 5px;
}

.grid-container {
    border-radius: 10px;
    display: grid;
    grid-template-columns: auto auto auto;
    background-color: white;
    color: black;
    margin-top: 37px;
    border: 5px solid white;
}

.grid-item {
    color: white;
    background-color: black;
    border: 2px solid white;
    padding: 10px;
    font-size: 30px;
    text-align: center;
    font-weight: bold;
}

.grid-item a{
    text-decoration: none;
    color: white;
}

.criar-sala {
    overflow: auto; /* Adds a scrollbar only when needed */
    max-height: 350px; /* Sets the maximum height of the container */
    margin-top: 40px;
    margin-left: 20px;
    font-size: 30px;
}

.criar-sala option {
    color: white;
    background-color: black;
    border: 2px solid white;
}

.criar-sala select {
    color: white;
    background-color: black;
    border: 3px solid white;
}

.criar-sala #impostores, .criar-sala #reuniao, .criar-sala #jogadores {
    font-size: 25px;
}

.ajuda {
    margin-top: -10px;
    max-height: 300px;
}

.ajuda-text {
    color: white;
    text-align: center;
    font-size: 40px;
}

.ListaJogadores {
    margin-top: 5px;
    margin-bottom: 5px;
}

.ListaJogadores button{
    color: white;
    background-color: black;
    border: 5px solid red;
    border-radius: 10px;
    float: right;
    margin-right: 10px;
    margin-top: 3.5px;
}

.salaEsperaOwner {
    color:  aliceblue;
    max-height: 200px;
    overflow: auto;
    margin-top: 100px;
    font-size: 40px;
}

.salaEsperaOwner button {
    font-size: 25px;
    font-size: 25px;
}

.criarButton {
    color: white;
    background-color: black;
    border: 5px solid white;
    border-radius: 10px;
    width: 57.5%;
    height: 15.7%;
    align-items: center;
    font-size: 45px;
    margin-top: 20%;
    margin-left: 19.5%;
}

.confirm-joins {
    position: absolute;
    left: 95px;
    bottom: 19px;
    background-color: black;
    border: 5px solid white;
    font-size: 45px;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
}

.confirm-joins a {
  text-decoration: none;
  color: white;
}

.confirm-join {
    color: white;
    position: absolute;
    left: 90px;
    bottom: 30px;
    background-color: black;
    border: 5px solid white;
    font-size: 45px;
    text-align: center;
    text-decoration: none;
    width: 220px;
    border-radius: 10px;
}

.confirm-join a {
  text-decoration: none;
  color: white;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}
  
/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
   
/* Handle */
::-webkit-scrollbar-thumb {
    background: #888; 
}
  
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

.link {
    color: white;
}

.options {
    color: white;
    font-weight: bold;
}

#jogadores {
    margin-left: 3.5%;
    width: 45px; 
}

#impostores {
    width: 45px; 
}

[name="reuniao"] {
    margin-left: 7%;
    width: 45px; 
}

.textoEspera {
    color: white;
    font-size: 40px;
    width: 100%;
    margin-top: 0px;
    margin-left: 5px;
}

/*--------------------------JOGO------------------------*/

.ecra {
    width: 400px;
    height: 400px;
    border-radius: 20px;
    border: 5px solid rgb(93, 93, 93);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000000;
    z-index: 1;
}

.ConfirmarSaida{
    font-size: 50px;
}

.ConfirmarSaidaAplicacao{
    font-size: 40px;
}

.role-text {
    font-size: 70px;
    color: rgb(0, 195, 255);
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.role-text.active{
    opacity: 1;
}

.expulso {
    font-size: 70px;
}

.ecra {
  display: none;
}

.role{
  display: block;
}

.active-section {
  display: block;
}

.btn-group button {
    background-color: black;
    border: 5px solid white;
    color: white;
    width: 80%;
    height: 25%;
    display: block; 
    font-size: 60px;
    align-items: center;
    margin-left: 10%;
}
  
.btn-group button:first-child {
    border-radius: 20px 20px 0px 0px;
    margin-top: 7%;
}

.btn-group button:last-child {
    border-radius: 0px 0px 20px 20px;
}

.btn-group button:not(:last-child) {
    border-bottom: none; /* Prevent double borders */
}

.botao-ajuda {
    background-color: white;
    color: black;
    border-radius: 50%;
    width: 39px;
    height: 39px;
    font-weight: bold;
    font-size: 30px;
    position: absolute;
    top: 3%;
    left: 88%;
}

.morte-text {
    font-size: 50px;
    position: absolute;
    color: white;
    margin-top: 2%;
    margin-left: 15%;
}

.tarefa-botao {
    background-color: rgba(0, 0, 255, 0.75);
    font-weight: bold;
    border: 5px solid white; /* Green border */
    color: white; /* White text */
    width: 80%; /* Set a width if needed */
    height: 25%;
    display: block; /* Make the buttons appear below each other */
    font-size: 60px;
    align-items: center;
    margin-left: 10%;
    margin-top: 50%;
    border-radius: 20px;
}

.lista-tarefa {
    width: 300px;
    height: 200px;
    border: 1px solid black;
    padding: 10px;
    margin-top: 10%;
    margin-left: 10%;
    color: white; /* White text */
    vertical-align: left; /* Center align the text vertically */
    text-align: left; /* Center align the text horizontally */
}

.lista-tarefa button {
    border-radius: 20px;
    background-color: black;
    border: 5px solid white; /* Green border */
    width: 80%; /* Set a width if needed */
    height: 40%;
    display: block; /* Make the buttons appear below each other */
    font-size: 40px;
    align-items: center;
    margin-left: 10%;
    color: white; /* White text */
    margin-top: 20px;
}

.reuniao-text {
    color: white;
    margin-top: 30%;
    font-size: 65px;
    text-align: center; /* Center align the text horizontally */
    line-height: 70px; /* Set the line height to the same as the container height */
    vertical-align: middle; /* Center align the text vertically */
}

.votacao {
    width: 300px;
    overflow: auto;
    max-height: 250px;
    border: 1px solid black;
    padding: 10px;
    margin-left: 10%;
    margin-top: 10%;
    font-size: 30px;
    color: white; /* White text */
    text-align: left; /* Center align the text horizontally */
}

.votacao p {
    margin-top: 0px;
}

.votacao button:first-child {
    background-color: rgb(212, 25, 25);
}

.votacao button:last-child {
    background-color: rgb(52, 201, 25);
}

.votacao button {
    border-radius: 20px;
    background-color: black;
    border: 5px solid white;
    font-size: 30px;
    display: block;
    color: white; 
    float: right; 
    text-align: center; 
    margin-top: -5px;
}

.votacao td:first-child {
    padding-right: 20px;
    font-size: 30px;
    color: white;
    width: 30%; 
    height: 100%;
}
  
.votacao td:last-child {
    font-size: 30px;
    color: white;
    width: 5%; 
    height: 10%;
}

.button-tarefa {
    background-color: #2196F3;
    border: 1px solid rgb(0, 79, 248);
    color: white;
    width: 30%;
    height: 27%;
    font-size: 60px;
    align-items: center;
    margin-left: 10%;
    margin-top: 3%;
    border-radius: 20px;
  }
  
.button-tarefa:first-child {
    margin-left: 0;
    border-radius: 20px 0 0 20px;
}
  
.button-tarefa:last-child {
    margin-left: 0;
    border-radius: 0 20px 20px 0;
}
.arrow-btn, .x-btn {
    width: 5px;
}

.votes {
    text-align: right; /* Center align the text horizontally */
}

.barra-tarefas {
    width: 90%;
    height: 20px;
    background-color: #ddd;
    border-radius: 10px;
    margin-bottom: 20px;
    margin-left: 20px;
}

.barra-texto{
    color: white;
    font-size: 40px;
    margin-left: 20px;
}
  
.progresso {
    height: 100%;
    background-color: #4CAF50;
    border-radius: 10px;
    width: 0%;
    transition: width 0.5s ease-in-out;
}

/*tarefas*/
.grid-item-por-ordem.selected {
    background-color: blue;
    color: white;
}

.grid-container-por-ordem {
    height: 370px;
    border-radius: 20px;
    display: grid;
    grid-template-columns: auto auto auto;
    background-color: #2196F3;
    padding: 10px;
    margin: 5px;
}

.grid-item-por-ordem {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.8);
    padding: 10px;
    font-size: 30px;
    text-align: center;
}

.lista-tarefa button.selected {
    background-color: blue;
    color: white;
}

#vermelhoIn, #vermelhoOut {
    float: left;
    width: 100px;
    height: 50px;
    border: 5px solid rgb(255, 0, 0);
}

#verdeIn, #verdeOut {
    float: left;
    width: 100px;
    height: 50px;
    border: 5px solid rgb(43, 255, 0);
}

#amareloIn, #amareloOut {
    float: left;
    width: 100px;
    height: 50px;
    border: 5px solid rgb(255, 251, 0);
}

#azulIn, #azulOut {
    float: left;
    width: 100px;
    height: 50px;
    border: 5px solid rgb(0, 89, 255);
}

.fill {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden
}

.fill img {
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%
}

.ecra .direita {
    position: absolute;
    right: 10px;
}

.ecra .esquerda {
    position: absolute;
    left: 10px;
}

.resetbut{
    color: white;
    background-color: black;
    border: 5px solid white;
    border-radius: 10px;
    position: absolute;
    bottom: 5%;
    left: 35%;
    font-size: 28px;
}

.tarefas-completas {
    color: white;
    margin-top: 0;
    text-align: center;
    font-size: 35px;
    font-weight: bold;
}

.instrucao-voto {
    color: white;
    font-size: 30px;
    text-align: center; /* Center align the text horizontally */
    line-height: 30px; /* Set the line height to the same as the container height */
    vertical-align: middle; /* Center align the text vertically */
    margin-bottom: 100px;
}

.ouvir-nome {
    color: white;
    margin-top: 20%;
    font-size: 65px;
    text-align: center; /* Center align the text horizontally */
    line-height: 70px; /* Set the line height to the same as the container height */
    vertical-align: middle; /* Center align the text vertically */
}
  
.bars {
    display: block;
    align-items: center;
    justify-content: space-between;
    width: 50px;
    height: 50px;
    margin-left: 3%;
    margin-top: 3%;
}
  
.bar {
    height: 10px;
    background-color: white;
    border-radius: 20px;
    margin: 6 0;
}

.status {
  background-color: #8a8a8ae8;
  font-size: 32px;
}

.element {
    color: black; 
    font-weight: bold;
    margin-left: 10%;
    margin-top: -10%;
    width: 80%;
}


.cross {
    width: 50px;
    height: 50px;
    margin-left: 2%;
    margin-top: 30px;
}

.cross::before,
.cross::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 10px;
    background-color: white;
    border-radius: 20px;
}

.cross::before {
    transform: rotate(-45deg);
}

.cross::after {
    transform: rotate(45deg);
}

#botaoMorrer {
    background-color: rgba(255, 0, 0, 0.75);
    font-weight: bold;
}

#botaoReuniao {
    background-color: rgba(38, 255, 0, 0.75);
    font-weight: bold;
}

#botaoTarefa {
    background-color: rgba(0, 0, 255, 0.75);
    font-weight: bold;
}

.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 10;
}

.back-button:hover {
    background-color: #3e8e41;
}