/* -- Стили для обертки -- */

.main_wrapper {
    grid-column: 1/2;
    grid-row: 2/3;

    justify-self: stretch;
    align-self: stretch;

    display: grid;
    grid-template-columns: 1fr minmax(360px, 1140px) 1fr;
}

main {
    grid-column: 2/3;
    grid-row: 1/2;

    justify-self: center;
    align-self: stretch;

    display: grid;
    grid-template-columns: repeat(1, auto);
    grid-template-rows: repeat(4, auto);
}



/* -- Стили для первой секции -- */

.section_1 {
    grid-column: 1/2;
    grid-row: 1/2;

    justify-self: stretch;
    align-self: stretch;

    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: auto;
    grid-row-gap: 20px;

    margin: 80px 80px;
    margin-top: 40px;
}

.section_1 > h2 {
    grid-column: 1/2;

    justify-self: stretch;
    align-self: stretch;

    text-align: center;

    margin-bottom: 30px;

    font-size: 2.2em;
}

.info_item_txt {
    grid-column: 1/2;

    justify-self: stretch;
    align-self: stretch;

    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: min-content;
    grid-row-gap: 20px;

    overflow-y: auto;
}

.info_item_txt > p {
    text-align: justify;
}

.section_1 > h3 {
    grid-column: 1/2;

    justify-self: stretch;
    align-self: stretch;

    text-align: center;
}

.section_1 > ul {
    grid-column: 1/2;

    justify-self: stretch;
    align-self: stretch;
}

.section_1 > ul > li {
    grid-column: 1/2;

    justify-self: stretch;
    align-self: stretch;

    font-family: "roboto_condensed_amd", sans-serif;
    text-align: justify;
    font-size: 1em;
    line-height: 1.25;
    color: var(--text_color);
}

.section_1 > .back {
    grid-column: 1/2;

    justify-self: end;
    align-self: stretch;

    padding: 20px 30px;
    padding-bottom: 5px;
    margin-bottom: 20px;
    margin-right: 20px;

    border-bottom: 3px solid var(--border_bottom_color);
}

.section_1 > .back:hover {
    border-bottom: 3px solid var(--line_first_color);
}



/* -- Стили для мобильных устройств -- */
/* -- Extra small devices (portrait phones, less than 576px) -- */
@media (max-width: 575.98px) {
    /* -- Стили для обертки -- */

    .main_wrapper {
        grid-column: 1/2;
        grid-row: 2/3;

        justify-self: stretch;
        align-self: stretch;

        display: grid;
        grid-template-columns: auto;
    }

    main {
        grid-column: 1/2;
        grid-row: 1/2;

        justify-self: center;
        align-self: stretch;

        display: grid;
        grid-template-columns: repeat(1, auto);
        grid-template-rows: repeat(4, auto);
    }



    /* -- Стили для первой секции -- */

    .section_1 {
        grid-column: 1/2;
        grid-row: 1/2;

        justify-self: stretch;
        align-self: stretch;

        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-auto-rows: auto;
        grid-row-gap: 20px;

        margin: 40px 20px;
    }

    .section_1 > .back {
        grid-column: 1/2;

        justify-self: center;
        align-self: stretch;

        padding: 20px 30px;
        padding-bottom: 5px;
        margin-bottom: 20px;
        margin-right: 0;
    }
}

/* -- Small devices (landscape phones, 576px and up) -- */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* -- Стили для обертки -- */

    .main_wrapper {
        grid-column: 1/2;
        grid-row: 2/3;

        justify-self: stretch;
        align-self: stretch;

        display: grid;
        grid-template-columns: auto;
    }

    main {
        grid-column: 1/2;
        grid-row: 1/2;

        justify-self: center;
        align-self: stretch;

        display: grid;
        grid-template-columns: repeat(1, auto);
        grid-template-rows: repeat(4, auto);
    }



    /* -- Стили для первой секции -- */

    .section_1 {
        grid-column: 1/2;
        grid-row: 1/2;

        justify-self: stretch;
        align-self: stretch;

        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-auto-rows: auto;
        grid-row-gap: 20px;

        margin: 40px 30px;
    }

    .section_1 > .back {
        grid-column: 1/2;

        justify-self: center;
        align-self: stretch;

        padding: 20px 30px;
        padding-bottom: 5px;
        margin-bottom: 20px;
        margin-right: 0;
    }
}

/* -- Medium devices (tablets, 768px and up) -- */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* -- Стили для обертки -- */

    .main_wrapper {
        grid-column: 1/2;
        grid-row: 2/3;

        justify-self: stretch;
        align-self: stretch;

        display: grid;
        grid-template-columns: auto;
    }

    main {
        grid-column: 1/2;
        grid-row: 1/2;

        justify-self: center;
        align-self: stretch;

        display: grid;
        grid-template-columns: repeat(1, auto);
        grid-template-rows: repeat(4, auto);
    }



    /* -- Стили для первой секции -- */

    .section_1 {
        grid-column: 1/2;
        grid-row: 1/2;

        justify-self: stretch;
        align-self: stretch;

        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-auto-rows: auto;
        grid-row-gap: 20px;

        margin: 40px 30px;
    }

    .section_1 > .back {
        grid-column: 1/2;

        justify-self: center;
        align-self: stretch;

        padding: 20px 30px;
        padding-bottom: 5px;
        margin-bottom: 20px;
        margin-right: 0;
    }
}

/* -- Large devices (desktops, 992px and up) -- */
@media (min-width: 992px) and (max-width: 1139.98px) {
    /* -- Стили для обертки -- */

    .main_wrapper {
        grid-column: 1/2;
        grid-row: 2/3;

        justify-self: stretch;
        align-self: stretch;

        display: grid;
        grid-template-columns: auto;
    }

    main {
        grid-column: 1/2;
        grid-row: 1/2;

        justify-self: center;
        align-self: stretch;

        display: grid;
        grid-template-columns: repeat(1, auto);
        grid-template-rows: repeat(4, auto);
    }



    /* -- Стили для первой секции -- */

    .section_1 {
        grid-column: 1/2;
        grid-row: 1/2;

        justify-self: stretch;
        align-self: stretch;

        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-auto-rows: auto;
        grid-row-gap: 20px;

        margin: 40px 30px;
    }
}

/* -- Extra large devices (large desktops, 1200px and up) -- */
@media (min-width: 1140px) {

}