@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

body{
    font-family: 'Roboto', sans-serif;
    /* background: linear-gradient(180deg, #d2d2d2 0%, #FFFFFF 100%) fixed; */

    margin: 0;
}  
.white{
    background-color: white;
    color: black;
}
.black{
    background-color: black;
    color: white;
}

.bouton_lien{
 font-size: larger ;
 color: white;
 text-decoration: underline;
}

*{
    scroll-behavior: auto;
    scroll-margin-top: 50px;
}
/* background: rgb(50,50,50); */
/* background: linear-gradient(90deg, rgba(50,50,50,1) 0%, rgba(145,145,145,1) 0%, rgba(208,208,208,1) 100%); */



ul{
    list-style: none;
}

nav a{
    text-decoration: none;
}

a{

    color : rgb(0, 81, 255);
    text-decoration: none !important;

}


a:hover{
    color: rgb(255, 0, 0);
}

nav{
    z-index: 550;
    padding-left: 10%;
    padding-right: 10%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}



.top-nav{
    padding-top: 6px;
    display: flex;
    gap: 2rem;
    justify-content: space-between; 
    align-items: center;



}


.home{
    background-image: url("../images/code_bg.jpg");
    height: 500px;

}
.cadre{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}




.home-content{
    color:white;
    height: 100%;
    width: 100%;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;

}

.home-description{
    border: 2px #FFFFFF solid;
    border-radius: 10px;
    padding: 0 10px 10px 20px;
    width: 35%;
    min-width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.loisirs {
    padding: 0;

}

.skills{

    margin-left: 20%;
    margin-right: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    height:auto ;
}

.skills ul{
    gap: 1rem;
    width: 75%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
    
}

.skills h1{
    padding: 1%;
    margin: 5% 0 5% 0;
    border-bottom: 2px solid #000000;
}

.skills ul li{
    line-height: 3em;
    flex: 1 0 21%
}

.skills ul li div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
.skills ul li div img{
    align-self: center;
}

.projects{
    margin: 0% 5% 0% 5%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-wrap: wrap;


}

.project-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.projects-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 5%;
}

.project-container{
    margin: 0% 5% 0% 5%;



}


img { 
    transition: 0.5s ; 
    padding-bottom: 20px;
}
.projects-content img:hover { 
    scale: 1.1;
    transition: 0.5s ; 
}

.active{
    width: 100%;
}




@media screen and (max-width: 801px) {
    nav{
        position: relative;
        flex-direction: column;

        /* padding-bottom: 20px; */
        

    }
    .top-nav{

        flex-direction: column;
        
        padding: 0;
    }

    .home{
        height: fit-content;
        
    }
    .home-content{
        padding-top: 20px;
        flex-direction: column;
        height: fit-content;
        padding-bottom: 20px;
        
    }
    .home-description{
        align-items: center;
        justify-content: center;
        border: none;
        width: auto;
        text-align: center;
    }
    .boutons *{
        margin: 5px;
    }
    .skills{
        width: 100%;
        margin: 0;
        padding: 0;
        text-align: center;
        justify-content: center;
        align-items: center;
        
    }
    .skills ul{
        padding: 1%;
        margin: 1%;
        width: auto;
    }



    .projects{
        
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0;
    }
    .project-container{
        margin: 0% 5% 0% 5%;
        display: flex;
        flex-direction: column;



    }
    .project-desc{
        margin: 0% 5% 0% 5%;        
    }
    .projects-content{
        margin-bottom: 50px;
    }









}


/* input:checked ~ .theme{
    color: white;
    background-color: rgb(255, 255, 255);
} */


