.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.item {
    width: 30%;
    margin-bottom: 20px;
    text-align: center;
}
.item img {
    width: 100%;
    height: auto;
}
.item a {
    text-decoration: none;
    color: blue;
}
.short-text {
    display: inline;
}
@media (max-width: 992px) {
    .item {
        width: 48%;
    }
}
@media (max-width: 768px) {
    .item {
        width: 48%;
    }
}
@media (max-width: 480px) {
    .item {
        width: 30%;
    }
    .short-text {
        display: block;
    }
    .short-text span {
        display: block;
    }
}