* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Lulo';
    src: url('/font/Lulo.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/font/Montserrat.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat2';
    src: url('/font/Montserrat-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat3';
    src: url('/font/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat4';
    src: url('/font/Montserrat-Thin.ttf');
}

html, body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    --scroll-behavior: smooth;
    scroll-behavior: smooth;
}

html {
    background-color: black;
}


body {
    background-color: black;
}
#contenu {
    min-height: 100%;
    position: relative;
}

header {
    justify-content: space-between;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    height: 7%;

    h1 {
        color: white;
        font-family: 'Montserrat';
    }

    img {
        margin-left: 50px;
        margin-top: 15px;
    } 

    div.headerdiv2 {

        justify-content: right;
        display: flex;
        align-items: center;
        height: 100px;

        

        div.reseau {
            display: flex;
            
        }   

        .reseau:hover {
            text-decoration: none;
        }

        a:hover {
            text-decoration: underline;
        }
    
        .lien:hover {
            text-decoration: underline;
        }
        
    }
 
}

.headerdiv2 {
    display: flex;
    gap: 2.5em;
    align-items: center;

    a {
        text-decoration: none;
        color: white;
        font-family: 'Montserrat';
        font-size: 1.3em;
    }

    div.reseau {
        display: flex;
        margin-right: 15px;       
    }   

    .reseau:hover {
        text-decoration: none;
    }

    div.lien {
        display: flex;
        align-items: center;    
        white-space: nowrap;
        gap: 20px;

    
    }   
        
}

body.Homepage {
    margin: 0;
    padding: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh; /* Assure que le body prend toute la hauteur de la fenêtre */
    
}

footer {
    display: flex;
    position: absolute;
    justify-content: space-between;
    align-items: bottom;
    background-color: black; /* Couleur de fond transparente */
    height: 3%;
    width: 100%;
    color: white;
    font-family: "Montserrat";
    margin-top: 5%;

    div {
        margin-right: 5%;
        margin-left: 5%;
    }
}

a.ariane {
    color: white;
    text-decoration: underline;
}

a.ariane:hover {
    text-decoration: underline;
}

p.ariane {
    color: white;
    font-family: 'Montserrat';
    margin: 2%;
    margin-left: 75px;
}

h2 {
    font-family: 'Lulo';
    color: white;
    letter-spacing: 10px;
    margin-left: 12%;
    font-size: 200%;
}

.vitrine {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: fit-content;
    margin: 0 auto;
    margin-top: 50px;
    gap: 10px;
    row-gap: 5px;

    a {
        width: 306px;
    }
}

vitrine a:hover {
    transform: scale(1.12); /* Agrandissement plus visible */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.vitrine img {
    width: 100%;
    height: auto;
    display: block;
    /* Animation encore plus lente pour l'image */
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
    border-radius: 2%;
}

.vitrine a:hover img {
    transform: scale(1.08); /* Plus d'agrandissement sur l'image aussi */
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(0);
    }
    40% {
        transform: translateX(-15px);
    }
    60% {
        transform: translateX(-10px);
    }
}

@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px); /* Déplace le texte vers le bas de 20px */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Remet le texte à sa position initiale */
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* MOBILE MENU */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    transition: right 0.3s ease;
    z-index: 1000;
    padding-top: 80px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
}

.mobile-menu-links a {
    color: white;
    text-decoration: none;
    font-family: 'Montserrat';
    font-size: 1.5em;
    transition: color 0.3s;
}

.mobile-menu-links a:hover {
    color: #ccc;
}

.mobile-menu-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}



.mobile-menu {
    display: block;
}

header {
    padding: 15px 20px;
    height: auto;

    img {
        margin-left: 0;
        margin-top: 0;
    }
}