* {
    margin: 0;
}

body {
    font-family: Source Sans Pro, sans-serif;
}

p {
    padding: 0.4em 0;
}

input, button {
    border-radius: 5px;
    box-sizing: border-box;
    padding: 5px;
    font-size: 14pt;
    background-color: #f8ffdd;
    border: 1px solid #44AA66;
}

#left-area {
    box-sizing: border-box;
    padding: 20px;
    width: 50%;
}

#title {
    display: inline-block;
}

#video-container {
    text-align: center;
    width: 60%;
}

#right-area {
    box-sizing: border-box;
    position: absolute;
    width: 40%;
    height: 100%;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-left: 1px solid #aaa;
    background-color: #e8e8e8;
}

#info {
    position: relative;
}

#info td {
    padding: 0 3px;
}

#info-top, #info-bottom {
    display: block;
    width: 100%;
}

#info-top {
}

#info-left {
    display: inline-block;
    width: 50%;
}

#info-right {
    display: inline-block;
    width: 45%;
    float: right;
}

#scoreboard {
    font-weight: bold;
}

#chatlog {
    border: 1px solid #eee;
    margin: 10px 0;
    overflow-y: scroll;
    background-color: white;
}

#chatlog p {
    padding: 2px 5px;
    border: 1px solid #ccc;
}

.timestamp {
    color: grey;
    margin-left: 10px;
}

.evabot {
    background-color: #AAFF88;
}

#input-area {
    width: 100%;
}

#input-area p {
    padding: 5px;
}

#message {
    display: inline-block;
    width: 79%;
}

#send-form {
    display: inline-block;
    width: 18%;
}

#play-instructions {
    background-color: #ddd;
    padding: 10px;
}

.invisible {
    display: none;
}

#play-instructions p {
    padding: 0.4em;
}

@media only screen and (max-width: 1024px) {
    #right-area {
        width: 35%;
    }
}

@media only screen and (max-width: 980px) {
    body, input, button {
        font-size: 28pt;
    }
    
    input, button {
        padding: 20px;
    }
    
    #left-area, #right-area {
        position: relative;
        width: 100%;
        height: auto;
    }
    
    #chatlog {
        height: 400px;
    }
}