body{
    margin:0;
    padding:0;
    background:#14213D;
    color:orangered;
    font-family: sans-serif;
}


a{
    text-decoration:none;
}

/*************
Animation de la fonction
**************/
h2{
    font-size:3rem;
    font-weight:700;
}

.typing{
    color:#FF8C00;
    font-weight:800;
    border-right:3px solid #FF8C00;
    padding-right:5px;
}

/*************
MENU
**************/
#logoLDL{
    width: 40px;
    height: 45px;
    margin-right: 1%;
    cursor: pointer;
}

.logo{

    color:white;
    font-size:20px;
    font-weight:bold;

}


.logo span{

    color:#e42d25;

}


.nav-link{

    color:white;
    font-size:22px;
    font-weight:600;
    width:100%;
}


.nav-link:hover{

    color:#e42d25;

}


.active{
	
    color: red;
    

}

.navbar-nav .nav-link{

    color: white;
    transition:.3s;

}

.navbar-nav .nav-link:hover{

    color:orangered;
    cursor:pointer;
}

.navbar-nav .nav-link.active{

    color:orangered !important;
    font-weight:600;
    border-bottom: 2px solid orangered;

}

.navbar-toggler{

    color:white;
    border:none;
    font-size:30px;

}

.fa-bars {
    color: orangered;
    transition: color .2s;
}

.fa-bars.active {
    color: white;
}
.navbar-toggler:focus{

    box-shadow:none;

}

.navbar-brand{

    position:relative;
    overflow:hidden;
    display:inline-block; 
    color:white;
    font-size: 1.5rem;
    font-weight: bold;

    text-shadow:
        0 0 4px rgba(255,69,0,.15),
        0 0 10px rgba(255,69,0,.10);
    
}

.navbar{
    position:sticky;
    top:0;
    z-index:999;
    background:#14213D;
    
}

/*****************
HERO
*****************/


.hero{

    min-height:85vh;
    display:flex;
    align-items:center;

}


.hero h1{

    font-size:5rem;
    font-weight:800;
    margin-bottom:20px;

}


.hero h2{

    font-size:3.2rem;
    font-weight:bold;

}


.red{

    color:#e42d25;

}


.outline{

    color:transparent;
    -webkit-text-stroke:1px #e42d25;

}


.hero p{

    font-size:1.5rem;
    line-height:45px;
    margin-top:25px;
    max-width:850px;

}
/*****************
CONTACT, RESUME, SERVICES switch OnePage
*****************/
#services,
#resume,
#contact,
#writeMe,
#projects{

    display: none;
}
/*****************
BOUTON
*****************/


.btn-cv{
    display:inline-flex;
    justify-content:center;
    align-items:center;

    background:#e42d25;
    color:white;
    padding:18px 45px;
    border-radius:50px;
    font-size:24px;
    font-weight:bold;
    box-shadow:0 0 25px #e42d25;
}

.text-center .btn-cv{
    margin:auto;
    
}

.btn-cv:hover{

    background:white;
    color:#e42d25;

}



/******************
SOCIAL
*******************/


.social{

    display:flex;
    gap:20px;

}


.social a{

    width:60px;
    height:60px;
    border-radius:50%;
    border:2px solid #e42d25;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#e42d25;
    font-size:25px;
    transition:.3s;

}


.social a:hover{

    background:#e42d25;
    color:white;

}



/*****************
PHOTO
******************/


.photo-container{

    position:relative;
    width:500px;
    height:200px;
    margin:auto;

}


.circle{

    position:absolute;
    width:100%;
    height:100%;
    border-radius:50%;
    border:6px solid #e42d25;

}


.profile{

    width:430px;
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);

}

.contact-section{

    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top:-55px;
    padding:80px 15px;
    background-color: black;

}


.contact-section h2{

    color:white;
    font-size:3rem;
    font-weight:700;

}


.contact-card{

    border:1px solid orangered;
    border-radius:15px;

    padding:40px;

    background:rgba(255,255,255,.02);

    box-shadow:0 0 25px rgba(255,69,0,.15);

}


.contact-item{

    display:flex;
    align-items:center;
    justify-content:center;

    gap:20px;

    padding:20px;

    margin:20px 0;

    /**border:1px solid orangered;**/
    border-radius:10px;

    color:white;

    font-size:1.3rem;
    font-weight:600;

    transition:.3s;

}


.contact-item:hover{

    /**background:orangered;**/
    color:white;

    transform:translateY(-3px);

}

.contact-item a{
    
    color:white;
}

.contact-item i{

    color:orangered;
    font-size:28px;

    transition:.3s;

}


.contact-item:hover i{

    color:white;

}
.tech-card{
    background:#111;
    border:2px solid orangered;
    border-radius:18px;
    padding:18px 25px;
    transition:.35s;
    cursor:pointer;
    height:100%;
}

.tech-card:hover{
    background:orangered;
    transform:translateY(-6px);
    box-shadow:0 10px 30px rgba(255,69,0,.35);
}

.tech-card span{
    color:#fff;
    font-size:1.2rem;
    font-weight:600;
    margin-left:20px;
}

.tech-icon{
    font-size:3rem;
    /* color:orangered; */
    width:60px;
    text-align:center;
    transition:.35s;
}

.tech-card:hover .tech-icon{
    color:#fff;
}




/******************
WRITE ME FORM
*******************/

.contact-form{

    background:#151515;

    border:2px solid orangered;

    border-radius:20px;

    padding:40px;

}

.contact-form .form-control{

    background:#222;

    color:white;

    border:1px solid #555;

    border-radius:12px;

    padding:15px;

}

.contact-form .form-control:focus{

    background:#222;

    color:white;

    border-color:orangered;

    box-shadow:0 0 15px rgba(255,69,0,.35);

}

.contact-form textarea{

    resize:none;

}

.btn-contact{

    background:orangered;

    color:white;

    font-size:18px;

    font-weight:bold;

    border-radius:40px;

    transition:.3s;

}

.btn-contact:hover{

    background:#ff6a00;

    color:white;

    transform:translateY(-3px);

    box-shadow:0 0 20px rgba(255,69,0,.5);

}

/******************
ENCARTS GO TO VISIT SITES EXAMPLES
*******************/

#projects{
    min-height:100vh;
    display:flex;
    align-items:center;
    background:#111;
}

#projects .card{
    background:#1c1c1c;
    color:#fff;
    transition:.35s;
}

#projects .card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 25px rgba(255,69,0,.45)!important;
}

#projects .btn{
    border:2px solid orangered;
    font-weight:600;
}

#projects .btn:hover{
    background:white!important;
    color:orangered!important;
}
/******************
LOGO LIGHTBOX LDL
*******************/
.lightbox{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.9);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
    cursor:pointer;
}

.lightbox img{
    max-width:90%;
    max-height:90%;
    border-radius:10px;
    animation:zoomIn .3s ease;
}

@keyframes zoomIn{
    from{
        transform:scale(.6);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

/******************
RESPONSIVE
*******************/


@media(max-width:992px){

    .btn-cv{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    background:#e42d25;
    color:white;
    padding:18px 45px;
    border-radius:50px;
    font-size:24px;
    font-weight:bold;
    box-shadow:0 0 25px #e42d25;
    }

    .text-center .btn-cv{
        margin:auto;
    }

    .hero{

        text-align:center;
        padding:50px 0;

    }


    .hero h1{

        font-size:3.5rem;

    }


    .hero h2{

        font-size:2rem;

    }


    .hero p{

        font-size:1.2rem;
        line-height:35px;

    }


      .photo-container{
        margin-top:160px;
        margin-bottom:30px;
        width:280px;
        height:fit-content;

    }


    .profile{

        width:300px;

    }


    .social{

        justify-content:center;
        width:100%;

    }

    .navbar{
        
        border-bottom: 1px solid orangered;
    
    }

    .navbar-nav .nav-link.active{

    color:orangered !important;
    font-weight:600;
    border-bottom: 2px solid #14213D;

    }


    .contact-section h2{

        font-size:2.3rem;

    }

    .contact-item{

        flex-direction:column;
        gap:10px;

        font-size:1.1rem;

        text-align:center;

    }

}

@media (min-width: 995px) and (max-width: 1400px) {

    .photo-container {
        display: flex;
        margin-top: 130px;
    }

    .navbar-nav .nav-link.active{

    color:orangered !important;
    font-weight:600;
    border-bottom: 2px solid #14213D;

    }


}

@media(max-width:576px){

    .btn-cv{
    display:inline-flex;
    justify-content:center;
    align-items:center;

    background:#e42d25;
    color:white;
    padding:18px 45px;
    border-radius:50px;
    font-size:24px;
    font-weight:bold;
    box-shadow:0 0 25px #e42d25;
    }

    .text-center .btn-cv{
        margin-left:auto;
        margin-right: auto;
    }

    .hero h1{

        font-size:2.5rem;

    }


    .hero h2{

        font-size:1.7rem;

    }


    .btn-cv{

        width:100%;

    }


    .photo-container{
        margin-top:150px;
        margin-bottom:30px;
        width:280px;
        height:fit-content;

    }


    .profile{

        width:240px;

    }
    .navbar{
        
        border-bottom: 1px solid orangered;
    
    }

    .navbar-nav .nav-link.active{

    color:orangered !important;
    font-weight:600;
    border-bottom: 2px solid #14213D;

    }

    

    .contact-section h2{

        font-size:2.3rem;

    }

    .contact-item{

        flex-direction:column;
        gap:20px;

        font-size:1.1rem;

        text-align:center;

    }
    

}