*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tw Cen Mt';
    font-size: 14px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    z-index: -100;
}

header {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    padding: 30px 0 10px;
}

nav .logo {
    width: 170px;
}

nav .menu {
    width: 60px;
    cursor: pointer;
}

nav ul {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding-right: 40px;
}

nav ul li {
    list-style: none;
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    transition: color 0.5s;
}

nav ul li a:hover {
    color: green;
}

.text {
    padding: 70px;
    color: black;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.text h1 {
    font-size: 48px;
    line-height: 2;
    margin-bottom: 1rem;
}

.text p {
    font-size: 1.2rem;
    line-height: 1.5;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.text a {
    display: inline-block;
    text-decoration: none;
    font-size: 1.25rem;
    border: 1px solid green;
    color: green;
    padding: 10px 20px;
    margin-right: 30px;
    border-radius: 2rem;
}
.text a:hover {
    transform: scale(1.02);
     transition: 0.5s;
}

.text .img {
    max-width: 290px;
    width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .text {
        flex-direction: column;
        text-align: center;
    }

    .text .img {
        margin-top: 30px;
    }
}
.services h2{
    margin-bottom: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}
 .services-container {
   display: flex;
    justify-content: center;
    align-items: center;


    i{
        font-size: 50px;
    }
   
}
/*faire des bloc avec des div*/
.services-container .services-box {
    flex: 1 1 30rem;
    background: green;
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid black;
    transition: .5s ease;
    max-width: 300px;
    max-height: 300px;
    margin: 20px;
}


.services-container .services-box:hover {
    border-color: chartreuse;
    transform: scale(1.02);
}
 
.services-box{
    font-size: 1rem;
    color: white;
}
 .services-box h3{
    font-size: 1.6rem;
 }
 
 .services-box p {
    font-size: 1.6rem;
    margin: 1rem 0;
 }