@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;
}

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; 
}

.cookie-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.cookie-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-content button {
    background: #008cba;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    margin: 5px;
}

.cookie-content button:hover {
    background: #005f73;
}

.imagepremiereindex {
    background-image: url('photo/presentationbici.jpg'); 
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat; 
    height: 360px; 
    width: 100%; 
    position: relative;
}

@media screen and (max-width: 768px) {
    .imagepremiereindex {
        width: 100%; 
        margin: 0 auto; 
    }
}

.main-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-section .container {
    display: flex; 
    flex-direction: row; 
    justify-content: space-between; 
    align-items: flex-start; 
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2em; 
}

.left-image img {
    height: 350px;
    max-width: 400px; 
    border-radius: 10px; 
    object-fit: cover; 
    margin-top: 100px;
}

@media (max-width: 768px) {
    .left-image img {
        width: 90%; 
        margin-left: 10px; 
        margin-right: 10px; 
        margin-top: 15px; 
        height: auto;
    }
}

.right-content {
    display: flex;
    flex-direction: column; 
    flex: 1; 
}

.titremilitantisme{
    font-family: "Manolette", "sans-serif";
    font-size: 45px;
    padding-top: 15px;
    margin-bottom: -5px;
}

.presentation {
    text-align: justify; 
    font-size: 1.2em;
    line-height: 1.8;
    color: #333;
    font-family: 'Poppins', "sans-serif";
}

.text-box {    
    margin-top: 30px;
    text-align: center;
}

.text-box h2 {
    font-family: 'Ampire', "sans-serif";
}

.social-circle {
    width: 75px;
    height: 75px;
    background-color: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-circle i {
    color: #fff;
    font-size: 1.5rem;
}

.social-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .main-section .container {
        flex-direction: column; 
        align-items: center; 
        gap: 0;
    }

    .right-content {
        text-align: center; 
    }

    .titremilitantisme{
        padding-top: 0;
    }
}

.bandecouleur {
    background-color: #007bff; 
    background-image: url('photo/bandebicifond.png'); 
    background-repeat: repeat; 
    height: 25px;
}

.videopresentation {
    margin: 0;
    padding: 0;
    margin-top: -40px;
    margin-bottom: -50px;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    height: 450px; 
    overflow: hidden;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 0; 
}

.video-container iframe {
    width: 70%;
    height: 70%;
    margin: 0; 
    display: block; 
}

@media (max-width: 768px) {
    .videopresentation {
        margin-top: 0;
        margin-bottom: 1rem; 
    }

    .video-container {
        width: 95%;
        height: auto; 
    }

    .video-container iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
}

.gallery {
    position: relative;
    display: inline-block; 
    width: 100%; 
    text-align: center;
}

.gallery img {
    width: 1000px;
    height: auto;
    display: block;
}

.brigadedukifftitreh1 {
    margin-top: 10px;
    position: absolute;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    color: #FF0000; 
    font-size: 3rem; 
    font-weight: bold;
    padding: 10px 20px; 
    font-family: "Manolette", "sans-serif";
}

.lienbrigadeindex {
    text-decoration: none; 
    text-transform: none; 
    color: #FF0000;
}

.lienbrigadeindex:visited,
.lienbrigadeindex:hover,
.lienbrigadeindex:focus {
    color: #FF0000; 
}

.sectionprogrammationculturelle .gallery {
    position: relative;
    display: flex; 
    justify-content: center; 
    align-items: center;
    width: 100%; 
    height: 100%; 
    text-align: center;
}

.sectionprogrammationculturelle img {
    max-width: 59%; 
    height: 250px; 
    display: block; 
}

.titreencreation{
    text-align: center;
    font-family: 'Ampire', "sans-serif";
    margin-top: 25px;
    color: #FF0000;
    font-size: 2rem;
}

.paragrapheencreation{
    font-size: 1.2em;
    line-height: 1.8;
    color: #333;
    font-family: 'Poppins', "sans-serif";
    text-align: center;
    margin-bottom: 10px;
}

.partieencreation{
    margin: auto;
    text-align: justify;
    margin-bottom: 10px;
}


@media (max-width: 768px) {
    .sectionprogrammationculturelle img{
        max-width: 100%;
    }

    .programmationculturelletitreh1 {
        position: absolute;
        top: 50%; 
        left: 50%; 
        transform: translate(-50%, -50%); 
        color: #FFD700; 
        font-size: 2.6rem; 
        font-weight: bold;
        padding: 10px 20px; 
        font-family: "Manolette", "sans-serif"; 
    }
}

.programmationculturelletitreh1 {
    position: absolute;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    color: #FFD700; 
    font-size: 2.6rem; 
    font-weight: bold;
    padding: 10px 20px; 
    font-family: "Manolette", "sans-serif"; 
}

.no-style-link {
    text-decoration: none; 
    color: inherit; 
}

.no-style-link:hover {
    color: inherit; 
    text-decoration: none; 
}

@media screen and (max-width: 768px) {
    .rejoindre-content {
        flex-direction: column;
        align-items: center;
    }

    .text-side, .image-side {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .image-side img {
        max-width: 100%; 
        height: auto; 
        margin-top: 20px; 
    }
}

.programmationculturelletitreh1{
    margin-top: 30px;
    font-family: "Manolette", "sans-serif";
    color: #FFD700;
    font-size: 3rem;
    text-align: center;
}

.no-style-link {
    text-decoration: none; 
    color: inherit; 
}

.dernieresactualites{
    font-family: "Poppins", "sans-serif";
    margin-bottom: -25px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 20px;
}

.brigadebackground{
    padding-bottom: 20px;
}

.brigade-intro {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 2em 0;
    text-align: center; 
    max-width: 900px;
    margin: 0 auto; 
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
}

@media (max-width: 768px) {
    .brigade-intro, .sectionprogrammationculturelle {
        padding-left: 10px;  
        padding-right: 10px; 
    }
    
    .gallery {
        margin-left: auto;
        margin-right: auto; 
    }

    .brigadedukifftitreh1, .programmationculturelletitreh1 {
        text-align: center; 
    }
}

@media screen and (max-width: 768px) {
    .programmationculturelletitreh1 {
        font-size: 2rem;
        padding: 5px 10px;
        width: 85%; 
    }
}

.bannierebrigade{
    background-color: #FFD700;
}

.brigade-description,
.brigade-actions,
.brigade-agenda {
        display: flex;
        flex-direction: column;
        justify-content: justify; 
        align-items: center;
        text-align:justify;
        font-family: "Poppins", "sans-serif";
        margin: auto;
        max-width: 800px;
        line-height: 1.6;
        font-size: 1.3rem;
        margin-top: 15px;
    }

.brigade-actions{
    text-decoration: underline ;
    color: black !important ;
    padding-bottom: 30px;
}

.brigade-actions a {
    font-family: 'Poppins', "sans-serif";
    color: #FF0000 !important ;
    text-decoration: none;
}

.brigade-agenda{
    text-decoration: underline ;
    color: black !important ;
    padding-bottom: 30px;
}

.brigade-agenda a {
    margin-top: -50px;
    font-family: 'Poppins', "sans-serif";
    color: #FF0000 !important ;
    text-decoration: none;
}

.poppinsdescription{
    font-family: 'Poppins', "sans-serif";
}

.brigade-description{
    font-family: "Poppins", "sans-serif";
}

.intro-quote {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 1.5rem;
    color: #9307ED; 
    margin: 1em auto;
    text-align: center;
    position: relative;
    max-width: 600px;
    line-height: 1.4;
    margin-top: -5px;
    margin-bottom: -10px;
}

.intro-quote .quote-mark {
    font-size: 3rem;
    font-weight: bold;
    color: #FFD700; 
    position: relative;
    vertical-align: middle;
}

.dernieresactualites{
    text-align: center;
}

.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;
    padding-right: 20px; 
}

.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';
}

.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%; 
        padding-right: 0px; 

    }

    .image-side img {
        max-width: 100%; 
        height: auto; 
        margin-top: 20px; 
    }
}

.adhesionqr::after {
  content: " 👉"; 
}

@media (max-width: 768px) {
  .adhesionqr::after {
    content: " 👇"; 
  }
}

.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;
    }
}

.textefooterbas{
    text-align: center;
    padding-top: 5px;
}

.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;
    }
}

.container {
    margin-top: 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 20px;
}

.agenda-section {
    padding: 20px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-image: url('photo/programmationculturelleepsilae.jpg');
    background-size: cover;  
    background-position: center; 
    background-repeat: no-repeat;  
    color: #fff;  
}

.brigadekiff-section {
    padding: 20px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-image: url('photo/Brigade1\(1\).jpg');
    background-size: cover;  
    background-position: center;  
    background-repeat: no-repeat;  
    transition: opacity 0.3s ease; 
}

.brigadekiff-section:hover {
    background-size: 120%;
}

.brigadekiff-section, .agenda-section {
    padding: 20px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.title {
    font-size: 1.5rem;
    font-weight: bold;
}

.link, .agenda-link {
    color: #007bff;
    text-decoration: none;
}

.link:hover, .agenda-link:hover {
    text-decoration: underline;
}

.social-box {
  position: fixed;
  top: 40%;         
  left: 20px;       
  display: flex;
  flex-direction: column;
  gap: 15px;       
  z-index: 1000;     
}

.social-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #FF0000; 
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.social-circle:hover {
  transform: scale(1.1); 
}

.social-circle a {
  color: #000;      
  font-size: 1.5rem;
  text-decoration: none;
}

@media (max-width: 768px) {
  .social-box {
    left: 20px;   
    right: auto; 
  }
}
