*,*::before,*::after{box-sizing:border-box}html{-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin-block-end:0}ul[role='list'],ol[role='list']{list-style:none}body{min-height:100vh;line-height:1.5}h1,h2,h3,h4,button,input,label{line-height:1.1}h1,h2,h3,h4{text-wrap:balance}a:not([class]){text-decoration-skip-ink:auto;color:currentColor}img,picture{max-width:100%;display:block}input,button,textarea,select{font-family:inherit;font-size:inherit}textarea:not([rows]){min-height:10em}:target{scroll-margin-block:5ex}

body {
    background-color: #F5EFE0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: #07090F;
    font-size: 16px;
    line-height: 1.5;
}

a,
a:visited,
a:active,
a:focus {
    color: #07090F;
}

h1 a {
    text-decoration: none;
}

nav {
    display: flex;
    justify-content: space-between;
}

nav a {
    color: #07090F;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

nav a h1 {
    margin: 0;
    font-size: 32px;
    line-height: 20px;
    position: relative;
    top: 4px;
}

nav a h1 span {
    font-size: 16px;
    color: #07090f9a;
    line-height: 8px;
}

nav .home-logo img {
    max-height: 60px;
}

nav a.home-logo {
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    gap: 1rem;
    font-size: 18px;
    margin: 0;
    align-items: center;
}

nav ul li {
    padding: 0;
    height: 100%;
    display: flex;
}

button,
.button {
    background-color: #98473E;
    color: white;
    border-radius: 4px;
    padding: .25rem 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-weight: bold;
}

nav .button {
    font-size: 24px;
    height: 100%;
}

button:active,
button:focus,
button:visited,
.button:active,
.button:focus,
.button:visited {
    color: white;
}

button:hover,
.button:hover {
    background-color: #6f271f;
}

*:hover {
    transition: .2s all ease;
}

main {
    min-height: 100vh;
    padding-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

footer {
    padding: 1rem;
    text-align: center;
    color: rgba(0,0,0, .3);
}

.signup h3 {
    margin-bottom: 0;
}

.signup > p {
    margin-top: 0;
}

.signup p small {
    color: #666;
}

form {
    margin: 1rem 0;
}

.formgroup {
    padding: .25rem 0;
    margin-bottom: .5rem;
}

.formgroup label {
    display: block;
    margin-bottom: .25rem;
}

.formgroup input,
.formgroup select {
    width: 320px;
    max-width: 100%;
    padding: .35rem;
    font-size: 24px;
}

.formgroup button {
    padding: .5rem 2.5rem;
    font-size: 20px;
    width: 320px;
    max-width: 100%;
}

.formgroup.honey {
    display: none;
}

.message {
    background: white;
    padding: 1rem 2rem 2rem;
    margin: 1rem 0;
    font-size: 120%;
}

footer img {
    margin: 0 auto;
}

ul.most-important {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    font-size: 1.2rem;
}

.intro-pictures {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    width: 100%;
}

.intro-pictures img {
    display: inline;
    height: 230px;
}

main ul {
    padding-left: 1.5em;
}

table.admin {
    padding: 0;
    width: 100%;
}

table.admin td {
    padding: .25rem;
}

table.admin td:first-child {
    padding-left: 0;
}

table.admin td:last-child {
    padding-right: 0;
    text-align: right;
}

table.starters {
    margin: 2rem 0;
    width: 100%;
}

table.starters th {
    text-align: left;
}

table.responsive {
    width: 100%;
    border-collapse: collapse;
}

table.responsive th,
table.responsive td {
    padding: .6rem .8rem;
    vertical-align: top;
    background: #A37C4021;
}

table.responsive thead th {
    text-align: left;
    font-weight: 700;
    background: #98473E;
    color: #F5EFE0;
}

table.starters td {
    background: #A37C4021;
}

.photo-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5em;
}

.photo-grid a {
    display: block;
    width: calc(33.333% - 1em);
    margin: 0.5em;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-grid a:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

@media (max-width: 800px) {
    nav {
        flex-direction: column;
        text-align: center;
    }

    nav a {
        display: block;
    }

    nav ul {
        justify-content: center;
    }

    nav a h1 {
        top: 0;
        margin: 1.5rem 0;
    }

    nav .home-logo img {
        max-height: 100px;
        margin: auto;
    }

    .intro-pictures {
        flex-direction: column;
    }

    .intro-pictures img {
        display: inline;
        width: auto;
        max-width: 100%;
        margin: auto;
        height: auto;
    }

    table.admin tr {
        display: block;
        margin-bottom: 1.5rem;
    }

    table.admin td {
        display: block;
        padding: 0;
    }

    table.admin td:last-child {
        text-align: left;
    }

    table.responsive {
        border: 0;
    }

    /* Visually hide the header but keep it for screen readers */
    table.responsive thead {
        position: absolute;
        left: -9999px;
        top: -9999px;
    }

    table.responsive tr {
        display: block;
        margin: .75rem 0;
        overflow: hidden;
    }

    table.responsive th[scope="row"],
    table.responsive td {
        display: block;
        border: 0;
        padding: .25rem 1rem;
    }

    /* Optional: give the row header a light background */
    table.responsive th[scope="row"] {
        background: #98473E;
        color: #F5EFE0;
        font-weight: 700;
    }

    /* Each data cell becomes a "label : value" row */
    table.responsive td {
        display: flex;
        gap: .75rem;
        align-items: baseline;
        font-weight: 600;
    }

    /* The label comes from data-label (added below via JS) */
    table.responsive td::before {
        content: attr(data-label);
        flex: 0 0 12ch;          /* width of the label column */
        font-weight: normal;
    }
}

@media (max-width: 640px) {

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li a {
        margin: auto;
    }

    .formgroup input, .formgroup select {
        width: 100%;
    }

    .photo-grid a {
        width: calc(50% - 1em);
    }
}