*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* this no extra margin om mobile*/


html {
    font-size: 16px;
}

body {
    font-family: sans-serif;
}

header {
    color: #fff;
    position: absolute;
    width: 100%;
    height: 8vh;
    top: 0;
    left: 0;
    background: #1a1a1a;
    padding: 0 2rem;
}

nav {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    justify-content: space-between;
}

.logo i {
    color: #029712;
    font-size: 1.2rem;
    padding: 0 10px;
}

.toggle {
    display: none;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    width: 500px;

}

.menu li a {
    color: #fff;
    text-decoration: none;
}

.btn {
    border: 0;
    background: rgb(248, 188, 115);
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgb(248, 188, 115);
    color: #fff;
}

/* Section Head - banner*/

.head_section {
   
    margin-top: 8vh;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    background-color:#1a1a1a;
    
}

.img_head {
    height: 300px;
}

/* Section Intro */

.container_boxs {
    height: 500px;
    display: flex;
    flex-direction: row;
}

.box1 {
    display: flex;
    flex-direction: column;
    height: 500px;
    width: 100%;

}
.in_box1a {
    height: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.in_box1a h1{
   font-size: 2rem;
}


.in_box1b {
    padding: 0 30px;
    color: #fff;
    background-color: #1a1a1a;
    height: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.box2 {
    background-image: url(/images/black_car.png);
    background-position-x: center;
    background-position-y: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 500px;
    width: 100%; 
}

/* Section About */

.box_about1 {
    background-image: url(/images/in_car.jpg);
    background-position-x: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 500px;
    width: 100%; 
}

.box_about2 {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 500px ;
    color: #fff;
    background-color: #1a1a1a;
}

.box_about2 img{
    text-align: center;
    border-radius: 50%;
    width: 150px;
    padding: 30px 0;
}

/* Section Services */

#services {
    text-align: center;
    height: 120;
    margin: 50px 0;
}

.container_card {
    margin: 0 0 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.card {
    text-align: center;
    margin-bottom: 20px;
    border: solid;
    border-width: 2px;
    border-color: #029712;
    overflow: hidden;
    width: 300px;
    height: 450px;
}
.card p {
    text-align:left;
    margin-left: 10px;
    padding: 10px 0;
}
.card h3 {
    padding: 20px 0;
}

/* Section Contact */

.container_contact {
    display: flex;
    flex-direction: row;
    background-color: #1a1a1a;
}

.card-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    height: 500px;
    width: 100%; 
}
i.fa-whatsapp {
    padding: 40px 0 20px;
    color: #029712;
    font-size: 2.5rem;
}

i.fa-instagram {
    padding: 40px 0;
    color: #e56969;
    font-size: 2.5rem;
}

.image_contact {
    background-image: url(/images/green_car.png);
    background-position-x: center;
    background-position-y: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 500px;
    width: 100%; 
}

.languages_icon {
    margin: 0 5px 40px;
    width: 20px;
}

footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #424242;
    background-color: #000;
    height: 150px;

}

footer p a {
    color: #424242;
}


/* For Tablet and phone */
/*=====================================================*/


@media all and (max-width: 991px) {

   

    .toggle {
        display: block;
        font-size: 2rem;
        cursor: pointer;
        position: relative;
        z-index: 20;
    }


.logo {
    position: relative;
    z-index: 20;
}

.ouvrir {
    display: block;
}

.fermer {
    display: none;
}

/* la clase open se acitva por app.js  al hacer click */

.open .ouvrir {
    display: none;
}

.open .fermer {
    display: block;
}

.menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    opacity: 90%;
    flex-direction: column;
    padding: 2rem;
    justify-content: space-around;
    transform: translateY(-100%);
    transition: transform 1s;
}

.menu li a {
    font-size: 2rem;
}

.btn {
    font-size: 2rem;
}

.open .menu {
    transform: translateX(0);
}

/*----- head section -------*/

.head_section {
    height: 300px;
    
    
}
.img_head {
    height: 200px;
}

/*----- Intro section -------*/

.container_boxs{
    height: 700px;
    display: flex;
    flex-direction: column;
}

/*----- About section -------*/


.box_about2 img{
    border-radius: 50%;
    width: 150px;
    padding: 30px 0; 
}
/* Section Services */

.container_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

/* Section Contact */

.container_contact {
    flex-direction: column-reverse;
}

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    color: #424242;
    background-color: #000;
    height: 150px;
}


}