html, body {
    height: 100%;
}
body {
    background: #FFFFFF;
    font-family: sans-serif;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

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

a.toggle_radiobal.off, a.toggle_mixmachine.off {
    background: grey;
    opacity: 0.8;
}
a.toggle_radiobal.connecting, a.toggle_mixmachine.connecting {
    background: goldenrod;
}
a.toggle_radiobal.error, a.toggle_mixmachine.error {
    background: crimson;
}

a.toggle_radiobal, a.toggle_mixmachine {
    display: block;
    margin: 0 0 4px 0;
    padding: 10px;
    color: black;
    cursor: pointer;
    width: 100%;
    opacity: 0.7;
}

a.toggle_radiobal {
    font-size: clamp(24px, 6vw, 50px);
    background: green;
}

a.toggle_mixmachine {
    font-size: clamp(16px, 4vw, 30px);
    background: pink;
}

#menu {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5em 0.5em;
    font-size: clamp(12px, 2.2vw, 18pt);
}
#menu-logo {
    width: 96px;
    height: 96px;
}
#menu a {
    padding: 4px 2px;
    white-space: nowrap;
}
a:hover {color: #A5FC89;}
a:link {text-decoration: none; color: black;}

#chat {
    margin-top: 0;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    font-size: 0.9em;
}
#inputs {
    margin-bottom: 10px;
}
#inputs form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
#input_pseudo {
    font-weight: bold;
    flex: 1 1 100%;
}
#input_msg {
    flex: 1 1 auto;
    min-width: 0;
}
#inputs input[type="submit"] {
    flex: 0 0 auto;
    margin-left: auto;
}

#messages {
    background: #ffd70070;
    flex: 1 1 auto;
    min-height: 150px;
    width: 100%;
    margin-bottom: 10px;
    overflow-y: scroll;
    overflow-x: scroll;
}

.message {
    display: block;
    padding: 0px;
    margin: 0px;
}

.time {
    display: none;
    font-size: 0.7em;
    padding: 0px;
    margin: 0px;
}
.from:hover + .time {
    display: inline;
}

#social {
    margin-top: 0;
    padding-top: 0;
    display: flex;
    justify-content: center;
    gap: 24px;
}
#social a {
    display: inline-flex;
    color: black;
}
