
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

*{
    list-style: none;
    font-family: 'Inter', sans-serif; 
}

a, a:visited{
    text-decoration: none !important;
    color: #4338CA;
    
}

html{
    scroll-behavior: smooth;
}

/* header */

header > nav > ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 30%;
}



header{
    width: 100%;
    height: fit-content;
   
}
nav{
    display: flex;
    justify-content: center;
    margin-bottom: 3em;
    height: 100%;
    
}




li{
    margin: 0.5em;
    
}

 li a{
    color: rgb(67, 56, 202);
   
}

li a:hover{
    color: #FFF;
} 



.hire{
    border: 1px solid #4338CA;
    color: rgb(67, 56, 202);
    padding: 2%;
    border-radius: 5px;
    background-color: #fff;
    transition: .3s;
    box-shadow: rgba(67, 56, 202, 0.12) 0px 1px 3px, rgba(67, 56, 202, 0.24) 0px 1px 2px;
}

.hire:hover{
    color: #FFF;
    background-color: #4338CA;
}

.hire-fill{
    border: 1px solid #4338CA;
    color: #FFF;
    padding: 2%;
    border-radius: 5px;
    background-color: #4338CA;
    box-shadow: rgba(67, 56, 202, 0.12) 0px 1px 3px, rgba(67, 56, 202, 0.24) 0px 1px 2px;
    transition: .3s;
}

.hire-fill:hover{

    border: 1px solid #4338CA;
    color: #4338CA;
    padding: 2%;
    border-radius: 5px;
    background-color: #FFF;
}


section{
    padding: 1% 10% 0 10% ;
}


/* section 1 */

#section1{
    display: grid;
    grid-template-columns: 2fr 55%; 
 
} 

 #section1 img{
margin: auto ;
width: 600px;
} 

.leftside > div{
display: flex;
align-items: center;
}

.line1{
    height: 1px;
    background-color:#4338CA ;
    width: 20%;
    margin: 0 1em 0 0;
}

p.myName{
    font-weight: 400;
    color: #4338CA;
}


h1{
    font-size: 3em;
    color: #1F2937;
    margin: 1% 0;
}



#section1 .content-p  {
    color: #6B7280;
    margin:  0 0 4% 0;
    line-height: 2em;
}

#section1 button {
margin: 0 2em 0 0;
}

.line2{
    width: 90%;
    height: 1px;
    background-color: gainsboro;
    margin: 4% 0;
}




/* section 2 */ 

#section2 p{ 
font-size: 2.5em;
text-align: center;
}

#section2 p span{
    color: #3730A3;
}

#section2::after{
    content: "Steve Jobs.";
    color: #6B7280;
    display: flex;
    justify-content: center;
}



/* section 3 */


#section3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grid-skills{
    display: flex;
     
}

.skills{
    margin: 10%;
    width: fit-content;
height: 450px;
position: relative;

}
.skills .title-skills{
    width: fit-content;
    font-weight: bold;
}

.title-skills{
    font-weight: 400;
    text-transform: capitalize;
}

.content-skills{
    line-height: 2em;
}

.skills a.hire{
  position: absolute;
  bottom: 0;
}

/* section 4  */

#section4{
    background-color: #FEF2F2;
    padding: 3% 10%;
    
}

#section4 p, #section5 .softwares p{
text-align: center;
color: #6B7280;
text-transform: capitalize;
}

#section4 div{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

#section4 img {
width: 60%;
height: auto;
margin: auto;
}

/* section 5 */

#section5 {
    padding: 3% 10%;
    margin-top: 10%;
}

#section5 p.content-p{
   line-height: 2em;
    text-align: center;
}

#section5 img, #section6 img{
    width: 70px;
    height: 70px;
}

#section5 .lkd-sec5{
margin: 0 auto;
}

#section5 .softwares{
    text-align: center;
    margin-top: 4%;
    display: grid;
    /* grid-template-columns: repeat(5, 1fr); */
    grid-template-columns: repeat( auto-fit, minmax(200px, 1fr) );

}

.title-sec5{
    text-align: center;
    font-size: 2em;
    color: #3730A3;
    font-style: italic;
    font-weight: 400;
}

#section5 a {
    color: #4338CA;
    text-decoration: double;
    font-style: oblique;
    font-weight: 500;
}




    /* contact  */

    /* formulaires */

    form{
        margin: auto;

    }


    form > div {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    input.form-email{ 
    height: 150px;
    color: #3730A3;
    width: 94%; 
    }

    input {
        background-color: #FFF;
        border: 1px solid #4d60b6;
        border-radius:5px ;
        margin: 4% auto;
        height: 50px;  
        width: 250px;
        box-shadow: rgba(67, 56, 202, 0.12) 0px 1px 3px, rgba(67, 56, 202, 0.24) 0px 1px 2px;
        padding: 4%;
    }

    form div.btn{   
       display: flex;
       justify-content: center;
    }

::placeholder{
    color: #3730A3;
    
}



#sect-contact{
    text-align: center;
    line-height: 1em;
}

#sect-contact p{
    line-height: 2em;
   
}




/* footer */


footer{
    margin: 3em auto ;
width: 350px;
}
footer img {
    width: 70px;
    height: 70px;
    margin: 4%; 
    transition: all .7s ease;
    
}

footer img:hover{
    transform: scale(1.5);
}

footer div{
    display: flex;
    justify-content: center;
    align-items: center;
  
}

.line3{
    height: 1px;
    background-color:#6B7280 ;
    width: 100%;
    margin: auto;
}




/* responsive */


@media screen and (max-width: 1024px){

    /* section 1 */
    
    #section1{
        display: flex;
        flex-direction: column;
    }

    #section1 img{
        width: 300px;
        margin: auto;
    }


    /* serction 3  */

    .grid-skills{
        display: block;
  
    }



    /* skills */

    #section5 .softwares{
        text-align: center;
        margin-top: 4%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    

    /* form */

    form > div {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }


     input.form-email{ 
        
        width: 100%;
        } 
    


}


