html, body {
    height: 100vh;
    margin: 0;
    padding: 0;
    width:100vw;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
}
  
  /* Hide scrollbar for IE and Edge */
body {
    -ms-overflow-style: none;
}

.accueil {
    min-height: 100vh;
    width: 100vw;
    font-family: 'Risque', sans-serif;
    color:white;
    background: #376737;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    position: static;
    height: auto;
    max-width: 100vw;
    transform: none;
}

.accueil__top{
    width:100vw;
    height:fit-content;
    text-align:center;
    background-color: rgba(255, 255, 255, 0.1);
}

.accueil__titre {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 0;
}

.accueil__soustitre{
    font-weight: 300;
}

.accueil__joueurs {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.accueil__joueur {
    margin: 3vh 3vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.accueil__pseudo {
    display: none;
}

@media (min-width: 1000px) {
    .accueil__joueurs{
        flex-direction: row;
    }
}

.full { /*classe des joueurs absents*/
    opacity:0.2;
    cursor:initial;
}

.accueil__input {
    margin-top:3vh;
    padding: 0.4rem 1rem;
}

.interface {
    position: absolute;
    height: 100vh;
    width: 100vw;
    transform: translate3d(0, -100vh, 0);
    transform: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: left;
    z-index: 1;
}

.ui__haut {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 1rem 1rem 0 1rem;
}

.ui__bas {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin: 0 1rem 1rem 1rem;
}

.ui__hgauche {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    height: fit-content;
    max-width: 13.5rem;
}

.ui__timetxt {
    color:white;
    padding-left: 1.5rem;
    font-family: "Risque", serif;
    font-size: 1.5rem;
}

.ui__hdroite {
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
    height: fit-content;
}
.ui__roleindicator {
    font-family: "Risque", serif;
    color:white;
    font-size: 1.5rem;
    padding-right: 2rem;
    text-align: right;
}

.ui__roletxt {
    margin: 0;
}

.ui__roletxtcolor {
    margin: 0;
    color:red;
}

.ui__arrow {
    display:none;
    width: 12vw;
    max-width: 4rem;
}

.ui__ldr {
    max-width: 14rem;
    max-height: 4.5rem;
}

.ui__bgauche {
    width: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    max-width: 14rem;
    max-height: 9rem;
}

#ui__up {
    align-self: center;
    margin-bottom: 5px;
}

.annonce {
    color:white;
    font-family: "Risque", sans-serif;
    font-weight: 300;
    padding: 2vh 0;
    text-align:center;
    background-color:rgba(0, 0, 0, 0.2);
    position: absolute;
    width:100vw;
    left:0;
    top:20vh;
    transition: ease-in-out 3s;
    opacity:0;
}

.vote{
    position: absolute;
    top:40vh;
    left:50vw;
    transform: translate(-50%,-50%);
    text-align: center;
    color:white;
    font-family: "Risque", sans-serif;
    background-color: rgba(0, 0, 0, 0.4);
    width:100vw;
    height:fit-content;
    padding: 0 0 5vh 0;

    display: none;
}

.vote__texte{
    font-weight: 300;
    padding-bottom:5vh;
}

.vote__choix img{
    cursor:pointer;
    padding: 0 1rem;
    transition: ease-in-out .5s;
}

.vote__choix img:hover{
    transform: translateY(-10px);
}

.vote__choix {
    display:flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}

.jeu {
    height: 100vh;
    width: 100vw;
    padding: 0;
    margin: 0;
    z-index: 10;
}

.canvas {
    background: #376737;
    width: 100vw;
    height: 100vh;
}

.accueil {
    /*display: none;*/
}

.interface, .jeu {
    display: none;
}