/* Feuille de style générale */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    scroll-padding-top: 300px; /* hauteur de ton header */
}
body{
    margin: 0 40px;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    color: #470000;
    background-image: url(../photos/fond.png);
    background-size: cover;
    background-attachment: fixed;
}

section{
    margin: 30px 50px;
}

h1{
    font-size: 40px;
    font-weight: 900;
    margin: 10px;
    padding-bottom: 0 !important;
    color: #470000;
}

h2{
    background-color: #fee8d5;
    display: inline-block;
    padding: 5px 20px;
    border-radius: 14px;
}

h3{
    font-size: 20px;
    margin: 20px 0;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-image: url(../photos/fond.png);
}

.logo{
    width: 60px;
    padding: 5px;
    border: none;
}

.banner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}
.titres{
    padding: 15px 15px 8px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.titres h1, .titres p {
    margin: 0;
    line-height: 1;
}
.titres p {
    color: #d50000;
    font-size: 15px;
}

nav{
    display: flex;
    margin: 0 20px;
    justify-content: center;
    background-color: #fee9d6;
    border-radius: 20px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    padding: 8px;
}
ul{
    display: flex;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
    gap: 8px;
    padding: 0;
    margin: 0;
}

ul li a {
    display: inline-block;
    padding: 5px;
    text-decoration: none;
    color: inherit;
    background-color: #ecbfa1;
    border-radius: 8px;
    font-size: 14px;
    color: #470000;
}

ul li a.active {
    background-color: #c71414d7;
    color: white;
}
ul li a:hover{
    background-color: #d500005c;
    color: #470000;
    color: white;
}


a{
    text-decoration: none;
    color:#df3535;
    font-weight: 600;
}

a:hover{
    color: #ecb1a1;
}



p{
    text-align: justify;
    margin: 20px 40px;
}

img{
    border-radius: 20px;
    border: 1px solid #c8a18795;
}

.retour {
    padding: 15px;
    width: 100%;
    text-align: right;
}


/* Contact form */
form{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    display: flex;
}

.input-container, .text-area{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

legend{
    font-size: 22px;
    font-weight: bold;
    color: #680000;
}

fieldset{
    border: 2px solid #6d34343e;
    border-radius: 10px;
    padding: 20px;
    background-color: #fee9d66f;
    width: 800px;
}

input, textarea{
    font-family: "Montserrat", sans-serif;
    background-color: #ffffffcf;
    border-radius: 5px;
    box-sizing: border-box;
    text-align: center;
    border: 2px solid #6d343475;
    padding: 10px;
    width: 500px;
    margin: 10px;
    font-size: 15px;
    opacity: 0.9;
    outline: none;
    &:focus{
        border: 2px solid #6d343477;
        box-shadow: 0 0 0 1px #794e2f86;
    }
    &:hover{
        opacity: 1;
        box-shadow: 0 0 0 1px #e1c4a193;
        background-color: #fcf2e659;
    }
}

::placeholder{
    color: #676767;
    font-size: 15px;
    text-align: center;
    font-family: "Montserrat", sans-serif;
}

.submit{
    color: var(--third-color);
    text-align: center;
    display: inline-block;
    font-size: 18px;
    border-radius: 5px;
    border: solid 2px #794e2f86;
    box-shadow: 0 0 5px 1px #68574039;
    padding: 10px 20px;
    margin-top: 15px;
    background-color: #ebe3db93;
    transition: .2s ease;
    -webkit-transition: all .2s ease; /*Chrome*/
    -moz-transition: all .2s ease; /*Safari*/
    -o-transition: all .2s ease; /*Firefox*/
    transition: all .2s ease;
    &:hover{
        background-color: #fef6f0c8;
        -webkit-transform: scale(1.02);
        -moz-transform: scale(1.02);
        -o-transform: scale(1.02);
        transform: scale(1.02);
    }
}

.error-txt{
    color: #ff4000;
    font-size: 13px;
    text-align: left;
    margin: -5px 0 10px;
    display: none;
}

.hidden {
    display: none;
}

.error .item{
    border: 2px solid #ff4000;
}

.error .error-txt{
    display: block;
}

.remerciement{
    color: var(--third-color);
    font-family: "Lexend", serif;
    font-size: 30px;
}

.partners{
    border: 1px solid var(--div-color);
    border-radius: 15px;
    margin: 20px;
}