/* preparer l'ecran de la navbar */
*{
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

.navbar{
    text-align: center;
    background-color:rgb(0, 213, 255);
}
/* enlever la forme de liste et ranger les mots */
.navbar ul{
    list-style: none;
    display: inline-flex;
}
/* les ordonner */
.navbar ul li{
    width: 90%;
    margin: 15px;
    padding: 15px;
}
/* sur e lien */
.navbar ul li a{
    text-decoration: none;
    color: black;
}
/* survoler les liens et avoir une bordure */
.active, .navbar ul li:hover {
    background: white;
    border-radius: 3px;
}

.sous-menu1{
    display: none;
}
/* afficher les sous menu avec leurs espacement */
.navbar ul  li:hover  .sous-menu1{
    display: block;
    position: absolute;
    background-color: white;
    margin-top: 15px;
    margin-left: -15px;
}
.navbar ul li:hover .sous-menu1 ul{
    display: block;
    margin: 10px;
}
/* mettre des mesures dans les sous listes */
.navbar ul li:hover .sous-menu1 ul li{
    width: 150px;
    padding: 10px;
    border-bottom: 1px dotted black;
    background: transparent;
    border-radius: 0%;
    text-align: left;
}
/* enlever la derniere bordure de la sous liste */
.navbar ul li:hover .sous-menu1 ul li:last-child{
    border-bottom: none;
}
/* mettre une couleur lors du survole d'un sous menu */
.navbar ul li:hover .sous-menu1 ul li a:hover{
    color: brown;
}
body{
    background: whitesmoke;
    padding: 0;
    margin: 0;
}

.section{

    padding: 45px 0px;
    background-color: whitesmoke;


    height: 1200px;
    margin: 0px 75px;

}

/*  le fichier main est aussi associer a la barre de competence  */
.section p{
    color: black;
    letter-spacing: 0.5px;
    line-height: 28px;
    font-size: 18px;
    margin: 25px;
    margin-bottom: 45px;


    text-align: justify;
}


.main{
    width: 1130px;
    max-width: 95%;
    margin: 0 auto;

}

.titre h1{
    color: black;
    font-size: 50px;
    text-transform: capitalize;
    margin-left: 350px;
    margin-top: 25px;
}

.main h1{
    color: blue;
    font-size: 40px;
    text-transform: capitalize;
    margin-bottom: 15px;
}

.bdd p{
    margin-bottom: 10px;

    margin-top: 10px;
}

.main h2{
    margin-top: 10px;
}



.competences .bar {
    margin-top: 10px;
} 

.competences .info {
    display: flex;
    justify-content: space-between;
    width: 100%;
}


.competences span {
    font-size: 18px;
    font-weight: 500;
}

.competences .ligne {
    height: 6px;
    width: 100%;
    background: lightgrey;
    position: relative;
}

.competences .ligne:before{
    content: "";
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    background: crimson;
}

.competences .html::before{
    width: 90%;
}

.competences .css::before{
    width: 90%;
}

.competences .python::before{
    width: 75%;
}

.competences .php::before{
    width: 75%;
}
.competences{
    margin: 10px;
    padding: 15px;
}

.qualite li{
    margin-left: 50px;
    font-size: 18px;
    margin-top: 10px;
}

/* code css pour la photo et le css */

.cv{
    margin-top: 18px;
    margin-bottom: 10px;
    margin-left: 2px;
}

a{
    text-decoration: none;
    color: inherit;
}

.lien{
    display: flex;
    margin: auto;
    border-radius: 5px;
    font-size: 30px;  
    width: fit-content;
    color: white;
    padding: 15px;
    background-color: rgba(235, 13, 57, 955);
}

.lien:hover{
    background-color: crimson;

}

.lien2{
    display: flex;
    margin: auto;
    border-radius: 5px;
    font-size: 30px;  
    width: fit-content;
    color: white;
    padding: 15px;
    background-color: rgba(235, 13, 57, 955);
}

.lien2:hover{
    background-color: crimson;

}

.associer{
    display: flex;
}