@font-face {
    font-family: "Ilyas";
    /* src: url("/font/ilyas.woff2") format("woff2"),
    url("/font/ilyas.woff") format("woff"); */
    src: url('/font/ilyas.otf'); 
    /*note : les autres font (woff-woff2 marchent pas bien (le R) -> soucis de convertion*/
}

  @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,700&display=swap');

:root{
    --first-color: #0055FF;
    --first-color-darker:#123d94;
    --first-color-alt: #A1C0FF;
    --first-yellow:#FAE762;
    --first-blue: #75D4F9;
    --first-green:#7DF975;
    --first-pink:#FFADD1;
    --header-height: 3rem ;
    --body-color:#FFF;

    --z-tooltip: 10 ;
    --z-fixed: 100 ;
    --z-model: 1000 ;

    --header-height: 3rem ;
    --big-font-size: 2rem ;
    --h1-font-size: 2rem ;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1.125rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

    --body-font:"Montserrat", sans-serif;

    /*Font weight*/
    --font-medium: 500 ;
    --font-semi-bold: 600  ;
    --font-bold:800;



    /*Margin-bottom*/
    --mb-0-25: .25rem ;
    --mb-0-5: .5rem;
    --mb-0-75 : .75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;

    /* index */
    --z-tooltip: 10 ;
    --z-fixed: 100 ;
    --z-model: 1000 ;

    --mouse-x:0;
    --mouse-y:0;

}

@media screen and (min-width : 968px) {
    :root {
        --big-font-size :3rem ;
        --h1-font-size: 4rem ;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem ;
    }

}

body{
    margin:0px;
    font-family: var(--body-font);
}

h1{
    font-family: 'Ilyas', sans-serif;
    font-size: 3.5rem;
    text-align: center;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;

    /* z-index: 1; */
    color:blue;
}

p{
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}


.tools{
    font-size: var(--smaller-font-size);
    font-weight: 800;
    max-width: 200px;
    margin: auto;
    opacity: 80%;
}

.date{
    font-size: 12px;
    font-weight: 900;
}


/* .home__content{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0px;
    grid-auto-rows: minmax(100px, auto);
    height: 100vh; 
    overflow: hidden;
} */

.home__content > div{
    border: solid 2px blue;
    text-align: center;
    /* display:flex; */
    justify-content: center;
    /* height:auto; */
    align-items: center;
}

.home__content > div> a{
    text-decoration: none;
    color: inherit;
}

.home__content > div:hover{
    /* background-color: black; */
    /* color: #FFF; */
}
/* .one:hover h2,.two:hover h2,.four:hover h2,.five:hover h2,.six:hover h2{
    color: #FFF;
} */

.home__content > div > h2{
    position: relative;
    /* top: 10vh; */
}

.home__container{
    width:100%;
    height: 100%;
    background-image: url('img/Background064.gif');
    background-size: 10em auto;
    background-repeat: 10;
    /* margin-top:20px; */
}

.home_img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.home__img{
    display: flex;
    justify-content: center;
    align-items:center;
    max-height: 500px;
    filter: drop-shadow(16px 16px 20px var(--first-color));

}

.home__social {
    display: flex;
    position: relative;
    flex-direction:column;
    /* justify-content:center; */
    /* align-items: flex-end; */
    align-items:center;
    margin-bottom:10%;
    margin-top: 3%;
}

.home__social-icon{
    font-size: 1.4rem;
    color:black;
    margin-left: 10px;
    margin-right: 10px;
}

.home__social-icon:hover{
    color: var(--first-color);
    opacity: 80% !important;
}



.one {
    grid-column: 1 / 3;
    grid-row: 1;
    /* background-color: var(--first-yellow); */
    background-image: url('img/3.jpg'); 
    background-size: cover;
    background-position: end center;
    filter: grayscale(100%);

}
.one:hover{
    filter: grayscale(0%);
}


.one h2, .two h2, .four h2, .five h2, .six h2{
    color: white;
}

/* .one:hover{
    background-image: url('img/3.jpg'); 
    background-size: cover;
    background-position: end center;
    filter: grayscale(100%);

} */

.two {
    grid-column: 3 / 3;
    grid-row: 1 / 3;
    /* background-color: var(--first-blue); */
    background-image: url('img/youtube-video-gif.gif'); 
    background-size:110%;
    background-position: center end;
    filter: grayscale(100%);
}

.two:hover{
    /* background-image: url('img/youtube-video-gif.gif'); 
    background-size:110%;
    background-position: center end; */
    filter: grayscale(0%);
}

.mask{
    background: linear-gradient(to bottom right, rgba(255, 255, 0, 0.497), rgba(255, 255, 0, 0.86));
    opacity:100%;
    height: 100%;
    position: absolute;
    width:100%;
    mix-blend-mode: color;
    /* pointer-events: none; */
}

.three {
    grid-column: 2/3;
    grid-row: 2 / 5;
    /*contient portfolio*/
    /* background-image: url('img/pp_home.png'); */
     filter: contrast(130%) brightness(450%);
    background: 
      linear-gradient(
        to bottom right, 
        rgba(0,0,255,1),rgba(149, 0, 255, 0.497)),

        radial-gradient(
            at var(--mouse-x) var(--mouse-y),
            rgba(255,255,255,0.5),rgba(0, 0, 0, 0.5)),
      url("data:image/svg+xml,%3Csvg viewBox='0 0 244 244' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='9.09' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");  

}


.three > span> h1{
    /* margin-top:10vh; */
    z-index: 1;
}

.test > span > h1 {
    filter: drop-shadow(5px 5px 3px var(--first-color));
}

.test3 > img {
    border : 25px transparent solid;
    box-sizing : border-box;
}

.three h1, .three h2, .three .home__social-icon{
    opacity: 100%;
    transition: opacity 0.8s ease;
}


.three:hover h1, .three:hover h2, .three:hover .home__social-icon{
    opacity: 30%;
}

.three> span > h2{
    /* margin-bottom: 100px; */
    font-size: 3em;
    margin-top: -70px;
}

.home__name > h2 {
    font-size: 150px;
    padding: 0;
    margin: 0;
    /* filter: drop-shadow(16px 16px 20px var(--first-color)); */
    filter: drop-shadow(10px 10px 10px var(--first-color));
}

.home__button{
    margin:auto;
    border-radius: .5rem;
    border: solid 1px var(--first-color);
    font-weight: 800;
    text-decoration: none;
    color:var(--first-color);
    padding: 0.5rem;
    transition: all 0.3s ease-in-out; 
}

.home__button:hover {
    border: solid 2px var(--first-color);
    font-size-adjust: var(--h2-font-size);
    text-decoration: none;
    color:var(--first-color);
    padding: 0.5rem 5rem;
    background-color: #0055ff52;

}

.home__button:hover > i.uil-arrow-left{
    transform: translateX(-10px);
    transition: transform 0.3s ease-out;
}

.home__button:hover > i.uil-arrow-right{
    transform: translateX(+10px);
    transition: transform 0.3s ease-out;
}


.home__button > i.uil-arrow-left, .home__button > i.uil-arrow-right{
    font-size: 2rem;
    color:var(--first-color);
    margin:0px;
    /* padding-bottom: 7px; */
    transition: transform 0.3s ease-out;
}




.four {
    grid-column: 3;
    grid-row: 3/5;
    /* background-color: var(--first-pink); */
    background-image: url('img/banniere-discord.png'); 
    background-size:100%;
    background-position: start center;
    filter: grayscale(100%);
}

.four:hover{
    /* background-image: url('img/banniere-discord.png'); 
    background-size:100%;
    background-position: start center; */
    filter: grayscale(0%);
}

.five {
    grid-column: 1/4;
    grid-row: 5;
    /* background-color: var(--first-green); */
    /* background-color: black; */
    background-image: url('img/803z-02.gif'); 
    background-size:100%;
    background-position: start center;
    filter: grayscale(100%);

}

.five:hover{
    /* background-image: url('img/803z-02.gif'); 
    background-size:100%;
    background-position: start center; */
    filter: grayscale(0%);
}

.six {
    grid-column: 1/2;
    grid-row: 2/5;
    /* background-color: #E4E4E4; */
    background-image: url('img/imageprog.png'); 
    background-size:200%;
    background-position: center center;
    filter: grayscale(100%);
}
.six:hover{
    /* background-image: url('img/imageprog.png'); 
    background-size:200%;
    background-position: center center; */
    filter: grayscale(0%);
}

/*NAV*/

header{
    max-width:100vw;
}

.nav {
    height: var(--header-height);
    display: flex;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: var(--font-bold);
    width:100%;
}


.nav>a, 
li>a{
    text-decoration: none;
    color:inherit;
}

ul{
    list-style-type: none;
}
.nav__logo{
    font-size: 4rem;
}

.nav__logo:hover{
    color: var(--first-color);
    text-decoration: none;
}

.nav__toggle{
    font-size: 1.5rem ;
    cursor: pointer;
    font-weight: var(--font-medium);
}

.nav__toggle:hover{
    color: var(--first-color);
}

.nav__btns{
    /* display: flex;
    margin-left: auto;
    margin-right: 15px; */
    display: none;
}

@media screen and (max-width: 767px){
    .nav__menu{
        position: fixed;
        bottom: -100%; /*le menu est caché en dessous*/
        width:100%;
        background-color: var(--body-color);
        padding: 2rem 1.5rem 4rem;
        box-shadow: 0 -1px 4px rgba(0,0,0,.15);
        border-radius: 1.5rem 1.5rem 0 0;
        transition: .3s;
    }
}

.nav__list {
    /* grid-template-columns: repeat(3, 1fr);
    gap : 2rem; */
    /* margin:0 !important; */
    padding-left: 0;
    padding-right:10px;

}

.nav__list > li{
    font-size: 1.5rem;
    color: blue;
    border: solid 2px blue;
}

.nav__link{
    display: flex;
    flex-direction: column;
    align-items: center;
    /* font-size: 1.2rem; */
    font-weight: 400;
    padding-left: 30px;
    padding-right: 30px;
    margin:auto;
    margin-top:10px;
}

.nav__main{
    /* height: 100px; */
    padding-left:30px;
    padding-right:30px;
    font-family: Ilyas, serif !important;
    margin-top: 5px !important;

}

.nav__list>li>.nav__main{
    font-size: 3rem;

}

.nav__link:hover {
    /* text-decoration: underline; */
    color:var(--first-color-alt);
    
}

.nav__icon{
    font-size: 1.2rem;
}

.nav__close {
    position: absolute;
    right: 1.3rem;
    bottom: 2.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--first-color);
    font-weight: 800;

}

.nav__close:hover{
    color:var(--first-color-alt);
}

/* SHOW MENU */
.show-menu {
    bottom: 0;
}

/*HEADER*/
.header {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: var(--z-fixed);
}

/*GALLERIE*/
.gallery__body, .cv__body, .contact__body, body{
    /* background-color: #0055FF; */
    background-image: url('img/Background064.gif');
    background-size: 10em auto;
    background-repeat: 10;
    margin-top:20px;
}
.gallerie{
    width: 100%;
    align-items:center;

}

.gallerie__data{
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0px;
}

.gallerie__img{
    border: 2px solid var(--first-color-lighter);
    float: left;
    border-radius: 0.7rem;
    width: auto;
    position: relative;
    display: block;
    cursor: pointer;
    overflow: hidden;
    height: 300px;
}
.gallerie__img:hover{
    border: 4px solid var(--first-color);
    transition: 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,.15);
}

.gallerie-picture{
    border-radius: .5rem;
    width: 100%;
}


.grid {
    display: grid;
    gap: 1.5rem;
}

.container{
    margin-left:auto;
    margin-right:auto;
    max-width:768px;
}

/*NEW GALLERY*/

.section__title{
    margin:0;
    padding:0;
}
.gallery__container{
    position:relative;
    /* max-width: 70vw; */
    max-width: 90%;
    width:100%;
    margin: 50px auto;
    padding:20px;
}

button{
    /* padding: 10px 20px; */
    font-size: 1em;
    background-color: rgba(0, 0, 0, 0);
    border:none;
    color:rgb(104, 104, 104);
    cursor: pointer;
}

.filter__buttons{
    display: flex;
    align-items: center;
    /* gap:0.5em; */
    flex-wrap: wrap;
}

.separator {
    font-size: 18px;
    color:rgb(104, 104, 104);
    font-weight: 800;
    font-family: 'Courier New', Courier, monospace;
}
button:hover{
    color:black;
}

button.active{
    /* background-color: black; */
    color:blue;
    font-weight: 700;
    /* color:#FFF; */
}

.filterable__cards{
    margin-top: 25px;
    display: flex;
    padding: 3px;
    gap: 20px;
    flex-wrap: wrap;
    margin: auto;
    align-items: center;
}

.card{
    flex-basis: 270px;
    width:270px;
    flex-grow: 1;
    z-index: 0;
    /* pointer-events: auto; */
    position:relative;
    cursor: pointer;

    background-blend-mode:normal;
    /*background-color:var(--first-yellow);*/
    background-image: url('img/image.png');
    background-size: 100% auto;
    background-repeat: 10; 
    /* border: 2px solid var(--first-yellow);
    background-blend-mode:color-dodge;

    background: 
    linear-gradient(
      to right, 
      rgba(0,0,255,1),rgba(217, 255, 0, 0.895)),

    url("data:image/svg+xml,%3Csvg viewBox='0 0 244 244' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='20' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");   */

}

.card a {
    text-decoration: none;
    color:#000;

}

.card:hover{
    transition: 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,.15);

}

.card img{
    width:100%;
    /* height:300px; */
    height:210px;
    object-fit: cover;
    object-position:center;
}

.card__body{
    padding: 10px 10px 10px;

}

.card__title{
    font-family: Montserrat;
    font-weight: 600;
    /* color: #FFF; */
    text-align: center;
}

.card__text{
    font-size:var(--small-font-size);
}

.card.hide{
    display: none;
}

.desc {
    text-align: center;
    font-size: var(--normal-font-size);
    height: 0;
    opacity: 1;
    transition-delay: 0s;
    transition-duration: 0.4s;
    padding: 2rem;
}
.desc-div{
    opacity: 0;
    position: absolute;
    left: 0;
    top:0px;
    color: #fff;
    background-color: blue;
    width: 100%;
    height: 100%;
    -webkit-transition: all 400ms ease-out;
    -moz-transition: all 400ms ease-out;
    -o-transition: all 400ms ease-out;
    -ms-transition: all 400ms ease-out;
    transition: all 400ms ease-out;
    text-align: center;
}
.desc-div:hover{
    opacity:1;
}
.card .desc-div:hover .desc {
    opacity: 1;
    transform: translateY(250px);
    -webkit-transform: translateY(50px);
}

.gallerie .desc:hover {
    opacity: 1;
}
.gallerie-icon{
    height:30px !important;
    width:30px !important;
    margin: .5rem;
}
.desc-div i.uil-arrow-down {
    position: absolute;
    top:160px;
    color:var(--first-color);
    right: 10px;
    font-size: 5rem;
    transform: rotate(100deg);
    transition: transform 0.3s ease-out;
}

.desc-div:hover i.uil-arrow-down {
    transform: rotate(315deg); 
    color:#FFF;
}

@keyframes rotateArrow {
    0% {
        transform: rotate(100deg);
    }
    100% {
        transform: rotate(315deg);
    }
}

.cv{
    display: flex;
    justify-content: center;
    align-items: center;
}
.cv__img{
    margin-top:20px;
    max-width:500px;
    flex-grow: 1;
    z-index: 0;
    position:relative;
}
.cv--img{
    width:100%;
}
.desc-cv{
    opacity: 0;
    position: absolute;
    left: 0;
    top:0px;
    color: #fff;
    background-color: blue;
    width: 100%;
    height: 100%;
    -webkit-transition: all 400ms ease-out;
    -moz-transition: all 400ms ease-out;
    -o-transition: all 400ms ease-out;
    -ms-transition: all 400ms ease-out;
    transition: all 400ms ease-out;
    text-align: center;

}

.desc-cv:hover{
    opacity:1;
    cursor: pointer;
}
.desc-cv:hover .desc {
    opacity: 1;
    transform: translateY(250px);
    -webkit-transform: translateY(50px);
}
.contact{
    display:flex;
    justify-content: space-between;
    /* padding-right:300px;
    padding-left: 300px; */
    align-items: center;
    margin:auto;
}

.contact__title,
.contact__subtitle{
    text-align: center;

}

.contact__title{
    margin-bottom:20px;
}

.contact__subtitle{
    margin:auto;
}

.contact__text{
    text-align: right;
    margin-top: 50px;
}
.contact__information {
    display: flex;
    flex-direction: row-reverse;
    margin-bottom:var(--mb-0-25) ;
}

.contact__icon{
    font-size: 2rem;
    color: var(--first-color);
    margin-top:10px;
}

.contact__social{
    font-size: var(--h3-font-size);
    font-weight: 700;
    margin-right: var(--mb-0-75);
}

.contact__information a{
    text-decoration: none;
    color:#000;
}

.banner{
    width:100%;
}


.project__video__top, .banner{
    margin-top:30px;
}

.project__container{
    display: flex;
    justify-content: space-between;
    padding-left: 20px;
    padding-right: 20px;
}

.project__icon{
    font-size: 1.5rem;
    margin-right:10px;
}

.project__roles,
.project__software{
    font-weight: var(--font-bold);
    font-size: var(--normal-font-size);
    padding:1rem;
    max-width:500px;
    opacity:60%;
}

.project__roles{
    background-color: var(--first-color-alt);
    color:var(--first-color);
}

.project__software{
    background-color: var(--first-color);
    color:var(--first-color-alt);
}

.project__subtitle, .project__date{
    margin-left: 30px;
}
.project__subtitle{
    margin-bottom: 0;
}
.project__date{
    font-size: var(--smaller-font-size);
    padding-left:10px;
    color:var(--first-color-darker);
    font-weight: 800;
}

.project__description{
    font-size: var(--normal-font-size);
    font-weight: 500;
}

.img__container{
    padding-left: 10%;
    padding-right: 10%;
}

.img__container > img{
    margin:auto;
    width:100%;
}

iframe{
    width:100%;
    height:400px;
    border: var(--first-color-alt) 3px solid;
    filter: drop-shadow(4px 4px 5px var(--first-color));
}
.project__video
{
    width:100%;
}

/* .project__img__div{
    width:80%;
    display: flex;
    justify-content: center;
    align-items: center;
} */
.project__img{
    width:100%;
    margin-top: 10px;
   
} 

.border__img{
    border: var(--first-color-alt) 3px solid;
    filter: drop-shadow(5px 5px 10px var(--first-color));

}
.project__container > .visual,
.project__container > .text{
    padding:20px;
    width:50%;
  
}
.div__button{
    display: flex;
    align-items: center;
    padding-top: 50px;
    justify-content: center;
}
.div__button__project{
    display: flex;
    align-items: center;
    padding-top: 10px;
    justify-content: center;
}
.div__button a,
.div__button__project a {
    padding: 0.6rem 1.5rem 0.6rem 0.6rem;
    text-decoration: none;
}
.little__project__images{
    display: flex;
    flex-direction: row;
    width: 100%;
}

.little__project__img{
    max-width: 30%;
    margin:2%;
}
.gallery__button{
    margin:auto;
    background-color:var(--first-color);
    align-items: center;
    display:inline-block;
    /* padding:0.5 1rem 0.5rem 1rem; */
    border-radius: .5rem;
    font-weight: 600;
    text-decoration: none;
    color:#FFF;
}

.gallery__button:hover{
    background-color: var(--first-color-darker);
}

.gallery__button:hover i.uil-arrow-left{
    transform: translateX(-10px);
    transition: transform 0.3s ease-out;
}

.gallery__button i.uil-arrow-left{
    font-size: 2rem;
    color:#FFF;
    margin:0px;
    padding-bottom: 7px;
    padding-left:10px;
    transition: transform 0.3s ease-out;
}

.project__button{
    font-weight:var(--font-bold);
    color:var(--first-color);
    font-size: var(--normal-font-size);
}
.project__button i.uil-link-alt{
    font-size:1.3rem;
    margin-right:5px;
}
.project__button:hover{
    transform: translateY(10px);
    transition: transform 0.3s ease-out;
    color:var(--first-color-darker);
}
.button--flex{
    display: inline-flex;
    align-items:center;
}

.contact--img{
    max-height: 500px;
    filter: drop-shadow(16px 16px 20px var(--first-color));
}
.footer {
    padding-top: 2rem;
}

.footer__container {
    row-gap: 3.5rem ;
}

.footer__bg {
    background-color: var(--first-color);
    padding: 2rem 0 3rem;
}

.footer__title{
    font-size:var(--h1-font-size);
    margin-bottom: var(--mb-0-25);
    margin-top: var(--mb-2);
}

.footer__subtitle{
    font-size: var(--small-font-size);
}

.footer__links {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;

}

.footer__link:hover{
    color:var(--first-color-alt);
}

.footer__social{
    font-size: 1.25rem;
    margin-right: var(--mb-1-5) ;
    margin-top: var(--mb-1-5) ;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    flex-direction: row;
}

.footer__social:hover{
    color:var(--first-color-lighter);
}

.footer__copy{
    font-size: var(--smaller-font-size);
    text-align: center;
    color: var(--text-color-light);
    margin-top: var(--mb-3);
}

.footer__title,
.footer__subtitle,
.footer__link,
.footer__social {
    color: #FFF;
}


/*MEDIA QUERIES */

/* SMALL */

@media screen and (max-width : 568px){
    header{
        position:fixed;
        top:0;
        left:0;
        background-color: #FFF;
        z-index: 100;
        width: 100%;
        padding-bottom:5px;
        box-shadow: 0 4px 8px rgba(0,0,0,.15);
    }
    .three > span> h1{
        font-size: 3.5rem;
    }

    .nav__menu{
        padding: 2rem .25rem 4rem;
        z-index: 100;
    }

    .nav__logo {
        padding-top: 10px;
        font-size: 2rem;
    }
    .nav__toggle{
        font-size: 1.2rem ;
    }
    .nav__btns{
        align-items: center;
        display: flex;
        margin-left: auto;
        margin-right: 15px; 
        
    }

    .nav__main{
        padding-left: 18px;
    }

    .nav__item > .nav__main {
        padding-left: 60px;
        padding-right: 60px;
    }

    .body__index{
        overflow: hidden;
    }

    .home__social-icon{
        font-size: 1.2rem;
    }

    .home__content{
        display: flex;
        flex-direction: column-reverse;
        height: 100vh;
        box-sizing: border-box;
        border: blue 10px solid;
    }

    .home__content > div{
        border: none;
        display: flex;
    }

    .test{
        height: 100%;
        /* height: clamp(40%, 70%, 100%); */
        z-index: var(--z-fixed);
        top:0;
    }

    .test > span > h3 {
        font-size: var(--smaller-font-size);
    }

    .test2, .test3{
        position: fixed;
        opacity: 50%;
    }

    .test2{
        top: 40%;
        left:-30%;
        /* transform: translateX(-30%); */
        z-index: -3;
    }

   

    .test3 {
        right: -20%;
        
        top: -30%;
        z-index: -5;
        
    }

    .test2 > img {
        height: 800px;
    }


    .home__button{
        background-color: blue;
        color: var(--first-color-alt);
    }
    
    .home__button:hover {
        padding: 0.5rem 2rem;
    
    }
    
    .home__button:hover > i.uil-arrow-left{
        transform: translateX(-10px);
        transition: transform 0.3s ease-out;
        color:var(--first-color);
    }
    
    .home__button:hover > i.uil-arrow-right{
        transform: translateX(+10px);
        transition: transform 0.3s ease-out;
        color:var(--first-color);
    }
    
    
    .home__button > i.uil-arrow-left, .home__button > i.uil-arrow-right{
        color: var(--first-color-alt);
    }


    /* .test3 > img {
        height: 1000px;
    } */

    /* .test{
        height: 100vh;
        display: flex;
        flex-direction: column-reverse;
    } */

    .body__index{
        height:100%;
    }
    h1{
        font-size: 3em;
    }

    .home__name > h2 {
        font-size: 75px;
        filter: drop-shadow(8px 8px 2px var(--first-yellow));
    }

    .test > span > h1 {
        filter: drop-shadow(5px 5px 2px var(--first-color));
        margin:0;
    }

    body{
        margin-top:60px;
    }
    .body__index{
        margin-top: 0;
    }
    .container{
        margin-left: var(--mb-1);
        margin-right: var(--mb-1);
        
    }
    .project__section{
        padding : 10px;
    }

    .project__container, .contact__container, .contact{
        display: block;
        padding-left: 0px;
        padding-right: 0px;
    } 
    .project__container > .visual,
    .project__container > .text{
        width:auto;
        padding:0;
    }
    .project__container >.text, .contact__text{
        margin-left:40px;
        margin-right:40px;
    }
    
    .contact__text{
        text-align: left;
        margin-top: 20px;
    }
    .contact__information {
        flex-direction: row;
    }

    .contact__icon{
        font-size: 2rem;
        margin-right:10px;
    }

    .contact__title,
    .cv--title{
        padding-top: 50px;
    }

    .contact__social{
        margin-left: var(--mb-0-75);
    }
    .img__container{
       padding:0;
    }

    .little__project__images{
        display: block;
    }

    .little__project__img{
        max-width: 100%;
        margin:auto;
        align-items: center;
    }

    .footer__socials{
        justify-self: flex-end;
    }

    .footer__container{
        grid-direction: row;
    }


    
}

/*MEDIUM*/
@media screen and (min-width : 568px){

    header{
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: var(--z-fixed);
        background-color: #FFF;
        height: 70px;
        box-shadow: 0 4px 8px rgba(0,0,0,.15);
    }


    .three > span> h1{
        font-size: 3.5rem;
    }


    .home__content{
        /* display: flex; */
        /* display: block; */
        /* flex-direction: column-reverse; */
        height: 100vh;
        box-sizing: border-box;
        border: blue 10px solid;
        
    }

    .home__content > div{
        border: none;
        overflow: clip;
        overflow-y: clip;
    }


    .test{
        height: 100%;
        z-index: var(--z-fixed);
        top:0;
        display: flex;
    }

    .test>span{
        align-items: center;
    }

    .test > span > h3 {
        font-size: var(--smaller-font-size);
    }

    .test2, .test3{
        position: fixed;
        opacity: 50%;
    }

    .test2{
        top: 40%;
        left:-10%;
        /* left:-2rem;
        top:4rem; */
        z-index: -3;
    }

    .test3 {
        right: -10%;
        /* right:-2rem; */
        top: -20%;
        /* top: -4rem; */
        z-index: -5;
    }

    .test2 > img {
        height: 800px;
    }


    .nav__menu{
        z-index: 100;
        padding: 2rem .25rem 4rem;
    }
    .nav__logo{
        padding-top: 18px;
        font-size: 2rem;
    }

    .language-switcher{
        padding-top: 18px;
        font-size: 9px;
    }
    .nav__btns{
        padding-top: 20px;
        display: flex;
        margin-left: auto;
        margin-right: 15px; 
    }
    .nav__list > li{
        font-size:1.3em;
    }
    
    .footer__container{
        grid-template-columns: repeat(2,1fr);
    }

    /* body{
        margin-top:100px;
    } */
    .contact__text{
        margin-left:40px;
        width:40%;
    }
    .contact--img{
        max-height: 300px;
        padding-right:100px;
    }
    .home__name > h2 {
        font-size: 75px;
    }



    .test > span > h3 {
        font-size: var(--small-font-size);
    }

    .body__index{
        margin-top: 0;
      
    }

    .home__container{
        width: 100vw; /* Fixe la largeur à 100% de la largeur de la fenêtre */
        overflow-x: hidden; 

    }

    .project__section{
        padding : 0px 50px 50px;
    }

    
    .project__container{
        display: block;
    }
    .project__container > .visual,
    .project__container > .text{
        width:auto;
        padding:0;
    }
}



@media screen and (min-width : 768px){
    .three > span> h1{
        font-size: 3em;
        margin-bottom: 70px;
    }

    .test > span> h1{
        font-size: 3em;
        /* margin-bottom: 70px; */
       
    }

    .nav__btns{
        /* display: flex;
        margin-left: auto;
        margin-right: 15px; */
        display: none;
    }

    .home__img{
        height: auto;
        max-width: 80%;
        max-height:400px;
    }
    
    .test2 > img {
        height: auto;
    }

    .test > span > h3 {
        font-size: var(--smaller-font-size);
    }


    .test2, .test3{
        position:relative;
        opacity: 100%;
        display:flex;
        align-items: center;
        top:0;
        left:0;
    }


    header{
        position:relative;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0);
        display: flex;
        align-items: center;
       
    }


    .home__content {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 0px;
        grid-auto-rows: minmax(100px, auto);
        /* height: 100vh;  */
        /* overflow: hidden; */
    }

  
    .nav{
        height: calc(var(--header-height) + 3rem);
    }



    .nav__icon,
    .nav__close,
    .nav__toggle{
        display: none;
    }
    .nav__list{
        display: flex;
        margin-top: var(--mb-1-5);
        justify-content: space-between;
    }
    .nav__list > li{
        font-size:1.3em;
    }


    .nav__logo{
        font-size: 4rem;
    }
    
    .nav__menu{
        margin:auto;
        padding:0;
    }
    
    /* body{
        margin-top:0;
    } */
    h2{
        font-size: var(--big-font-size);
    }

    .container{
        margin-left: auto;
        margin-right: auto;
    }
    .contact{
        padding-right:100px;
        padding-left: 100px;
    }
    .contact--img, .home__img{
        max-height: 400px;
    }

    .home__name > h2 {
        font-size: 90px;
    }



    .footer__container{
        padding: 0 1rem;
    }

    .footer__container{
        grid-template-columns: repeat(3, 1fr);
    }
    .footer__bg{
        padding: 3rem 0 3.5rem;
    }
    .footer__links{
        flex-direction: row;
        column-gap: 2rem;
        align-items: flex-end;
    }

    
    .footer__copy{
        margin-top: 4.5rem;
        
    }

  

    .project__container{
        display: flex;
        justify-content: space-between;
    }
    .project__container > .visual,
    .project__container > .text{
        padding:20px;
        width:50%;
    }
    .footer__links{
        align-items: center;
        justify-content: center ;
    }

    .language-switcher{
        font-size: 12px;
        padding-top: 0;
    }

}

/*LARGE*/

@media screen and (min-width:1024px){
    .three > span> h1{
        font-size: 4rem;
    }

    .test > span > h1{
        font-size: 4rem;
    }
    .header{
        padding: 0;
        top: 20px;

    }
    .home__content{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 0px;
        grid-auto-rows: minmax(100px, auto);
        height: 100vh; 
        overflow: hidden;
    }
    .nav__list > li{
        font-size:1.5em;
    }

    h2{
        font-size : 4em;
    }
    .contact{
        padding-right:300px;
        padding-left: 300px;
    }
    .contact--img, .home__img{
        max-height: 500px;
    }

   

    .home__name > h2 {
        font-size: 110px;
    }
    .footer__container{
        padding: 0;
    }
    /* .nav__list{
        padding-left:10vw;

    } */
    .project__section{
        padding : 0px 200px 50px ;
    }

    .footer__links{
        align-items: center;
        justify-content: center ;
    }
}

@media (max-height: 550px) {
    span > h1 {
        font-size: 1.5rem;
        margin: 0;
    }

    .home__name h2{
        font-size: 3rem;
    }

    .home__social{
        flex-direction: row;
        justify-content:center;
        
    }
}

@media (max-height: 300px) {
    span > h1 {
        display: none;
    }

    .home__name {
       display: flex;
       flex-direction: row;
    }

    .home__name > h2 {
        margin: 7px;
    }

    .home__social{
        flex-direction: row;
        justify-content:center;
        
    }
}





@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) {
      .mask {
        display: none;
      }
      .card{
        background-blend-mode:normal;
        /*background-color:var(--first-yellow);*/
        background-image: url('img/image.png');
        /*background-size: 10em auto;*/
        background-repeat: 10;
        background-size: 100% auto;

      }

      .card__title{
        color:var(--first-color);
      }
      
      /*changer la couleur de la gallery : enlever le dégradé pour safari et mettre du jaune ?/bleu clair*/
      /*appliquer une couleur de titre pour la gallery*/
    }
}
    @supports (-webkit-touch-callout:none) {
      .mask {
        display: none;
      }
      
      .card {

      }
    }



    /*LANGUAGE*/

    .language-switcher {
        display: flex;
        align-items: center;
        /* gap:0.5em; */
        flex-wrap: wrap;
        margin-right: 5%;
        font-weight: 400;
        font-family: var(--body-font);    
    }

    .language-switcher a {
        text-decoration: none; 
        color:black;
        font-size: 13px;
    }

    .language-switcher a:hover {
        color:var(--first-color);
    }

    .nav__language.active {
        color:blue;
        font-weight: 800;
        text-decoration: underline;
        font-size: 20px;
    }
    