/*pour la police d'écriture google font*/
@import url('https://fonts.googleapis.com/css2? family=Poppins:wght@400;600;800&display=swap');
* {
    margin: 0;
    padding: 0;
    font-family: "Poppins",sans-serif;
    box-sizing: border-box;
    transition: all.2s linear;
    text-decoration: none;
    border: none;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top:7rem;
    scroll-behavior: smooth;    
}

body {
    position: relative;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background-color: #FFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 8%;
    height: 50px;
    box-shadow: 0 0 10px 0 black;
}

header .logo {
    color: rgb(228, 19, 19);
    font-size: 25px;
    font-weight: bold;
}

header .logo span {
    color: black;
}

.menu {
    display: flex;
}

.menu li {
    list-style: none;
    margin: 0 15px;
}

.menu li a {
    font-size: 14px;
    color: black;
    font-weight: 300;
    transition: 0.2s;
}

.menu li a:hover {
    color: red;
}

#home {
    margin-top: 50px;
    height: calc(100vh - 50px);
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* scrollbar css */
::-webkit-scrollbar {
    width:8px;
    background-color:transparent;
}

::-webkit-scrollbar-thumb {
    background-color: red;
}

#home .left{
    width: 60%;
}

#home .left h1  {
    font-size: 35px;
    margin-bottom: 10px;

}

#home .left h1 span {
    color: red;
}

#home .left p {
    margin-bottom: 30px;
    color: #999;
    font-size: 15px;
}

#home .left a {
    background-color: red;
    padding: 10px 20px;
    font-size: 20px;
    color: #fff;
    transition: 0.5s;
    border-radius: 50px 0 50px;
}

#home .left a:hover {
    background-color: black;
}

#home .right {

    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home .right img {
    width: 80%;
}

#gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.section_titre {
    text-transform: uppercase;
    position: relative;
    font-size: 25px;
    border-radius: 50px 0 50px;
    background-color: #0056b3;
    color: #FFF;
    padding: 10px 20px;
}

.section_titre:before {
    position: absolute;
    left: 10px;
    bottom: 0px;
    content: "";
    background-color: red;
    width: 100%;
    height: 5px;
    border-radius: 6px;
}

.section_titre:after {
    position: absolute;
    top: 0;
    left: -10px;
    content: "";
    background-color: rgb(255, 0, 0);
    width: 100%;
    height: 5px;
    border-radius: 6px;
}

.image {
    margin: 10% auto ;
    padding: 0 8%;
}

.image ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.image li {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2.665%;
    transition: 0.5s;
    height: 300px;
    width: 28%;
}

.image li div {
    width: 100%;
    height: 60%;
    margin-bottom: 5px;
    box-shadow: 0 0 10px black;
}

.image li div img {
    height: 100%;
    width: 100%;
}

.image li:hover {
    transform: scale(1.1);
    margin: 20px;
}

.image li span {
    color: black;
    font-size: 20px;
}

#gallery li span.produit {
    color: red;
    font-weight: bold;
    margin-bottom: 10px;
}

#gallery li a {
    background-color: red;
    color: white;
    padding: 5px 20px;
    font-size: 15px;
    border-radius: 50px 0 50px;
}

#gallery li a:hover{
    background-color: black;
}

#services {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-direction: column;
}

.list_services {
    margin: 100px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.services {
    width: 25%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    box-shadow: 0 0 10px black;   
    padding: 20px; 
    margin: 20px;
}

.services img {
    height: 80px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: rgb(0, 17, 255); */
    /* color: rgba(255, 255, 255, 0.918); */
    /* border-radius: 50%; */
    /* margin-top: 10px; */
}

.services h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.services p {
    font-size: 12px;
}

#contacts{
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}


/* Mail professionnel */
/* body { 
    font-family: Arial, sans-serif; 
    background-color: #f4f4f4; 
    margin: 0; 
    padding: 0; 
}  */

.container {
    max-width: 600px;
    margin: 50px auto; 
    padding: 20px;
    background-color: #cec6c6; 
    box-shadow: 0 0 30px rgba(0,0,0,0.1); 
    } 

h1 {
         color: #333;
         
    } 

label {
     display: block;
     margin: 10px 0 5px;
     
    } 

input, textarea {
    width: 100%; 
    padding: 10px; 
    margin-bottom: 10px; 
    border: 1px solid #cccccc5d; 
    border-radius: 4px; 
    } 
    
.button {
  width: 100%;
  display: inline-block; 
  padding: 10px 20px; 
  background-color: #007BFF; 
  color: #fff; 
  text-decoration: none; 
  border-radius: 5px; 
  cursor: pointer; 
} 

.button:hover { 
background-color: #0056b3; 
}

footer{
    background-color: red;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    color: #fff;
    font-size: medium;

}

/* Responsive */

@media (max-width:682px) {
    header {
        padding: 0 10px;
    }
    header .menu {
        display: none;
    }
    #home {
        margin-top: 80px;
        padding: 0 10px;
        justify-content: center;
        flex-direction: column;
    }
    #home .left, #home .right {
        width: 100%;
    }
    #home h1 {
        margin-top: 100px;
    }
    .right {
        margin-top: 50px;
        width: 60%;
    }
    .image li {
        width: 100%;
    }
    #services {
        padding: 0 10px;
    }
    .services {
        width: 100%;
    }
    #contacts {
        padding: 0 10px;
    }
    .container {
        width: 50%;
    }
    /* menu responsive */
    .menu_toggle{
        height: 50px;
        width: 50px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .menu_toggle span{
        width: 35px;
        height: 5px;
        background-color: black; 
        border-radius: 6px;
        transition: 0.5s;
    }

    .menu_toggle span.active{
        width: 0px;
    }

    .menu_toggle::before{
        position: absolute;
        content: "";
        width: 20px;
        height: 5px;
        background-color: black;
        border-radius: 6px;
        transform: translateY(10px);
        transition: 0.5s;
    }

    .menu_toggle.active::before{
        width: 28px;
        transform: rotate(45deg);
    }

    .menu_toggle::after{
        position: absolute;
        content: "";
        width: 20px;
        height: 5px;
        background-color: black;
        border-radius: 6px;
        transform: translateY(-10px);
        transition: 0.5s;
    }
    
    .menu_toggle.active::after{
        width: 28px;
        transform: rotate(-45deg);
    }

    header .menu.responsive{
        position: absolute;
        top: 50px;
        left: 0;
        display: flex;
        width: 100%;
        height: 50px;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        z-index: 2;
        background-color: white;
        border-top: 1px solid black;
        border-bottom: 1px solid black;
    }

}