html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: sans-serif;
  font-size: 2vw;
  background-color: #1a1a1a;
  color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content {
  text-align: center;
  z-index: 1;
    width: 100%;
}

h1 {
  font-size: 16vw;
  margin: 0;
  letter-spacing: 2px;
}

.meaning {
  font-size: 1.2em;
  margin-top: 0.5em;
  color: #bbb;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal.active {
  display: flex;
}




/* Contenedor general */
.captcha-container {
  margin-top: 2em;
  text-align: center;
}

/* Caja principal */
.captcha-prebox {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  border: 1px solid #ccc;
  padding: 10px 15px;
  border-radius: 4px;
  width: 400px;
  margin: 0 auto;
}

/* Checkbox */
.captcha-checkbox {
  width: 25px;
  height: 25px;
  margin-right: 12px;
}

/* Label */
.captcha-label {
  font-size: 20px;
  color: #000;
  margin-right: 20px;
}

/* Logo */
.captcha-logo {
  width: 142px;
  height: 80px;
}

/* Botón */
.captcha-button {
  margin-top: 20px;
  background: #2fc084;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: default;
  opacity: 0.5;
}

/* Botón activo */
.captcha-button.enabled {
  cursor: pointer;
  opacity: 1;
}








.capthca-box {
  width: 420px;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
  color: #000;
}

.capthca-header {
  background-color: #2fc084;
  color: white;
  height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10px;
}

.capthca-header small {
  font-size: 12px;
  margin-bottom: 2px;
}

.capthca-header strong {
  font-size: 20px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 10px;
}

.image-grid div {
  width: 128px;
  height: 128px;
  background-color: #eee;
  background-size: cover;
  background-position: center;
  border: 1px solid #ccc;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.image-grid div.selected::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(47, 192, 132, 0.5);
  box-shadow: inset 0 0 0 2px #2fc084;
  border-radius: 3px;
}

.footer-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
}

.icons {
  display: flex;
  gap: 8px;
}

.verify-button {
  background-color: #2fc084;
  color: white;
  border: none;
  padding: 6px 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
}

.verify-button:hover {
  background-color: #27a373;
}
.footer-content {
/*    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    color: #B1ADAE;*/
}
.footer-ecc {
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 0.6rem;
    color: #B1ADAE;
    text-transform: lowercase;
}

.footer-ecc a {
  color: #B8B6B7;
  text-decoration: none;
}

.footer-ecc:hover {
  color: #2fc084;
}
.footer-about {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 0.7rem;
    color: #B1ADAE;
    margin: 0.6rem;
}

.footer-about a {
  color: #fff;
  text-decoration: none;
}

.footer-about:hover {
  color: #2fc084;
}
.footer-text {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: 0.4rem;
    color: #B1ADAE;
    text-transform: lowercase;
}


/* Mobile-friendly adjustments */
@media (max-width: 600px) {
    
    .image-grid div {
    width: 113px;
  height: 113px;
  background-color: #eee;
  background-size: cover;
  background-position: center;
  border: 1px solid #ccc;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}
    
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
    width: 90%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
    
    .modal.active {
  display: flex;
          width: 100%;
}
    
    .content {
  text-align: center;
  z-index: 1;    
    width: 80%;
}
    
    
    .captcha-prebox {
    width: 300px;
/*    flex-direction: column;*/
    padding: 15px;
  }

  .captcha-label {
    font-size: 16px;
    margin: 10px 0;
  }

  .captcha-logo {
    width: 100px;
    height: auto;
    margin-top: 10px;
  }
    
    
    
    .capthca-box {
  width: 380px;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
  color: #000;
}
    
  #challenge-container {
    width: 95vw;
    padding: 1em;
  }

  .captcha-image {
    width: 27vw;
    height: 27vw;
    margin: 0.5vw;
  }

  #challenge-instructions {
    font-size: 1rem;
    margin-bottom: 0.5em;
  }

  #submit-button {
    font-size: 1rem;
    padding: 0.5em 1em;
    margin-top: 1em;
  }

  #logo {
    width: 100px;
    height: auto;
    margin-bottom: 1em;
  }
    
    .footer-about {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    color: #B1ADAE;
    margin: 3rem;
   
}
    .footer-ecc {
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    color: #B1ADAE;
    text-transform: lowercase;
}
    .footer-text {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
        margin-top: 2em;
    color: #B1ADAE;
    text-transform: lowercase;
}

    .meaning {
  font-size: 2em;
  margin-top: 0.5em;
  color: #bbb;
}
    
}

