.section--categories .container{
    display: flex;
    justify-content: space-between;
}
.section--categories .section__column{
    width: calc(50% - 20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    gap:40px;
}

.section--categories  .item {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.section--categories  .item .item__image {
    width: 100%;
    height: 100%;
}
.section--categories  .item .item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section--categories  .item span {
    position: absolute;
    bottom:40px;
    left:40px;
    color:var(--color-white);
    text-transform: uppercase;
    font-size:clamp(20px, 3.5vw, 30px);
    font-family: 'Heavitas', sans-serif;
    z-index: 15;
}
.section--categories  .item span::before{
    content:'';
    display: block;
    height: clamp(20px, 3.5vw, 26px);
    position: absolute;
    bottom:-8px;
    left:-10px;
    background: var(--color-primary);
    z-index: -1;
    border-radius: 5px;
}
.section--categories  .item--large {}

.section--categories  .item.active span::before { animation: spanOpen  0.5s ease forwards; }

@keyframes spanOpen {
    from {
        width: 0;
    }
    to {
        width: calc(100% + 20px);
    }
}
@media all and (max-width: 1000px){
    .section--categories {

    }
    .section--categories .section__column{
        width: calc(50% - 10px);
        gap:20px;
    }
}
@media all and (max-width: 750px){
    .section--categories .container {
        flex-direction: column;
        gap:20px;
    }
    .section--categories .section__column{
        width: 100%;
        gap:20px;
    }
    .section--categories .item {
        height: 300px;
    }
}
