* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body{
    margin: 0;
    font-family: "Signika Negative", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
    background-color: #FFFAF7;
}

header{
    background-color: #FDF3ED;
    height: 110px;
    align-items: center;
    display: flex;
    justify-content: space-between;
}

header nav ul li a{
    font-size: large;
}

header h1{ 
    color: black;
    margin-left: 80px;
    font-family: "Pacifico", cursive;
  font-weight: 400;
  font-style: normal;
}

ul{
    display: flex;
    justify-content: end;
    align-items: center;
    margin-right: 60px;
}

ul li {
    list-style: none;
 }

ul li a{
    position: relative;
    text-decoration: none;
    color: black;
    margin-right: 20px;
    padding: 0 10px;
}

ul li a:after{
    content: "";
    position: absolute;
    background-color: black;
    height: 3px;
    width: 0;
    left: 0;
    bottom: -10px;
    transition: 0.3s;
}

ul li a:hover{
    color: black;
}

ul li a:hover:after{
    width: 100%;
}

nav .current a:after{
    width: 100%;
}

#logo {
    flex: 2 1 40rem;
    
}


footer {
    background-color: #FDF3ED;
}

.footerContainer {
    width: 100%;
    padding: 70px 30px 20px;
}
.socialIcons {
    display: flex;
    justify-content: center;
}

.socialIcons a {
    text-decoration: none;
    padding: 10px;
    background-color: white;
    margin: 10px;
    border-radius:50% ;
}

.socialIcons a i {
    font-size: 2em;
    color: black;
    opacity: 0.9;
}

.socialIcons a:hover{
    background-color:#FDF3ED;
    transition: 0,5s;
}

.footerNav {
    margin: 30px 0;
}
.footerNav ul {
    display: flex;
    justify-content: center;

}
.footerNav ul li {
    list-style: none;
}
.footerNav ul li a {
    color: black;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.5s;
}
.footerNav ul li a:hover {
    opacity :1;
}
.footerBottom {
    background-color: #FDF3ED ;
    padding: 20px;
    text-align: center;
}
.footerBottom p {
    color: black;
}

main {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.btn-overlay {
    position: absolute;
    top: 70%; /* Vous pouvez ajuster cette valeur selon votre mise en page */
    right: 200; /* Place le bouton à droite */
    transform: translate(-50%, -50%);
    align-items: center;
    appearance: none;
    background-color: #FFE9F0;
    border-radius: 4px;
    border-width: 0;
    box-sizing: border-box;
    color: #36395A;
    cursor: pointer;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    line-height: 1;
    list-style: none;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
    text-align: left;
    text-decoration: none;
    transition: box-shadow .15s, transform .15s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    will-change: box-shadow, transform;
    font-size: 18px;
    font-family: "Signika Negative", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}



.btn-overlay:hover {
    box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
    
}

.container22 {
    margin-top: 15vh;
    display: flex;
    align-items: center;
    margin-bottom: 15vh;
    width: 1080px;
    margin-left: auto;
    margin-right: auto;
}
.container22 img {
    width: 60%;
}
.container22 .text22 p {
    padding: 30px;
    text-align: justify;
}
.container22 .text22 h1 {
    text-align: center;
}
.container22 .text22 {
    margin-left: 30px;
}

.cartes {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.card {
    background-color: #FDF3ED;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 10px;
    flex: 1;
    max-width: 22%;
    box-sizing: border-box;
    text-align: center;
    height: 50vh;
    margin-top: 50px;
    margin-bottom: 50px;
}

.card h2 {
    margin-top: 10px;
}
.card p {
    margin-top: 20px;
}
#photoagence {
    width: 80%;
    border-radius: 50%;
}
#photohamza {
    width: 88%;
    border-radius: 50%;
}
.notreequipe {
 text-align: center;
 margin-top: 20px;
 margin-bottom: 20px;
}
#demarche {
    width: 1080px;
    margin-left: auto;
    margin-right: auto;
}
#textdemarche {
    margin-bottom: 30px;
    margin-top: 30px;
    text-align: justify;
}