/*------- poppins font link -------*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

@font-face {
    font-family: 'apalu';
    src: url('./fonts/Apalu.ttf') format('truetype');
}


/*-------- VARIABLES -------*/
:root{
    --body-color: rgb(250,250,250);
    --color-white: rgb(255,255,255);
    
    --text-color-second: rgb(68,68,68);
    --text-color-third: rgb(30,159,171);

    /*--first-color: rgb(110,87,224);*/
    --first-color: #15467e;
    --first-color-hover: rgb(40,91,212);

    --second-color: rgb(0,201,255);
    --third-color: rgb(192,166,49);
    --first-shadow-color: rgba(0,0,0,0.1);
}

/*------- BASE -------*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}
body{
    font-family: 'Poppins' , sans-serif;
}



/*------- SMOOTH SCROLL -------*/

html{
    scroll-behavior: smooth;
}

/*------ CHANGE THE SCROLL BAR DESIGN -------*/
::-webkit-scrollbar{
    width: 10px;
    border-radius: 25px;
}

::-webkit-scrollbar-track{
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb{
    background: #ccc;
    border-radius: 30px;
}
::-webkit-scrollbar-thumb:hover{
    background: #bbb;
    
}

/*---##--- REUSABLE CSS ---##---*/


/*-------- GLOBAL BUTTON DESIGN --------*/
.btn{
    font-weight: 500;
    padding: 12px 20px;
    background: #efefef;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: .4s;
}

.btn>i{
    margin-left: 10px;

}

.btn:hover{
    background: var(--first-color);
    color: var(--color-white);
}

/*------- GLOBAL ICONS DESIGN -------*/
i{
    font-size: 16px;
}
/*-------- BASE -------*/

body{
    background: var(--body-color);
}
.container{
    width: 100%;
    position: relative;
}
/*-------- NAVIGATION BAR -------*/
nav{
    position: fixed;
    display:flex;
    justify-content: space-between;
    width: 100%;
    height: 90px;
    line-height: 90px;
    /*background: var(--body-color);*/
    background-color: transparent;
    padding-inline: 9vw;
    transition: .3s;
    z-index: 100;
}

.nav-logo{
    position: relative;
}

.nav-logo img{
    width: auto;
    height: 60px;
}

.nav-name{
    font-size: 30px;
    font-weight: 600;
    color: #d0621c;
}

.nav-logo span{
    position: absolute;
    top: -15px;
    right: -20px;
    font-size: 5em;
    color: var(--first-color);
}

.nav-menu, .nav_menu_list{
    display: flex;
}

.nav-menu .nav_list{
    list-style: none;
    position: relative;
}

.nav-link{
    text-decoration: none;
    /*color: var(--text-color-second);*/
    color: var(--color-white);
    font-weight: 500;
    font-size: 15px;
    padding-inline: 5px;
    margin-inline: 20px;
    transition: all .3s ease-in-out;
}

.nav-link:hover{
    color: #d0621c;
}

.nav-menu-btn{
    display: none;
}

.nav-menu-btn i{
    font-size: 28px;
    cursor: pointer;
}

.active-link{
    position: relative;
    color:  #d0621c;
    transition: .3;
}

.active-link::after{
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 5px;
    background:  #d0621c;
    border-radius: 50%;
}
/*------- WRAPPER DESIGN -------*/
.wrapper{
    /*padding-inline: 10vw;*/
    overflow: hidden;
}

/*------- FEATURED BOX -------*/

.featured-box{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    min-height: 700px;
    padding-inline: 10vw;
    background-image: url('../images/bg_accueil.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.featured-box::before {
    content: '';
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); 
    z-index: 1;
}

/*------- FEATURED TEXT BOX ------*/
.featured-text{
    margin-top: 0px;
    position: relative;
    display: flex;
    justify-content: end;
    align-content: end;
    min-height: 80vh;
    flex-direction: column;
    width: 80%;
    padding: 20px;
    z-index: 10;
}

.featured-text-card span{
    background: var(--first-color);
    color: var(--color-white);
    padding: 3px 8px;
    font-size: 15px;
    border-radius: 5px;
    z-index: 10;
}

.featured-name{
    margin-top: 25px;
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    /*color: var(--text-color-second);*/
    color: var(--first-color);
    /*margin-block: 20px;*/
    z-index: 10;
}

.featured-complet-name{
    position: absolute;
    top: 200px;
    left: 9vw;
    margin-top: 50px;
    font-family: 'apalu',sans-serif;
    font-size: 32px;
    font-weight: 570;
    color:var(--first-color);
    
    
}



/*@media only screen and (max-width:1195px){
    .featured-complet-name{
        top: 350px;
        left: 50%;
        transform: translate(-50%,50%);
        /*color: var(--first-color);
    }
    .featured-text{

        margin-top: 10px;
    }
}*/
.typedText{
    margin-top: 25px;
    /*text-transform: capitalize;*/
    /*color: #d0621c;*/
    background-color: var(--color-white);
    padding: 2px 4px;
    color: #15467e;
    border-radius:  10px;
    z-index: 10;
}

.featured-text-info {
    font-size: 18px;
    margin-bottom: 30px;
    color: white;
    /*color: var(--text-color-second);*/
    z-index: 10;
}

.featured-text-btn{
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 10;
}

.featured-text-btn>.blue-btn{
    text-align: center;
    background: var(--first-color);
    color: var(--color-white);
    z-index: 10;
}

.featured-text-btn>.blue-btn:hover{
    background: #efefef;
    color: black;
}

.social_icons{
    display: flex;
    justify-content: center;
    margin-top: 50px;
    gap: 30px;
    z-index: 10;
}

.icon{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #d0621c;
    color: var(--color-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.25);
    cursor: pointer;
    z-index: 10;
    transition: all .3s ease-in-out;
}

.icon:hover{
    /*background-color: var(--first-color);*/
    background-color:  rgba(255, 255, 255, 0.5);
    color: var(--first-color);
}

/* ---- Home deco -----*/
.motif-deco-1{
    position: absolute;
    top: -220px;
    right: -220px;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background-color:var(--first-color);
    filter: blur(3px);
    z-index: -99;
}
.motif-deco-2{
    position: absolute;
    bottom: -220px;
    left: -220px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background-color: var(--first-color);
    filter: blur(3px);
    z-index: -99;
}

/*------- FEATURED IMAGE BOX -------*/
.featured-image{ 
    display: flex;
    justify-content: right;
    align-content: center;
    min-height: 80vh;
    width: 50%;
    z-index: 10;
}

.image{
    margin: auto 0;
    width: 300px;
    height: 340px;
    
    /*border-radius: 55% 45% 55% 45%;*/
    border-radius: 10px;
    overflow: hidden;
    /*animation: imgFloat 7s ease-in-out infinite;*/
}

.image img{
    width: 300px;
    height: 340px;
    object-fit: cover;
}

@keyframes imgFloat{
    50%{
        transform: translateY(10px);
        border-radius: 45% 55% 45% 55%;
    }
}


.scroll-btn{
    position: absolute;
    cursor: pointer;
    bottom: -55px;
    left: 50%;
    translate: -50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 50px;
    gap: 5px;
    text-decoration: none;
    color: var(--text-color-second);
    background: var(--color-white);
    border-radius: 30px;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.25);
    transition: all .3s ease-in-out;
}



.scroll-btn:hover{
    background-color: #d0621c;
    color: var(--color-white);
}

.scroll-btn i{
    font-size: 20px;
}

/*------- MAIN BOX -------*/
.section{

    padding-block: 5em;
    padding-inline: 10vw;
}

.row{
    display: flex;
    
    justify-content: center;
    
    width: 100%;
    gap: 50px;
}

.col{
    
    
    /*width: 50%;*/
}

/*-------RESUABLE CSS -------*/
.top-header{
    text-align: center;
    margin-bottom: 2em;
}

.top-header h1{
    font-weight: 600;
    color:  #d0621c;
    margin-bottom: 10px;
}

.top-header span{
    color: #999;

}

h3{
    font-size: 20px;
    font-weight: 600;
    color: var(--first-color);
    margin-bottom: 15px;
}

/*------- ABOUT INFO -------*/

.about{
    background-color: #efefef;
}

.about-info{
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-block: 30px 70px;
    width: 100%;
    padding-inline: 20px;
    /* background: var(--color-white); */
    background: #d0621c;
    box-shadow: 1px 8px 10px 2px var(--first-shadow-color);
    border-radius: 20px;
}

.about-info>h3{
    color: var(--color-white);
}
.about-info p{
    text-align: justify;
    font-size: 15px;
    /* color: #777; */
    color: var(--color-white);
}
.about-btn button{
    position: absolute;
    right: 20px;
    bottom: 20px;
    border-radius: 30px;
}

/*------- ABOUT / SKILLS BOX -------*/
.skills-col{
    margin-top: 30px;
}
.skills-box{
    margin: 5px;

    margin-bottom: 10px;
    box-sizing: border-box;
}

.skills-header{
    margin-bottom: 10px;
}

.skills-list{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.skills-list span{
    font-size: 14px;
    background:  #d0621c;
    color: var(--color-white);
    padding: 2px 10px;
    border-radius: 5px;
}

/*-------PROJECT BOX -------*/
.projet{
    position: relative;
    overflow: hidden;
}
.motif-deco-3{
    position: absolute;
    top: -220px;
    left: -220px;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background-color: #d0611cef;
    filter: blur(3px);
    z-index: -99;

}
.motif-deco-4{
    position: absolute;
    bottom: -220px;
    right: -220px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background-color: #d0611cef;
    filter: blur(3px);
    z-index: -99;
}
.project-container{
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.project-box{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 5px;
    width: 30%;
    height: 250px;
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 1px 8px 10px 2px var(--first-shadow-color);
    overflow: hidden;
}

.project-box>i{
    font-size: 50px;
    color:var(--first-color);
    margin-bottom: 25px;
}
.project-box>h3{
    font-size: 18px;
    text-align: center;
}
.project-box>label{
    font-size: 15px;
    color: #777;
}

.project-box>span{
    font-size: 15px;
    padding: 8px 16px;
    background-color: var(--first-color);
    color: var(--color-white);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 15px;
}
.project-box::after, .contact-info::after{
    content: "";
    position: absolute;
    bottom: -100%;
    background:var(--first-color);
    width: 100%;
    height: 100%;
    transition: .4s;
    z-index: 1;
}

.project-box:hover.project-box::after,
.contact-info:hover.contact-info::after{
    bottom: 0;
}

.project-box:hover.project-box i,
.project-box:hover.project-box>h3,
.project-box:hover.project-box>label{
    color: var(--color-white);
    z-index: 2;
}
.project-box:hover.project-box>span{
    background-color: var(--color-white);
    color: var(--first-color);
    z-index: 2;
}

/*details projects*/
.details-project{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: scroll;
    z-index: 99;
}

.formation{
    background-color: #efefef;
}

/*------- PORTFOLIO BOX -------*/
.portfolio{
    background-color: var(--first-color);
}
.portfolio>.top-header>h1{
    color: var(--color-white);
}
.portfolio-container{
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.portfolio-box{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 30%;
    height:auto;
    background: var(--color-white);
    /* background: var(--first-color); */
    border-radius: 10px;
    box-shadow: 1px 8px 10px 2px var(--first-shadow-color);
    overflow: hidden;
}
.portfolio-box>img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.portfolio-box>div{
    position: absolute;
    width: 100%;
    height: 100%;
    padding-inline: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    /* justify-content: center; */
    align-items: center;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    
    z-index: 2;
    color: var(--color-white);
    transition: .4s;
}
.portfolio-box>div>label{
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    line-height: 25px;
}
.more-karma{
    display:  block;
    font-size: 15px;
    padding: 8px 16px;
    background-color: var(--first-color);
    color: var(--color-white);
    text-decoration: none;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    /* margin-top: 10px; */
    margin-left: 0;
    transition: .4s;
}

.more-karma:hover{
    background-color:var(--color-white) ;
    color: var(--first-color);
}

.portfolio-box::after{
    content: "";
    color: var(--color-white);
    text-align: center;
    padding-top: 10px;
    position: absolute;
    bottom: -100%;
    background:rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    transition: .4s;
    z-index: 1;
}
.portfolio-box:hover.portfolio-box::after{
    bottom: 0;
}
.portfolio-box:hover.portfolio-box>div{
    top: 40%;
    /* transform: translateY(-50%); */
}
/*------- CONTACT BOX -------*/
.contact{
    position: relative;
}
.contact-info{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
    width: 100%;
    height: 315px;
    background: var(--first-color);
    border-radius: 10px;
    box-shadow: 1px 8px 10px 2px var(--first-shadow-color);
    overflow: hidden;
}
.contact-info >h2{
    color: var(--color-white);
    margin-bottom: 20px;
}

.contact-info>p{
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    margin-block: 5px;
}

.contact-info p>i{
    font-size: 18px;
}
.contact-info::after{
    background: var(--color-white);
}

.contact-info:hover.contact-info h2,
.contact-info:hover.contact-info p,
.contact-info:hover.contact-info i{
    color: #777;
    z-index: 2;
}
/*------- CONTACT FORM -------*/
.form-control{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.form-inputs{
    display: flex;
    gap: 10px;
    width: 100%;

}

.input-field{
    width: 50%;
    height: 55px;
    background: transparent;
    border: 2px solid #AAA;
    border-radius: 10px;
    padding-inline: 20px;
    outline: none;

}

textarea{
    width: 100%;
    height: 250px;
    background: transparent;
    border: 2px solid #AAA;
    border-radius: 10px;
    padding: 15px 20px;
    outline: none;
    resize: none;
}

.form-button i{
    font-size: 18px;
    rotate: -45deg;
}

.top-footer> img{
    height: 70px;
    width: auto;
}

/*------- MEDIA QUERY == 1150px / RESPONSIVE -------*/
@media only screen and (max-width:1180px){

    .nav-button{
        display: none;
    }

    .nav-menu.responsive{
        left: 0;
    }

    .nav-menu{
        position: fixed;
        top: 80px;
        left: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgb(197, 207, 209);
        backdrop-filter: blur(20px);
        width: 100%;
        min-height: 450px;
        height: 90vh;
        transition: .3s;
    }
    
    .nav_menu_list{
        flex-direction: column;
    }

    .nav-menu-btn{
        display: flex;
        justify-content: center;
        align-items: center;
    }

}
/*------- MEDIA QUERY == 1024px / RESPONSIVE -------*/
@media only screen and (max-width:1024px){
    .featured-text{
        padding: 0;
    }
    
    .skills-box{
       
        width: 100%;
    }

    .image, .image img{
        width: 340px;
        height: 380px;
    }
    
    .project-container{
        justify-content: center;
    }

    .project-box{
        width: 80%;
    }

    .portfolio-box{
        width: 18%;
        height: 125px;
    }
}


/*------- MEDIA QUERY == 900px / RESPONSIVE -------*/

@media only screen and (max-width:900px){
    
    .featured-box{
        flex-direction: column;
        justify-content: center;
        height: 90vh;
    }
    .btn{
        padding: 6px 10px;
        border-radius: 5px;
    }
    .featured-complet-name{
        width: max-content;
        top: 350px;
        left: 50%;
        transform: translate(-50%);
        font-size: 35px;
        
    }
    .typedText{
        font-size: 20px;
    }
    .featured-text{
        width: 100%;
        order: 2;
        margin-top: 60px;
        justify-content: end;
        align-content: end;
        min-height: 60vh;
    }
    .social_icons{
        margin-top: 2em;
    }
    .featured-image{
        order: 1;
        justify-content: center;
        min-height: 150px;
        width: 100%;
        margin-top: 65px;
    }
    .image, .image img{
        width: 200px;
        height: 240px;
    }
    .row{
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 50px;
    }
    .col{
        display: flex;
        justify-content: center;
        width: 100%;

    }
    .about-info, .contact-info{
        width: 100%;
    }

    .project-container{
        justify-content: center;
    }

    .project-box{
        width: 80%;
    }
    .portfolio-box{
        width: 30%;
        height: 200px;
    }
}
/*------- FOOTER BOX -------*/
footer{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 30px;
    background: #F8F8F8;
    padding-block: 40px 60px;
    position: relative;
    overflow: hidden;
    z-index: 100;
}



.motif-deco-f{
    position: absolute;
    bottom: -220px;
    left: -220px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background-color: var(--first-color);
    filter: blur(3px);
   z-index: 1;
}
.top-footer{
    display: flex;
    position: relative;
}
.top-footer p{
    font-size: 30px;
    font-weight: 600;
    color: #d0621c;
}
.top-footer span{
    position: absolute;
    top: -42px;
    left: 65px;
    font-size: 5em;
    color: var(--first-color);
}
.middle-footer .footer-menu{
    display: flex;

}
.footer_menu_list{
    list-style: none
}
.footer_menu_list a{
    text-decoration: none;
    color: var(--first-color);
    font-weight: 500;
    margin-inline: 20px;
}
.footer_menu_list a:hover{
    color: #d0621c;
    z-index: 99;
}
.footer-social-icons{
    display: flex;
    gap: 30px;
}

.bottom-footer{
    font-size: 14px;
    margin-top: 10px;
}
/*------- MEDIA QUERY == 540PX / RESPONSIVE -------*/
@media only screen and (max-width:540px){
    .featured-box{
        flex-direction: column;
        justify-content: center;
        height: 50vh;
    }
    .top-header>h1{
        font-size: 20px;
    }
    .featured-complet-name{
        font-size: 30px;
    }
    .typedText{
        font-size: 20px;
    }
    .featured-name{
        font-size: 40px;
    }
    .project-box{
        width: 100%;
    }
    .form-inputs{
        flex-direction: column;
    }
    .input-field
    {
        width: 100%;
    }
    .motif-deco-1, .motif-deco-2, .motif-deco-3, .motif-deco-4, .motif-deco-f{
        width: 300px;
        height: 300px;
    }
    .featured-name{
        font-size: 25px;
    }
    .featured-text-info{
        font-size: 15px;
    }
    .skills-header{
        margin-bottom: 10px;
    }
    .skills-box{
        width: 100%;
    }
    .skills-col{
        display: flex;
        flex-wrap: wrap;
    }
    .skills-list{
        flex-wrap: wrap;
        gap: 2px;
    }
    .project-box>i{
        font-size: 40px;
        color:var(--first-color);
        margin-bottom: 25px;
    }
    .project-box>h3{
        font-size: 18px;
        text-align: center;
    }
    .project-box label{
        font-size: 14px;
        color: #777;
    }
    .section{
        padding: 40px;
    }
    .top-header{
        margin-bottom: 40px;
    }
    .social_icons, .featured-text-card{
       display: flex;
       justify-content: center;
    }
    .social_icons > .icon{
        background-color: var(--first-color);
        color: var(--color-white);
    }
    .full-btn{
        background-color: var(--first-color);
        color: var(--color-white);
    }
    .footer_menu_list a{
        text-decoration: none;
        color: var(--text-color-second);
        font-weight: 400;
        font-size: 12px;
        margin-inline: 8px;
    }
    .bottom-footer{
        font-size: 12px;
        margin-top: 10px;
    }

    .typedText{
        font-size: 20px;
    }

    .scroll-btn{
        display: none;
    }

    .portfolio-container{
        justify-content: center;
    }

    .portfolio-box{
        width: 47%;
        height: 150px;
    }

    .portfolio-box::after{
        bottom: -70%;
    }

    .portfolio-box>label{
        bottom: 30px;
        font-size: 10px;
    }
    
}