footer {
  background-color: rgba(102, 196, 149, 0.767);
  color: white;
  text-align: center;
  padding: 1rem;
  width: 100%;
  position: relative;
}
body {
  font-family: Arial, sans-serif;
  background-color: #31c45136;
  margin: 0px;
  padding: 0px;
}

header {
  background-color: rgba(102, 196, 149, 0.767);
  color: rgb(28, 71, 71);
  padding: 1em;
  border-radius: 20px;
  border: 2px solid;
  width: auto;
}

/* menu hamburgesa*/
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Ocultar el checkbox */
#menu-toggle {
  display: none;
}

/* Ícono hamburguesa */
.menu-icon {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  margin-left: auto;
}
/* Estilos del menú */
.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin-left: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }
  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 180px;
    right: 0px;
    background-color: rgba(102, 196, 149, 0.767);
    width: 200px;
    display: none;
    padding: 1rem;
  }

  /* Mostrar el menú si el checkbox está activado */
  #menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
  }
}
nav ul {
  list-style-type: none;
  padding: 0;
}

nav ul li {
  display: inline;
  margin-right: 10px;
}

nav ul li a {
  color: rgb(28, 71, 71);
  text-decoration: none;
  font-size: larger;
  font-weight: 600;
}
nav ul li a:hover {
  color: #d18ab4;
}
.logo-titulo {
  display: flex;
  align-items: center;
  gap: 15px; /* Espacio entre logo y título */
}
.logo {
  height: 150px; /* ajustar el tamaño */
  width: auto;
  border-radius: 300px;
}

.contenedor-lado-a-lado {
  background-color: rgb(1000, 1000, 1000);
  border: 2px solid;
  border-radius: 20px;
  text-align: justify;

  align-items: center; /* Centra verticalmente */
  justify-content: space-between;
  gap: 10px;
  padding: 20px;
  max-width: 1000px;
  margin: auto;
}

.texto {
  flex: 1; /* Ocupa una parte del ancho */
  font-size: 16px;
  text-align: justify;
  font-weight: 500;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
.imagen img {
  width: 300px; /* Tamaño de imagen */
  height: auto;
  border-radius: 8px; /* Bordes redondeados opcional */
}
.imagen3 {
  width: 100%;
  height: 100%;
}
h1 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
.hero {
  background: linear-gradient(to right, #83ee95c4, #ec4d8a);
  padding: 3rem;
  text-align: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  border-radius: 20px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero {
  border: #af52a0;
}
.hero .boton {
  display: inline-block;
  background-color: #f1a3de;
  color: #161111;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1rem;
}
ol {
  background-color: rgba(241, 81, 169, 0.096);
  border-radius: 20px;
}

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

.card {
  width: 180px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.caption {
  background-color: #e9b0df;
  padding: 10px;
  font-weight: bold;
}
.cards {
  text-align: center;
}

/* Pagina 1 */

.body1 {
  font-family: Georgia, serif;
}

.container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap-reverse;
  padding: 20px;
  background-color: #93e9c236;
  border-radius: 30px;
}

.h3-1 h3 {
  font-size: 24px;
  margin-bottom: 1px;
  color: #1e634e;
  text-align: center;
  padding: 10px;
}
.lista-desordenada {
  max-width: 600px; /* ancho máximo para que no se vea demasiado extendido */
  margin: 0 auto; /* centrado horizontal */
  background-color: #ecb0b0;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: justify;
  color: black;
}

.ilustrativo img {
  display: inline;
  gap: 10px;
  padding: 50px;
}
.ilustrativo img {
  width: 400px;
  border-radius: 100px;
  object-fit: cover;
}
.parrafo-quienes-somos {
  display: flex;
  max-width: 80%; /* ancho máximo para que no se vea demasiado extendido */
  margin: 0 auto; /* centrado horizontal */
  background-color: #ecb0b0;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: justify;
  color: black;
}
.mapa {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
.mapa iframe {
  width: 100%;
  max-width: 800px; /*  ancho  */
  height: 400px;
  border: 0;
}
.formulario {
  flex: 1;
  justify-content: right;
  max-width: 600px;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.formulario input {
  width: 100%;
  padding: 0.8rem;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-align: justify;
}

/* página-2 */

.tarjeta-candidato img {
  border-radius: 300px;
  width: 200px;
  margin: 30px;
  border: #8f7186 solid;
}

.Titulopag header {
  text-align: center;
  font-style: oblique;
  font-size: x-large;
  border-radius: 30px;
  background-color: #e2e2e2;
  border: #155743 solid;
  color: #22856c;
  margin: 0px;
  margin-inline: 0px;
}
.contenedor-candidatos {
  display: flex;
  flex-wrap: wrap;            
  justify-content: center;    
  gap: 20px;                 
  padding: 20px;
}

.tarjeta-mascota {
  width: 250px;
  background-color: #ecb0b0;  
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
  padding: 16px;
}

.tarjeta-mascota img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.boton-adoptar {
  background-color: #ce62c7;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.boton-adoptar:hover {
  background-color: #5b3c2a;
}


/* pagina3 */

.Contenedor_principal {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.Titulopag {
  max-width: 1200px;
  width: 95%;
  padding: 0px;
  margin: 0px;
  border-radius: 10px;
  font-family: sans-serif;
}

.Titulopag h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-align: center;
}

.Titulopag ol {
  padding-left: 20px;
  font-size: 1.5rem;
}

.Titulopag li {
  margin-bottom: 15px;
  line-height: 1.6;
}
/* pagina 4 */

.formulario-contacto {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  min-height: 100vh;
}

/* Estilo del formulario */
.formulario {
  background-color: #ecb0b0;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
}

.formulario h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: rgb(28, 71, 71);
}

/* Etiquetas y campos */
.formulario label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: rgb(28, 71, 71);
}

.formulario input,
.formulario textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
  background-color: #f9e8e5;
}

.formulario textarea {
  resize: vertical;
}

/* Botón */
.formulario button {
  width: 100%;
  padding: 14px;
  background-color: #007bff;
  color: white;
  border: none;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.formulario button:hover {
  background-color: #0a70dee9;
}
/* pagina 5 */

#contenedorOpiniones {
  background-color: #ecb0b0cc;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 6px 15px rgba(176, 16, 16, 0.1);
  max-width: 600px;
  margin: 2rem auto;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #161616;
}

#contenedorOpiniones h2 {
  text-align: center;
  color: #1e634e;
  margin-bottom: 1.5rem;
}

#contenedorOpiniones form#form-opinion {
  display: flex;
  flex-direction: column;
}

#contenedorOpiniones form#form-opinion input,
#contenedorOpiniones form#form-opinion textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1.2rem;
  border: 1.5px solid #a96396;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.3s ease;
}

#contenedorOpiniones form#form-opinion input:focus,
#contenedorOpiniones form#form-opinion textarea:focus {
  border-color: #d18ab4;
  outline: none;
  box-shadow: 0 0 5px #d18ab4aa;
}

#contenedorOpiniones form#form-opinion button {
  background-color: #af52a0;
  color: #fff;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

#contenedorOpiniones form#form-opinion button:hover {
  background-color: #d18ab4;
}

#contenedorOpiniones #opiniones-container {
  margin-top: 2rem;
}

/* Opiniones individuales */

#contenedorOpiniones .opinion-item {
  background-color: white;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.05);
  border: 20px #155743;
}

#contenedorOpiniones .opinion-item h4 {
  margin: 1rem;
  color: #af52a0;
}

#contenedorOpiniones .opinion-item p {
  margin: 20px;
  font-style: italic;
  line-height: 1.4;
}
