html, body {
    outline: 0;
    border: 0;
    padding: 0;
    margin: 0;
    -webkit-text-size-adjust: 100%;
    -webkit-overflow-scrolling: touch;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: Montserrat;
    font-size: 1rem;
    line-height: 24px;
    color: #005672;
}

body {
    overflow-x: hidden;
}

div, span, img, h1, h2, h3, h4, h5, h6, p, ol, ul, li, input {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.c2 {
    display: inline-grid;
    width: 50%;
    margin: auto;
    vertical-align: top;
    padding: 0 1rem;
    place-items: center;
}

.c3 {
    display: inline-grid;
    width: 40%;
    margin: auto;
    vertical-align: top;
    padding: 0 1rem;
    place-items: center;
}

.shaded {
    background: oklch(.98 .01 240);
}

header {
    display: block;
    position: relative;
    > img {
        width: 100%;
        overflow: hidden;
        object-fit: cover;
        object-position: 50% 50%;
    }
    .info {
        position: absolute;
        width: 100%;
        text-align: center;
        padding: 2rem 1rem;
        top: 0;
        left: 0;
        a {
            color: #f0a;
            text-transform: uppercase;
        }
        a:hover {
            color: #40d;
        }
        img {
            width: 120px;
        }
        h1 {
            font-family: "Smythe";
            color: #9a031e;
            font-size: 60px;
            font-weight: 600;
            text-align: center;
        }
        h2 {
            text-align: center;
            text-transform: uppercase;
        }
        h3 {
            font-size: .9em;
            color: #002;
            padding: .5rem 1rem;
            background: rgba(230,240,250,.5);
            border-radius: .25rem;
            width: fit-content;
            margin: auto;
        }
    }
}

button {
    cursor: pointer;
    background: radial-gradient(#9a031e, #602);
}

button:hover {
    background: #3f37c9;
}

button:focus {
    background: #3f37c9;
    outline: 2px solid #3f37c9;
    outline-offset: 2px;
}

nav {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    button {
        font-size: 1rem;
        display: inline-block;
        position: absolute;
        outline: 0;
        border: 0;
        top: 5px;
        color: #fff;
        font-weight: 500;
        padding: .5em 1em;
        border-radius: .25rem;
        margin: 0;
    }
    #tospanish {
        left: 5px;
    }
    #toenglish {
        left: 5px;
    }
    #tohomepage {
        right: 5px;
    }
}

section {
    display: grid;
    position: relative;
    background: #fff;
    color: #001;
    margin: 0;
    padding: 0;
}

section.xmas {
    padding: 4rem 1rem;
}

.xmas {
    background: radial-gradient(#900425,#502);
    color: #fff;
}

section#intro {
    background: transparent;
    margin-top: -10vw;
    text-align: center;
    padding-bottom: 5rem;
    img {
        display: block;
        width: 200px;
        margin: auto;
    }
    img.inverted {
        transform: rotate(180deg);
    }
    h4 {
        font-family: "Smythe";
        font-size: 3rem;
        margin-bottom: 1rem;
        margin-top: 1rem;
        color: #b02;
    }
    h5 {
        width: min(100%, 65ch);
        margin: auto;
        padding: .5rem 1rem;
        color: #068;
        font-size: 1rem;
    }
}

section#register {
    display: block;
    padding: 2rem 1rem;
    h3 {
        text-align: center;
        text-transform: uppercase;
    }
    h4 {
        text-align: center;
        text-transform: uppercase;
    }
}

section#paymentoptions {
    h4 {
        text-transform: uppercase;
    }
    h5 {
        margin: 0;
    }
}

section#details {
    padding-bottom: 0;
    img {
        width: 280px;
        margin: auto;
    }
    h2 {
        text-align: center;
    }
}

section#contact {
    background: radial-gradient(#003038, #001828);
    padding: 2rem 1rem;
    color: #0e2;
    .c2 {
        vertical-align: middle;
    }
    h2 {
        color: #fff;
    }
    a {
        color: #8cf;
    }
    a:hover {
        color: #fff;
    }
}

h2.huge {
    font-size: 50px;
}

ol, ul, li {
    text-align: left;
}

#messages {
    font-size: 1.125rem;
    color: #f08;
    text-transform: uppercase;
    font-weight: 600;
    width: fit-content;
    padding: .5rem 1rem;
    margin: 1rem auto;
    border: 2px solid oklch(.95 .015 240);
    border-radius: .5rem;
}

#messages:empty {
    display: none;
}

@media screen and (max-width:1000px) {
    header {
        .info {
            img {
                width: 100px;
            }
            h1 {
                font-size: 36px;
                padding: 0;
                line-height: 1;
                margin: 0;
            }
            h2 {
                font-size: 1rem;
                line-height: 1;
                margin: 0;
            }
        }
    }
}

@media screen and (max-width: 780px) {
    header {
        > img {
            width: 100%;
            height: 50vh;
            object-fit: cover;
            object-position: 50% 50%;
        }
        .info {
            display: block;
            position: relative;
            text-align: center;
            padding: 0 .5rem;
            img {
                width: 120px;
                background: oklch(.9 .02 220);
                padding: .5rem;
            }
            h1 {
                font-size: 40px;
                line-height: 1.5;
            }
            h2 {
                text-align: center;
                font-size: 1rem;
                line-height: 2;
            }
            h3 {
                font-size: .8em;
                color: #fff;
            }
        }
    }
    .c2 {
        display: block;
        width: 100%;
    }
    section#intro {
        margin-top: 0;
        h4 {
            font-family: "Smythe";
            font-size: 2rem;
        }
    }
}

body.eng {
    .esp, [data-esp] {
        display: none !important;
    }
}

body.esp {
    .eng, [data-eng] {
        display: none !important;
    }
}

form#reserve {
    display: block;
    background: #fff;
    color: #000;
    border-radius: .5rem;
    margin: 1rem auto;
    text-align: center;
    h5 {
        font-size: .9rem;
        text-transform: uppercase;
        text-align: center;
    }
}

button {
    display: inline-block;
    outline: 0;
    border: 0;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    padding: .5em 1em;
    border-radius: .25rem;
    margin: 1rem auto;
}

label {
    display: block;
    margin: .5rem auto .25rem;
    font-size: .8rem;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 600;
}

input, select {
    display: block;
    font-size: 1rem;
    line-height: 1;
    margin-bottom: 8px;
    padding: .5rem;
    border-radius: .25rem;
    border: 0;
    background: oklch(.95 .015 240);
    outline: 1px solid oklch(.85 .03 240);
}

input: focus, select:focus {
    outline: 2px solid oklch(.65 .2 200);
}

::placeholder {
    color: #079;
    opacity: .3;
}

#guestadd {
    border-bottom: 2px solid #068;
    input, select, label {
        display: inline-block;
    }
    label {
        margin: auto .25rem auto .75rem;
    }
    #month, #day {
        width: 60px;
    }
    #year {
        width: 80px;
    }
}

select, input[type=date], input[type=time] {
    background: #0055de;
    color: #fff;
    margin: .5rem auto;
}

#contactdetails {
    width: 320px;
    margin: auto;
    padding: 0 1rem;
    text-align: left;
}

.box {
    margin: 1rem auto;
}

#contactdetails.contactinfoready {
    label, br {
        display: none !important;
    }
    input {
        outline: 0;
        border: 0;
        padding: 0 .5rem;
        margin: 2px 0;
        background: oklch(.98 .01 240);
        font-size: 1.2em;
    }
}

#guests {
    display: none;
    width: fit-content;
    margin: auto;
    button {
        margin: 1rem;
    }
}

#guestlist {
    display: block;
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 2px solid #068;
    span {
        display: inline-block;
        position: relative;
    }
    .gname {
        width: 200px;
        text-align: left;
    }
    .gprice {
        width: 80px;
        text-align: right;
    }
}

form:has(#contactdetails.contactinfoready) {
    #guests {
        display: block;
    }
    #contactinfook {
        display: none;
    }
}

.guest.selected {
    outline: 2px solid #f08;
    outline-offset: 2px;
}

#instructions {
    padding: 1rem;
    h5 {
        font-size: .9rem;
        text-transform: uppercase;
        text-align: center;
    }
}

#otheroptions {
    text-align: center;
    h5 {
        text-align: left;
    }
}

#zellebox, #cardbox, #checkbox {
    display: block;
    margin: 1rem auto;
    border: 1px solid oklch(.85 .03 240);
    border-radius: .5rem;
    padding: 1rem;
    text-align: left;
}

input.alert {
    outline: 2px solid #e02;
    outline-offset: -2px
}

footer {
    background: radial-gradient(#003038, #001828);
    padding: 2rem 1rem;
    color: #09a;
    h6 {
        text-align: center;
        color: #0e2;
    }
    h5 {
        font-weight: 400;
    }
    a {
        color: #f09;
    }
    .logos {
        text-align: center;
    }
    .logos img {
        height: 80px;
        margin: 5px;
    }
}

.hidden {
    display: none !important;
}

/* * { outline:1px dotted #abc; } */



section#info {
    .c2 {
        vertical-align: middle;
    }
    background: url(/static/images/fiesta/christmas-bg7.jpg);
    background-position: 50% 80%;
    padding: 2rem 1rem;
    #gift {
        width: 300px;
        margin: auto;
    }
    .logo {
        width: 260px;
        height: 260px;
        padding: 50px;
        object-fit: contain;
        border-radius: 50%;
        margin: auto;
        background: rgba(0, 38, 40, .9);
    }
    .logo {
        img {
            max-height: 100%;
            filter: drop-shadow(0px 0px 5px #001);
        }
    }
    #white {
        margin: 0;
        padding: 1rem;
        background: #fff;
        border-radius: .25rem;
    }
    p {
        display: block;
        width: 100%;
        margin: 0;
        padding: 1rem;
        margin: 1rem auto;
        border-radius: .25rem;
    }
    h6 {
        width: 100%;
        color: #fff;
        background: rgba(0, 38, 41, .95);
        padding: .5rem 1rem;
        border-radius: .25rem;
        margin: auto;
        font-weight: 400;
        font-size: .85rem;
    }
}

.smtxt {
    display: block;
    font-size: .75rem;
    text-transform: uppercase;
    font-weight: 200;
    margin: 1rem auto .5rem;
}

.flx {
    display: flex;
    width: min(1200px, 100%);
    flex-direction: row;
    gap:1rem;
    ul, ol, >div {
        flex: 1;
    }
}

.funding-logo {
    display: inline-block;
    height: 100px;
    padding: 10px;
}

button:disabled {
    cursor: wait;
    opacity: .65;
}
