@import url('https://fonts.googleapis.com/css?family=Poor+Story&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Poor Story', cursive;
}

html,body{
    height:100%;
    width:100%;
    margin:0;
    padding:0;
    overflow-x:hidden;
       
}

body{
    background-color: #3a5979;
    
}

header{
    background-color: #dbe8f5;
    color: #133d6b;
    font-weight: bold;
}

.game-buttons{
    font-size: 40px; 
    border-radius: 5px;
    width: 70px;
    height: auto;
    margin: 3px;
    
}

#chat{
    width: 100%;
    height: 335px;
    border: 1px solid #c1c1c1;
    padding: 10px;
    overflow: auto;
    vertical-align: text-bottom;
}
#chat p{
    margin-bottom: 3px;
}
#chat .player1{
    color: blue;
    font-weight: bold;
}
#chat .player2{
    color: green;
    font-weight: bold;
}

#game-result{
    width: 100%;
    height: 200px;
    border: 1px solid #c1c1c1;
    padding: 10px;
    text-align: center;
}

#game-result div{
    float: left;
    width: 50%;
}
#game-result div i{
    font-size: 100px;    
}

#restart-button{
    display: none;
}

table{
    margin: 0 auto;
    padding: 0;
}

th{
    padding: 5px 10px;
    text-align: center;
    border-bottom: 1px solid #c1c1c1;
}

td{
    padding: 2px 2px;
    text-align: center;
}
td:first-child{
    text-align: left;
}

.blink {
    animation: blinker 1s linear infinite;
    color: #da0606;
}
@keyframes blinker {  
    50% { opacity: 0; }
}

footer{
    padding-top: 20px;
    text-align: center;
    width: 100%;
    background-color: #dbe8f5;
}