.business-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 0.5fr));
    gap: 3.5rem;
    padding: 1rem;
}

.business-card {
    background: linear-gradient(135deg, #d0e1ff, #a3b8ff);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 1.8rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    font-family: Arial, sans-serif;
    font-size: 15px;
    color: #2c3e50;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-image: url('fondo1.jpg');
}
h1 {
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
    background-color: white;
    opacity: 80%;
}
header{
    text-align: center;
    background-image: url('admin.jpg');
    font-family: Arial, sans-serif;
    color: #1d1e22;
}
.breadcrumb {
    list-style: none;
    display: flex;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    font-size:17px;
    font-family: "Roboto Mono", monospace;
}
.breadcrumb li {
    margin: 0 5px;
}
.breadcrumb li a {
    text-decoration: none;
    color: #2563eb;
    font-size:18px;
}
.breadcrumb li:not(:last-child)::after {
    content: ">";
    margin-left: 5px;
    color: #333;
}
.search-bar {
    margin-top: 5rem;
    display: flex;
    justify-content: center;
}
.search-bar form {
    display: flex;
}
.search-bar input[type="text"] {
    padding: 11px;
    border: 5px;
    border-radius: 5px 0 0 5px;
    width: 200px;
    height: auto;
}
.search-bar button {
    padding: 7px 10px;
    border: none;
    color: #181717;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}
footer {
    text-align: center;
    background-color: white;
    bottom: 0;
    width: 100%;
    height: 5rem;
    margin-top: 2%;
    position: fixed;
}
footer p {
    font-size: 12px;
    font-weight: bold;
    margin: 0;
    color: rgb(0, 0, 0);
    font-family: Arial, sans-serif;
}
footer img {
    height: 50px; /* Mantiene la proporción y evita que se deforme */
    object-fit: cover; /* Recorta la imagen si es necesario en lugar de deformarla */
}
@media screen and (max-width: 480px) {
    header {
        background-image: url("admin.jpg");
        height: 150px;
        background-size: 100% 100%;  /* Esto asegura que la imagen de fondo se ajuste al contenedor */
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;  /* Se asegura de que el header ocupe todo el ancho disponible */
    }
    body {
        margin: 0;
        padding: 0;
        background-image: url("fondo_movil.webp");
        background-size: cover;  /* Asegura que la imagen de fondo cubra toda el área */
        background-position: center;  /* Centra la imagen de fondo */
        overflow-x: hidden; /* Asegura que no haya desplazamiento horizontal */
        height: 550px;
    }
    .search-bar {
        display: flex;
        justify-content: center;
        margin-top: 15.8%;
    }
    .business-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 0.5fr));
        gap: 3.5rem;
        padding: 1rem;
    }
    footer {
        text-align: center;
        background-color: white;
        bottom: 0;
        width: 100%;
        height: 6rem;
        position:fixed;
        padding-bottom: 8px;
    }
    footer img {
        content: url("../footer-mob.webp"); /* Imagen específica para móviles */
        max-height: 100px; /* Ajusta la altura de la imagen en dispositivos móviles */
        width: 100%; /* Asegura que la imagen ocupe todo el ancho del contenedor */
        height: auto; /* Mantiene la proporción de la imagen */
        object-fit: contain; /* Asegura que la imagen se ajuste sin distorsionarse */
    }
    footer p {
        font-size: 12px;
        font-weight: bold;
        margin: 0;
        color: rgb(0, 0, 0);
    }
}