/* ALL */
*{
    margin: 0px;
    padding: 0px;
    cursor: url(../images/curseur.svg), auto;
    color: #0C1651;
    scroll-behavior: smooth;
}

body{ 
    width: 1080px;
    margin: 0 auto;
    margin-top: 100px;
    background-color: #FCEEF4;
}

/* Header */
header{ 
    background-color: rgba(255, 255, 255, 0.8);
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    margin: auto;
    position: fixed;
    display: flex;
    flex-wrap: wrap;
    z-index: 10;
}

header>nav{
    width: 1080px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header>nav>menu{
    width: 60%;
    display: flex;
    justify-content: flex-end;
    list-style: none;
}

header>nav>menu>li{
    padding: 0 2%;
}

header>nav>menu>li>a{
    width: 16%;   
    font-size: 1.6em;
    padding: 10px 10px;
    text-decoration: none;
    color: black;
}

header>nav>menu>li>a:hover,
.active{
    text-decoration: none;
    color: black !important;
    background-color: #EFB8CD;
    border-radius: 12px;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #feecf2), color-stop(100%, #EFB8CD));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #feecf2 0%, #EFB8CD 100%);
    /* Chrome10+,Safari5.1+ */
    background: -moz-linear-gradient(top, #feecf2 0%, #EFB8CD 100%);
    /* FF3.6+ */
    background: -ms-linear-gradient(top, #feecf2 0%, #EFB8CD 100%);
    /* IE10+ */
    background: -o-linear-gradient(top, #feecf2 0%, #EFB8CD 100%);
    /* Opera 11.10+ */
    background: linear-gradient(to bottom, #feecf2 0%, #EFB8CD 100%);
    /* W3C */
}

header>nav>p{
    width: 40%;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2.4em;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

/* Main */
.main{
    padding: 20px 66px;
    padding-bottom: 60px;
}

h1{
    font-size: 62px;
    padding-bottom: 20px;
}

.h1{
    padding: 20px 66px;
    padding-bottom: 0px;
}

a{
    cursor: pointer;
}

.content{
    background-color: #FCEEF4;
    font-size: 24px;
    padding: 20px 66px;
    padding-bottom: 60px;
}  

.content>h2{
    font-size: 48px;
    padding: 30px 0px;
}

.content>p{
    text-align: justify;
    position: relative;
}

.content>p>span{
    text-decoration: line-through;
}

.content>#center{
    font-size: 40px;
    text-align: center;
}

/* Galerie */
#galerie{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 40px;
}

.image-container{
    width: 300px;
    height: 300px;
    padding: 12px 0;
}

.image-container>img{
    width: 100%;
    height: 100%;
    box-shadow: 0 0 10px rgba(12, 22, 81, 0.2);
    border-radius: 12px;
    filter: grayscale(80%);
    transition: transform 0.4s ease-in-out;
}

.image-container>img:hover{
    filter: grayscale(0%);
    transition: 0.4s ease-in-out;
    transform: scale(1.1);
    z-index: 4;
}

/* Contact */
#contact {
    display: flex;
    justify-content: center;
}

#contact>div{
    display: flex;
    padding: 12px;
    box-shadow: 0 0 10px rgba(12, 22, 81, 0.2);
    border-radius: 12px;
}

#contact>div>div {
    display: flex;
    overflow: hidden;
    margin-right: 12px; 
    box-shadow: 0 0 10px rgba(12, 22, 81, 0.2);
    border-radius: 12px 0px 0px 12px;
}

#contact>div>div>img {
    width: 300px;
    height: 100%;
    object-fit: cover; 
    box-shadow: 0 0 10px rgba(12, 22, 81, 0.2);
    border-radius: 12px 0px 0px 12px;
}

/* Formulaire */
form{
    width: 300px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(12, 22, 81, 0.2);
    border-radius: 12px;
}

#en-tete{
    display: flex;
    justify-content: space-between;
}

#en-tete>div{
    width: 48%; 
}

label{
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
}

label>span{
    color: red;
}

input,
textarea{
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
}

#demande>div {
    display: flex;
    align-items: center;
}

#demande label {
    margin-left: 4px;
}

#demande input[type="radio"] {
    margin-top: 4px;
    width: 25px;
}

input[type="submit"]{
    background-color: #EFB8CD;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(12, 22, 81, 0.4);
}

input[type="submit"]:hover{
    background-color: #E58FAF;
}

::placeholder{
    font-family: Arial, Helvetica, sans-serif;
}

/* Footer formulaire avec $_SESSION */
#pied-session{
    display: flex;
    justify-content: center;
}

.succes{
    color: green;
}

.fail{
    color: red;
}

/* Spécial contact */
#contact>div>form{
    box-shadow: 0 0 10px rgba(12, 22, 81, 0.2);
    border-radius: 0px 12px 12px 0px;
}

/* Partenaires */
#partenaires{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 620px;
    margin: 0 auto;
}

#partenaires>section{
    width: 300px;
    margin-top: 10px;
    padding-bottom: 20px;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(12, 22, 81, 0.2);
    border-radius: 12px;
}

#partenaires>section>div{
    width: 100%;
    position: relative;
}

#partenaires>section>div>img{
    width: 100%;
    height: 80%;
    box-shadow: 0 0 10px rgba(12, 22, 81, 0.2);
    border-radius: 12px 12px 0px 0px;
    display: block;
}

#partenaires>section>div>p{
    position: absolute;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column-reverse;
    bottom: 0;
    width: 260px;
    height: 335px;
    padding: 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 12px 12px 0px 0px;
    color: white;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

#partenaires>section>div:hover>p{
    opacity: 1;
}

#partenaires>section>p {
    text-align: center;
    margin-top: 20px;
}

#partenaires>section>p>a{
    padding: 10px;
}

.content>div{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 620px;
    padding-top: 30px;
    margin: 0 auto;
}

.content>div>div{
    display: flex;
    justify-content: center;
    box-shadow: 0 0 10px rgba(12, 22, 81, 0.2);
    border-radius: 12px;
}

.content>div>div>a{
    padding: 12px 24px;
    border-radius: 12px;
}

.content>div>div:hover{
    text-decoration: none;
    color: black !important;
    background-color: #EFB8CD;
    border-radius: 12px;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #feecf2), color-stop(100%, #EFB8CD));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #feecf2 0%, #EFB8CD 100%);
    /* Chrome10+,Safari5.1+ */
    background: -moz-linear-gradient(top, #feecf2 0%, #EFB8CD 100%);
    /* FF3.6+ */
    background: -ms-linear-gradient(top, #feecf2 0%, #EFB8CD 100%);
    /* IE10+ */
    background: -o-linear-gradient(top, #feecf2 0%, #EFB8CD 100%);
    /* Opera 11.10+ */
    background: linear-gradient(to bottom, #feecf2 0%, #EFB8CD 100%);
    /* W3C */
    font-weight: bold;
}

/* Footer */
footer{
    margin: 0 auto;
    width: 90%;
    padding-bottom: 40px;
    display: flex;
    justify-content: space-between;
    background-color: #FCEEF4;
}

footer>p{
    font-size: 1.6em;
    color: #000;
}

/* Underline */
a{
    text-decoration: none;
}

.underline{
    text-decoration: none;

    --s: 0.1em;
    --c: #f56696; 
    
    color: #0000;
    padding-bottom: var(--s);
    background: 
      linear-gradient(90deg,var(--c) 50%,#000 0) calc(100% - var(--_p,0%))/200% 100%,
      linear-gradient(var(--c) 0 0) 0% 100%/var(--_p,0%) var(--s) no-repeat;
    -webkit-background-clip: text,padding-box;
            background-clip: text,padding-box;
    transition: 0.5s;
}

.underline:hover{
    --_p: 100%
}

/* Flèche vers le bas */
.fleche{
    position: fixed;
    bottom: 20px;
    left: 47%;
    transform: translateX(-50%);
    animation: bounceUpDown 1.5s infinite;
    opacity: 0; 
    transition: opacity 0.3s ease; 
}
  
.fleche.show {
    opacity: 1; 
}

.fleche img{
    width: 50px; 
    height: auto;
    cursor: pointer;
}
  
.fleche a{
    display: block;
}
  
@keyframes bounceUpDown{
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-10px);
    }
    60% {
      transform: translateY(-5px);
    }
}