.list-item-container {
    display: flex;
    flex-direction: row;
}

.list-item-p {
    width: 100%;

}

.list-item-img{
    width: 100%;
    max-width: 300px;
}

@media screen and (max-width: 1200px) {
    .content {
        margin-bottom: 48px;
    }

    .content .list-item-container {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    .content:nth-child(2n+1) .list-item-container {
        flex-direction: column;
    }

    .list-item-img{
        display: flex;
        justify-content: center;
        max-width: 100%;
        height: 400px
    }

    .list-item-p > div{
        padding: 0!important;
        /* margin: 40px 0 0!important; */
    }
}

@media screen and (max-width: 575px) {
    .list-item-img{
        height: 315px;
    }

    .list-item-img > div{   
        /* background-size: contain!important; */
    }
}


@media screen and (max-width: 414px) {
    .list-item-img{
        height: 275px;
    }
}


@media screen and (max-width: 375px) {
    .list-item-img{
        height: 245px;
    }
}

@media screen and (max-width: 320px) {
    .list-item-img{
        height: 200px;
    }
}