/*---------------------
    Reset
---------------------*/
*, *:before, *:after{
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    font-family: "Roboto",'sans-serif';

}
h1{
    font-size: 48px;
    font-weight: 400;
    text-transform: uppercase;
}
h2{
    font-size: 56px;
    font-weight: 700;

    margin: 100px 0 100px 0;
}
h3{
    font-size: 40px;
    font-weight: 700;
}
p{
    font-size: 30px;
    margin: 50px 0 ;
}
a{
    text-decoration: none;
}
ul{
    font-size: 25px;
    font-weight: 300;
}

/*----------------------------
           structure
----------------------------- */
.wrapper{
    width: 1400px;
    margin: auto;
}
header{
    color: white;
    background:rgba(29, 24, 87, 0.9);

    display: flex;

}

#logo{
    display: inline-block;
}
.profil{
    display: inline-block;
    width: 50%;
    margin: 50px 0 50px 0;
}
nav{
    display: flex;
    justify-content: space-between;


    font-weight: 300;
    font-size: 25px;

    margin-top: 50px;
    margin-bottom: 50px;
}
nav ul{
    display: flex;
}
nav ul li{
    padding-left: 30px;
    line-height: 100px;
}
ul a{
    color:white;
    transition: all ease-in 0.3s;
}
ul a:hover{

    text-decoration:underline #FFC300;
    transition: all ease-in 0.3s;

}
#photo-profil{
    display: inline-block;
    width:370px;
    height:500px;

    margin-right: 50px;

    background-image:url("images/photo-profil.jpg");
    background-size: cover;
    background-position: 15% 100%;
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.profil{
 display: flex;
    width: 100%;
    justify-content: space-around;
}
.info-profil{
    padding-top: 150px;

}
.info-profil h1{
    margin-bottom: 25px;
}
.info-profil ul{
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    text-align: right;
}
.button{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 40px 0;

    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;

    width: 400px;
    height: 75px;

    color: black;
    background: white;

    transition: ease-in 0.3s;
    -webkit-clip-path: polygon(13% 0, 88% 0, 100% 49%, 87% 100%, 13% 100%, 0 54%);
    clip-path: polygon(13% 0, 88% 0, 100% 49%, 87% 100%, 13% 100%, 0 54%);
}
.button:hover{
    background: black;
    color: white;
    transition: ease-in 0.3s;
}
/**********
    projets
***********/
.projets{
    margin: 0 0 50px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

}
.projets .button{
    background: black;
    color: white;
    margin-right: 50px;
    margin-left: 50px;
}
.projets .button:hover{
    background:lightgray;
    color: black;
}
.polygon{
    padding: 0 40px;
    position: relative;
    width: 350px;
    height: 450px;
    display: flex;
    align-items: center;


    margin-left: 10px;


    background: black;
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.projets div{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.polygon img{
    transition: all ease-in 0.2s;
}
.overlay{
     position: absolute;
     width: 100%;
     height: 100%;
     background:rgba(29, 24, 87, 0.7);
     transition: all ease-in 0.3s;
 }
.polygon h3{

    text-align: center;
    color: white;
    font-size: 25px;
    font-weight: 700;
    position: absolute;

    margin: 0 20px;
}
.polygon:hover h3{
    display: none;
}
.polygon:hover .overlay{
    height: 0;
    opacity: 0;
    transition: all ease-in 0.3s;
}
.polygon:hover{
    cursor:pointer;
}



/**************
    compétences
***************/
#competences{
    background:linear-gradient( rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/background_comp.jpg");
    background-size: cover;
    width: 100%;
    max-height: 1080px;
    color: white;
    font-weight: 200;

}
#competences .wrapper{
    display: flex;
    justify-content: space-between;

}
.infocomp{
    width: 50%;
}
.logocomp{
    width: 50%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 100px 0;
}
#competences .wrapper .logocomp div img{
    width: 70%;

}
#competences .wrapper .logocomp div{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    background:#FFC300;
    width: 190px;
    height: 260px;
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);

}
/**************
    À propos
***************/
#apropos{
    background: white;
    width: 100%;
}
#apropos img{
    width: 50%;
    object-fit: cover;
}
#apropos .wrapper{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
#apropos .wrapper .contenupropos{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.proposinfo{
    width: 50%;
    display: flex;
   flex-wrap: wrap;
    margin: 0;
}
.quality{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 110px;
    height: 150px;


    background: #FFC300;
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.proposinfo div .quality{
    font-size: 96px;
    font-weight: 700;
    color: white;
    margin: 0 40px 30px 0;
}
.proposinfo div:nth-child(2) .quality{
    background: #571845;
}
.proposinfo div:nth-child(3) .quality{
    background: #C70039;

}
.proposinfo div{
    display: flex;
    justify-content: flex-start;
    width:100%;
}
.proposinfo, p:first-child{
    line-height: 40px;
    letter-spacing: 2px;


}
#apropos .button{
    background: black;
    color: white;
}
#apropos .button:hover{
    color: black;
    background: lightgray;
}
/**************
    footer
***************/
footer {
    color: #fff;
    background:rgba(29, 24, 87, 0.9);
    height: 100%;

}
footer .wrapper{
    display: flex;
   justify-content: center;
    flex-wrap: wrap;
}
footer ul{
    display: flex;
    justify-content: center;
    width: 100vw;
}
footer ul li{
    margin: 0 20px;
}
.mediaSociaux{
    display: flex;
    justify-content: center;
    margin: 20px 0;
    width: 100%;
}
.mediaSociaux div{
    display: flex;
    justify-content: center;
    align-items: center;

    width: 60px;
    height: 60px;
    background: white;
    margin: 0 30px;
    transition: ease-in 0.6s;

    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.mediaSociaux div:hover{
    background: black;
    transform: rotate(360deg);
    transition: ease-in 0.6s;
}
.mediaSociaux div:hover img{
    filter: invert(100%) sepia(1%) saturate(7485%) hue-rotate(143deg) brightness(101%) contrast(106%);
    transition: ease-in 0.3s;
}
#particles-js{
    position:fixed;
    display: block;
    top: 0;
    left: 0;
    z-index: -1;
    background: white;
}
/*-----------------------------------------------------------------------------page de projets*/
#projets{
    display: flex;
    justify-content:center;
    flex-wrap: wrap;
}
#projets .button{
    background: black;
    color: white;
    margin-right: 50px;
    margin-left: 50px;
}
#projets .button:hover{
    background:lightgray;
    color: black;
}
.polygon_projet{
    padding: 0 40px;
    position: relative;
    width: 350px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;

    margin-left: 10px;

    background: black;
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.polygon_projet h3{

    text-align: center;
    color: white;
    font-size: 25px;
    font-weight: 700;
    position: absolute;

    margin: 0 20px;
}
.realisation{
    display: flex;
    background:rgba(29, 24, 87, 0.9);
    color: white;
    font-size:1.875em ;
    font-weight: 300;
    margin: 0 0 50px 0;
    padding: 50px 50px;
}
.realisation .description a p{
    font-size: 0.5em;
}
.realisation .description a{
    color: white;
    margin: 0;

}
.realisation .description a:hover{
    text-decoration: underline #FFC300;
}
.realisation h3{
    text-align: left;
}
.description{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left:50px;
    width: 50%;
}
.moreInfo{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.logiciel{
    display: flex;

}
.logiciel img{
    margin-right: 5px;
}
.liens{
    display: flex;
    flex-direction: column;
}
.liens p{
    margin: 0;
}

/*--------------------------------------------------page 404*/

.erreur404{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.erreur404 h1 {
    font-weight: 700;
    font-size: 150px;
}
.erreur404 .button{
    background: black;
    color: white;
    margin-right: 50px;
    margin-left: 50px;
}
.erreur404 .button:hover{
    background:lightgray;
    color: black;
}
/*--------------------------------------media queries*/
@media only screen and (max-width: 375px) {

}

