.portfolio {
    min-width: 200px;
    max-width: 800px;
    width: 100%;

    display: flex;
    flex-direction: column;
}

.section {
    display: flex;
    justify-content: space-between;
    min-width: 200px;
    max-width: 800px;
    width: 100%;

    margin: 20px auto;

}

.section:nth-child(2n+2) {
    flex-direction: row-reverse;
}


.section-img {
    width: 350px;
}

.section-img img {
    width: 350px;
}

.section-descr {
    display: flex;
    flex-direction: column;
    align-items: center;

    border-top: 1px solid rgba(51, 50, 61, 0.15);
    border-bottom: 1px solid rgba(51, 50, 61, 0.15);

    width: 49%;
}

.section-descr h1 {
    margin-top: 50px;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 42px;

    color: #33323D;

    max-height: 100%;
}

.section-descr p {
    margin-top: 28px;

    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    color: #33323D;

    mix-blend-mode: normal;

    max-height: 100%;
}

@media (max-width: 800px) {
    .portfolio {
        max-width: 600px;
    }

    .section {
        display: flex;
        min-width: 200px;
        max-width: 600px;
        width: 100%;

        margin: 20px auto;
    }

    .section-img {
        width: 300px;
    }

    .section-img img {
        width: 300px;
    }
}

@media (max-width: 600px) {
    .portfolio {
        max-width: 300px;
    }

    .section {
        flex-direction: column;
        justify-content: start;
        align-items: center;

        min-width: 200px;
        max-width: 300px;
        width: 100%;
    }

    .section:nth-child(2n+2) {
        flex-direction: column;
    }

    .section-descr {
        display: flex;
        flex-direction: column;
        align-items: center;

        border-top: 1px solid rgba(51, 50, 61, 0.15);
        border-bottom: 1px solid rgba(51, 50, 61, 0.15);

        width: 100%;
    }
}

@media (max-width: 300px) {
    .portfolio {
        max-width: 200px;
    }

    .section-img {
        display: none;
    }

    .section-descr h1 {
        margin-top: 50px;
        font-style: normal;
        font-weight: 700;
        font-size: 30px;
        line-height: 42px;

        color: #33323D;

        max-height: 100%;
    }

    .section-descr p {
        margin-top: 28px;

        font-style: normal;
        font-weight: 400;
        font-size: 16px;
        line-height: 30px;
        color: #33323D;

        mix-blend-mode: normal;

        max-height: 100%;
    }
}

@media (max-width: 200px) {}