/*################*/
/*   ANIMATION   */
/*##############*/



/*################*/
/*VALEURS Général*/
/*##############*/

html{

    scroll-behavior: smooth;

}
body {

    padding : 0;
    margin: 0;
    
}

main{
    margin: 20px;
}



h1, h2{

    color : #10375D;
    text-transform :uppercase;
}

p{
    font-size: 55px;;
}



a{
    text-decoration: none;
    color : #10375D;
}

li{
    text-align: left;
    font-size: 30px;
}


h1{
    font-size : 125px;
    text-align: center;
    margin-top : 0px;

}

h2{
    font-size : 95px;
}

h3{

    font-size : 65px;
}

h4 {
    font-size : 45px;
    color : #10375D;
}




section{
    
    justify-self: center;

}
/*####################*/
/*VALEURS individuels*/
/*##################*/


/* Ma présentation */


section:first-child details{
    color : black;
    background-color :#D9D9D9;
    width: 80vw;
    height: 99px;
    font-size: 40px;
    margin-bottom: 50px;
}

section:first-child details[open]{
    height: 300px;
    align-content: center;
    
}
section:first-child details li{
    list-style: square;
}
section:first-child{

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    
}

section:first-child img{
    object-fit : cover;
}


section:first-child > p {

    background-color : #D9D9D9;
    padding : 40px;
    border-radius: 90px ;
    width: 60vw;
    height: auto;
    margin : 5px;
    align-self: center;
    
    
}

section:first-child img{
    width: 15vw;
    height: 25vw;
    margin : 5px;
    border-radius: 180px;
}



/*mes coordonnées*/


/*+projet*/
section:nth-child(2), .projets{

    background-color : #10375D;
    color : white;
    text-align: center;
    padding : 20px;
    margin: 0;
}



section:nth-child(2){

    border-radius: 360px;


    width : 90vw;
    display: flex;
    flex-direction: column;
    
}


section:nth-child(2)  h2, section:nth-child(2) a {
    color : white;   
}

section:nth-child(2) article{
    margin-left: 5vw;

}


section:nth-child(2) a{
    display: flex;
    flex-direction: row;
    flex-wrap : nowrap;
    
    

}


section:nth-child(2) img{

    width: 148px;
    height: 148px;
    margin-right: 50px;
    margin-left : 50px;
    /*animation : download_animation -100ms reverse;*/


}





section:nth-child(2) article:last-child{
    margin-left : 0vw;
    width: 80%;
    align-self: center;
    padding : 5px;
    border-top : white 2px solid;
    
}

section:nth-child(2) article:last-child a{

    justify-self: center;
    align-items: center;
    
}

section:nth-child(2) article:last-child a img:hover{

    transition : all 200ms;
    transform: rotate(-180deg);     
}

section:nth-child(2) article:last-child  a p:hover + img{

    transition : all 200ms;
    transform: rotate(-180deg);     
}


section:nth-child(2) img:last-child{
    width: 74px;
    height: 74px;
    margin-right: 50px;
    margin-left : 50px;
    transition : all 200ms;
    

}




/*Compétence*/

details p{
    font-size: 20px;
}

section:nth-child(3){
    text-align: center;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

section:nth-child(3) h2{
    width: 99vw;
}

section:nth-child(3) summary::marker{
    content: none;
}

summary{
    text-align: center;
    margin-top: 25px;
    padding-bottom: 25px;
    margin-bottom : 20px;
    border-bottom : solid white 2px;
    
        
    
}

details{
    font-size: 20px;
    background-color :#10375D;
    margin : 5px;
    color : white;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 75px;
    width: 30vw;

    transition: all 0.5s ease;

}

details[open]{
    transition: all 0.5s ease;
    height: 20vh;
    width: 30vw;
 
}




section:nth-child(3) article:last-child h4{
    color : white;
    background-color: #10375D;
    
    
    
}
section:nth-child(3) article:last-child a{
    color : white;
    background-color: #10375D;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 45vw;
    margin-top : 50px;
    border-radius: 60px;
    
}

section:nth-child(3) article:last-child img{
    height: 60px;
    width: 60px;
    margin-left: 1vw;
    transition: all 200ms;
    
}

section:nth-child(3) article:last-child img:hover{
    transform: rotate(-180deg);
    transition: all 200ms;
    
}

section:nth-child(3) article:last-child:hover img{
    transform: rotate(-180deg);
    transition: all 200ms;
    
}

section:nth-child(3) article:last-child p{
    font-size: 25px;
    
}

/*Language*/

section:nth-child(4) {

    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    text-align: center;
    
}


section:nth-child(4) article{

    display :flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    
}

section:nth-child(4) h4{
    width : 100%;
}

section:nth-child(4) a{

    transition: all 500ms;
    display: flex;
    border-radius : 60px;
    border : black 5px solid;
    padding: 5px;
    background-color : #10375D ;
    width: 148px;
    height: 148px;
    justify-content: center;
    
}

figcaption{
    text-align: center;
    font-size: 20px;
    color: #10375D;
    margin-top: 10px;
}



section:nth-child(4)  a:hover{
    transition: all 500ms;
    transform : scale(1.1);
}

/*PROJETS*/


section:last-child{
    display: grid; 
    grid-template : auto auto/ 1fr 1fr;
    grid-gap : 20px;

}

section:last-child h2{
    grid-column-start: 1;
    grid-column-end : span 2;
    text-align: center;
    justify-self: center;
    
}


.projets > a{
    color :white;
}

.projets > a > h4{
    color :white;
}


.projets h3{
    color : white;
}

.projets{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}


.projets img{

    height : 20vw;
    width: 45vw;
    object-fit :contain;


}



.projets h4{
    border : solid 0.5px white;
    padding : 10px;
}

.projets li a{
    color : white;
}

.projets p{

    font-size: 30px;
    text-indent: 20px;
}

.projets details[open]{

    transition: all 500ms;
    height: 200px;
}



/*footer*/


footer{

    background-color: #10375D;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    color : white;
}

footer li{
    list-style: none;
    line-height: 50px;
}

footer a{
    color : white;
}

footer details{
    border-bottom: solid white 0px;
}

footer details[open]{
    transition: all 500ms;
    height: 250px;
    border-bottom: solid white 2px;
}






/*NAV*/


nav{
    display: flex;
    flex-direction: column;
    position :fixed;
    
}

nav a{
    color : white;
}



#burger{
    transition: all 250ms;
    width: 52px;
    height: 32px;
    margin : 2vw;
    border-style : none;
    
}

nav li{
    list-style :square;
    font-size: 40px;
    color : white;
    margin-top : 30px;
}



#background-list{

    transition: all 250ms;
    transform: translateX(-1000px);
    position: absolute;
    padding-top : 5vw;
    background-color: #10375D;
    width: 40vw;
    height: 100vh;
    border-top-right-radius: 50vh;
    border-top : 5px white solid;
    border-right : 5px white solid;
    margin-top : 15vw;
    

    

    
    
}

#background-list.open{
    
    transition: all 250ms;
    transform: translateX(0);

}


#background-burger {

    transition: all 250ms;
    display :flex;
    width: 10vw;
    height: 10vw;
    border-bottom-right-radius: 30vw;
    background-color: #10375D;
    border-right: white 5px solid;
    border-bottom : white 5px solid;
    
}

#background-burger.open{

    transition: all 250ms;
    position:fixed;
    width: 40vw;
    height: 25vw;
    z-index: -1 ;
    
}

#burger.open{

    transition: all 250ms;
    transform: rotate(360deg);
    margin : 5vw;
    width: 104px;
    height: 64px;
}


