@charset "utf-8";
html {
    background-color: #fff9ee; 
}
body {
    font-family: Verdana, Geneva, sans-serif;
    color: #592000;
    background-color: #fff9ee;
    margin-left: auto; 
    margin-right: auto; 
}
header {
    text-align: center; 
    padding: 20px;
}
h2 {
    font-size: 1.3em;
}
nav {
    background-color: #b47805;
    padding: 15px;
    text-align: center; 
}
nav ul {
    list-style-type: none; 
    margin: 0; 
    padding: 0;
}
nav li { position: relative; }
nav a {
    padding-left: 10px; 
    padding-right: 10px;
    text-decoration: none;
    color: #fff9ee;
    display: block; 
    background-color: #b67b14; 
    line-height: 2.8em; 
    text-decoration: none;
    text-align: center; 
}
nav a:hover {
        text-decoration: underline; 
        color: #fff9ee; 
        background-color: #592000; 
        font-size: 1.2em;
    transition: 
        background-color 0.5s ease-in 0.2s, 
        color 0.5s ease-in 0.2s, 
        font-size 1s ease;
}
main {
    padding: 20px;
    margin-top: 70px;
}
main > img {
    padding: 25px; 
    width: 25%;
    float: right;
}
    body > footer {
    background-color: #592000;
    color: #fff9ee;
    font-weight: bold;
    font-size: 0.9em;
    line-height: 3em;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    clear: both;
}
ul {
    list-style-type: square;
}
header img {
    width: 100%;
}
h1, h2 {
    text-shadow: 4px 6px 5px gray;
}
@media screen and (max-width: 768px) {
    body {
        width: 100%;
        margin: 0;
    }
    nav li {
        float: none; 
        font-size: x-large;
        width: 100%;
    }
    nav a {
        border-bottom: 1px solid black;
        padding: 15px 10px; 
        line-height: 1.5em;
    }
    table, tbody, tr, td, th {
        display: block; 
    }
    thead, tfoot {
        display: none;
    }
    tbody td {
        position: relative;
        padding-left: 40%;
    }
    td::before {
        content: attr(data-label);
        position: absolute;
        top: 0px;
        left: 0px;
        padding: 5px;
        width: 40%;
    }
    form {
        width: 100%; 
        font-size: large;
    }
    main > img {
        width: 90%;
        float: none;
    }
    fieldset {
        width: 100%; 
        padding: 5px;
        margin: 0; 
    }
    input, select {
        position: inherit;
        display: block;
        height: 50px; 
        padding: 5px; 
        width: 90%;
    }
    label {
        position: inherit;
        display: block; 
        height: 50px;
        width: 90%;
    }
    input[type="submit"], input[type="reset"] {
        float: none; 
        width: 90%;
        margin: 10px; 
        font-size: 1.2em;
    }
}
@media screen and (min-width: 769px) {
    nav li {
        float: left;
        display: block; 
        width: 25%;
    }
    main > img {
        width: 25%;
        float: right; 
    }
    body {
        width: 90%;
    }
    header {
        background-image: url("IMG_02962.JPG");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    form {
        width: 70%;
    }
    fieldset {
        width: 95%;
        padding: 5px;
        margin-right: 10px;
        margin-bottom: 10px;
        overflow: hidden;
    }
    label {
        display: block;
        float: left;
        clear: left;
        width: 30%;
        padding: 5px;
    }
    input, select, textarea {
            display: block; 
            margin-left: 32%; 
            padding: 5px; 
            height: auto; 
            width: 66%; 
        box-sizing: border-box;
    }
        /* Controls sit to the right of labels — only for text-like controls (avoid checkboxes/radios)
           This keeps simple HTML (labels with class="radio") unaffected. */
        input[type="text"],
        input[type="email"],
        input[type="tel"],
        input[type="date"],
        select,
        textarea {
            display: block; 
            margin-left: 32%; 
            padding: 5px; 
            height: auto; 
            width: 66%; 
        box-sizing: border-box;
        }
        /* Multi-line controls (textareas, multi-selects) should align at the top of the label */
    
    label.radio {
        display: inline-block;
        margin-right: 12px;
        float: none;
    }
}
.CreationsImages {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.CreationsImages img {
    flex: 0 1 200px;
    height: 200px;
    object-fit: cover;
}
table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #b47805;
    background-color: #FFFFFF;
    margin: 20px 0; 
}
thead {
    background-color: #b47805;
    color: #fff9ee;
}
th {
    padding: 15px; 
    text-align: left;
    border-bottom: 3px solid #d09543;
}
td {
    padding: 12px 15px; 
    border: 1px solid #d09543;
}
tbody tr:hover {
    background-color: #d09543;
    color: #592000;
}
tfoot {
    background-color: #592000;
    color: #fff9ee; 
    font-weight: bold; 
}
tfoot td {
    padding: 10px;
    text-align: center;
}
input:focus, select:focus, textarea:focus {
    background-color: #d09543;
}
input#name:focus:valid, 
input#zip:focus:valid, 
input#phone:focus:valid, 
input#email:focus:valid {
    background: #b67b14 url('download2.png') bottom right / contain no-repeat;
}
input#name:focus:invalid, 
input#zip:focus:invalid, 
input#phone:focus:invalid, 
input#email:focus:invalid {
    background: #d09543 url('download.png') bottom right / contain no-repeat;
}
input[type="radio"] {
    display: inline; 
    position: inherit; 
    left: 0; 
    width: auto;
}
label.radio {
    display: inline;
    position: inherit;
}
.contact-form input[type="submit"], .contact-form input[type="reset"] {
    display: block; 
    float: left; 
    position: relative;
    left: 0; 
    text-align: center; 
    width: 40%; 
    padding: 10px; 
    margin-left: 5%; 
    margin-right: 5%; 
    margin-bottom: 10px; 
}