html, body {
    position: absolute;
    width: 1920px;
    height: 1080px;
    margin: 0;
    overflow: hidden
}

#screen {
    position: absolute;
    width: 1920px;
    height: 1080px;
    margin: 0;
}

.character {
    position: absolute;
    bottom: -100px;
    transition: all 0.1s linear;
}

.portrait {
    position: relative;
    opacity: 0.75;
    top: -30px;
    height: 250px;
    transition: all 0.1s linear;
}

.offline {
    /*visibility: hidden;*/
}

.speaking {
    opacity: 1.0;
    top: -75px;
    animation: shake 1s;
    animation-iteration-count: infinite;
}

div {
    text-align: center;
    font-family: sans-serif;
    font-weight: bold;
    color: white;
    -webkit-text-stroke: 1.5px black;
}

.character_name {
    font-size: xx-large;
}

.player_name {
    font-size: x-large;
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-2px, 0px) rotate(1deg); }
    30% { transform: translate(2px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-2px, 1px) rotate(0deg); }
    70% { transform: translate(2px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, 1px) rotate(-1deg); }
}