.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.image-grid {
    display: grid;
    grid-gap: 20px;
    justify-content: center;
    grid-template-columns: repeat(auto-fill, 120px);
}

.image-card {
    position: relative;
    width: 120px;
    height: 118px;
}

.image-card > a {
    display: block; /* Asegura que el enlace se comporte como un bloque */
    position: relative; /* Para mantener el posicionamiento relativo del enlace */
    width: 100%; /* Asegura que el enlace ocupe todo el ancho del contenedor */
    height: 100%; /* Asegura que el enlace ocupe toda la altura del contenedor */
    text-decoration: none; /* Elimina el subrayado del enlace */
}

.image-card > a > img:first-child {
    width: 98px;
    height: 96px;
    transition: transform 0.2s;
    position: absolute;
    top: 11px;
    left: 11px;
}

.overlay-image {
    position: absolute;
    z-index: 1;
    transition: transform 0.2s;
}

.image-card img,
.overlay-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    transition: transform 0.2s;
}

.image-card:hover img {
    transform: scale(1.1);
}

.image-card:hover .overlay-image {
    transform: translate(-50%, -50%) scale(1.1);
}

.image-card p {
    color: white;
    text-shadow: -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000, 1px 1px 1px #000;
    font-family: 'Montserrat', sans-serif;
}

.overlay-image {
    position: absolute;
    width: 116px;
    height: 116px;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
}

.filter-container {
    text-align: center;
    margin-bottom: 20px;
}

.filter-container .filter-label {
    font-size: 18px;
    font-weight: bold;
    margin-right: 10px;
    color: #333;
}

.filter-container .styled-select-container {
    display: inline-block;
    position: relative;
}

.filter-container .styled-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 12px 40px 12px 20px;
    font-size: 16px;
    border: 2px solid #3498db;
    border-radius: 30px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    width: auto;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.filter-container .styled-select:hover {
    background-color: #f0f0f0;
}

.filter-container .styled-select:focus {
    outline: none;
    border-color: #007bff;
}

.filter-container .arrow {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none;
}

.filter-container .arrow::before,
.filter-container .arrow::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: #333 transparent transparent transparent;
}

.filter-container .arrow::before {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.filter-container .arrow::after {
    top: calc(50% + 2px);
    left: calc(50% + 1px);
    transform: translate(-50%, -50%) rotate(180deg);
}


