@font-face {
    font-family: 'LemonLove';
    src: url('LemonLove.otf') format('opentype');
}


body {
    margin: 0;
    padding: 0;
    font-family: 'LemonLove';
    background-color: #000000;
    color: white;
}

.header {
    display: flex;
    justify-content: space-between; /* logo à gauche, liens à droite */
    align-items: flex-start;
    padding: 10px 20px;
}

.logo {
    width: 90px;
    height: auto;
    margin-top: 20px;
    margin-left: 70px;
    transition: transform 0.2s ease; /* fluidité du mouvement */
    transform-origin: center center;
    perspective: 500px; /* donne un effet 3D */
    display: inline-block;
}


@font-face {
    font-family: 'google';
    src: url('google.ttf') format('truetype');
    font-size: 1.5em;
    
}

.footer-text {
    text-align: center;  /* centre le texte */
    color: white;        /* couleur du texte */
    font-size: 20px;     /* taille du texte */
    margin-bottom: 2px;    /* espace au-dessus du texte */
    font-family: 'google';
    font-weight: 400;
    
}

@font-face {
    font-family: 'ace';
    src: url('ace.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.gif-text {
    font-family: 'ace', sans-serif;
    position: absolute;  /* texte au-dessus du GIF */
    bottom: 20%; 
    left: 15%;           /* centre horizontal */
    transform: translate(-50%, -50%);  /* ajuste pour être centré */
    color: white;
    font-size: 90px;
    font-weight: 400;
    text-align: center;
    z-index: 10;         /* au-dessus du GIF */
    pointer-events: none; /* le texte ne bloque pas les clics */
    
    text-shadow: 10px 5px 7px rgba(0,0,0,0.7); 
}

/* Ajustement pour mobile */
@media screen and (max-width: 480px) {
    .gif-text {
        font-size: 40px;    /* texte plus petit sur mobile */
        bottom: 38%;        /* ajuste la hauteur si nécessaire */
        left: 50%;          /* garde centré horizontalement */
        transform: translate(-50%, -50%);
    }
}

/*********** Pour les écrans plus petits (tablettes et mobiles) *************/
@media screen and (max-width: 1024px) {
    .logo {
        width: 70px;       /* réduit le logo */
        margin-left: 20px; /* ajuste la marge si nécessaire */
        margin-top: 10px;  /* éventuellement réduire la marge haute */
    }
}

/********************* Pour les très petits écrans (smartphones) ***************/
@media screen and (max-width: 480px) {
    .logo {
        width: 55px !important;
        margin-left: 10px;
        margin-top: 2px;
    }
}


/********************* Smartphones ***********************/
@media screen and (max-width: 600px) {
    .logo {
        width: 120px;  /* plus grand pour lisibilité */
        margin-left: 5px; 
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;  /* texte plus petit si nécessaire */
        padding-bottom: 20px;  /* réduis les marges inutiles */
    }

    .container {
        width: 100%;       /* occupe toute la largeur */
        margin: 0;         /* enlève marges automatiques */
    }

    img, video {
        max-width: 100%;   /* adapte les images/vidéos à l’écran */
        height: auto;
    }
}

.header-links {
    display: flex;
    gap: 20px; /* espace entre Contact et Work */
    margin-top: 50px;
    margin-right: 100px;

}

.header-links a {
    color: white;
    text-decoration: none;
    font-weight: 300;
    display: inline-block; /* zone cliquable = texte seulement */
    font-size: 40px;
    transition: transform 0.3s ease;

}

.header-links a:hover {
    transform: rotateX(10deg) rotateY(10deg) scale(1.05);
}

/************************* Trait indépendant, ne bouge plus Work ***************/
.header-links a:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 2px;           /* épaisseur du trait */
    height: 40px;         /* hauteur du trait */
    background-color: white;
    margin-left: 16px;    /* espace entre le texte et le trait */
    margin-right: 0px;   /* espace entre le trait et le texte suivant */
    position: relative;
    top: 0px;             /* pour descendre le trait sans bouger le texte */
}


/****************** Pour les écrans tablettes / mobiles *****************/
@media screen and (max-width: 768px) {
    .header-links a {
        font-size: 30px;   /* texte plus petit sur mobile */
        margin-left: 10px; /* espacement réduit */
        
    }
}


/**************** Responsive pour mobile **************/
@media screen and (max-width: 600px) {
    .header {
        flex-direction: row;       /* reste en ligne */
        justify-content: space-between; /* logo à gauche, liens à droite */
        align-items: center;
        padding: 10px 20px;
    }

    .header-links {
        display: flex;
        justify-content: flex-end; /* liens à droite */
        gap: 10px;
        text-align: right;
    }

    .logo {
        width: 120px; /* plus petit sur mobile */
    }
}


/**************** Pour très petits écrans (smartphones) ***************/
@media screen and (max-width: 480px) {
    .header-links a {
        font-size: 40px;
        margin-left: 5px;
    }
}

.gif-container {
    width: 95%;             /* par défaut, pour mobile */
    max-width: 100%;        /* ne dépasse pas l’écran */
    height: 300px;          /* rectangle petit sur mobile */
    margin: 30px auto 20px auto;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #22272e;
}

.gif-animation {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover; 
    display: block;
}

/**************** Tablettes *************/
@media screen and (min-width: 601px) and (max-width: 1024px) {
    .gif-container {
        margin-top: 130px;
        width: 80%;       /* plus large sur tablette */
        width: 900px;
        height: 700px;
    }
}

/*********** PC / grands écrans *************/
@media screen and (min-width: 1025px) {
    .gif-container {
        width: 1670px;    /* largeur fixe sur PC */
        height: 620px;    /* rectangle plus grand */
    }
}

/*********************** Le trait *********************/
.trait {
  width: 80%;          /* tu peux mettre 40% si tu veux plus petit */
  height: 2px;          /* épaisseur du trait */
  background-color: white;  /* couleur du trait */
  margin: 30px auto 0;  /* espace au-dessus + centré */
}


.reseaux {
    text-align: center;      /* centre les icônes */
    margin-top: 8px;     /* espace en bas de la page */
}

.reseaux a {
    margin: 0 10px;          /* espace entre les icônes */
    color: white;
    text-decoration: none;
    font-size: 1rem;       /* taille adaptable des icônes ou texte */

}


.icon {
   width: 30px;     /* taille de l’icône */
    height: 40px;    /* même hauteur pour un carré propre */
    object-fit: contain;  /* évite la déformation */
}



@media screen and (max-width: 600px) {
    .gif-container {
        width: 95%;           /* prend presque toute la largeur */
        margin: 30px auto 20px auto;
    }

    .reseaux a {
        font-size: 1.2rem;    /* réduit un peu sur mobile */
        margin: 0 10px;
    }
}

.header-links a:hover,
.reseaux a:hover {
    color: #0089e2; /* couleur de survol */
    transition: color 0.3s ease; /* transition douce */
}



/********************* Le menu sur tel**********************/

/* Bouton hamburger de base */
.menu-toggle {
    display: none;           /* caché sur desktop */
    flex-direction: column;
    justify-content: center;
    width: 30px;
    gap: 5px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;           /* au-dessus du menu */
    margin-right: 25px; /* espace à droite */
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center; /* <-- essentiel pour rotation */
}

/***** Affiche le bouton sur mobile ******/
@media screen and (max-width: 480px) {
    .menu-toggle {
        display: flex;
    }
}

/****** Transformation en croix quand actif ******/
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(1px, 2px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(1px, -2px);
}

/****** Menu mobile plein écran ********/
@media screen and (max-width: 480px) {
    .header-links {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #222;
        z-index: 999;
        text-align: center;
    }

    .header-links.active {
        display: flex;
    }

    .header-links a {
        font-size: 70px;
        margin: 30px 0;
        display: block;
        width: 100%;
        text-align: center;
    }

    /************** Supprime le trait entre les liens *****************/
    .header-links a::after {
        display: none !important;
    }
}

.menu-toggle-wrapper {
    position: relative;
    left: -10px; /* décale toute la croix vers la gauche */
    top: 0px;    /* décale vers le haut si besoin */
}

/************** EFFET COULEUR LOGO *****************/
.reseaux a img {
    filter: none; /* pas de couleur appliquée */
    transition: filter 0.3s ease;
}

.reseaux a img:hover {
    filter: saturate(100%) invert(28%) sepia(100%) saturate(5400%) hue-rotate(550deg) brightness(170%) contrast(100%);
    transition: filter 0.3s ease;
}

.reseaux a img:hover {
    transform: rotate(10deg); /* fait pivoter légèrement */
}

.logo img {
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.5));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo img:hover {
    transform: translateY(-3px) rotateX(5deg);
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.6));
}

.logo img {
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(1);
}

.logo img:hover {
    transform: rotateY(10deg) rotateX(10deg);
    filter: brightness(1.2) drop-shadow(4px 4px 10px rgba(0,0,0,0.5));
}
