body {
    background-color: #1F2024;
    font-family: 'Courier New', Courier, monospace;
    color: white;
    margin: auto;
    padding: 20px;
}

a {
    color: white;
}

#email {
    margin: 20px 0;
}

#submit {
    width: 100px;
    margin: auto;
}

#submit input {
    width: 100px;
}

.guest-level {
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 10px
}

.guest {
    margin-bottom: -10px;
}

.guest-box {
    white-space: pre;
    width: 10px;
    min-height: 3px;
    height: 10px;
    padding: 3px 3px;
    background-color: goldenrod;
    display: inline-block;
    margin: 1px;
}

.guest-name {
    width: 0;
    height: 0;
    overflow: hidden;
}

.guest-level-expanded {
    text-align: left;
    display: flex;
    flex-direction: column;
    animation-duration: 2s;
    padding-bottom: 20px
}

.guest-expanded {
    display: flex;
}

.guest-name-expanded {
    padding-left: 5px;
}

.friday-time {
    padding-top: 20px;
    padding-bottom: 5px;
}

.friday-details {
    padding: 5px;
}

.btn {
    color: black;
}

.btn-rsvp {
    display: flex;
    justify-content: flex-end;
}

.num-of-guests {
    padding: 0 10px;
}

.btn-update .btn {
    color: black;
}

.toast.htmx-settling {
    opacity: 100;
}

.toast {
    opacity: 0;
    transition: opacity 3s ease-out;
    padding: 2px;
    flex-grow: 2;
    color: brown;
}

.preference {
    position: relative;
    cursor: pointer;
    margin: 5px;
    user-select: none;
}

.preference [type="checkbox"],
.preference [type="radio"] {
    display: none;
}

.preference [type="checkbox"]+span,
.preference [type="radio"]+span {
    display: inline-block;
    padding: 5px;
    border: 3px solid white;
    margin-bottom: 3px;
}

.preference :checked+span {
    background: #004F4D;
}

@media (max-width: 600px) {
    body {
        font-size: 1.5em;
        width: 90%;
    }

    #friday-table {
        width: 100%;
    }

    .btn-rsvp .btn {
        margin-top: 50px;
        width: 150px;
        font-size: 1.1em;
    }

    .btn-update .btn {
        margin-top: 50px;
        width: 100px;
        font-size: 1.1em;
    }

    .btn-rsvp,
    .btn-update {
        display: flex;
        justify-content: center;
    }

    .guestLevel {
        width: 80%;
    }

    #new-friday-table {
        flex-wrap: wrap;
    }

    #new-friday-list {
        flex-basis: 100% !important;
        display: flex;
    }

    #new-friday-selected {
        flex-basis: 100% !important;
        margin-top: 40px
    }

    #new-friday-list .new-friday-time {
        min-height: 100%;
        padding: 0px 5px;
    }

    .friday-link {
        flex-basis: 25%;
    }

    .invite-symbol-no,
    .invite-symbol-yes {
        display: block;
    }

    .friday-input[type="text"],
    .friday-input[type="number"] {
        margin-bottom: 10px;
        border-bottom: 4px solid #1F2024;
        font-family: 'Courier New', Courier, monospace;
        margin-right: 18px !important;
        font-size: 0.8em;

    }

    .pixel-pizza {
        font-size: 11px !important;
    }
}

#header-bar {
    display: flex;
    margin-bottom: 20px;
}

#greeting {
    flex-basis: 50%;
}

#nav {
    flex-basis: 50%;
    display: flex;
    justify-content: flex-end;
}

#nav a {
    margin-left: 10px;
}

#new-friday-table {
    display: flex;
}

#new-friday-list {
    flex-basis: 25%;
}

#new-friday-selected {
    flex-basis: 75%;
    padding: 5px;
    padding-left: 20px;
}

.new-friday-time {
    border: 1px solid black;
    /* background-color: #4B4952; */
    padding: 5px;
}

.invite-symbol-yes {
    font-size: 24px;
    color: #A68F97;
}

.invite-symbol-no {
    font-size: 24px;
    color: darkgray;
}

.friday-link {
    cursor: pointer;
    background-color: #4B4952;
}

.selected-friday-link {
    border-top: 7px solid goldenrod;
    font-weight: bold;
}

.btn-rsvp .btn {
    width: 100px;
    font-size: 1.1em;
    background-color: #004F4D;
    color: white;
    cursor: pointer;
    border: none;
}

.btn-edit .btn {
    width: 100px;
    font-size: 1.1em;
    background-color: firebrick;
    color: white;
    cursor: pointer;
    border: none;
    margin-top: 50px;
}

img.rsvp-status {
    width: 64px;
}

img.rsvp-status-no {
    filter: grayscale(60%);
}

.friday-input[type="text"],
.friday-input[type="number"] {
    margin-bottom: 10px;
    border-bottom: 4px solid #1F2024;
    font-family: 'Courier New', Courier, monospace;
    margin-right: 5px;
}

.friday-input[type="text"]:focus,
.friday-input[type="text"]:hover,
.friday-input[type="number"]:focus,
.friday-input[type="number"]:hover {
    border-bottom: 4px solid goldenrod;
    outline: none;
}

.btn-remove .btn {
    width: 100px;
    font-size: 1.1em;
    background-color: goldenrod;
    color: white;
    cursor: pointer;
    border: none;
    margin: 5px 0px;
}

@media (min-width: 601px) {
    body {
        font-size: 1.0em;
        width: 800px;
    }

    #friday-table {
        width: 50%;
    }

}
