@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;
}

.text-justify {
    text-align: justify; 
}

.bannierepermanence {
    width: 100%;     
    margin: 0;       
    text-align: center;
    font-size: 1.3rem;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    padding: 10px 0;     
    background-color: #f8d210; 
}

@media (max-width: 1024px) {
    .bannierepermanence {
        text-align: justify;    
        padding-left: 15px;    
        padding-right: 15px;   
    }
}

@media (max-width: 768px) {
  .contact-us,
  .photosbenevoles,
  .contact-section {
    display: flex;
    flex-direction: column; 
  }

  .photosbenevoles {
    order: 3; 
  }

  .contact-us {
    order: 1; 
  }

  .contact-section {
    order: 2; 
  }
}

.paragrapheintrocontact{
    font-family: 'Poppins', sans-serif;
    max-width: 1000px;
    justify-content: justify;
    margin: auto;
    font-size: 1.4rem;
    padding-bottom: 10px;
}

.contact-us {
    font-family: Arial, sans-serif;
    color: #333;
}

.contact-us .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-us h1 {
    font-size: 4rem;
    text-align: center;
    color: #e74c3c; 
    font-family: 'Manolette', sans-serif;
    padding-top: 15px;
}

@media (max-width: 1024px) {
    .contact-us h1 {
        font-size: 2.3rem;
    }
}

.contact-us .row {
    display: flex;
    flex-wrap: nowrap; 
    gap: 40px; 
}

.photosbenevoles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; 
}

.photosbenevoles img {
    width: 15%;
    height: auto;
    object-fit: cover;
}

.photosbenevoles img:nth-last-child(1),
.photosbenevoles img:nth-last-child(2) {
    width: 22%; 
}

@media screen and (max-width: 768px) {
    .photosbenevoles {
        display: flex;
        flex-direction: column; 
        align-items: center; 
        gap: 15px; 
    }

    .photosbenevoles img {
        width: 90%; 
        max-width: 400px; 
        margin-bottom: 15px; 
    }
    .photosbenevoles img:nth-last-child(1),
    .photosbenevoles img:nth-last-child(2) {
        width: 90%; 
        max-width: 400px;
        margin-bottom: 15px;
}
}

@media (max-width: 768px) {
    .contact-us .row {
        display: block; 
        text-align: center; 
    }

    .social-media {
        display: inline-block; 
        margin: 0 auto; 
        padding-left: 0; 
        padding-right: 0; 
    }

    .social-media h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        text-align: center; 
    }

    .social-box {
        display: flex;
        justify-content: center; 
        gap: 15px;
        padding-left: 0; 
        margin-bottom: 20px; 
    }

    .contact-info {
        text-align: center;
        font-size: 1rem;
        color: #555;
        margin-top: 20px;
    }

    .contact-info a {
        color: #e74c3c;
        text-decoration: none;
        transition: color 0.3s;
    }

    .contact-info a:hover {
        color: #c0392b;
    }

    .donation {
        text-align: center; 
        margin-top: 20px;
    }

    .donation img {
        max-width: 80%; 
        height: auto;
        border-radius: 10px;
        margin-top: 10px;
    }

    .donation p {
        font-size: 1.1rem;
        line-height: 1.6;
        color: #555;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .donation img {
        max-width: 90%; 
    }
}

.contact-info-responsive {
    display: none;
}

@media (max-width: 768px) {
    .contact-info-responsive {
        display: block;
            margin-right: 80px
     
    }

    .contact-info-responsive .contact-info {
        font-size: 1.2rem;
    }

    .contact-info-responsive .paragraphecontact {
        margin-bottom: 15px;
    }
}

.partenaires {
    text-align: center; 
  }
  
  .partenaires h3 {
    margin-bottom: 20px;
    font-family: 'Manolette','sans-serif';
    font-size: 2.5rem;
    color:#FF0000;
    padding-bottom: 5px;
    padding-top: 15px;
  }
  
.partenaires {
  margin-bottom: 50px; 
}

.partenaires .logos {
  display: flex;
  justify-content: center; 
  align-items: center;
  gap: 30px; 
  flex-wrap: nowrap;
}

.partenaires .logos img {
  max-height: 90px; 
  width: auto;    
}

  @media (max-width: 768px) {
    .logos {
        display: flex; 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 20px; 
    }

    .logos img {
        width: 40%; 
    }
}

.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;
    }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

#contact-form {
  width: 450px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#contact-form label {
  font-weight: 600;
  margin-bottom: 5px;
}

#contact-form input,
#contact-form textarea {
  padding: 10px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
}

#contact-form button {
  background-color: #9307ED;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

#contact-form button:hover {
  background-color: #FFD700;
  color: black;
}

.contact-info {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-info a {
  color: #9307ED;
  text-decoration: none;
}

.contact-info p {
  color: #9307ED;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr; 
    gap: 20px;
  }
}

.contact-right{
    padding-top: 70px;
}

.contact-right h3{
text-align: center;
color: #FFD700;
font-size: 2rem;
}


.contact-right p{
text-align: center;
}

@media (max-width: 768px) {
  .contact-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    width: 100%;
    max-width: 95%;
    margin: 0 auto;
    gap: 20px;
  }

  #contact-form {
    width: 100% !important;   
    max-width: 100% !important;  
    padding: 15px !important;
    box-sizing: border-box !important;
    margin: 0 auto !important; 
  }

  #contact-form input,
  #contact-form textarea,
  #contact-form button {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #contact-form button {
    padding: 12px !important;
  }

  .contact-right {
    width: 100%;
    text-align: center;
    padding-top: 20px;
  }

  .contact-right h3,
  .contact-right p {
    text-align: center;
  }

  .photosbenevoles {
    width: 100%;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .contact-grid {
    display: flex;
    flex-direction: column; 
    gap: 20px;
  }

  #contact-form {
    order: 2;  
  }

  .contact-right {
    order: 1;  
    display: flex;
    flex-direction: column;
  }

  .contact-right iframe {
    order: 3; 
    width: 100%; 
    max-width: 500px; 
    margin: 20px auto 0 auto; 
  }
}

@media (max-width: 768px) {
  .contact-right iframe {
    display: none;
  }

  .contact-grid {
    display: flex;
    flex-direction: column; 
    gap: 20px;
  }

  #contact-form {
    order: 2;  
  }

  .contact-right {
    order: 1;  
  }
}

.social-circle {
    width: 50px;
    height: 50px;
    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: white;
    font-size: 1.5rem;
}

.social-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.contact-donation-section {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 20px;
    background-color: #ffff00;
}

.left-column, .right-column {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.social-box {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-circle a {
    font-size: 1.5rem;
    color: #000;
    text-decoration: none;
}

.contact-info p {
    margin: 5px 0;
}

.contact-info p {
    font-size: 1.2rem; 
    font-weight: bold; 
}

.contact-info a {
    color: #000;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline; 
}

.contact-info strong {
    color: #FF0000; 
}

.right-column {
    flex: 1.2; 
    text-align: center;
}

.donation h2 {
    font-size: 2rem; 
    font-family: 'Manolette', 'sans-serif';
    color: #9307ED;
}

.qr-code {
    max-width: 300px; 
    width: 100%;
    height: auto;
}

.social-box {
  position: fixed;
  top: 40%;          
  right: 20px;     
  display: flex;
  flex-direction: column;
  gap: 15px;    
  z-index: 1000;   
}

.social-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #FF0000 !important;
  display: flex;
  align-items: center !important;
  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;
}

.nav-brush{
    padding-top: 25px;
}

.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;
}

@media screen and (max-width: 768px) {
    #form-message {
        font-size: 1rem; 
        padding: 8px 12px;
        max-width: 90%; 
        margin: 10px auto 0 auto; 
    }
}