/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #111;
  line-height: 1.6;
}


.container2{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  background-color: #ffa060;
  padding-top: 20px;
  padding-bottom: 20px;
}

.card {
  background-color: #060606;
  width: 100%;
  max-width: 220px;
  padding: 60px 10px 20px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
}

.card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background-color: red;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  border: 3px solid white;
}

.text {
  margin-top: 20px;
  background-color: #008cff;
  color: white;
  padding: 20px 10px;
  border-radius: 6px;
  font-size: 16px;
}

.card button {
  margin-top: 10px;
  background-color: yellow;
  border: none;
  padding: 10px 15px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
}
.text {
  margin-top: 20px;
  background-color: #fbfdfc;
  color: rgb(20, 19, 19);
  padding: 20px 10px;
  border-radius: 6px;
  font-size: clamp(12px, 2vw, 16px); /* Auto-ajuste de tamaño */
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Responsive para celulares */
@media (max-width: 600px) {
  .container2 {
    flex-direction: column;
    align-items: center;
  }
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  background-color: #000;
  padding: 10px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo img {
  height: 40px;
}

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #f7c600;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Nav */
nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}

nav a {
  color: #f7c600;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #ff6600;
}

/* Hero */
.hero {
  text-align: center;
  
  
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;

}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  background-color: #111;
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #333;
}
/*body*/
.caja1 {
  background-color: #ffa060;
}
.container34 {
  background-image: url(img/fondo2a.jpg);
  width: 100%;
  height: 300px; /* o el alto que necesites */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}



/* Footer */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

footer .social {
  margin-bottom: 10px;
}

footer .social a {
  color: #f7c600;
  font-size: 1.4rem;
  margin: 0 10px;
  transition: color 0.3s;
}

footer .social a:hover {
  color: #ff6600;
}

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

  nav {
    width: 100%;
    display: none;
  }

  nav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
  }

  .logo img {
    height: 35px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
  }
/* --- Estilos Memotest --- */
.memotest {
  background: linear-gradient(#fffffe 1%, #f57615 99%);
  padding: 20px 20px;
  text-align: center;
}

.memotest-titulo {
  color: #f57615;
  font-size: 2rem;
  margin-bottom: 20px;
}

.memotest-info {
  font-size: 1rem;
  margin-bottom: 15px;
}

.memoboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.memocard {
  width: 70px;
  height: 70px;
  background-color: #fff;
  border: 2px solid #ff6640;
  border-radius: none ;
  cursor: pointer;
  position: relative;
}

.memocard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.memocard.memoflip img {
  display: block;
}

.memotest-oculto {
  display: none;
}

#memotestFinal h3 {
  color: rgb(244, 14, 6);
  margin-top: 20px;
}

#memotestFinal button {
  margin-top: 10px;
  padding: 10px 20px;
  font-weight: bold;
  background-color: #000a06;
  color: rgb(255, 234, 2);
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* Responsive tablero */
@media (max-width: 500px) {
  .memoboard {
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  }

  .memocard {
    width: 60px;
    height: 60px;
  }
}


.carrusel-section {
  padding: 40px 0;
  background-color: #fffffe;
  text-align: center;
}

.carrusel-section h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  color: #333;
}

.carrusel-container {
  position: relative;
  max-width: 90%;
  margin: auto;
  overflow: hidden;
  background-color: #fffffe;
}

.carrusel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 10px;
}

.carrusel-track img {
  flex: 0 0 auto;
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Botones */
.carrusel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.carrusel-btn:hover {
  background: rgba(0,0,0,0.8);
}

.carrusel-btn.prev {
  left: 10px;
}

.carrusel-btn.next {
  right: 10px;
}

/* Responsivo */
@media (max-width: 768px) {
  .carrusel-track img {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .carrusel-track img {
    width: 160px;
    height: 160px;
  }
}




.ubicacion-section {
  padding: 40px none;
  font-family: Arial, sans-serif;
  text-align: center;
}

.ubicacion-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.mapa-contenedor {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  background: linear-gradient(#f57615 1%, #fffffe 99%);
  padding-bottom: 50px;
  padding-top: 50px;
}

.columna-mapa {
  width: 180px;
}

.mapa-cuadrado {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* relación 1:1 */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.mapa-cuadrado iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
  top: 0;
  left: 0;
}

.columna-datos {
  max-width: 300px;
}

.columna-datos h3 {
  margin-top: 0;
  font-size: 22px;
}

.columna-datos p {
  margin: 8px 0;
}

@media (max-width: 768px) {
  .mapa-contenedor {
    flex-direction: column;
  }
}

/* contador*/
.zona-masiva-capi {
  background: linear-gradient(135deg, #ffe9c6, #ffdad6);
  padding: 20px 20px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.capibara-temporizador h2 {
  color: #9c5c2e;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.contador-capi {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contador-capi div {
  background: #fff8f0;
  border: 3px dashed #9c5c2e;
  border-radius: 15px;
  padding: 20px;
  min-width: 70px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
  animation: parpadeo-capi 2s infinite alternate;
}

.contador-capi span {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: #f77b00;
}

.contador-capi small {
  font-size: 0.9rem;
  color: #555;
}

@keyframes parpadeo-capi {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

























