.infographics-view {
    background-image: url(../images/fondo_espacio_naranja.png);
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
}

.infographics-view section {
    padding: 6% 10%;
    position: relative;
    overflow: hidden;
}

.infographics-view .page-header {
    padding-top: 120px;
    padding-bottom: 0px;
}

.infographics-view .page-header p {
    font-size: 2rem;
    padding: 10px;
    margin: 30px auto 40px;
}

.infographics-view section.info-filter-content {
    padding-top: 0px;
}

.box-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 60px;
    position: relative;
}

.item {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    width: calc(25% - 10px);
    height: 250px;
    margin: 5px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.item a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.item a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    z-index: 1;
}

.item a::before {
    content: '\F0339';
    font-family: 'Material Design Icons';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.item a:hover::after {
    opacity: 0.85;
}

.item a:hover::before {
    opacity: 1;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}

@media (min-width: 1600px) {
    .item {
        width: calc(20% - 10px);
    }
}

@media (max-width: 991px) {
    section.info-filter-content {
        padding: 0 6%;
    }

    .item {
        width: calc(33% - 10px);
    }
}

@media (max-width: 768px) {
    .infographics-view {
        background-size: 160%;
        background-attachment: scroll;
        background-position: right top;
    }

    .infographics-view .page-header {
        padding-top: 70px;
    }

    .infographics-view .page-header p {
        font-size: 1.8rem;
        padding: 0px;
        margin: 10px auto 20px;
    }

    .item {
        width: calc(33.33% - 10px);
        height: 200px;
    }

    .filter-buttons {
        margin-bottom: 30px;
    }
}

@media (max-width: 500px) {
    .item {
        width: calc(50% - 10px);
        height: 160px;
    }
}