*{
    margin: 0;
    padding: 0;
}
body {
    background: whitesmoke;
    position: relative;
}
nav {
    background-color: black;
    height: 70px;
    width: 100%;
    border: none;
    position: fixed;
}
nav ul{
    float: right;
    margin-right: 55px;
}
nav ul li{
    display: inline-block;
    line-height: 70px;
    margin: 0 5px;
    margin-right: 30px;
}
nav ul li a{
    color:  white;
     text-decoration: none;
     font-size: 18px ;
     padding: 7 13px;
}

label.logo{
    font-size: 23px ;
    line-height: 70px;
    color: white;
    font-weight: bold;
    margin-left: 50px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
label span{
    color: #ff0000;
}
.checkButton{
    font-size: 30px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor:  pointer;
    display: none;
}

.myCheckbox{
    display: none;
} 


nav ul li a:hover, nav ul li a.active{
    border-bottom:2px solid  #ff0000;
    border-radius: 15px 0px;
    padding: 5px 8px;
}
nav ul li a.blog{
    border-bottom:2px solid  #ff0000;
    border-left:5px solid  #ff0000;
    border-right:5px solid  #ff0000;
    border-radius: 25px 0px;
    padding: 5px 15px;
    /* border-radius: 15px; */
}

/* .mode span{
    color: #fff;
} */




/* section 1 */
.section1{
    display: flex;
    width:100%;
    margin: 0;
    border: none;
    /* padding-top: 100px; */

}
.bio{
    margin-top: 100px;
    width: 50%;
    /* background-color: #c9a4a4; */
    align-items: center;
    /* text-align: center; */
    padding-top: 100px;
}
.bio p{
    margin-top: 20px;
    font-family:'Times New Roman', Times, serif ;
    color: black;
    margin-left: 100px;
}
.bio p#nom{
    font-size: 40px;
    font-weight: bold;
    font-family: 'Black Ops One', cursive;
}
.bio p.desc{
    font-style: italic;
}
.bio p.donnee a{
    color: black;
    padding: 5px;
}
.bio p.donnee a#tel{
    color: green;
}
.bio p.donnee a#tel:hover{
    background: green;
    border-radius: 50%;
    color: #fff;
    padding: 8px;
    /* font-size: 15px; */
}
.bio p.donnee a#mail{
    color:#ff0000 ;
}
.bio p.donnee a#mail:hover{
    background: #ff0000;
    border-radius: 50%;
    color: #fff;
    padding: 8px;
}
.bio p.donnee a#whatshap{
    color:#075E54 ;
}
.bio p.donnee a#whatshap:hover{
    background: #075E54 ;
    border-radius: 50%;
    color: #fff;
    padding: 8px;
}
.bio p.donnee a#linkedin{
    color:#0e76a8 ;
}
.bio p.donnee a#linkedin:hover{
    background: #0e76a8;
    border-radius: 50%;
    color: #fff;
    padding: 8px;
}
.bio p.donnee a#git:hover{
    background: black;
    border-radius: 50%;
    color: #fff;
    padding: 8px;
}
p.cv a{
    text-decoration: none;
    list-style-type: none;
    border-bottom:2px solid  #ff0000;
    border-left:5px solid  #ff0000;
    border-right:5px solid  #ff0000;
    border-radius: 25px 0px;
    color:black;
    padding: 8px;
    box-shadow:3px 5px #0302028b;
}
p.cv a:hover{
    background: #ff0000;
    color: #fff;
}

.img{
    width:50% ;
    margin-top: 100px;
    text-align: center;
    align-items: center;
}
.img img{
    width: 400px;
    /* left: 0; */

}


/* section 2 */
.section2{
    display :flex;
    flex-wrap: wrap;
    text-align: center;
    width: 100%;
    /* background: #fff; */
    align-items: center;
    justify-content:center;
}
 h1{
    text-align: center;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 30px;
    font-family: 'Black Ops One', cursive;
}
h1 span {
    color: #ff0000;
    
}
legend{
    font-weight: bold;
    border-bottom:2px solid  #ff0000;
    border-left:5px solid  #ff0000;
    border-right:5px solid  #ff0000;
    border-radius: 25px 0px;
     padding: 5px;
}
span{
    color: #ff0000;
}
 fieldset{
    margin-top: 20px;
    /* border: none ; */
    max-width: 600px;
    padding: 20px;
    margin: 10px;
    /* height: 100px; */
    border-bottom-right-radius: 25px;
    border-top-left-radius: 25px;
    /* box-shadow:3px 5px #0302028b; */
}
 ul li{
    list-style: none;
}

/* section 3 */
.section3{
    text-align: center;
    align-items: center;
    margin-left: 10px;
    /* background: black; */
    padding: 20px;
}
button{
    border:#666 1px solid;
    background: white;
    color: black;
    font-weight: bold;
    margin:2px;
    font-size:35px;
    cursor:pointer;
    width:70px;
    height:70px;
    border-radius:50%;
    position: absolute;
    right: 20px;
    bottom: 20px;
}
button:hover{
    background: #ff0000;
}

/* section 4 */
.section4{
    display :flex;
    flex-wrap: wrap;
    /* align-items: center; */
    /* text-align: center; */
    padding: 20px;
    /* width: 100%; */
}
.app{
    display: flex;
    width: 50%;
    /* height: 150px; */
    margin-top: 15px;

}
.image-app{
    margin-top: 10px;
}
.image-app img{
    border-radius: 15px;
}
.desc-app p.nom{
    /* margin-top: 10px; */
    font-weight: bold;
    border-radius: 25px 0px;
    padding: 5px;
}
.desc-app p{
    margin: 8px;
}
.desc-app p a{
    color: white;
    background: black;
    padding: 5px;
    border-radius: 50%;
}
.desc-app p a:hover{
    color: white;
    background: #ff0000;
    padding: 8px;
    border-radius: 50%;
}
/* section 5 */
.section5{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}
.contact{
    width: 50%;
}
.localisation{
    width: 100%;
}
footer{
    width: 100%;
    height: 200px;
    background: rgb(16, 15, 15);
    color: #fff;
    text-align: center;
    align-items: center;
    padding-top: 25px;
}


@media screen and (max-width:1010px) {
    /* navbar */

     label.logo{
         font-size: 22px;
         padding: 40px;
     }
     nav ul li a{
         font-size: 14px;
     }
 
     /* section 1 */
    
     .bio p#nom{
         font-size: 27px;
     }
    .img img{
        /* width: 100%; */
    }
 }
 


 
 @media screen and (max-width:909px) {
    nav{
        position:sticky;
        top: 0;
    }
     .checkButton {
          display: block;
     }
     #myCheck:checked ~ .checkButton i:before{
         content: "\f00d";
     }
     nav ul{
         position: fixed;
         width: 100%;
         height: 100vh;
         background: rgb(16, 15, 15);
         top: 70px;
         left: -100%;
         text-align: center;
         transition: all 0.5s;
     }
     nav ul li {
         display: block;
         /* text-align: center; */
         margin: 50px 0;
         line-height: 30px;
     }
     nav ul li a{
         font-size: 20px;
         color:white;
     }
     nav ul li a:hover,nav ul li a.active{
         border-bottom:2px solid  #ff0000;
         border-left:5px solid  #ff0000;
         border-radius: 15px 0px;
         padding: 8px;
     }
     label.logo{
        margin-left: 10px;
     }
     .myCheckbox:checked ~ ul {
         left: 0%;
     }

     .section1 {
        /* position: absolute;
        top: 0; */
        /* margin-top: 100px; */
        display: block;
        text-align: center;
        align-items: center;
        margin-top: 20px;
     }
     .bio{
        width: 100%;
        padding-top: 0px;
        margin-top: 40px;/
     }
     .img{
        width: 100%;
        margin-top: 50px;
        /* z-index: 1; */
     }
     .bio p{
        margin-left: 0;
     }
     .img img{
        width: 280px;
        /* left: 0; */
    
    }
    .section4{
        /* height: 400px; */
        text-align: center;
    }
    .app{
        display: block;
        width: 100%;
        font-size: 16px;
    }
    .desc-app p#desc-app{
        font-size: 14px;
    }
 }
