@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;700&display=swap');

html{
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
    height: 100vh;
}

body{
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-image: url(/img/fond.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0px 50px;
    min-height: 100%;
}

header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 10px;
}

.logo{
    width: 150px;
}

.btn-contact{
    background-color: #1E884B;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    padding: 5px 25px;
    font-size: 18px;
    font-weight: 200;
    border: none;
    cursor: pointer;
}

.btn-contact:hover{
    background-color: black;
}

.ndd{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ndd h1{
    font-size: 25px;
    font-weight: 400;
}

.ndd p{
    color: #33BBBD;
    font-weight: 800;
    font-size: 45px;
    margin: 0;
    text-align: center;
}

.ndd .btns{
    margin-top: 10px;
}

.ndd .btn-autre{
    color: #1E884B;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    padding-left: 35px;
}

.ndd .btn-autre:hover{
    color: black;
}

.service{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.service h2{
    text-align: center;
    font-size: 18px;
    font-weight: 400;
}

.service img{
    height: 350px;
}

.service div{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 45%;
}

.fa {
    font-size: 13px;
}

.form h1{
    color: #33BBBD;
    font-weight: 800;
    font-size: 45px;
    margin: 0;
    text-align: center;
    margin-bottom: 15px;
}

form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.form input, .form textarea{
    width: 40%;
    color: #979797;
    font-size: 18px;
    border: none;
    background-color: transparent;
    padding: 15px;
    border-bottom: 1px solid #979797;
    font-family: 'Poppins', sans-serif;
}

.form textarea{
    resize: vertical;
}

@media (max-width: 1350px){
    html{
        height: auto;
    }
    body{
        padding: 25px;
    }
    .service{
        padding-top:5%;
    }
}

@media (max-width: 675px){
    .service img{
        height: 200px;
    }
    .btns a{
        display: block;
        text-align: center;
        margin-bottom: 15px;
    }
    .ndd .btn-autre{
        padding-left: 0px;
    }
    header{
        margin-bottom: 25px;
    }
    header .logo{
        width: 100px;
    }
    header .btn-contact{
        padding: 0;
        background-color: transparent;
        color: #1E884B;
        font-weight: 400;
    }
    .form input, .form textarea{
        width: 80%;
    }
}