* {
    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%;
    --scroll-behavior: smooth;
    scroll-behavior: smooth;
}

html {
    background-color: black;
}


#contenu {
    min-height: 100%;
    position: relative;
    flex: 1 0 auto;
}


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 {
    background-color: black;
}

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: 6%;
    
    div {
        margin-right: 5%;
        margin-left: 5%;
    }
}

h2 {
    color: white;
    font-family: 'Lulo';
    margin: 5%;
    margin-bottom: 2%;
    margin-top: 2.5%;
    text-align: center;
}

div.galerie {
    display: flex;
    margin: 0 auto;
    gap: 5%;
    width: 40%;
}

    div#video {
        position: relative;

        a.cliquable {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%); /* Centre le texte horizontalement et verticalement */
            color: white;
            font-family: 'Lulo';
            z-index: 1; 
            text-decoration: none;
        }

        &:hover {
            img, video {
              filter: brightness(0.4);
            }
          }
    }
    
    div#photo {
        position: relative;

        a.cliquable {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%); /* Centre le texte horizontalement et verticalement */
            color: white;
            font-family: 'Lulo';
            margin: 0; /* Supprime toute marge par défaut */
            z-index: 1; 
            text-decoration: none;
        }
    }

    div#video video, div#photo img {
        width: 100%;
    }

    div#video, div#photo {

        a.cliquable {
            font-size: 1.5em;
            font-family: 'Montserrat';
        }
    
        img, video {
            width: 100%;
            transition: filter 0.3s ease; /* Ajoute une transition fluide */
    }
}
    
    div#video:hover, div#photo:hover  {

        a.cliquable {
            transition: font-size 0.6s ease, font-family 0.6s ease;
            font-size: 2em;
            font-family: 'Montserrat4';
        }
    
        img {
        filter: brightness(0.4); /* Assombrit l'image de 50% */
        color: black;
    }

}

.hamburger {
    display: flex;
    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;
}


.headerdiv2 {
    display: none;
}


.mobile-menu {
    display: block;
}



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%;
    }
}

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

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