html, body {
    padding:0%;
    margin: 0%;
    font-family: Cambria, serif;
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
}

header {
    background-color: #555555; /* gris foncé un peu plus clair */
    color: #fafafa; /* gris très clair */
    padding: 0.5em;
}

header h1 {
    text-align: center;
}


header ul {
    list-style: none;
    display: flex;
    margin:2em;
    padding: 0%;
    justify-content: center;
    gap: 5%
}

header a {
    color: #fafafa;
    font-weight:800;
    text-decoration: none;
}

header a:hover {
    text-decoration: underline;
}

main {
    margin:0;
    background-color: #fbfbfb; /* gris très pâle, plus clair */
    padding: 3em;
    color: #555555;
    flex:1;
}

main h2 {
    margin-top: 0;
    font-size: 2em;
    font-weight: bold;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    font-size: large;
}


form input {
    margin-top: 0.5em;
    padding: 0.75em;
    width: 100%;
}

form textarea {
    margin-top: 0.5em;
    width: 100%;
    padding: 0.75em;
    height: 15em;
    resize: none;
    font-size: 0.9em;
    font-family: Cambria, serif;
}

form button {
    background-color: #7e7e7e;
    padding: 0.75em 2em;
    border-radius: 0.25em;
    color: #fafafa;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

form button:hover {
    background-color: #555555;
}


#feedback {
    margin-top: 1em;
    font-size: large;
    font-weight: bold;
    letter-spacing: 0.03em;
    color: #008905;
    transition: opacity .5s ease-in-out;
}


footer{
    margin: 0;
    padding: 1em;
    background-color: #c8c8c8; /* gris moyen plus clair */
    display: flex;
    justify-content: space-between;
    align-items:center;
    color: #fafafa;
}

.footer-left{
    margin-left: 1em;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em 3em;  
}

.footer-left a {
    text-decoration: none;
    color: #fafafa;
}

.footer-left a:hover{
    color: #555555;
    transition-duration: 0.5s;
}

.footer-right{
    margin-right: 1em;
}

@media (max-width: 1000px) {
    .galerie {
        column-count: 2;
    }
    html{font-size: 1em;}
}

@media (max-width: 600px) {
    .galerie {
        column-count: 1;
    }
    html{font-size: 0.8em;}
}
