html, body {
    margin: 0;
    padding: 0;
}

body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #1b1b1b;

}
h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd { 
    text-align: left;
}
/* Set a base font size and family */
body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #e4e4e4; /* Change background to black */
    text-align: left;
    /* padding-top: 60px;  <-- SUPPRIME cette ligne */
}

/* Style the main container */
.container {
    max-width: 1300px;
    margin: 20px auto 20px auto; /* plus de margin-top */
    padding: 20px;
    background: #fafafa;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    color: #ffffff;
    border-radius: 15px;
}

/* Style the header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #e4e4e4;
    color: white;
    z-index: 500;
    height: 190px;
}

header h1 {
    margin: 0;
    font-size: 3em;
}

header h1 a {
    color: #1b1b1b;
}

header h1, header h1 a {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: default;
}

/* Style the navigation */
nav {
    margin: 20px 0;
    text-align: center;
}

nav a {
    color: #1b1b1b;
    text-decoration: none;
    margin: 0 10px;
    padding: 10px 20px;
    border: 1px solid #949494;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

nav a:hover {
    background: #dfdfdf;
    color: #fff;
    border-radius: 5px;
}

/* Style the main content */
main {
    margin: 20px 0;
    margin-top:0px;
}

main h2 {
    margin-bottom: 10px;
    font-size: 2em;
}

main p {
    margin-bottom: 20px;
}
hr {
    width: 100%;
    margin: 20px 0;
}

/* Rendre les images adaptatives */
img {
    max-width: 600px;
    height: auto;
    height: auto;
    display: block;
    margin-bottom: 30px;
    border-radius: 10px;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}

.spacer {
    height: 180px; /* Espace entre les sections */
}
/* Empiler les images côte à côte en colonne sur mobile */
a {
    color: #1b1b1b;
}
p{
    font-size: 1.2em;
    line-height: 1.5;
}
hr{
    width: 70%;
}
.nav-toggle {
    display: none; /* Cacher le toggle par défaut */
}
 /* Responsive Image Gallery Grid */
    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
      padding: 20px;
      background: #e4e4e4;
      border-radius: 20px;
      margin: 20px;
      max-width: 80%;
    }
    .gallery img {
      width: 100%;
      max-width: 400px;
      height: auto;
      display: block;
      border-radius: 10px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
    }

    /* Hover effect for gallery images */
    .gallery img:hover {
      transform: scale(1.25);
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }
    .pride{
        font-size: 0%;
        size: 0px 0px;
        text-align: center;
    }

@media (max-width: 1400px) {
    .container {
        max-width: 1000px;
        margin: 20px auto 20px auto; /* plus de margin-top */
        padding: 20px;
        background: #fafafa;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        text-align: center;
        color: #ffffff;
        border-radius: 15px;
    }
}
@media (max-width: 1200px) {
    .container {
        max-width: 800px;
        margin: 20px auto 20px auto; /* plus de margin-top */
        padding: 20px;
        background: #fafafa;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        text-align: center;
        color: #ffffff;
        border-radius: 15px;
    }
}
@media (max-width: 825px) {
    .close-btn {
        /* button size */
        width: 40px;
        height: 40px;
        
        /* shape, border & box sizing */
        border: 2px solid #fff;    /* 2px solid white border */
        border-radius: 50%;          /* this is where we make that juicy button round */
        box-sizing: border-box;      /* include border in the size */

          /* colors, not so much of the sun */
        background-color: #222;      /* dark circle */
        color: #fff;                 /* sets the font color */

        /* typography alignment action */
        font-size: 24px;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;

        /* swively user interaction */
        cursor: pointer;
        transition: background-color 0.2s, border-color 0.2s;
    }

    .close-btn:hover {
        background-color: #333;      /* just about says it all, the colors within */
        border-color: #fff;          /* keeps the border white when hovering the button */
    }

    .close-btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(255,255,255,0.5);  /* subtle glow on focus for that ooh, aah effect */
    }
    .header-container {
        display: flex;
        align-items: center;
        
        padding: 0 2px 0 8px;
        
    }
    
    .header-container h1 {
        margin: 0;
        font-size: 1.5em;
        text-align: left;
        margin-left: 15px;
        flex: 1;
    }
    
    /* Empêche le scroll du fond quand le menu est ouvert */
    .nav-toggle:checked ~ main,
    .nav-toggle:checked ~ .spacer {
        filter: blur(2px);
        pointer-events: none;
        user-select: none;
    }
    nav a:hover {
        background: #868686;
        color: #1b1b1b;
    }
    a{
        color: #1b1b1b;
    }
    .container {
        max-width: 98vw;
        padding: 5px;
        border-radius: 15px;
    }
    .container img {
        max-width: 100%;
        height: auto;
    }
    img{
        width: 50%;
        height: auto;
        margin: 15px;
    }
    .container > div > div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0 !important;
    }
    h1 {
        font-size: 2em;
        text-align: center;
        word-break: break-word;
        margin-bottom: 18px;
        color: #1b1b1b;
    }
    p, a {
        text-align: center;
        font-size: 1em;
        color: #1b1b1b;
    }
    .container, .container p, .container a, .container h1, .container h2, .container h3 {
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .spacer {
        height: 70px; /* Ajuste la hauteur de l'espace entre les sections */
    }
    .responsive-img {
        max-width: 100%;
        height: auto;
        margin: 10px 0;
    }
    .airport-flex {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .article-img {
        width: 100%;
        height: auto;
        margin-right: 0;
    }
    
    /* Menu hamburger mobile */
    .nav-toggle-label {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        width: 40px;
        height: 40px;
        margin: 0 auto;
    }
        .nav-toggle {
        position: absolute;
        left: -9999px;
        width: 1px;
        height: 1px;
        opacity: 0;
        pointer-events: none;
        display: block; /* Nécessaire pour l’accessibilité, mais invisible */
    }
    
        .nav-toggle:checked ~ nav {
        display: flex;
    }
        .nav-toggle-label span {
        display: block;
        width: 30px;
        height: 4px;
        margin: 5px 0;
        background: #1b1b1b; /* Couleur des barres du hamburger */
        border-radius: 2px;
        transition: 0.3s;
        position: relative;
        z-index: 2001;
    }

    /* Animation hamburger -> croix */
        .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
        .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
        opacity: 0;
    }
        .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
        nav {
        display: none; /* Par défaut, le menu est caché */
        flex-direction: column;
        align-items: center;
        min-height: 100vh;
        width: 100vw;
        margin: 10px 0;
        left: 0;
        right: 0;
        padding: 70px 0 0 0;
        padding-top: 60px;
        background: #e4e4e4;
        min-height: 100vh;
        box-sizing: border-box;
        position: fixed;
        gap: 10px;
        transition: 0.3s;
    }
        nav a {
        margin: 0 0 18px 0;
        padding: 22px 0;
        margin: 0 24px;
        width: 90%;                /* Largeur des boutons */
        max-width: 400px;          /* Optionnel : limite la taille sur grands écrans */
        border-radius: 12px;
        background: #ffffff;
        border: none;
        text-align: center;
        font-size: 1.3em;
        color: #e4e4e4;
        display: block;
        box-sizing: border-box;
        transition: background 0.2s;
        padding-left: 16px;
        padding-right: 36px;
    }
        .nav-toggle:checked + .nav-toggle-label + nav {
        display: flex; /* Affiche le menu seulement quand le hamburger est coché */
    }
    header {
        height: 30px;
    }
    hr{
    width: 90%;
    }
    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 10px;
      padding: 10px;
      background: #e4e4e4;
      border-radius: 20px;
      margin: 10px;
      max-width: 80%;
      align-items: center;
      align-content: center;
      align-self: center;
    }
    .gallery img {
        margin: 0%;
        max-width: 100%;
        height: auto;
        display: block;
        border-radius: 10px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
    }
    .pride{
        size: 0px 0px;
        text-align: center;
    }
    .pagestyle{
        text-align: center;
        align-items: center;
    }
}

