@import url('https://fonts.googleapis.com/css2?family=Mouse+Memoirs&display=swap');

html {
    height: 100%;
}

body {
	background-color: black;
	background-image: url("../img/map2.jpg");
	background-position: center;
    display: flex;
    align-items: center;
    height: 100%;
}

h1, h2 {
	font-family: 'Mouse Memoirs', sans-serif;
    text-align: center;
}

h2 span {
    color: darkred;
}

#waitingroomForm label {
	font-size: 1.1em;
}

.openning {
    background-color: rgba(255,255,255,.8);
    margin: auto;
    width: 600px;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 5px 5px 20px 10px rgba(0, 0, 0, 0.8);
}

input#gameid {
    text-transform: uppercase;
}


#hostgameid {
    width: 200px;
    border: 1px solid darkgray;
    border-radius: 5px;
    text-align: center;
    font-family: 'Mouse Memoirs';
    font-size: 30px;
    background-color: #fbfbfb;
    padding: 8px;	
}

.connectedPlayers {
    margin-top: 20px;
}

#playerlist-server, #playerlist-client {
    height: 170px;
    max-height: 170px;
    overflow: auto;
    margin-bottom: 3px;

    color: darkslateblue;
}

#playerlist-server .fa-plug, #playerlist-client .fa-plug, #nextgame .fa-plug {
	color: green;
}

#nextgame .fa-times {
    color: red;
}

small {
	font-size: 80%;
    font-weight: 400;
    line-height: 1.2em;
    display: block;
    margin-bottom: 12px;
}

.colright {
    border-left: 1px solid lightgrey;
}

p {
	font-size: 14px; 
}


.playername {
    display: flex;
    gap: 6px;
    align-items: center;
    max-width: 230px;
}

.playername span {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#gametimout {
    width: 80px;
    border: 1px solid darkgray;
    border-radius: 5px;
    text-align: center;
    font-family: 'Mouse Memoirs';
    background-color: #fbfbfb;
    padding: 2px;
    height: 46px;
}

#gametimout label {
    display: block;
    font-size: 12px;
    margin: 0;
}

#gametimout span {
    display: block;
    line-height: 0.8em;
    font-size: 24px;
}



canvas#display {
    background-color: black;
    width: 100%;
    height: 100%;
}

#logo{
    margin-bottom: 16px;
    height: 150px;
    background-image: url(/img/logo.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}


#nextgame table {
    width: 100%;
    margin-bottom: 24px;
}

#nextgame table th {
    text-align: center;
    border: 1px solid gray;
    background-color: lightgray;
}

#nextgame table td {
    border: 1px solid gray;
}


#nextgame table .cumul-last, #nextgame table .cumul-cumul {
    text-align: right;
}

#nextgame table .cumul-couleur, #nextgame table .cumul-connect {
    text-align: center;
}

