body{
  margin: 0;
  padding: 0;
 /* background-color:#fffafa;     */
  background-color:black;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
} 
/*Cria tabela de pontuacao*/
/*
.table{
  table-layout:fixed;
  width:90%;
  min-width: 90%;
  max-height: 90%;
  overflow-y: scroll;
  overflow-x: hidden;
  margin-left: 5%;
  margin-top: 5%;
  text-align: center;
} */

::-webkit-scrollbar {
  width: 0px;
  background: transparent;
  }
  
  /* Track */
  /*
  ::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 2.5px;
  }*/
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
  background: rgb(172, 167, 167);
  border-radius: 2.5px;
  }

.table{
  display: block;
  width:90%;
  min-width: 90%;
  max-height: 90%;
  overflow-y: scroll;
  margin-left: 5%;
  margin-top: 5%;
  text-align: center;
}
/*
.table{
  table-layout:fixed;
  width:90%;
  height: 90%;
  margin-left: 5%;
  margin-top: 5%;
  text-align: center;
}*/ 
/*Painel geral pra criar ou entrar no room*/
.rooms{
position: absolute;
display: inline-block;
border-radius: 10px;
background:rgba(0,0,0,0.5);
/*opacity: 0.4;*/
/*background: rgba(255, 255, 255, 0.4);*/
-webkit-backdrop-filter: blur(5px);
backdrop-filter: blur(5px);
width: 600px;
height: 585px;
top:50%;
left: 50%;
transform: translate(-50%,-50%);
}

.font-smaller{
  font-size: 1.4vh;
  color: white;
}

.font-small{
  font-size: 1.8vh;
  color: white;
}

.font-medium{
  font-size: 2.2vh;
  color: white;
}

#crateNewRoom{
visibility: hidden;
display: inline-block;
}

.geral{
position: relative;
margin-top: 5%;
}

.input{
position: relative;
background: rgba(35, 35, 53, 0.5);
border-radius: 5px;
border: 1px solid white;
top:5%;
margin-left: 2.5%;
margin-bottom: 1%;
width: 32%;
}

.findRoom{
position: relative;
background: rgba(35, 35, 53, 0.5);
border-radius: 5px;
border: 1px solid white;
opacity: 1;
top:5%;
margin-left: 2.5%;
width: 28%;
}

.createRoom{
position: relative;
/*background: rgba(255,255,255, 1);*/
background: rgba(35, 35, 53, 0.5);
border-radius: 5px;
border: 1px solid white;
opacity: 1;
top:5%;
margin-left: 2.5%;
width: 28%;
}


.createRoom:hover, .findRoom:hover{
  transform: scale(1.05);
}

.carrossel{
position: absolute;
/*display: inline-block;*/
margin-top: 1%;
overflow-x: hidden;
overflow-y: auto;
flex-wrap: wrap;
height: 450px;
width: 100%;
display: flex;
flex-direction:row;
}

.chooseRoom{
display: flex;
flex-direction: column;
position: absolute;
border-radius: 5px;
}

/*Div que mostra os rooms disponiveis*/
.availableRoom{
position: relative;
display: inline-block;
border-radius: 8px;
background: rgba(35, 35, 53, 0.685);
width: 230px;
height: 150px;
margin-left: 7%;
margin-top: 4%;
border: 1px solid black;
box-sizing: border-box;
}
/*
.availableRoom:hover{
  background: rgba(216, 216, 216, 0.7);
  box-shadow: 0 0 20px 0 rgb(255, 255, 255);
}*/

/*Titulo do room*/
.roomName{
position: relative;
text-align: center;
text-decoration: underline;
margin-top: 3%;
}

.pone, .ptwo{
position: relative;
display: inline-block;
border-radius: 5px;
width: 40%;
height: 50%;
margin-top: 1%;
margin-left: 8%;
background: rgba(255, 243, 191, 0.7);
background-size: cover; /* Scale the image to cover the entire div */
background-position: center; /* Center the image in the div */
background-repeat: no-repeat; /* Prevent the image from repeating */
}

.joinRoom{
position: relative;
margin-left: 25%;
text-align: center;
border-radius: 5px;
border: 1px solid white;
width: 50%;
margin-top: 3%;
/*padding: 1%;
top: 1%;*/
}

.joinRoom:hover{
  transform: scale(1.05);
}

/*Customizando o scrollbar*/
/* width */
::-webkit-scrollbar {
width: 10px;
/*background: transparent;*/
}

/* Track */
::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px grey;
border-radius: 2.5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
background: rgb(172, 167, 167);
border-radius: 2.5px;
}

/*Parte de criar novo room*/
.divTop{
position: absolute;
display: flex;
width: 100%;
top: 5%;
/*padding-bottom: 1%;*/
border-radius: 5px;

}

.msg{
color: red;
font-weight: bold;
text-align: center;
margin-left: 1%;
}

.nameYourRoom{
text-align: center;
width: 25%;
margin-left: 1%;
}

.nameNewRoom{
width: 40%;
background: rgba(35, 35, 53, 0.5);
border-radius: 5px;
border: 1px solid white;
margin-left: 2%;
}

.divMiddle{
position: relative;
margin-top: 3%;
}

.divMiddleSingle{
  position: relative;
  /*margin-top: 8%;*/
}

.instruction{
position: relative;
text-align: center;
}

.instructionSingle{
  position: relative;
  text-align: center;
  margin-top: 13%;
  }

.jogadores{
  display: inline-block;
  width: 100%;
  height: 400px;
}

.playerOne, .playerTwo{
  position: relative;
  display: inline-block;
  border: 1px solid black;
  border-radius: 10px;
  width: 46.25%;
  height: 90%;
  margin-top: 3%;
  margin-left: 2.5%;
  background: rgba(35, 35, 53, 0.685);
  background-size: cover; /* Scale the image to cover the entire div */
  background-position: center; /* Center the image in the div */
  background-repeat: no-repeat; /* Prevent the image from repeating */
}

#choosep1:hover, #choosep2:hover{
cursor: pointer;
/*border: 1px solid white;*/
/*background: white;*/
border-color: #000;

transform: scale(1.05);

/*: rgba(216, 216, 216, 0.7);*/
box-shadow: 0 0 20px 0 rgb(255, 243, 191, 0.7);
  .letsgo{
    background-color: #818181;
    border-color: #000;
  }

  .bAbd{
    background-color: #818181;
    border-color: #000;
  }
}

.letsgo{
position: absolute;
margin-left: 25%;
text-align: center;
border-radius: 5px;
border: 1px solid white;
width: 50%;
padding: 2%;
bottom: 7%;
}

.letsgo:hover{
  transform: scale(1.05);
}

.divBottom{
width: 100%;
position: relative;
/*margin-top: 2%;
height: 35px;*/
}
/*Butao*/
.cancel{
text-align: center;
display: inline-block;
border-radius: 5px;
background-color: rgb(183, 42, 42);
border: 1px solid black;
width: 30%;
margin-left: 35%;
cursor: pointer;
padding: 1%;
}

.cancel:hover{
  transform: scale(1.05);
}

/*GAME MODE*/
.tituloGame{
  position: relative;
  text-align: center;
  /*top: 3%;*/
  padding: 5%;
  background-color: rgba(0, 0, 0, 1);
  border-top-right-radius: 10px;
   border-top-left-radius: 10px;
}

.carrosselGame{
  position: absolute;
  /*margin-top: 1%;*/
  overflow-x: hidden;
  overflow-y: auto;
  flex-wrap: wrap;
  height: 270px;
  width: 100%;
  /*display: flex;*/
  flex-direction:row;
  }

.explicacao{
  position: absolute;
  overflow-x: hidden;
  overflow-y: auto;
  width: 80%;
  margin-left: 10%;
  top:60%;
  text-align: center;
  }

.gameMode{
  position: relative;
  display: inline-block;
  border-radius: 8px;
  background: rgba(35, 35, 53, 0.685);
  width: 140px;
  height: 175px;
  margin-left: 7%;
  margin-top: 5%;
  /*margin-top: 4%;*/
  border: 1px solid black;
  box-sizing: border-box;
  top: 10%;
}
/*
.gameMode img{
  object-fit: contain;
}*/

.gameMode:hover{
  /*background-color: #818181;*/
  border-color: #000;
  transform: scale(1.05);

  background: rgba(216, 216, 216, 0.7);
    box-shadow: 0 0 20px 0 rgba(255, 243, 191, 0.7); 
}

.label{
  position: relative;
  text-align: center;
  background: black;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

.imgGameMode{
  /*width: 100%;*/
  height: 90%;
  aspect-ratio: 1;
  margin: auto;
}

/*ABDUCTION PART*/
.imgAbd{
  position: relative;
  height: 60%;
  top: 10%;
  aspect-ratio: 1;
  margin: auto;
}

.tituloAbd{
  position: relative;
  height: 20%;
  top: 10%;
}

.botoesAbd{
  position:relative;
  display: flex;
  height: 5%;
}

.bAbd{
margin-left:10%;
text-align: center;
border-radius: 5px;
border: 1px solid white;
width: 20%;
height: 100%;
}

.bAbd:hover{
  transform: scale(1.05);
  border-color: #000;
  color: #000;
  background: rgba(216, 216, 216, 0.7);
  box-shadow: 0 0 20px 0 rgb(255, 255, 255);
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {

.rooms{
  width: 310px;
  height: 265px;
}

.font-smaller{
  font-size: 1.2vh;
}

.font-small{
  font-size: 1.3vh;
}

.font-medium{
  font-size: 1.5vh;
}

.jogadores{
  height: 150px;
}

.availableRoom{
  width: 130px;
  height: 110px;
  margin-left: 5%;
}

.carrossel{
  height: 180px;
}

.carrosselGame{
  height: 150px;
}

.gameMode{
  width: 25%;
  height: 95px;
  margin-left: 6%;
}

/*Customizando o scrollbar*/
/* width */
::-webkit-scrollbar {
  width: 0px;
  background: transparent;
  }
  
  /* Track */
  /*
  ::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 2.5px;
  }*/
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
  background: rgb(172, 167, 167);
  border-radius: 2.5px;
  }

.table{
  display: block;
  width:90%;
  min-width: 90%;
  max-height: 90%;
  overflow-y: scroll;
  margin-left: 5%;
  margin-top: 5%;
  text-align: center;
} 

}
/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 600px) 
and (max-device-width : 1024px) {
  .rooms{
    width: 310px;
    height: 265px;
  }
  
  .font-smaller{
    font-size: 1.4vh;
  }
  
  .font-small{
    font-size: 1.6vh;
  }
  
  .font-medium{
    font-size: 1.7vh;
  }
  
  .jogadores{
    height: 170px;
  }
  
  .availableRoom{
    width: 130px;
    height: 90px;
    margin-left: 5%;
  }
  
  .carrossel{
    height: 200px;
  }
  
  .carrosselGame{
    height: 150px;
  }
  
  .gameMode{
    width: 25%;
    height: 95px;
    margin-left: 6%;
  }

  /*Customizando o scrollbar*/
/* width */
::-webkit-scrollbar {
  width: 0px;
  background: transparent;
  }
  
  /* Track */
  /*
  ::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 2.5px;
  }*/
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
  background: rgb(172, 167, 167);
  border-radius: 2.5px;
  }

  .table{
    display: block;
    width:90%;
    min-width: 90%;
    max-height: 90%;
    overflow-y: scroll;
    margin-left: 5%;
    margin-top: 5%;
    text-align: center;
  } 
}
/* Desktops and laptops ----------- */
@media only screen 
and (min-width : 1224px) {

}