:root{
    --color1:rgb(14, 88, 20);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    height: 100%;
}
header{
    position: absolute;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
    width: 100%;
}
header .logo{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #fff;
}
span{
    color: var(--color1);
    font-size: 30px;
}
header .logo .img{
    height: 40px;
}
header .logo img{
    height: 100%;
}
header nav{
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}
header nav ul{
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}
header nav ul li a{
    color: #fff;
    text-decoration: none;
    font-weight: 4000;
}
nav ul li a:hover{
    padding: 5px;
    background-color: var(--color1);
}

header nav #icon{
    display: flex;
    gap: 5px;
    
}
header nav .icon{
    background-color:var(--color1);
    height: 35px;
    width: 35px;
    padding: 10px;
    text-align: center;
    align-items: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    
}
i{
    color: #fff;
}
#header{
    height: 600px;
    background-image: url(images/Lovepik_com-380148641-black-gradient-vertical-gradient-element-black-line-gradient-black-color-gradient-gradient-linear.png), url(images/627ee3255eabb850081ffc9c3a3a038a.jpg);
    background-size:cover,cover;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: bottom;
}

#header .element{
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    width: 42%;
    text-align: center;
    gap: 15px;
}
#header .element h1{
    font-size: 3rem;
    color: #fff;
}
#header .element h1:hover{
    transform: scale(1.2);
    color:aqua;
}
#header .element p{
    font-size: 15px;
    text-justify: auto;
    color: #fff;
}
#header .element a{
    background-color: var(--color1);
    color: #fff;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
}
#apropo{
    display: flex;
    margin-top: 50px;
    padding: 20px;
    gap: 20px;
    
}
#apropo .gauche h6{
    color: var(--color1);
    font-size: 15px;
    font-weight: 900;
}
#apropo .gauche #p1{
    font-size: 40px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    margin-bottom:20px ;
}
#apropo .gauche .pp{
    width: 85%;
}
#apropo .gauche .pp p{
    font-size: 15px;
    margin-bottom: 20px;
}
#apropo .droite{
    width: 100%;
}
#apropo .droite img{
    width: 100%;
}
.service .element{
    display: flex;
    padding: 20px;
    gap: 20px;
}
.service .element .conteneur{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.service .element .icon{
    border: 2px solid var(--color1);
    height: 40px;
    width: 40px;
    padding: 10px;
    background-color: var(--color1);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.service .element .text h4{
    margin-bottom: 15px;
}
@media only screen and ( max-width: 768px){
    header nav{
        display: none;
    }  
    #apropo{
        flex-wrap: wrap;
        
    } 
    #header .element{
        width: 90%;
    }
}
@media only screen and ( max-width: 441px){
    .service .element{
        flex-wrap: wrap;
    }
    #header .element{
        width: 90%;
    }
}