/* BOX-SIZING */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/*POLICES*/

@font-face {
    font-family: "lato";
    src: url("./fonts/Lato.woff2") format("woff2"),
        url("./fonts/Lato.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "lex";
    src: url("./fonts/Lexend-Light.woff2") format("woff2"),
        url("./fonts/Lexend-Light.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}


/* HTML ET BODY -> NAVIGATION HORIZONTALE */
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-size: 1rem;
    scroll-behavior: smooth;
    overflow-x: hidden;
}


body {
    margin: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #fcf8f8;
}

::-webkit-scrollbar-track {
    background-color: #ffff;
}

::-webkit-scrollbar {
    height: 6px;
    width: 6px;
    background-color: #ffff;
}

::-webkit-scrollbar-thumb {
    background-color: #8c5e3d;
    border-radius: 8px;
}

.base {
    width: 100%;
    height: 100%;
}

/* POSITIONNEMENT PAGES PAR RAPPORT MENU */

.container {
    margin-top: 40px;
    padding-left: 5%;
    padding-right: 5%;
    height: 100%;
}

/* TITRE PARTIES */
h3 {
    color: #8c5e3d;
    margin: 0;
    padding: 15px;
    font-size: 2.8vw;
    font-family: 'lex';
}

/* MENU FIXE */

menu {
    background-color: #ceb69e;
    width: 100vw;
    padding-bottom: 8px;
    padding-top: 8px;
    position: fixed;
    padding-left: 10px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: end;
    z-index: 10000;
    box-shadow: 4px 4px #ceb69e33;
}

menu a {
    font-family: 'lex';
    color: #fcf8f8;
    display: inline;
    font-size: 1.8vw;
    text-decoration: none;
    margin-right: 65px;
    cursor: pointer;
}

menu a:hover {
    transition: ease-in 0.4s;
    color: #8c5e3d;
}

/* ACCUEIL */

.accueil {
    background-color: fcf8f8;
    background-image: url(./img/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: left;
    align-items: center;
    height: 100vh;
}

h1 {
    color: #8c5e3d;
    line-height: 0;
    font-size: 3.4vw;
    letter-spacing: 2.5px;
    font-family: 'lato';
    padding-bottom: 15px;
}

h2 {
    color: #8c5e3d;
    font-size: 2vw;
    letter-spacing: 3px;
    font-family: 'Lato';
    margin-bottom: 50px;
    display: none;
}

.pres {
    color: #ceb69e;
    font-family: 'lex';
    font-size: 1.8vw;
    height: 80%;
    text-align: justify;
    padding-bottom: 10px;
}

.title {
    text-align: center;
  	z-index: 1;
    padding-left: 10%;
    text-align: left;
}

.gif {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 30vw;
    background-image: url(./img/img_accueil.gif);
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
}

.logo {
    width: 35px;
    left: 30px;
    top: 4px;
    position: fixed;
    display: none;
}

.fleche {
    padding: 25px;
    width: 95px;
    left: 45%;
    bottom: 8%;
    transform: rotate(90deg);
    position: absolute;
    animation: slide1 1.5s ease-in-out infinite;
    margin-left: 9px;
}

@keyframes slide1 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(0, 10px);
    }
}

/* ABOUT  */

.about {
    background-image: url(./img/paper.png);
    background-size: cover;
    background-position: top left;
    background-repeat: no-repeat;
    background-color: #fcf8f8;
    border-bottom: solid 2px #ceb69e;
}

.about h3 {
    padding-bottom: 0px;
}

.container_about {
    width: 80%;
    margin-left: 10%;
}

.portrait {
    float: left;
    width: 25%;
}

.moi {
    color: #8c5e3d;
    font-family: 'lex';
    font-size: 1.5vw;
    text-align: justify;
    padding-bottom: 30px;
    height: 100%;
}

.titre_legende {
    padding: 0px 6px 0px 6px;
    background-image: linear-gradient(to bottom, transparent 70%, #ceb69e33 20%);
}

.contact {
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: wrap;
    padding: 5px;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 15px;
}

.lien {
    border-radius: 60px;
    text-decoration: none;
    text-align: center;
    padding: 10px 40px;
    transition: all 400ms ease-in-out;
    font-family: 'lato';
    color: #fcf8f8;
    background-color: #ceb69e;
    box-shadow: 4px 4px #ceb69e33;
    font-size: 1.4vw;
    font-family: 'lex';
    border-radius: 20px 20px 20px 20px;
}

.lien:hover {
    color: #8c5e3d;
    cursor: pointer;
}

.liens-footer {
    padding-bottom: 20px;
}

.about .container {
    margin-bottom: 30px;
}

/* PROJETS */

.projets {
    background-color: #fcf8f8;
    background-image: url(./img/bg_.png);
    /* background-color: #EFE6DD;
    background-image: url(./img/background_projet_small.png);
    background-size: cover;
    background-position: top left;
    background-repeat: no-repeat; */
    padding-bottom: 50px;
}

.boite {
    padding-top: 10px;
    margin: 0 auto;
    height: 80%;
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    padding-bottom: 20px;
}

/* GALLERIE PROJET */

.item {
    background-color: #fcf8f8;
    transition: all 400ms ease-in-out;
    border-radius: 20px 20px 20px 20px;
}

/* LIENS EN HOVER */

.boite a {
    color: #8c5e3d;
    text-decoration: none;
    text-align: center;
    font-size: 1.3vw;
    font-weight: bold;
    font-family: 'lato';
    transition: ease-in-out 0.15s;
    width: 18%;
    height: 15vw;
    margin-bottom: 20px;
}

.boite a:hover {
    color: #fcf8f8;
    transform: scale(1.1);
    transition: transform 0.4s;
}

.boite a .un {
    background-image: url(./img/pb1.png);
    height: 100%;
}

.boite a .deux {
    background-image: url(./img/pg_.png);
    height: 100%;
}

.boite a .trois {
    background-image: url(./img/hkp.png);
    height: 100%;
    background-position: center;
}

.boite a .quatre {
    background-image: url(./img/music_maker.png);
    height: 100%;
}

.boite a .cinq {
    background-image: url(./img/mockupfinal_hors_totebag.png);
    height: 100%;
    background-color: #fcf8f8;
}

.boite a .six {
    background-image: url(./img/strateliance.png);
    height: 100%;
}

.boite a .sept {
    background-image: url(./img/momamockup.png);
    height: 100%;
  	background-color: #fcf8f8;
  	background-position: bottom;
}

.boite a .huit {
    background-image: url(./img/axamockup.png);
    height: 100%;
 	background-color: #fcf8f8;
  	background-position: bottom;
}

.boite a .neuf {
    background-image: url(./img/portrait-chinois.png);
    height: 100%;
}

.boite a .dix {
    background-image: url(./img/easycom.png);
    height: 100%;
    background-position: bottom;
}

.boite a .onze {
    background-image: url(./img/tyty.png);
    height: 100%;
    background-position: center;
}

.boite a .cinq {
    background-image: url(./img/gwangjumockup.png);
    height: 100%;
  	background-position: center;
}

/*.boite a .douze {
    background-image: url(./img/portrait-chinois.png);
    height: 100%;
}*/

#hover-content {
    padding: 8px;
    padding-bottom: 8px;
    background-color: #ceb69e;
    border-radius: 20px 20px 0px 0px;
    font-family: 'lex';
    filter: none;
    backdrop-filter: none;
    z-index: 30;
}

.sous {
    font-family: 'lato';
}

/* FILTRE GALLERIE */

.gallery-filter {
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
}

.filter-item {
    cursor: pointer;
    border-radius: 60px;
    text-decoration: none;
    text-align: center;
    padding: 10px 20px;
    margin-right: 10px;
    transition: all 400ms ease-in-out;
    font-family: 'lato';
    color: #ceb69e;
    background-color: #fcf8f8;
    box-shadow: 4px 4px #ceb69e33;
    font-size: 1.2vw;
    font-family: 'lex';
    border-radius: 20px 20px 20px 20px;
    border: solid 1px #ceb69e;
}

.filter-item:hover {
    background-color:#ceb69e;
    color: #8c5e3d;
}

.active {
    background-color:#ceb69e;
    color: #8c5e3d;
    transition: all 400ms ease-in-out;
}

.gallery-item.hide{
	display: none;
    width: 0%;
    height: 0%;
    animation: fadeIn 0.8s ease;
}

.gallery-item.show{
	animation: fadeIn 0.8s ease;
}

@keyframes fadeIn{
	0%{
		opacity: 0;
	}
	100%{
		opacity: 1;
	}
}

/*ARCHIVE

.gallery-item .show .boite a .archive .hide {
  	display: none;
    width: 0%;
    height: 0%;
  	opacity: 0;
  	transition: none;


span[data-filter=".archive"]{
    display: none;
    width: 0%;
    height: 0%;
  	opacity: 0;
  	transition: none;
}


/* BACKGROUND EN HOVER DES PROJETS */

.un, .deux, .trois, .quatre, .cinq,.six, .sept, .huit, .neux, .dix, .onze, .douze {
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 6px 8px #ceb69e1e;
}

.projets .proj a {
    margin-bottom: 10px;
    width: 30%;
    margin-top: 10px;
}

footer {
    background-color: #FCF8F8;
    margin-top: 10px;
    padding-bottom: 8px;
}

.logo_footer {
    background-image: url(./img/Logo_kfp_light_brown.png);
}

.liens_footer {
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: wrap;
    padding: 5px;
    justify-content: center;
    align-items: center;
}

.lien_footer {
    text-decoration: none;
    text-align: center;
    padding: 5px 40px;
    transition: all 400ms ease-in-out;
    font-family: 'lato';
    color: #ceb69e;
    font-size: 1.4vw;
    font-family: 'lex';
}

.lien_footer:hover {
    color: #8c5e3d;
    cursor: pointer;
}


/* PARTIE RESPONSIVE */

@media only screen and (min-width: 1000px) and (max-width: 1100px) {

    .boite a {
        width: 20%;
    }
}

/* RESPONSIVE ECRAN ENTRE 800 ET 1000PX */
@media only screen and (min-width: 800px) and (max-width: 1000px) {

    
    /* MENU */
    menu {
        margin-top: 0;
        text-align: center;
        width: 100%;
        background-color: #ceb69e;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        z-index: 100;
        border: none;
        position: fixed;
        z-index: 10000;
        padding-bottom: 8px;
        padding-top: 8px;
        position: fixed;
    }

    menu a {
        padding: 5px;
        font-size: 2vw;
        display: inline-block;
        margin-right: 0;
        color: #fcf8f8;
        padding-right: 35px;
    }

    .boite a {
        width: 25%;
        height: 20vw;
        font-size: 1.8vw;
    }

    .boite {
        gap: 25px;
    }

    /* TAILLE TEXTE ABOUT */

    .moi, .pres, .lien_footer, .filter-item {
        font-size: 1.6vw;
    }

    .title {
        padding-left: 5%;
    }

    .about {
        margin-bottom: 35px;
    }

}

/* RESPONSIVE ECRAN MAXIMUM 700PX */
@media only screen and (max-width: 800px) {

    /* GENERAL */

    body {
        flex-direction: column;
        width: 100%;
    }

    .base {
        height: 100%;
    }

    .container {
        height: 100%;
    }

    /* MENU */
    menu {
        margin-top: 0;
        text-align: center;
        width: 100%;
        background-color: #ceb69e;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        z-index: 100;
        border: none;
        padding: 0px;
    }

    menu a {
        padding: 10px;
        font-size: 3vw;
        display: inline-block;
        margin-right: 0;
        color: #fcf8f8;
    }

    .logo {
        display: none;
    }

    /* TAILLE TEXTE */

    .accueil {
        padding-left: 10px;
    }

    .title {
        padding-left: 0;
    }

    h1 {
        font-size: 5vw;
        line-height: normal;
        letter-spacing: 4.6px;
        width: 100vw;
    }

    h2 {
        font-size: 3.2vw;
        width: 100vw;
    }

    h3 {
        font-size: 4.6vw;
    }

    /* PAGE ACCUEIL */

    .accueil {
        background-image: url(./img/background.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: bottom left;
        padding-left: 5%;
        height: 100vh;
        border-bottom: double 2px #EFE6DD;
    }

    .fleche {
        display: none;
    }

    /* PAGE ABOUT */

    .portrait {
        width: 40%;
    }

    .moi, .pres {
        font-size: 2.6vw;
    }

    .lien_footer {
        font-size: 2.4vw;
    }

    .contact {
        width: 100%;
        flex-wrap: wrap;
        justify-content: space-around;
        font-size: 2.8vw;
    }

    .contact a {
        width: 100%;
    }

    .lien {
        margin: 4px;
        min-width: 130px;
        font-size: 2.6vw;
    }

    .about {
        margin-bottom: 25px;
    }

    /* PAGE PROJETS */

    .filter-item {
        font-size: 2.3vw;
        margin-bottom: 10px;
    }


    .boite {
        flex-direction: row;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }

    .item {
        margin-bottom: 20px;
    }

    .boite a {
        font-size: 2.6vw;
        height: 250px;
        width: 45%;
        }

        .projets .contact a {
            margin-bottom: 30px;
            width: 60%;
        }
    }

/* RESPONSIVE ECRAN MAX 600PX */
@media only screen and (max-width: 600px) {

    body {
        overflow-x: hidden;
    }

    /* LOGO */
    .logo {
        width: 25px;
        top: 15px;
    }

    .accueil {
        background-position: center;
        background-image: url(./img/background_small.png);
    }

    .title {
        flex-direction: column;
        justify-content: center;
    }

    /* TAILLE TEXTE */
    h1 {
        font-size: 6.6vw;
    }

    h2 {
        font-size: 5.4vw;
        letter-spacing: 0;
    }

    h3 {
     font-size: 5.6vw;
    }
  
  	.gif {
  	    display: none;
  	}

    .projets {
        background-image: url(./img/background_projet_small.png);
    }

    .container p, .lien, #hover-content, menu a, .pres {
        font-size: 3.8vw;
    }

    .filter-item {
        font-size: 3vw;
    }

    footer .liens_footer {
        justify-content: space-around;
        flex-direction: column;
    }

    .lien_footer {
        font-size: 3vw;
    }

    /* GALLERIE DES PROJETS  */

    #hover-content {
        font-size: 3.2vw;
    }

    .boite {
        justify-content: center;
        gap: 55px;
    }

    .boite a {
        height: 330px;
        width: 82%;
        }

    .boite a:hover {
        transform: none;
    }

    .projets .contact a {
            margin-bottom: 40px;
            width: 100%;
        }

}

@media only screen and (max-width: 500px) {

    .container p, .lien, #hover-content, menu a, .pres, .lien_footer, .filter-item {
        font-size: 4.3vw;
    }
  
  .filter-item {
  	color: #8c5e3d;
  }
  
  h1 {
    color: #ceb69e;
  }
  
  .pres {
    color: #8c5e3d;
  }
  
  .liens_footer {
        flex-direction: column;
    }

}