@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;700&display=swap');

/* Corps de la page */
body {
    margin: 0;
    font-family: 'Montserrat Alternates', sans-serif;
    cursor: url('curseur3.svg'), auto; /* Curseur personnalisé par défaut */
    background-color: #ffffff;
    color: #000000;
}


/* Page de chargement */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease; /* Transition douce pour la disparition */
}

#loading-screen.hidden {
    opacity: 0; /* Rendre transparent */
    pointer-events: none; /* Permettre les interactions sur la page en dessous */
}

#loading-image {
    max-width: 150px; /* Ajustez la taille de l'image */
    height: auto;
}


/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px; /* Réduction du padding */
    background-color: #000000;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 60px; /* Réduction de la hauteur */
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6); /* Ombre sombre plus marquée */
}

/* Logo */
.logo-container {
    margin: 0 auto;
}

.logo-container a img {
    max-height: 130px; /* Taille réduite proportionnellement */
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: url('pointeur3.svg'), pointer; /* Curseur personnalisé */
    margin-left: 30px; /* décalge vers la droite */
}

.logo-container a img:hover {
    transform: scale(1.1); /* Zoom léger au survol */
}

/* Bouton hamburger */
.hamburger {
    background: none;
    border: none;
    position: relative;
    width: 40px; /* Réduction de la largeur totale du bouton */
    height: 30px; /* Réduction de la hauteur totale du bouton */
    cursor: url('pointeur3.svg'), pointer; /* Curseur personnalisé */
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Barres du hamburger */
.hamburger span {
    display: block;
    height: 6px; /* Augmentation de l’épaisseur des barres */
    background-color: white;
    border-radius: 0px; /* Coins légèrement arrondis */
    transition: all 0.3s ease; /* Transition fluide */
    width: 90%; /* Longueur initiale rétractée */
    position: absolute; /* Ancre la position */
    right: 25px; /* Décale les barres de 25px du bord droit */
}

/* Positionnement vertical des barres */
.hamburger span:first-child {
    top: 1px; /* Barre supérieure */
    width: 50%; /* Longueur initiale rétractée */

}

.hamburger span:nth-child(2) {
    top: 50%; /* Barre du milieu */
    transform: translateY(-50%); /* Centre verticalement */
    width: 70%; /* Longueur initiale rétractée */
}

.hamburger span:last-child {
    bottom: 1px; /* Barre inférieure */
}

/* Animation au survol */
.hamburger:hover span {
    width: 110%; /* Les barres se déplient vers la gauche */
}




/* Menu déroulant */
.menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #000000;
    width: 200px;
    display: none;
    flex-direction: column;
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.menu.active {
    display: flex; /* Affiche le menu quand actif */
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu ul li a {
    text-decoration: none;
    color: white;
    padding: 10px;
    display: block;
    font-size: 16px;
    transition: background-color 0.3s;
    cursor: url('pointeur3.svg'), pointer; /* Curseur personnalisé */

}

.menu ul li a:hover {
    background-color: #444;
}

/* Section intro */
.intro {
    text-align: justify;
    margin: 20px;
    padding: 20px;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    border-radius: 0px;
}

/* Galerie */
.gallery {
    display: flex;
    flex-direction: column;
    gap: 0; /* Supprime les espaces entre les lignes */
    margin: 0;
    width: 100%; /* S'assure que la galerie s'étend sur toute la largeur */
}

.row {
    display: flex;
    gap: 0; /* Supprime les espaces entre les colonnes */
    width: 100%; /* Étend la rangée sur toute la largeur */
}

.top-row {
    flex-wrap: nowrap;
}

.image-block {
    flex: 1;
    position: relative;
    aspect-ratio: 1; /* Assure un ratio carré */
    overflow: hidden; /* Cache les débordements éventuels */
}

.image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que l'image remplit bien le conteneur */
    border-radius: 0; /* Supprime les arrondis */
}

.bottom-row.full-width-row {
    margin: 0; /* Supprime les marges de la rangée */
    padding: 0;
}

.bottom-row.full-width-row img {
    width: 100vw; /* Étend l'image sur toute la largeur de la fenêtre */
    height: auto;
    object-fit: cover; /* Recouvre tout le conteneur de manière proportionnée */
    border-radius: 0;
}




/* Adaptation pour tablettes et mobiles */
@media (max-width: 768px) {
    .row {
        flex-direction: column; /* Les images passent en colonne */
        gap: 0px;
    }

    .image-block {
        aspect-ratio: 1; /* Les images restent carrées */
    }

    .bottom-row.full-width-row img {
        width: 100%; /* Assure que l'image occupe toute la largeur du conteneur */
    }
   .hamburger {
    font-size: 28px;
    }
    .intro {
        text-align: justify; }
    
}

@media (max-width: 480px) {
    .gallery {
        flex-direction: column; 
        gap: 0px;
    }
      .image-block {
        aspect-ratio: 1; /* Les images restent carrées */
    }

    .logo-container a img {
        max-height: 80px;
    }

    .hamburger {
        font-size: 24px;
        right: -30px; /* Décale encore davantage le bouton vers la droite */
    }
    .intro {
        text-align: justify;  }
}
/* Footer */
footer {
    background-color: #000;
    color: white;
    text-align: center;
    padding: 20px 10px;
    margin-top: 0px;
    cursor: url('curseur3.svg'), auto; /* Curseur personnalisé par défaut */
    
}

/* Contenu du footer en colonne */
.footer-content {
    display: flex;
    flex-direction: column; /* Aligne verticalement */
    align-items: center; /* Centre les éléments horizontalement */
    gap: 15px; /* Espacement entre les éléments */
}

/* Conteneur de l'adresse e-mail */
.email-container {
    display: inline-block; /* Nécessaire pour appliquer transform */
    transition: transform 0.3s ease;
    
}

.email-container:hover {
    transform: scale(1.1); /* Grossissement au survol */

}

/* Style du lien e-mail */
.email-link {
    color: white; /* Texte en blanc */
    text-decoration: none; /* Retire le soulignement */
    font-size: 20px;
    cursor: url('pointeur3.svg'), pointer; /* Curseur personnalisé */
}

/* Logo Instagram */
.instagram-link {
    display: inline-block; /* Nécessaire pour centrer avec Flexbox */
}

.instagram-logo {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.instagram-logo:hover {
    transform: scale(1.2); /* Grossissement au survol */
    cursor: url('pointeur3.svg'), pointer; /* Curseur personnalisé */
}

/* Logo Instagram */
.game-link {
    display: inline-block; /* Nécessaire pour centrer avec Flexbox */
}

.game-logo {
    width: 40px;
    height: 27px;
    transition: transform 0.3s ease;
}

.game-logo:hover {
    transform: scale(1.2); /* Grossissement au survol */
    cursor: url('pointeur3.svg'), pointer; /* Curseur personnalisé */
}

