/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: linear-gradient(to bottom, #D7E9F7, #E6E6FA);
}

/* Header */
.header {
    background: linear-gradient(#d7a8eb, #63aee4);
    color: white;
    padding: 40px 20px;
    text-align: center; /* Centra todo el contenido del header */
}

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

/* Logo */
.logo {
    display: flex;
    flex-direction: row; /* Cambiar de columna a fila para que el icono esté a la izquierda */
    align-items: center; /* Alinea el icono y el texto verticalmente */
    justify-content: center; /* Centra el logo */
}

.logo i {
    font-size: 2rem;
    margin-right: 10px; /* Espacio entre el icono y el texto */
}

.logo h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0; /* Eliminar el espacio extra debajo del nombre */
}

.logo h4 {
    font-size: 1.2rem;
    font-style: italic;
    color: #f1f1f1; /* Color suave para el eslogan */
    margin-top: 5px; /* Espacio entre el nombre y el eslogan */
}

/* Barra de búsqueda */
.search-bar {
    display: flex;
    width: 40%;
    margin-bottom: 20px;
}

.search-bar input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
    font-size: 1rem;
}

.search-bar button {
    background-color:  #9c23a7;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 1rem;
}

.search-bar button:hover {
    background-color: #993eb5;
}

/* Iconos */
.icons {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.5rem;
}

.icons i {
    cursor: pointer;
    transition: color 0.3s;
}

.icons .cart-counter {
    background: black;
    color: white;
    font-size: 0.8rem;
    padding: 3px 6px;
    border-radius: 50%;
    position: relative;
    top: -10px;
    right: 15px;
}

/* Menú de hamburguesa */
.menu-toggle {
    display: none;
}

.hamburger {
    display: block;
    font-size: 2rem;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px auto;
    transition: all 0.3s ease;
}

/* Cambiar a "X" cuando el checkbox esté marcado */
.menu-toggle:checked + .hamburger .bar:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 8px;
}

.menu-toggle:checked + .hamburger .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked + .hamburger .bar:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    top: -8px;
}

/* Menú de categorías */
.categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.categories a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s;
}

/* Contenedor principal */
.main-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 20px;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #D7E9F7, #E6E6FA);

}

.content {
    flex: 1;
}

.sidebar {
    width: 300px;
    height: 600px;
    padding: 20px;
    background-color: #f1f1f1;
    border-radius: 8px;
}

.sidebar-image {
    width: 100%; /* La imagen ocupa todo el ancho del aside */
    height: auto; /* Mantiene la proporción de la imagen */
    max-height: 450px; /* Altura máxima opcional */
    object-fit: cover; /* Ajusta la imagen sin deformarla */
    border-radius: 8px; /* Opcional: bordes redondeados */
}

.sidebar h3 {
    margin-bottom: 10px;
}

.sidebar ul {
    list-style-type: none;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    text-decoration: none;
    color: #a146ce;
}

/* Estilos para las pestañas */
.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.tab-link {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.tab-link.active {

    color: white;
}

/* Estilos para el contenido de las pestañas */
.tab-content {
    display: none;
    margin-top: 20px;
}

.tab-content.active {
    display: block;
}

/* Media Queries */

/* Pantallas medianas (tabletas) */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .categories {
        display: none;
        flex-direction: column;
        text-align: center;
    }

    .menu-toggle:checked + .hamburger + .categories {
        display: flex;
    }

    .categories a {
        margin: 10px 0;
    }

    .main-content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        margin-top: 20px;
    }
}

/* Pantallas pequeñas (móviles) */
@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }

    .logo h4 {
        font-size: 1rem; /* Reducir tamaño del eslogan en móviles */
    }

    .search-bar {
        width: 100%; /* Hacer que ocupe todo el ancho en móviles */
    }

    .search-bar input {
        font-size: 0.9rem;
    }

    .search-bar button {
        font-size: 0.9rem;
    }

    .icons {
        font-size: 1.2rem;
    }

    .cart-counter {
        font-size: 0.7rem;
        padding: 3px 6px;
    }

    .categories a {
        font-size: 0.9rem;
    }

    .sidebar {
        width: 100%;
    }
}

button:hover, .icons i:hover {
    transform: scale(1.1);
    transition: transform 0.2s;
}

.cart-counter {
    transition: transform 0.2s ease;
}

.cart-counter.animate {
    transform: scale(1.5);
}

.logo i {
    animation: infinite-bounce 1s ease-in-out infinite;
}

@keyframes infinite-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.categories .tab-link {
    position: relative;
    animation: shadow-move 2s linear infinite;
}

@keyframes shadow-move {
    0% {
        box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: -3px -3px 10px rgba(0, 0, 0, 0.2);
    }
    100% {
        box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    }
}

/* Estilo para el contenedor "Sobre Nosotros" es el de la mascota principal*/
.about-us-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Estilo de la cabecera de la sección */
.about-us-container h2 {
    font-size: 2.5rem;
    color: #0e0e0e;
    margin-bottom: 20px;
    text-align: left;
}

/* Estilo para el perfil del perro */
.dog-profile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

/* Estilo de la imagen del perro */
.dog-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Estilo de la información del perro */
.dog-info {
    max-width: 500px;
    text-align: left;
}

/* Estilo para los párrafos de la historia y características */
.dog-info p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Estilos generales para la sección "Mascota del Mes" */
.mascota-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* Estilos para cada tarjeta de mascota */
.mascota-card {
    background-color: #fff;
    border-radius: 10px;
    width: 250px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease;
}

.mascota-card:hover {
    transform: translateY(-5px);
}

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

.mascota-card p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
}

/* Estilo para el botón de votar */
.votar-btn {
    background-color: #9c23a7;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.votar-btn:hover {
    background-color: #993eb5;
}

.votar-btn:focus {
    outline: none;
}

/* Estilo para el formulario de carga de mascotas */
.upload-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.upload-form h2 {
    font-size: 2rem;
    color: #0e0e0e;
    margin-bottom: 20px;
    text-align: center;
}

.upload-form input[type="text"], .upload-form input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.upload-form button {
    background-color: #9c23a7;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.upload-form button:hover {
    background-color: #993eb5;
}

/* Estilo para las alertas */
.alert {
    background-color: #ffeb3b;
    color: #333;
    padding: 10px;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
}

/* Estilo para los títulos principales de la sección Mascota del Mes */
.mascota-container h2 {
    font-size: 3rem;
    color: #9c23a7;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(to right, #d7a8eb, #63aee4);
    -webkit-background-clip: text;
    background-clip: text;
    display: inline-block;
    letter-spacing: 2px;
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.mascota-container h2:hover {
    color: #ff6f91;
    background: linear-gradient(to left, #ff6f91, #9c23a7);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Títulos de cada tarjeta de mascota */
.mascota-card p {
    font-size: 1.5rem;
    color: #333;
    font-weight: bold;
    text-transform: capitalize;
    margin-top: 10px;
    letter-spacing: 1px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.mascota-card p:hover {
    color: #9c23a7;
    transform: translateY(-5px);
}

/* Subrayado animado para los títulos de las pestañas o secciones dentro de "Mascota del Mes" */
.tabs .tab-link {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.tabs .tab-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 6px;
    background-color: #9c23a7;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tabs .tab-link:hover::after {
    transform: scaleX(1);
}

/* Título de la sección "Sobre Nosotros" */
.about-us-container h2 {
    font-size: 2.5rem;
    color: #0e0e0e;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.about-us-container h2 {
    position: relative;
    display: inline-block; /* Permite ajustar el ancho al texto */
}

.about-us-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #9c23a7;
    animation: pulseLine 2s infinite ease-in-out;
}

@keyframes pulseLine {
    0%, 100% {
        opacity: 0;
        transform: scaleX(0);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}



.about-us-container h2:hover::after {
    transform: scaleX(1);
}

/* Estilo general */
#upload-section, #mascotas-list {
    background-color: #fdfdfd;
    padding: 20px;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 600px;
    font-family: 'Arial', sans-serif;
}

/* Títulos */
#upload-section h3, #mascotas-list h3 {
    text-align: center;
    color: #141514;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Formulario de subir foto */
#upload-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#upload-form label {
    font-weight: bold;
    color: #333;
}

#upload-form input[type="text"],
#upload-form input[type="file"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
}

#upload-form button {
    margin-top: 10px;
    background-color: #9b59b6;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

#upload-form button:hover {
    background-color: #9b59b6;
}

/* Tarjetas de mascotas */
.mascota-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 15px auto;
    padding: 10px;
    width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mascota-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.mascota-card img {
    max-width: 100%;
    border-radius: 8px;
}

.mascota-card p {
    font-weight: bold;
    margin: 10px 0;
    color: #333;
}

.votar-btn {
    background-color: #9b59b6;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.votar-btn:hover {
    background-color: #9b59b6;
}

/* Footer */
footer {
  background-color: #85baf0; /* Fondo oscuro */
  color: #ffffff; /* Texto blanco */
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: #85baf0;
  clip-path: polygon(0% 50%, 10% 60%, 20% 50%, 30% 40%, 40% 50%, 50% 60%, 60% 50%, 70% 40%, 80% 50%, 90% 60%, 100% 50%); /* Forma de onda */
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin: 10px;
}

.footer-section h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #f4f0f0; /* Color gris claro para los títulos */
}

.footer-section a {
  color: #ffffff; /* Enlaces en blanco */
  text-decoration: none;
  display: block;
  margin: 5px 0;
}

.footer-section a:hover {
  color: #edeff0; /* Color al pasar el cursor */
}

/* Logo del Footer */
.footer-logo {
  text-align: center;
  margin-top: 20px;
}


/* Texto Legal */
.footer-legal {
  text-align: center;
  margin-top: 20px;
  color: #131313; /* Texto gris claro */
  font-size: 14px;
}

/* Responsividad del Footer */
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    text-align: center;
  }
}
footer {
    background-color:#85baf0;
    color: white;
    padding: 40px;
    text-align: center;
    border-radius: 30px; /* Bordes redondeados */
    
  }
  
  .footer-legal {
    text-align: center;
    margin-top: 20px;
    color: #eee9e9; /* Texto gris claro */
    font-size: 14px;
    width: 100%;
    position: relative;
    padding-top: 10px;
  }
  
  /* Contenedor general para las secciones */
.about-us-sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

/* Estilo común para las secciones */
.Nosotros-info, .Misión-info, .Visión-info, .elegirnos-info  {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Títulos de cada sección */
.Nosotros-info h1, .Misión-info h1, .Visión-info h1, .elegirnos-info h1 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #007bff;
}

/* Estilo para los párrafos de las secciones */
.Nosotros-info p, .Misión-info p, .Visión-info p, .elegirnos-info p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
}

#translate-button {
    background-color: #f0f0f0;
    border: none;
    color: #333;
    padding: 5px 10px;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

#translate-button:hover {
    background-color: #ddd;
}


/* Estilos del carrusel */
/* Estilos del carrusel */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 20px auto; /* Añadir margen alrededor del carrusel */
    overflow: hidden;
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease; /* Transición solo para el carrusel */
}

.carousel-image {
    width: 100%;
    height: auto;
    display: none;  /* Ocultar todas las imágenes por defecto */
}

.carousel-image.active {
    display: block; /* Mostrar solo la imagen activa */
}

/* Estilos de los botones de navegación */
.carousel-button {
    position: absolute;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 10; /* Asegurarse de que los botones estén encima de las imágenes */
    transition: none; /* Sin animación ni transición en los botones */
}

/* Botón anterior */
.prev {
    left: 0;
}

/* Botón siguiente */
.next {
    right: 0;
    /* Ajusta la posición si es necesario */
}

/* Estilos del menú de hamburguesa */


.producto {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    width: 200px;
    margin: 10px;
    grid-template-columns: repeat(3, 1fr);
}

.contenedor-productos {
    display: grid; /* Activar CSS Grid */
    grid-template-columns: repeat(3, 1fr); /* Tres columnas iguales */
    gap: 19px; /* Espaciado entre productos */
    max-width: 1200px;
    margin: 0 auto; /* Centrar el contenedor */
    padding: 20px; /* Espaciado interior */
  }

.producto-imagen {
    max-width: 100%;
    height: auto;
}

.producto-precio {
    font-size: 16px;
    font-weight: bold;
}

.btn-carrito {
    background-color: #007bff;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
}

#carrito {
    margin-top: 20px;
    border-top: 2px solid #ccc;
    padding-top: 10px;
}

#productos-carrito {
    list-style-type: none;
    padding: 0;
}

.container {
    width: 80%;
    margin: 0 auto;
}

.card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    padding: 20px;
    transition: transform 0.3s;
    
}

.card:hover {
    transform: translateY(-5px);
}

.card h2 {
    color: #141414;
     margin-bottom: 10px;
}

.card p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.card ul {
    list-style-type: square;
    padding-left: 20px;
}

.card-footer {
    text-align: center;
    padding-top: 10px;
    color: #090909;
}

.card-footer a {
    text-decoration: none;
    color: #1b2c85;
}

.card-footer a:hover {
    text-decoration: underline;
}

.testimonios {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
.testimonios h2 {
    margin-bottom: 20px;
    color: #333;
}
.formulario {
    margin-bottom: 30px;
}
.formulario input, .formulario textarea, .formulario button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.formulario button {
    background-color: #4e7cbc;
    color: white;
    border: none;
    cursor: pointer;
}
.formulario button:hover {
    background-color: #4e7cbc;
}
.lista-testimonios {
    list-style: none;
    padding: 0;
}
.testimonio {
    padding: 15px;
    margin-bottom: 15px;
    background: #f1f1f1;
    border-radius: 5px;
}
.testimonio p {
    margin: 5px 0;
}
.testimonio .nombre {
    font-weight: bold;
    color: #555;
}

#mascota-del-mes {
    text-align: center;
    margin: 20px;
  }
  
  #mascota-del-mes-info {
    display: none;
    margin-top: 20px;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 8px;
  }
  
  #mascota-del-mes img {
    max-width: 100px;
    height: auto;
    margin-top: 10px;
  }
  
  textarea, input[type="text"], input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
  }
  
  button {
    padding: 10px 20px;
    background-color: #4e7cbc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #4e7cbc;
  }
  
  .productos-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas */
    gap: 20px;
    padding: 20px;
}

.producto {
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background-color: #f9f9f9;
}

.producto-imagen {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.producto-nombre {
    font-size: 1.2em;
    margin: 10px 0;
}

.producto-precio {
    color: #0a0a0a;
    font-size: 1.1em;
    font-weight: bold;
}

.btn-carrito {
    padding: 10px 15px;
    font-size: 1em;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-carrito:hover {
    background-color: #0056b3;
}

/* Ajuste responsivo para pantallas pequeñas */
@media (max-width: 768px) {
    .productos-container {
        grid-template-columns: 1fr; /* 1 columna en pantallas pequeñas */
    }
}

.titulo-consejos{
    margin-bottom: 20;
}

#mascota-form {
    display: flex;
    flex-direction: column; /* Coloca los elementos uno debajo del otro */
    gap: 16px; /* Añade espacio uniforme entre los elementos */
}

#mascota-form label {
    font-weight: bold; /* Opcional: para destacar las etiquetas */
}

#mascota-form input,
#mascota-form textarea,
#mascota-form button {
    padding: 8px;
    font-size: 16px; /* Tamaño legible */
    border: 1px solid #ccc; /* Borde simple */
    border-radius: 4px; /* Bordes redondeados */
}

#mascota-form textarea {
    resize: vertical; /* Permite ajustar la altura vertical del área de texto */
}

#mascota-form button {
    background-color: #60a5ef; /* Color de fondo para el botón */
    color: white;
    border: none;
    cursor: pointer;
}

#mascota-form {
    margin-top: 24px; /* Añade espacio entre el título y el formulario */
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.about-us-container {
    margin: 30px auto; /* Centra la sección y agrega espacio superior/inferior */
    padding: 20px;
    max-width: 800px; /* Define un ancho máximo para evitar que se extienda demasiado */
}

header {
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}


.amigos{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.apple{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.VETE{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.dog{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.mi-clase{
    text-align: left;
}

.contenedor1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 800px;
    background-color: #fdffff;
    padding: 20px;
    border-radius: 5px;
    margin: 20px auto; /* Genera espacio en la parte superior e inferior */
    text-align: left;
}


.text-section {
    flex: 1; /* El texto ocupa más espacio */
    text-align: left; /* Alinea el texto a la izquierda */
 }
  
  .image-section {
    flex: 1; /* Permite que la imagen ocupe el espacio restante */
    display: flex;
    justify-content: flex-end;
  }

  .text-section h2 {
    margin-bottom: 20px; /* Espacio debajo del título h2 */
}

.text-section p {
    margin-top: 10px; /* Espacio encima del párrafo */
    margin-bottom: 10px; /* Espacio debajo del párrafo */
    line-height: 1.6;
}

  
#imagen-mascota-del-mes {
    max-width: 100%;
    max-height: 300px;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 5px;
}

/* Estilo del footer */
footer {
    background-color: #87CEEB; /* Azul claro */
    padding: 20px;
    text-align: center;
    color: #fff;
}

footer a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}

/* Modal */
.modal {
    display: none; /* Ocultar por defecto */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro transparente */
}

.modal-content {
    background-color: #fff;
    margin: 10% auto; /* Centrar verticalmente */
    padding: 20px;
    border-radius: 10px;
    width: 60%; /* Ancho de la caja */
    text-align: center;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content img {
    max-width: 100%; /* Imagen responsiva */
    margin-top: 10px;
    border-radius: 5px;
}

.close {
    color: #c61d91;
    font-size: 1.5em;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 10px;
    cursor: pointer;
}

.close:hover {
    color: #ff0000; /* Rojo al pasar el ratón */
}

.faq-container {
    margin: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}

.faq-item {
    margin-bottom: 33px;
}

.faq-question {
    font-weight: bold;
    color: #2c3e50;
}

.faq-answer {
    margin-top: 5px;
    color: #34495e;
}

.modal-content h2 {
    margin-bottom: 20px; /* Espacio abajo del h2 */
}

.modal-content p {
    margin-top: 10px; /* Espacio arriba del párrafo */
}

.modal-content img {
    margin-top: 20px; /* Espacio arriba de la imagen */
    max-width: 100%; /* Asegura que la imagen no se desborde */
    height: auto; /* Mantiene la proporción de la imagen */
}

.modal-content {
    padding: 20px;
    background-color: #fefefe;
    margin: 15% auto;
    border: 1px solid #888;
    width: 80%;
}

.faq-itemor {
    margin-bottom: 20px; /* Agrega espacio entre cada pregunta y respuesta */
}

.Laq-question {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px; /* Espacio abajo del título */
}

.Laq-answer {
    font-size: 16px;
    margin-bottom: 10px; /* Espacio abajo de la respuesta */
}

.modal-content img {
    margin-top: 20px; /* Espacio entre las preguntas y la imagen */
    max-width: 100%;
    height: auto;
}
