html {
    visibility: hidden;
    font-family: "Impact", "sans-serif";
    color: #555;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

.box {
    border-width: 1px;
    border-style: solid;
    border-color: #888;
    border-radius: 4px;
    padding-top: 0.6em;
    padding-left: 0.4em;
    padding-bottom: 0.4em;
    padding-right: 0.4em;
}

h2 {
    border-width: 1px;
    border-style: solid;
    border-color: #888;
    border-radius: 4px;
    position: relative;
    top: 0.8em;
    left: 1em;
    font-size: 70%;
    background-color: white;
    display: inline;
    font-weight: normal;
    padding-top: 0.1em;
    padding-left: 0.4em;
    padding-bottom: 0.1em;
    padding-right: 0.4em;
    color: #555;
}

.connectionLost {
    color: red;
    font-size: large;
    text-align: center;
}

.box {
    padding-left: 1.5em;
    padding-right: 1.5em;
    padding-top: 1.2em;
    padding-bottom: 1.2em;
}

#title .box {
    min-height: 4em;
}

#title h1 {
    font-size: 1.2em;
    font-weight: normal;
    margin: 0em;
}

#title #editTitle {
    float: right;
    position: relative;
    top: 0.8em;
    right: -1em;
}

#setTitle > .box {
    min-height: 4em;
}

#setName > .box {
    min-height: 4em;
}

.box > form {
    display: flex;
    flex-direction: row;
    align-content: stretch;
    gap: 0.4em;
}

.box > form input[type=text] {
    flex-grow: 1;
}

.box > form input[type=submit],button {
    min-width: 5em;
}

.winner {
    border-width: 2px;
    border-color: red;
    border-style: solid;
    border-radius: 4px;
    color: red;
    font-size: 130%;
    padding: 0.2em;
    margin: 0.2em;
    text-align: center;
}
