*{
    margin: 0;
    padding: 0;
}

html{ 
    scroll-behavior: smooth;
}

body{
    background-color: #131316;
    color:#FAFAFA;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    height:100vh;
    position: relative;
}

a{
    text-decoration: none;
    color:#FAFAFA;
}

.accueil{
    padding: 72px 42px;
    display: flex;
    flex-direction: column;
}

.titre,.titre__projets{
    font-family: 'Kaushan Script', cursive;
    font-size: 57px;
    text-align: center;
    margin-bottom: 24px;
}

.presentation p{
    margin: 0 0 21px;
    line-height: 150%;
}

.presentation p:last-of-type{
    margin-bottom: 42px;
}

.liste__reseaux{
    list-style: none;
    display: flex;
    justify-content: space-evenly;
}

.reseaux__icon{
    display: inline-block;
    width: 50px;
    height: 50px;
    background-repeat: no-repeat;
    background-position: center;
}

.reseaux__icon--mail{
    background-image: url(icons/mail.svg);
}
.reseaux__icon--twitter{
    background-image: url(icons/twitter.svg);
}
.reseaux__icon--instagram{
    background-image: url(icons/instagram.svg);
}
.reseaux__icon--codepen{
    background-image: url(icons/codepen.svg);
}

.reseaux__icon--sortir{
    background-image: url(icons/x.svg);
    width: 100%;
    background-position: right;
}


.lien__text{  
    background-image: linear-gradient(120deg, #8DBDF6 0%, #8DBDF6 100%);
    background-repeat: no-repeat;
    background-size: 0 0;
    background-position: 0 88%;
    transition: background-size 0.25s ease-out;
    color: #8DBDF6;
}

.lien__text:hover{
    color: #FAFAFA;
    background-size: 100% 2px;
}

.lien{
    color: #8DBDF6;
    text-decoration: none;
    position: relative;
}

.lien:hover {
    color: #FAFAFA;
}

.lien::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #8DBDF6;
    transform-origin: bottom right;
    transition: transform .25s ease-out;
}

.lien:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.lien__page__projets{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    margin-top: 42px;
}

.projets__fleche{
    margin-left: 16px;
    transform: rotate(-90deg);
    width: 30px;
    height: 30px;
    background-image: url(icons/fleche.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.projets__fleche--retour{
    transform:  translateX(-10px) rotate(90deg);
    margin: 72px 0 21px 0;
}

.projets{
    padding: 0 42px 72px;
}

.titre__projets{
    text-align: inherit;
}

.projets__liste{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}

.projets__element{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    position:relative;
    padding:3px; 
    margin:24px 3px 0;
    border-radius:8px;
    overflow: hidden;
} 

.projets__description{
    font-size: 16px;
    line-height: 150%;
}

.projets__titre{
    font-family: 'Kaushan Script', cursive;
    font-size: 32px;
    margin-bottom: 9px;
}

.projets__fond{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 18px;
    border-radius:8px;
    background: rgba( 19, 19, 22, 0.99 );
    transition: background 100ms ease-out;
}

.projets__fond:hover{
    background: rgba(50, 50, 50, 0.9);
    transition: background 700ms linear;
}

.projets__element--vcard2{
    background: linear-gradient(120deg, rgba(141,189,246,1) 25%, rgba(19,19,22,1) 100%) border-box;
}
.projets__element--data2021{
    background:linear-gradient(120deg, rgb(43, 102, 255) 0%, rgb(195, 36, 255) 100%) border-box;
}
.projets__element--pictionary{
    background: linear-gradient(120deg, rgba(140,27,49,1) 25%, rgba(255,237,225,1) 100%) border-box;
} 
.projets__element--data2019{
    background:linear-gradient(120deg, rgb(26, 53, 64) 0%, rgb(31, 14, 23) 100%) border-box;
}
.projets__element--iolce{
    background:linear-gradient(120deg, rgb(255, 249, 251) 25%, rgb(231, 218, 218) 100%) border-box;
}
.projets__element--sw{
    background:linear-gradient(120deg, rgba(71,48,16,1) 25%, rgba(211,175,96,1) 100%) border-box;
}
.projets__element--vcard{
    background:linear-gradient(120deg, rgb(156, 201, 227) 25%, rgb(83, 123, 195) 100%) border-box;
}

.projets__element--tfa{
    background: linear-gradient(120deg, rgba(238,240,242,1) 0%, rgba(39,65,84,1) 100%) border-box;
}

.projets__element--beginnink{
    background: linear-gradient(120deg, rgba(105,137,150,1) 25%, rgba(250,250,250,1) 100%) border-box;
}

.projets__element--rux{
    background: linear-gradient(120deg, rgba(36,22,35,1) 25%, rgba(252,236,201,1) 100%) border-box;
}

.projets__element--mytopschedule{
    background: linear-gradient(120deg, rgba(255,237,225,1) 0%, rgba(96,123,125,1) 80%) border-box;
}

.projets__element--data2022{
    background: linear-gradient(120deg, rgba(255,0,0,1) 0%, rgba(243,139,44,1) 25%, rgba(236,220,78,1) 50%, rgba(94,248,193,1) 75%, rgba(53,158,255,1) 100%) border-box;
}

.projets__element--timeless{
    background: linear-gradient(120deg, rgba(82,192,255,1) 0%, rgba(255,0,242,1) 100%) border-box;
}
.projets__element--symbiose{
    background: linear-gradient(120deg, rgba(218,165,32,1) 0%, rgba(218,165,32,1) 100%) border-box;
}

.projets__element--manga{
    background: linear-gradient(120deg, rgba(225,72,66,1) 0%, rgba(246,245,243,1) 100%) border-box;
}


.body__extra{
    background-color: #FAFAFA1A;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    top: 0;
    left:0;
}

.extra__section{
    border-radius:8px ;
    background-color: #131316;
    margin: 0 16px;
    padding: 16px 16px 32px;
    max-width: 85%;
    max-height: 80%;
    overflow-y:scroll ;
}

.presentation .extra__text{
    width: 80%;
    margin:0 auto;
}

.extra__cacher{
    display: none;
}

.cacher{
    display: none;
}

@media(min-width:360px){
    .projets__element{
        height: 200px;
        width: 291px;
    } 
}

@media(min-height:665px){
    .accueil{
        padding: 0 42px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }
    .cacher{
        display: none;
    }
}

@media(min-width:736px){   
    .accueil{
        padding: 72px 42px 0;
        height: unset;
    }

    .liste__reseaux{
        justify-content: space-around;
    }

    .projets__fleche{
        margin-left: 16px;
        transform: inherit;
    }

    .projets__nav{
        display: none;
    }

    .cacher{
        display: inherit;
    } 
}

@media(min-width : 768px){
    body{
        font-size: 20px;
    }

    .accueil{
        padding: 80px 69px 0;
        justify-content: inherit;
        width:400px;
        margin: 0 auto;
        height: initial;
    }

    .titre{
        font-size: 63px;
        margin-bottom: 27px;
    }

    .presentation p{
        margin: 0 0 23px;
    }

    .presentation p:last-of-type{
        margin-bottom: 46px;
    }
    
    .liste__reseaux{
        justify-content: space-around;
    }

    .lien__page__projets{
        font-size: 35px;
        margin-top: 46px;
    }

    .projets__fleche{
        margin-left: 18px;
        transform: inherit;
    }

    .projets{
        display: inherit;
        padding: 0 69px 80px;
    }

    .projets__element{
        margin-top: 46px;
    }

    .projets__element:nth-child(1),.projets__element:nth-child(2){
        margin-top: 36px;
    }

    .projets__description{
        font-size: 18px;
    }
    
    .projets__titre{
        font-size: 35px;
        margin-bottom: 9.5px;
    }

    .projets__nav{
        display: none;
    }

    .extra__section{
        margin: 0 36px;
        padding: 36px;
    }
    
    .extra__section::-webkit-scrollbar{
        width: 16px;
    }
    
    .extra__section::-webkit-scrollbar-thumb{
        border-radius: 8px;
        background-color: #FAFAFA;
    }
    
    .extra__section::-webkit-scrollbar-track {
        background-color: #131316;
    }
    .presentation .extra__text{
        text-align: center;
    }
}

@media(min-width:1024px){
    .projets__liste{
        justify-content: space-evenly;
    }

    .projets__element{
        margin-left: 23px;
        margin-right: 23px;
    }

    .projets__element:nth-child(1),.projets__element:nth-child(2),.projets__element:nth-child(3){
        margin-top: 36px;
    }
}

@media(min-width:1240px){
    body{
        font-size: 22px;
    }

    .accueil{
        padding: 88px 100px 0;
        width:700px;
    }

    .titre{
        font-size: 69px;
        margin-bottom: 29px;
    }

    .presentation p{
        margin: 0 0 25px;
    }

    .presentation p:last-of-type{
        margin-bottom: 50px;
    }

    .liste__reseaux{
        justify-content: space-evenly;
    }

    .lien__page__projets{
        font-size: 39px;
        margin: 29px 0 50px;
    }

    .projets__fleche{
        margin-left: 19px;
    }

    .projets{
        padding: 0 100px 88px;
    }

    .projets__element{
        margin: 0 29px 29px;
        height: 250px;
        width: 341px;
    }

    .projets__element:nth-child(1),.projets__element:nth-child(2),.projets__element:nth-child(3){
        margin-top: 0;
    }

    .projets__description{
        font-size: 19px;
    }
    
    .projets__titre{
        font-size: 39px;
        margin-bottom: 9.5px;
    }

    .projets__liste{
        justify-content: center;
    }

    .extra__section{
        margin: 0 38px;
        padding: 38px 38px 76px;
    }
}

@media(min-width:2000px){
    body{
        padding:25px 5vw;
    }

    .accueil{
        padding-top:0.5vh;
    }

    .projets{
        padding-bottom:0.5vh;
    }
}