.container-cards-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    grid-auto-rows: minmax(100px, auto);
}

.card {
    background-color: $light;
    display: flex;
    padding: 1rem;
    box-shadow: 1px 1px 2px $grey;
    border-radius: 2px;
    text-decoration: none;
    flex-direction: column;
    justify-content: space-between;

    img,
    svg {
        max-height: 15rem;
    }
}


.bg-b {
    background-color: royalblue;
}

@media (max-width: 1200px) {
    .container-cards-list {
        grid-template-columns: repeat(3, 1fr);

    }
}

@media (max-width: 800px) {
    .container-cards-list {
        grid-template-columns: repeat(2, 1fr);

    }
}

@media (max-width: 500px) {
    .container-cards-list {
        grid-template-columns: repeat(1, 1fr);

    }
}


.box-toggle {
    box-shadow: 1px 2px 5px rgba(0,0,0,0.2);

    &-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: $light;
        padding: 0.5rem 1rem;
        border-radius: 0.2rem;

        svg {
            width: 2rem;
        }
    }

    svg {
        transform: rotate(270deg);
        transition: transform 0.3s;

        &.open {
            transform: rotate(90deg);
        }
    }

    &-content {
        padding: 0.5rem 1rem;
    }
}
