body {
    background-color: black;
    color: white;
    font-family: sans-serif;
}

a {
    color: inherit;
}

#container {
    display: flex;
    flex-direction: row;
}

.color {
    flex-grow: 1;
    flex-basis: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
}

.label {
    background: rgba(0, 0, 0, 60%);
    padding: 1em;
    text-align: center;
}

.top-label {
    background: rgba(0, 0, 0, 60%);
    padding: 0.5em;
    border-bottom-right-radius: 0.5em;
    position: fixed;
    left: 0;
    top: 0;
}

#title {
    background: black;
}

html, body, #container {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

@media screen and (orientation: portrait) {
    #container {
        display: table;
    }

    .color {
        display: table-row;
    }

    .label {
        display: table-cell;
        width: 10em;
        vertical-align: middle;
    }

    .color::before {
        display: table-cell;
        content: "";
    }

    .color::after {
        display: table-cell;
        content: "";
    }
}