body {
  font-family: "Rubik", sans-serif;
  font-size: 1.1em;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
}

header {
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.logo-container {
  flex: 0 0 auto;
}

.logo {
  height: 70px;
  width: auto;
}

.language-selector {
  display: flex;
  align-items: center;
  font-weight: bold;
  color: #333;
}

.language-selector .lang {
  text-decoration: none;
  color: #333;
  margin: 0 5px;
  font-size: 0.9rem;
}

.language-selector .lang:hover {
  color: #f68eca;
}

.language-selector .active-lang {
  color: #d71285;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  margin: 0 15px;
}

nav a.active {
  color: #d71285;
}

nav a:hover {
  color: #f68eca;
}

.hero {
  background-color: #f9f9f9;
  padding: 100px 20px 50px;
}

.hero h1 {
  color: #d71285;
  font-size: 3rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  color: #555;
}

.image-section {
  padding: 150px 0;
  text-align: center;
}

.fixed-size-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: -1;
}

.grid-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px;
  background-color: #fff;
}

.grid-item {
  text-align: center;
}

.grid-item img {
  width: 252px;
  height: 335px;
  border-radius: 10px;
  object-fit: cover;
}

.grid-item h3 {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #333;
}
.grid-item p {
  font-size: 0.9rem;
  color: #666;
}

.info-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 40px;
  background-color: white;
}

.info-section {
  background-color: #190ee4;
  color: #fff;
  padding: 30px 20px;
  text-align: left;
  border-radius: 10px;
}

.info-section h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.info-section p {
  font-size: 1rem;
  line-height: 1.6;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  background-color: #f4be42;
  color: #333;
}

.contact-info {
  flex: 1;
  text-align: left;
}

.contact img {
  width: 750px;
  height: 350px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.contact p {
  font-size: 1rem;
}
.contact a {
  color: #0056b3;
  text-decoration: none;
  font-weight: bold;
}

.mapa {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
  background-color: #0056b3;
}

footer {
  background-color: #333;
  color: white;
  padding: 15px 20px;
}

.footer-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons {
  position: absolute;
  left: 20px;
  display: flex;
  gap: 15px;
}

.social-icons img {
  width: 20px;
  height: auto;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  color: #fff;
  padding: 15px;
  text-align: center;
  z-index: 10000;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.cookie-buttons button {
  margin: 0 5px;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

#accept-cookies {
  background-color: #4caf50;
  font-family: "Rubik", sans-serif;
  color: white;
}

#accept-cookies:hover {
  background-color: #45a049;
}

#reject-cookies {
  background-color: #f44336;
  font-family: "Rubik", sans-serif;
  color: white;
}

#reject-cookies:hover {
  background-color: #da190b;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 95px;
    left: 0;
    width: 100%;
    background-color: white;
    overflow: hidden;
    max-height: 0;
    transition: max-height 1s ease;
    border-top: 0px solid #ccc;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0);
    z-index: 999;
  }

  nav a {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
    margin: 0;
  }

  nav.active {
    max-height: 500px;
  }

  .image-section {
    padding: 0px;
  }

  .fixed-size-image {
    display: none;
  }

  .hero {
    padding: 50px 10px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }

  .grid-section {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px;
  }
  .grid-item img {
    width: 100%;
    height: auto;
  }
  .grid-item h3 {
    font-size: 1rem;
  }
  .grid-item p {
    font-size: 0.85rem;
  }

  .info-container {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .info-section {
    padding: 20px 10px;
    font-size: 0.9rem;
  }
  .info-section h2 {
    font-size: 1.3rem;
  }

  .contact-info {
    text-align: center;
  }
  .contact img {
    display: none;
  }
  .footer-container {
    flex-direction: column;
    gap: 10px;
  }
  .social-icons {
    position: static;
    justify-content: center;
  }

  #cookie-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 200px;
    background-color: #333;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    text-align: center;
  }

  .cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}
