@font-face {
    font-family: 'Ampire';
    src: url('police/ampireexpand.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Manolette';
    src: url('police/MANOLETE.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}

header {
    background: white;
    padding: 1em 0;
    color: black;
}

.nav-brush{
    padding-top: 10px;
}

body {
    overflow-x: hidden;
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        margin: 0; 
        padding: 0;
    }

    * {
        box-sizing: border-box; 
    }
}

.containernav {
  display: flex;
  align-items: center;
  justify-content: flex-start; 
  gap: 200px; 
  width: 90%;
  max-width: 1200px;
  margin: 0 auto; 
}

.logo-nav {
    display: flex;
    align-items: center; 
    gap: 20px;
    height: 100%; 
}

.logo-nav a {
    text-decoration: none;
}

nav {
    display: flex;
    align-items: center; 
    justify-content: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center; 
}

nav ul li {
    position: relative; 
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3em;
    transition: color 0.3s;
    line-height: 1; 
    display: flex; 
    align-items: center;
    font-family: 'Poppins', 'sans-serif';
}

nav ul li:nth-child(1) a {
    color: #9307ED;
}

nav ul li:nth-child(2) a {
    color: #FF0000;
}

nav ul li:nth-child(3) a {
    color: #FFD700;
}

nav ul li:nth-child(4) a {
    color: #9307ED;
}

nav ul li:nth-child(5) a {
    color: #FF0000;
}

nav ul li:nth-child(6) a {
    color: #FFD700;
}

nav ul li:nth-child(1) a:hover {
    color: #FF0000;
}

nav ul li:nth-child(2) a:hover {
    color: #FFD700;
}

nav ul li:nth-child(3) a:hover {
    color: #9307ED;
}

nav ul li:nth-child(4) a:hover {
    color: #FF0000;
}

nav ul li:nth-child(5) a:hover {
    color: #FFD700;
}

nav ul li:nth-child(6) a:hover {
    color: #9307ED;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 30px;
    padding: 10px;
}

@media (max-width: 768px) {
    .containernav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    .menu-toggle {
        display: block;
        margin-right: 14px;
    }

    .logo-nav {
        display: flex;
        align-items: center;
        white-space: nowrap;
    }

    nav {
        width: 100%;
        background-color: white;
        position: relative;
        z-index: 1000;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 115%; 
        right: 15%;
        background-color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 0;
        margin-top: 0;
    }

    nav ul.active {
        display: flex; 
    }

    nav ul li {
        margin: 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 15px;
        color: #fff;
        text-decoration: none;
    }

    .dropdown-menu {
        display: none;
        flex-direction: column;
        background-color: white;  
        padding-left: 0;
        margin-top: 5px;
    }

    nav ul.active .dropdown-menu {
        display: flex; 
    }

    .dropdown-menu li a {
        color: #fff; 
        padding: 10px 15px;
        text-decoration: none;
        display: block;
        background-color: transparent;
        text-align: center;
        margin-left: 25px;
    }

    .dropdown-menu li a:hover {
        background-color: #444; 
    }

    nav ul li:nth-child(4) {
        margin-top: 80px; 
    }

}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 46%;
    transform: translateX(-50%); 
    margin-left: 0px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 5px;
}

.dropdown-menu li a {
    text-decoration: none;
    color: black;
    display: block;
}

.dropdown-menu li a:hover {
    background-color: white;
}

.dropdown-menu {
    background-color: white !important; 
    border: none !important; 
    box-shadow: none !important; 
}

.dropdown-menu li a {
    text-align: center !important;
    color: #fff; 
    background-color: transparent; 
    padding: 10px 15px; 
    text-decoration: none; 
}

.dropdown-menu li a:hover {
    background-color: white; 
}

.titregalerie {
    font-family: 'Manolette', sans-serif;
    font-size: 3rem; 
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #9307ED;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto; 
}

.gallery-item {
    overflow: hidden; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 300px; 
}

.gallery-item img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
    cursor: pointer; 
}

.gallery-item:hover {
    transform: scale(1.05); 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); 
}

.gallery-item figcaption {
    display: none;
}

.lightbox {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); 
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-align: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    margin: auto;
}

.lightbox-caption {
    color: #fff;
    font-size: 1.2em;
    margin-top: 15px;
    font-family: Arial, sans-serif;
    text-align: center;
}

#prev-btn, #next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5); 
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#prev-btn {
    left: 3%;
}

#next-btn {
    right: 3%;
}

#prev-btn:hover, #next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.rejoindre-section {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    background-color: #ffff00;
}

.rejoindre-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%; 
    padding: 20px;
}

.text-side {
    flex: 1;
}

.card-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #9307ED;
    font-family: 'Ampire', 'sans-serif';
    text-align: center;
}

.adhesionqr {
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Poppins', 'sans-serif';
}

.adhesionqrr{
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Poppins', 'sans-serif';
}

.adhesionqr::after {
  content: " 👉"; 
}

@media (max-width: 768px) {
  .adhesionqr::after {
    content: " 👇"; 
  }
}

.card-link {
    color: #FF0000;
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}

.image-side {
    flex: 0 0 40%; 
}

.image-side img {
    width: 300px; 
    height: 200px;
}

@media screen and (max-width: 768px) {
    .rejoindre-content {
        flex-direction: column;
        align-items: center;
    }

    .text-side, .image-side {
        width: 100%; 
    }

    .image-side img {
        max-width: 100%; 
        height: auto; 
        margin-top: 20px; 
    }
}

.credits {
    text-align: center; 
    font-family: 'Poppins', sans-serif; 
    font-weight: 400;
    font-size: 1.2rem; 
    color: #333; 
    margin-top: 20px; 
}

.credits p {
    margin: 0;
    padding: 0;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-family: Arial, sans-serif;
    z-index: 9999;
    display: none; 
}

.cookie-banner p {
    margin: 0;
    font-size: 14px;
}

.cookie-banner a {
    color: #FFD700;
    text-decoration: none;
}

.cookie-banner a:hover {
    text-decoration: underline;
}

.cookie-banner button {
    background-color: #FFD700;
    color: #333;
    border: none;
    padding: 8px 15px;
    margin: 10px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
}

.cookie-banner button:hover {
    background-color: #FFB400;
}

.cookie-banner button#accept-cookies {
    background-color: #4CAF50; 
}

.cookie-banner button#accept-cookies:hover {
    background-color: #45a049;
}

.cookie-banner button#decline-cookies {
    background-color: #F44336; 
}

.cookie-banner button#decline-cookies:hover {
    background-color: #da190b;
}

@media (max-width: 600px) {
    .cookie-banner p {
        font-size: 12px;
    }
    
    .cookie-banner button {
        padding: 6px 12px;
        font-size: 12px;
    }
}

.credit-link {
    color: #FF0000; 
    text-decoration: none; 
}

.credit-link:hover {
    color: #D10000; 
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
    text-align: center;
    padding: 20px 10px;
    border-bottom: 1px solid black; 
}

.footer-section {
    min-width: 180px;
}

.footer-logo img {
    width: 100px;
    height: auto;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links ul li a {
    color: black;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-links ul li:nth-child(1) a {
    color: #9307ED; 
}

.footer-links ul li:nth-child(2) a {
    color: #FF0000; 
}

.footer-links ul li:nth-child(3) a {
    color: #FFD700; 
}

.footercontact{
    padding-top: 16px;
}

.footercontact a {
    color: black;    
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footercontact a:hover {
    color: #FF0000;  
}

.footer-links ul li a:hover {
    color: #FFD700;
}

.footer-map iframe {
    width: 100%;
    max-width: 250px;
    height: 150px;
    border-radius: 8px;
    padding-top: 10px;
}

.footer-socials p {
    font-size: 1rem;
    margin-top: 10px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 8px;
}

.social-icons a {
    color: black;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #FFD700;
    transform: scale(1.2);
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
    }

    .footer-map iframe {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-map iframe {
        margin: 0 auto;
    }
}

.textefooterbas{
    text-align: center;
    padding-top: 5px;
}
