@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
<!-- -->
*{
    font-family: 'Poppins' , sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;/*not compatible with safari*/
}

header {
    background-color: white;
    width: 100%;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 200px;
}

.logo{
    text-decoration: none;
    color: blue;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8em;
}

.navigation a{
    text-decoration: none;
    color: blue;
    font-weight: 500;
    font-size: 1.1em;
    padding-left: 30px;
}
.navigation a:hover{
    color: red;
}


section {
    padding: 100px 200px;
}
#services{
    padding: 100px 20px;
}
hr{
    height: 1px;
    background-color: #3a6cf4;
    border: none;
}


/*---------------Part1 bio---------------------- */

.bio-sec{ 
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(images/bck.jpeg) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
} 

.bio{
    display: flex;
    align-items: left;
}

.profilpic{
    flex-grow: 1;
    align-self: center;
    border-color: #3a6cf4;
    border-width: 10px;
    border-style: solid;
    border-radius: 200px;
}

.deux{
    flex-grow: 2;
    margin-left: 20px;
    align-self: center;
}
.bio-sec h2{
    color: whitesmoke;
    font-size: 1.0em;
    font-weight: 500;
     
}
.bio-sec h2 span{
    display: inline-block;
    margin-top: 10px;
    color: gold;
    font-size: 3em;
    font-weight: 600;
}
.bio-sec h3{
    color: white;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.bio-sec-button{
    color: #fff;
    background-color: #3a6cf4;
    text-decoration: none;
    font-size: 0.8em;
    font-weight: 600;
    display: inline-block;
    padding: 0.9375em 2.1875em;
    letter-spacing: 1px;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: 0.7s ease;
}

.bio-sec-button:hover {
    background-color: #0a49f6;
    transform: scale(1.0);
}

.social-icons a {
    color: #fff;
    font-size: 1.7em;
    padding-right: 30px;
}

/*---------------Part2 Card1 Services---------------------- */
.cards {
    background-color: #b4cf02;
}

.title {
    display: flex;
    justify-content: center;
    color: #3a6cf4;
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 30px;
}

.content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap:wrap;
}

.cards .card {
    background-color: #fff;
    width: 22.25em;
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
    transition: 0.7s ease;
}



.card:hover {
    transform: scale(1.1);
}

.card .icon {
    color: #3a6cf4;
    font-size: 8em;
    text-align: center;
}

.info {
    text-align: center;
}

.info h3{
    color: #3a6cf4;
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px;
}



/*---------------Part3----------------------*/
.projects {
    background-color: #000016;
}

#toto{
    display: flex;
    color: white;
    justify-content: space-between;
    text-decoration: underline;
    padding-left: 5px;
}

#toto,a{
    color: rgb(244, 161, 5);
    
}

.content2 {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap:wrap;
}

.project-title {
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 10px;
}

.projects .content{
    margin-top: 30px;
}

.project-card {
    background-color: #fff;
    border: 1px solid rgb(254, 254, 254);
    min-height: 14em;
    width: 15em;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px;
    transition: 0.7s ease;
}

.project-card:hover {
   transform: scale(1.1);
}

.project-card:hover .project-image {
    opacity: 0.9;
 }

 .project-image img{
    width: 100%
}

.project-info {
    padding: 1em;
}

.project-category {
    font-size: 0.8em;
    color: #000;
}

.more-details {
    text-decoration: none;
    color: #3a6cf4;
}

.more-details:hover {
    color: #601cfc;
}

/*----------------Part4----------------------*/

.contact .card {
    background-color: #fff;
    width: 21.25em;
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
    transition: 0.7s ease;
}
.contact .icon{
    font-size: 4.5em;
}

.contact .info h3 {
    color: #000;
}

.contact .info p {
    font-size: 1.5em;
}





/*--------------------PART5----------------------*/

.footer {
    background-color: #000016;
    color: #fff;
    padding: 2em;
    display: flex;
    justify-content: space-between;
}

.footer-title {
    font-size: 1.3em;
    font-weight: 600;
}

.footer-title span {
    color: #3a6cf4;
}

.footer .social-icons a{
    font-size: 1.7em;
    padding: 0 12px 0 0;
}




/*--------------------PART6----------------------*/
@media (max-width:750px){
    .profilpic{
        height: 110px;
        width: 120px;
    }
    body{
        font-size: 9px;
    }
    header{
        padding: 12px 50px;
    }

    .navigation a{
        padding-left: 10px;
    }

    .title{
        font-size: 1.8em;
    }

    section{
        padding: 80px 20px;
    }

    .deux h2{
        font-size: 1em;
    }

    .deux h3{
        font-size: 1.6em;
    }
    .contact .card {
        width: 19.25em;
        box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
        border-radius: 10px;
        padding: 10px;
        margin: 15px;
        transition: 0.7s ease;
    }

    #content-contact{
        display: flex;
        justify-content: center;
        flex-direction: row;
        flex-wrap:nowrap;
    }

    .content{
        flex-direction: column;
        align-items: center;
    }
    .content2{
        flex-direction: row;
        align-items: center;
    }

    .social-icons a {
        padding-right: 10px;
    }

    .social-icons img{
        height: 14px;
    }
    
}

//*
@media (max-width:450px){

}
@media (max-width:641px){
    .profilpic{
        height: 110px;
        width: 120px;
    }
    body{
        font-size: 9px;
    }

    .deux h2{
        font-size: 1em;
    }

    .deux h3{
        font-size: 1.4em;
    }
    .social-icons img{
        height: 11px;
        width: 12px;
    }
}

@media (max-width:300px){
    body{
        font-size: 7px;
    }

    .profilpic{
        height: 110px;
        width: 120px;
    }
}