body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #cce9ef;
}

header {
    background-color: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header h3 {
    margin: 0;
    text-align: center;

}

header img.logo {
    max-width: 100px;
    margin-bottom: 10px;
}

header h1 {
    margin: 0;
}

main {
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.category {
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #fff;
    margin: 1rem;
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s;
    width: 300px;
}

.category:hover {
    transform: scale(1.05);
}

.category a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-image {
    width: 100%;
    height: 200px; /* Puedes ajustar esta altura según el diseño */
    background-size: cover; /* Ajusta el tamaño de la imagen */
    background-position: center; /* Centra la imagen en el contenedor */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    margin-bottom: 1rem;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    position: relative;
    width: 100%;
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    main {
        padding: 1rem;
    }

    .category {
        margin-bottom: 1rem;
    }

    .category a {
        padding: 0.5rem;
    }

    .category-image {
        height: 150px; /* Ajusta la altura para pantallas más pequeñas */
    }
}

@media (max-width: 480px) {
    header img.logo {
        max-width: 80px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .category {
        width: 100%;
    }

    .category-image {
        height:   280px; /* Ajusta la altura para pantallas pequeñas */
    }
}
.social-media {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding: 10px 0;
    background-color: #f8f8f8;
    border-top: 2px solid #eee;
}

.social-media a {
    margin: 0 15px;
    color: #555;
    font-size: 30px;
    transition: color 0.3s, transform 0.3s;
}

.social-media a:hover {
    color: #0073e6; /* Color de enlace activo (por ejemplo, azul) */
    transform: scale(1.2);
}

.social-media i {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.social-media a:hover i {
    background-color: #0073e6; /* Fondo de enlace activo */
    color: #fff; /* Color del icono activo */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Estilo para el enlace de Google Maps */
.map-link {
    color: #0073e6;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s, text-decoration 0.3s;
}

.map-link:hover {
    color: #005bb5;
    text-decoration: underline;
}