@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&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: 7em;
    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 rgba(0, 0, 0, 0.2);
}
header .logo a{
    color: #ea1f33;
    font-size: 25px;
    font-weight: bold;
}
header .logo span{
    color: #000;
}
.menu{
    display: flex;
    list-style: none;

}
.menu li{
    list-style: none;
    margin: 0 15px;
}
.menu li a{
    font-size: 14px;
    color: #000;
    font-weight: 300;
    transition: 0.2s;
}
.menu li a:hover{
    color: #ea1f33;

}
header button{
    background-color: #ea1f33;
    cursor: pointer;
    color: #fff;
    padding: 5px 25px;
}
#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: #ea1f33;
}
#home .left{
    width: 40%;
}
#home .left h1{
    font-size: 35px;
    margin-bottom: 10px;
}
#home .left h1 span{
    color: #ea1f33;
}
#home .left p{
    margin-bottom: 30px;
    color: #999;
    font-size: 13px;
}
#home .left a{
    background-color: #ea1f33;
    padding: 10px 20px;
    font-size: 14px;
    color: #fff;
    transition: 0.5s;
}
#home .left a:hover{
    background-color: #000;
}
#home .right{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#home .right img{
    width: 100%;
}
#cars{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.section_title{
    text-transform: uppercase;
    position: relative;
    font-size: 25px;
}
.section_title::before{
    position: absolute;
    left: 10px;
    bottom: 0;
    content: "";
    background-color: #ea1f33;
    width: 100%;
    height: 5px;
    border-radius: 6px;
}
.section_title::after{
    position: absolute;
    top: 0;
    left: -10px;
    content: "";
    background-color: #ea1f33;
    width: 100%;
    height: 5px;
    border-radius: 6px;
}
.image{
    margin: 100px 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 rgba(0, 0, 0, 0.3);
}
.image li div img{
    height: 100%;
    width: 100%;
}
.image li:hover{
    transform: scale(1.1);
    margin:20px;
}
.image li span{
    color: #000;
    font-size: 18px;

}
#cars li span.prix{
    color: #ea1f33;
    font-weight: bold;
    margin-bottom: 10px;

}
#cars li a{
    background-color: #ea1f33;
    color: #fff;
    padding: 5px 20px;
    font-size: 15px;
}
#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%;
}
.service{
    width: 25%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    margin: 20px;

}
.service i{
    font-size: 25px;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ea1f33;
    color: #fff;
    border-radius: 50%;
    margin-bottom: 10px;
}
.service h3 {
    font-size: 10px;
    margin-bottom: 10px;
}
.service p {
    font-size: 12px;
}
.service a {
    margin-top: 10px;
    color: #ea1f33;
    padding: 5px 20px;
    border: 1px solid #ea1f33;
    font-size: 12px;
}
#contact{
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 0 12px;
}
.localisation_contact_div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 100px 0;
    height: 80vh;
}
.localisation {
    width: 49%;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.localisation iframe {
    width: 100%;
    border-radius: 6px;
}

.localisation_contact_div .form_contact{
    width: 49%;
    height: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 6px;
}

.localisation_contact_div h3{
    margin-bottom: 10px;
    font-size: 10px;

}
.localisation_contact_div.form_contact form{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
}
.form_contact form input , textarea{
    border: 1px solid #ccc;
    width: 100%;
    margin-bottom: 15px;
    padding: 5px;
    outline: 0;
    border-radius: 6px;
    font-size: 15px;
    resize: none;
}
.form_contact form input[type="submit"]{
    margin-bottom: 0;
    background-color: #ea1f33;
    color: #fff;
    border: 0;

}
footer{
    background-color: #ea1f33;
    text-align: center;
    padding: 10px 0;
    color: #fff;
    font-size: 14px;
}

#icon{
    background-color: #ea1f33;
    padding: 10px 20px;
    font-size: 14px;
    color: #070707;
    transition: 0.5s;
    border: 5;
}

 
 