@font-face {
    font-family: "Righteous";
    src: url("../font/Righteous/Righteous-Regular.ttf");
}
@font-face {
    font-family: "Poppins";
    src: url("../font/Poppins/Poppins-Regular.ttf");
}
*{
    padding: 0;
    margin: 0;
}
li{
    list-style: none;
}
a{
    text-decoration: none;
}
.header_nav ul{
    display: flex;
    justify-content: space-between;
    font-weight: bolder;
    font-size: 1.2em;
}
.header_nav a:hover{
    color: rgb(117, 117, 117);
}

.info_pers{
    padding: 10% 15% 15%;
}

.info_pers p{
    padding: 3% 0 10%;
}
.header{
    display: flex;
}
.header, a{
    color: #eaecec;
    font-family: Poppins;
}
.info_pers h1{
    font-weight: 800;
    font-size: 3.2em;
}
.info_pers{
    text-align: justify;
}
.info_pers .row{
    gap: 7%;
}
.description{
    font-size: 0.8em;
}

body{
    background: linear-gradient( to bottom, #171c28, #244747, #171c28);

    /* background: linear-gradient( to bottom, #1a1f1f, #3e7979, #244646); */
    
}

.info{
    padding: 1% 8% 2% 5%;
}
.annimation{
    padding: 2% 0 0 0;
}
#particles-js{
    width: 100%;
    height: 10fr;
  }

#profil{
    position: absolute;
    left: 57%;
    width: 19%;
    top: 220px;
    z-index: 3000;
}
  
#profil img{
    width: 100%;
    z-index: 3000;
}

.profil_bas img{
    width: 100%;
    margin-left: 25px;
    z-index: 3000;
    display: none;
}
#shadow{
    border: #dbe3e7 solid 2px;
    height: 270px;
    width: 20%;
    position: absolute;
    top: 235px;
    left: 58%;

}

.cv{
    padding: 3px 30px;
    color: rgb(219, 255, 243);
    border: rgb(242, 252, 248) solid 2px;
    border-radius: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 0.9em;
    margin-left: 50%;
}
.cv:hover{
    cursor: pointer;
    background-color: rgb(219, 255, 243);
    color: #252c2c;
    transition: 0.257s ease-in-out;
}

.title{
    text-align: center;
    color: #eaecec;
}
.container h5{
    color: #eaecec;
}
.container{
    display: flex;
    flex-wrap: wrap;
    padding: 2%;
}
.container > div{
    padding: 15px;
    background-color: #047884;
    margin: 15px;
    width: 46%;
}

.icone{
    width: 100px;
}
.icone img{
    width: 100%;
    margin-top: 7px;
}
.liste {
    padding-top: 15px;
}
.liste div{
    color: #eaecec;
    font-weight: 600;
    font-size: 14px;
    margin: 15px 0;
}
section{
    padding: 2% 0;
}

/* CAROUSSEL */
.carousel{
    padding: 2% 20%;
    width: 90%;
    margin: 0 auto;
}

.formation > div {
    width: 50%;
    margin: 0 auto;
    line-height: 2.3em;
    font-size: 1.3em;
    padding-top: 3%;
}
.footer {
    background-color: #171c28;
    padding: 5%;
    margin-top: 5%;
    color: #eaecec;
    text-align: justify;
}
.footer > div {
    width: 100%;
    
}
.footer p {
    margin-top: 25px;
    color: #868e96;
    line-height: 1.8em;
}
.social_media {
    margin-top: 5%;
    display: flex;
}
.icon {
    margin: 0 15px;
    padding: 10px 12px 8px;
    border-radius: 50%;
}
.icon:hover {
    background-color: black;
    transition: 0.257s ease-in-out;
}
a i{
    text-decoration: none;
    color: white;
}

.github {
    background-color: #333333;
}
.linkedin {
    background-color: #0e76a8;
}
.mail {
    background-color: #ea4335;
}
.facebook {
    background-color: #3b5998;
    padding: 10px 16px 8px;
}
.social_media i {
    font-size: 24px;
}
.icon_laravel {
    font-size: 5px;
}

.left{
    text-align: right;
    padding-right: 25px;
}
.right{
    border-left: rgb(49, 189, 214) solid 2px;
    padding-left: 25px;
}
.type, .lieu{
    font-weight: 600;
    color:#eaecec;
}
.annee{
    font-weight: 600;
    color: orange;
}
.description{
    font-weight: 600;
    color: #9b9b9b;
}
.diplome{
    font-weight: bolder;
}
#laravel{
    color: red;
    font-size: 1.5em;
}
#res_cv{display: none;}

@media only screen and (max-width: 989px){
    .header_nav{
        display: none;
    }
    #profil{
        display: none;
    }
    
    .profil_bas img{
        display: block;
        margin-top: 25px;
        margin-left: 0px;
    }
    #shadow{
        display: none;
    }
    .header{
        display: block;
    }
    #res_cv{display: block;}
    .cv{
        display: none;
    }
    .container{
        display: block;
        padding: 5% 9% 5% 5%;
    }
    .container > div{
        width: 100%;
    }
    .icone{
        width: 90px;
    }

    .formation > div{
        width: 100%;
        margin: 0 auto;
        padding-top: 0%;
    }
    .type, .lieu, .annee,.description, .diplome{
        line-height: 2em;
        font-size: 0.8em;
    }
    .formation > div{
        margin-bottom: 50px;
    }


}

@media only screen and (max-width: 657px){
    .info_pers h1{
        font-size: 2.3em !important;
    }
    .info_pers p{
        font-size: 0.8em !important;
    }
    .description {
        font-size: 0.6em !important;
    }

    .profil_bas {
        width: 100%;
    }
    .profil_bas img{
        display: block;
        width: 50%;
        margin-top: 25px auto;
    }
    
    .info_pers{
        padding: 15% 5%;
    }
    .carousel{
        padding: 2% 2%;
        width: 90%;
        margin: 0 auto;
    }

    .type, .lieu, .annee,.description, .diplome{
        line-height: 2em;
        font-size: 0.8em;
    }
    .formation > div{
        margin-bottom: 50px;
    }

}
@media only screen and (max-width: 452px){

    .profil_bas {
        width: 100%;
    }
    .profil_bas img{
        display: block;
        width: 100%;
        margin-top: 25px auto;
    }


}
.contact{
    width: 370px;
    position: absolute; 
    top: 105%; 
    background-color: #047884; 
    padding: 20px 30px; 
    line-height: 2.3em;
    display: block;
}
.icone_contact{
    margin-right: 20px;
}
