
main {
    display: flex;
    min-height: 100vh;
    padding: 15px;
}

section#cafe {
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
}

/* Lists */
.list-header {
    display: flex;
    /* justify-content: center; */
    border-top: 0.8px solid var(--border-color);
    margin-bottom: 10px;
    padding-top: 10px;
    /* font-style: italic; */
}
.list-header h2::before {
    content: '';
    width: 8px;
    height: 8px;
    margin-bottom: -1px;
    background-color: var(--border-color);
    /* border: 1px solid #000; */
    display: inline-block;
    margin-right: 6px;
}
.list-header button {
    font-size: 12px;
    margin-left: auto;
}

#elsewhere {
    margin-bottom: 50px;
}
#elsewhere a {
    text-decoration: underline;
}

#kitchen {
    display: none;
}
#kitchen form input {
    display: block;
}

ol#chat li {
    display: grid;
    grid-template-columns: 50px max-content 1fr;
    grid-gap: 10px;
}
ol#chat li .time {
    color: #00000063;
    font-size: 10px;
    margin-right: 3px;
    padding-top: 3.5px;
}
ol#chat li .name {
    font-weight: bold;
}
ol li * {
    word-break: break-word;
}

/* Moderation */
.delete-button {
    margin-left: 5px;
}

/* Forms */
form select, form input, textarea {font-size: 100%; margin-bottom: .5em; outline: none;}
button, input[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    font-size: 14px;
    border: 1px solid #1f1209;
    padding: 4px 6px;
    border-radius: var(--rounded-corners);
    text-decoration: none;
    cursor: pointer;
    color: #000;
    background: #fff6ed;
    font-weight: normal;
}
.list-header button:hover, #kitchen button:hover, input[type="submit"]:hover {
    background-color: #00000015;
}
input[type="text"], input[type="url"] {
    width: 100%;
    max-width: 400px;
    border: 1px solid #1f1209;
    color: #000;
    background: #fff6ed;
    padding: 4px 6px;
}
input, select { font-size: 100%; }
#kitchen {
    width: 100%;
}

/* @media(max-width: 600px) {
    #kitchen {
        width: 100%;
    }
    input[type="text"], input[type="url"] {
        width: 100% !important;
        max-width: 100% !important;
    }
} */


/* Light Switch */
#light-switch {
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    /* height: 1.8em; */
    width: .8em;
    margin-right: 8px;
    cursor: grab;
    background-color: transparent;
    border: 0;
    border-radius: 0;
}
#light-switch:active {
    cursor: grabbing;
}
.switch-on {
    background-image: url('../images/on.svg');
}
.switch-off {
    background-image: url('../images/off.svg');
}

/* Lights */
.lights-off {
    /* filter: grayscale(100%); */
    background-color: #191919;
    transition: all 2s;
}
.lights-off * {
    color: #ebebeb;
}
.lights-off .list-header button, .lights-off #kitchen button, .lights-off input, .lights-off .delete-button {
    color: #3b3b3b !important;
}
.lights-off .list-header button:hover, .lights-off #kitchen button:hover, .lights-off input[type="submit"]:hover, .lights-off input[type="url"]:hover {
    background-color: #c9c9c9;
}
.lights-off footer {
    color: #727272;
    transition: all 2s;
    border-top-color: #3b3b3b;
}
.lights-off footer a {
    color: #727272;
    text-decoration: underline;
}
.lights-off #coffee-cup {
    background-image: url('../images/night-coffee.svg');
    transition: all 2s;
}
.lights-off .list-header {
    border-color: #3b3b3b;
    transition: all 2s;
}
.lights-off ol#chat .time {
    color: #727272;
}
/* .lights-on {
    transition: all 2s;
} */
.lights-off .list-header h2::before {
    background-color: #3b3b3b;
    transition: all 2s;
}












.closed {
    filter: none;
}
#closed {
    width: 100%;
    height: 100%;
    padding: 2em;
    line-height: 25px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff6ed;
    background: #0b072e;
    /* text-align: center;
    display: flex;
    align-items: center;
    justify-content: center; */
}
.closed-sign {
    position: absolute;
    bottom: 0px;
    right: 15px;
}
.closed-sign button {
    color: #ebebeb;
    background: none;
    border: 0;
}
.closed-sign, .closed-sign a {
    color: #ebebeb;
    font-size: 12px !important;
}
.closed-sign a {text-decoration: none;}
.closed-sign a:hover {text-decoration: underline;}
.open { display: none !important; }
#post-note-success a {
    text-decoration: underline;
}
section p, li {
    margin-bottom: 8px;
}
footer {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    /* font-size: 12px; */
    margin-top: auto;
    line-height: 19px;
    border-top: 0.8px solid var(--border-color);
    padding-top: 8px;
}
footer, footer a {
    color: #00000063;
    /* font-size: 11px !important; */
}
footer a {
    text-decoration: underline !important;
}
footer a:hover {
    text-decoration: underline !important;
}



.secret-door {
    cursor: help;
    width: 30px;
    height: 30px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 9;
}


@media(max-width: 535px) {
    #title, #time { float: none;}
}



#cup {
    position: absolute;
    right: 10%;
    top: 80px;
    max-width: 130px;
    pointer-events: none;
    -webkit-animation: spin 600s linear infinite;
}

/* Animation */
@-webkit-keyframes spin {
    from{
        -webkit-transform: rotate(0deg);
    }
    to{
        -webkit-transform: rotate(360deg);
    }
}