/*!
Theme Name: ecommerce
*
*	Задает ширину полей и контента 
* 
* 
* 
*/

.contact {
	gap: 3em;
    display: flex;
    flex-direction: column;
}

.section_contact {
    display: flex;
    flex-direction: row;
    background: var(--bg2);
    border-radius: 6px;

}

.cont-left {
    display: flex;
    flex-direction: column;
    padding: 1em;
    width: 50%;
}

.cont-right {
    width: 50%;
}

.cont_htext {
    font-size: var(--h4);
    font-weight: 500;
}

.cont_text {
    font-size: var(--h4);
}

.cont-right_img {
    object-fit: cover;
    object-position: center;
    border-radius: 0 6px 6px 0;
}

.cont_item {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 2em;
    align-items: center;
    padding: 1em;
}

.cont_item i {
    grid-row: 1 / 3;
    font-size: var(--h2);
    color: var(--elem_color1);
}

.cont_item_h {
    text-align: center;
    padding-bottom: 2em;
}


@media (max-width: 980px) {

    .section_contact {
        flex-direction: column;
    }

    .cont-left, .cont-right {
        width: 100%;
    }

    .cont-right_img {
        border-radius: 0 0 6px 6px;
    }

}

@media (max-width: 600px) {

    .section_contact {
        flex-direction: column;
    }

    .cont-left, .cont-right {
        width: 100%;
    }

    .cont-right_img {
        border-radius: 0 0 6px 6px;
    }

    .cont_text, .cont_htext {
        font-size: var(--h5);
    }

    .cont_item {
        padding: 1.5em;
    }

}