*{
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}
body{
    background-color: #f2e9e4;
}
header{
    justify-content: space-between;
    background-color: #028391;
}
.logo img{
    width: 60px;
    height: 60px;
    display: flex;
}
.logo{
    color: #fff;
    text-decoration: none;
}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    background-color: #028391;
    flex-direction: row;
}
.menu-droite{
    display: flex;
    gap: 5px;
}
.menu-droite a{
    color: aliceblue;
    padding: 7px;
    text-decoration: none;
    border-radius: 5px;
    background-color: #007BFF;
}
.menu-droite a:hover{
    background-color: #0056b3;

}

section{
    margin-bottom: 50px;
}
section h2{
    margin-bottom: 20px;
}
.cards{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.card{
    width: calc(33.33% - 20px);
    height: 130px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    border-radius: 5px;
    gap: 20px;
    flex-direction: row;
}
.card .imgage{
    flex: 1;
    height: 150px;
    width: 220px;
}
.card img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    
}
.card .text{
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 2px;
    justify-content: center;
}
.card:hover{
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    color: #007BFF;
}
.card h1 a{
    color: rgba(156, 117, 228, 0.747);
    text-decoration: none;
}
.card h2 a{
    color: #007BFF;
    text-decoration: none;
    white-space: normal;
    text-align: justify;
    line-height: 1.5;
}
.card h2 a:hover{
    color:#0056b3;
}
p{
    gap: 10px;
    padding: 10px;
}

/*formulaire*/
form{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
form input, form textarea, form button{
    padding: 10px;
    border: 1px solid #f2e9e4;
    border-radius: 5px;
    width: 100%;
}
form textarea{
    height: 100px;
    
}
form button{
    background-color: #028391;
    cursor: pointer;
    transition: backgound-color 0.3s;
    
}
form button:hover{
    background-color: aqua;
}
#contact{
   display: flex;
   justify-content: center;
   align-items: center;
   height: 90vh;
}
.carte{
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding: 15px;
    max-width: 650px;
    border-radius: 10px; 
}
.carte h1{
    display: flex;
   justify-content: center;
   align-items: center;
}

/*responsive*/
@media screen and (max-width: 991px){
    .card{
        width: calc(50% - 20px);
    }
}
@media screen and  (max-width: 768px){
    .cards{
        flex-direction: column;
    }
    .card{
        width: 100%;
        padding: 10px;
    }
    
    .card img{
        display: none;
    }
    form{
        width: 100%;
    }
    footer .column{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }
}