/* -- Стили для обертки -- */

.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(1, auto);
}



/* -- Стили для первой секции -- */

.section_1 {
    grid-column: 1/2;
    grid-row: 1/2;

    justify-self: stretch;
    align-self: stretch;

    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-auto-rows: min-content;
    grid-column-gap: 20px;
    grid-row-gap: 20px;

    margin: 80px 80px;
    margin-top: 40px;
}

.section_1 > h2 {
    grid-column: 1/3;
    grid-row: 1/2;

    justify-self: stretch;
    align-self: center;

    text-align: center;

    margin-bottom: 30px;
}

.kids_a_item_img {
    grid-column: 1/2;
    grid-row: 2/5;

    justify-self: stretch;
    align-self: stretch;

    width: 300px;
    height: 300px;

    background-color: #ffffff;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.kids_a_item_reserved {
    grid-column: 1/2;
    grid-row: 2/5;

    justify-self: stretch;
    align-self: stretch;

    width: 300px;
    height: 300px;

    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.kids_a_item_sold {
    grid-column: 1/2;
    grid-row: 2/5;

    justify-self: stretch;
    align-self: end;

    width: 300px;
    height: 60px;

    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: var(--overlay_color);

    display: grid;
    grid-template-columns: repeat(1, auto);
    grid-template-rows: repeat(1, auto);

    opacity: 1.0;
}

.kids_a_item_img:hover + .kids_a_item_reserved + .kids_a_item_sold {

    opacity: 0.5;
}

.kids_a_item_sold > p {
    grid-column: 1/2;
    grid-row: 1/2;

    justify-self: center;
    align-self: center;

    font-family: marck_script_amd, sans-serif;
    font-size: 1.75em;
    color: var(--footer_color);
}

.section_1 > ul > li {
    font-family: "roboto_condensed_amd", sans-serif;
    font-size: 1em;
    line-height: 1.25;
    color: var(--text_color);
}

.section_1 > ul > li > span {
    font-weight: bolder;
}

.section_1 > ul:nth-of-type(1) {
    grid-column: 2/3;
    grid-row: 2/3;

    justify-self: stretch;
    align-self: stretch;
}

.section_1 > p {
    grid-column: 1/3;

    justify-self: stretch;
    align-self: stretch;

    text-align: justify;
}

.section_1 > p:nth-of-type(1) {
    grid-column: 2/3;
    grid-row: 3/4;

    justify-self: stretch;
    align-self: stretch;
}

.section_1 > ul:nth-of-type(2) {
    grid-column: 2/3;
    grid-row: 4/5;

    justify-self: stretch;
    align-self: stretch;

    column-count: 2;
}

.parents {
    grid-column: 1/3;

    justify-self: stretch;
    align-self: stretch;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: min-content;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

.parents > h3:nth-of-type(1) {
    grid-column: 1/3;
    grid-row: 1/2;

    justify-self: stretch;
    align-self: stretch;

    text-align: center;
}

.parents > h3:nth-of-type(2) {
    grid-column: 3/5;
    grid-row: 1/2;

    justify-self: stretch;
    align-self: stretch;

    text-align: center;
}

.parents > ul > li {
    font-family: "roboto_condensed_amd", sans-serif;
    font-size: 1em;
    line-height: 1.25;
    color: var(--text_color);
}

.parents > .father_ul_1 {
    grid-column: 1/2;
    grid-row: 2/3;

    justify-self: stretch;
    align-self: stretch;
}

.parents > .father_ul_2 {
    grid-column: 2/3;
    grid-row: 2/3;

    justify-self: stretch;
    align-self: stretch;
}

.parents > .mother_ul_1 {
    grid-column: 3/4;
    grid-row: 2/3;

    justify-self: stretch;
    align-self: stretch;
}

.parents > .mother_ul_2 {
    grid-column: 4/5;
    grid-row: 2/3;

    justify-self: stretch;
    align-self: stretch;
}

.parents > h4:nth-of-type(1) {
    grid-column: 1/3;
    grid-row: 3/4;

    justify-self: stretch;
    align-self: stretch;

    text-align: center;

    margin-top: 20px;
}

.parents > h4:nth-of-type(2) {
    grid-column: 3/5;
    grid-row: 3/4;

    justify-self: stretch;
    align-self: stretch;

    text-align: center;

    margin-top: 20px;
}

.parents_bio {
    grid-row: 4/5;

    justify-self: stretch;
    align-self: stretch;

    width: 480px;
    height: 288px;

    background-color: #ffffff;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.parents_bio:nth-of-type(1) {
    grid-column: 1/3;
}

.parents_bio:nth-of-type(2) {
    grid-column: 3/5;
}

.section_1 > h4 {
    grid-column: 1/3;

    justify-self: stretch;
    align-self: stretch;

    text-align: center;

    margin-top: 20px;
}

.kids_a_item_galery {
    grid-column: 1/3;

    justify-self: stretch;
    align-self: stretch;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

.kids_a_item_galery > .kids_a_item_galery_img {
    justify-self: stretch;
    align-self: stretch;

    display: block;

    width: 313.33px;
    height: 208.88px;

    background-color: #ffffff;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.back {
    grid-column: 1/3;

    justify-self: end;
    align-self: center;

    padding: 20px 30px;
    padding-bottom: 5px;
    margin-bottom: 20px;
    margin-right: 20px;

    border-bottom: 3px solid var(--border_bottom_color);
}

.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-template-columns: repeat(1, auto);

        margin: 40px 20px;
    }

    .section_1 > h2 {
        grid-column: 1/2;

        margin-bottom: 20px;
    }

    .kids_a_item_img {
        grid-column: 1/2;
        grid-row: 2/3;

        justify-self: center;
        align-self: stretch;
    }

    .kids_a_item_reserved {
        grid-column: 1/2;
        grid-row: 2/3;

        justify-self: center;
        align-self: stretch;
    }

    .kids_a_item_sold {
        grid-column: 1/2;
        grid-row: 2/3;

        justify-self: center;
        align-self: stretch;
    }

    .section_1 > ul:nth-of-type(1) {
        grid-column: 1/2;
        grid-row: 3/4;

        justify-self: stretch;
        align-self: stretch;
    }

    .section_1 > p:nth-of-type(1) {
        grid-column: 1/2;
        grid-row: 4/5;

        justify-self: stretch;
        align-self: stretch;
    }

    .section_1 > p:nth-of-type(2) {
        grid-column: 1/2;
        grid-row: 5/6;

        justify-self: stretch;
        align-self: stretch;
    }

    .section_1 > p:nth-of-type(3) {
        grid-column: 1/2;
        grid-row: 6/7;

        justify-self: stretch;
        align-self: stretch;
    }

    .section_1 > p:nth-of-type(4) {
        grid-column: 1/2;
        grid-row: 7/8;

        justify-self: stretch;
        align-self: stretch;
    }

    .section_1 > ul:nth-of-type(2) {
        grid-column: 1/2;
        grid-row: 8/9;

        justify-self: stretch;
        align-self: stretch;

        column-count: 1;
    }

    .parents {
        grid-column: 1/2;
        grid-row: 9/10;

        justify-self: stretch;
        align-self: stretch;

        grid-template-columns: repeat(1, 1fr);
    }

    .parents_bio {
        justify-self: stretch;
        align-self: stretch;

        width: 320px;
        height: 192px;
    }

    .parents > h3:nth-of-type(1) {
        grid-column: 1/2;
        grid-row: 1/2;

        justify-self: stretch;
        align-self: stretch;

        text-align: center;

        margin-top: 20px;
    }

    .parents > .father_ul_1 {
        grid-column: 1/2;
        grid-row: 2/3;

        justify-self: stretch;
        align-self: stretch;
    }

    .parents > .father_ul_2 {
        grid-column: 1/2;
        grid-row: 3/4;

        justify-self: stretch;
        align-self: stretch;
    }

    .parents > h4:nth-of-type(1) {
        grid-column: 1/2;
        grid-row: 4/5;

        justify-self: stretch;
        align-self: stretch;

        text-align: center;

        margin-top: 20px;
    }

    .parents_bio:nth-of-type(1) {
        grid-column: 1/2;
        grid-row: 5/6;

        justify-self: center;
    }

    .parents > h3:nth-of-type(2) {
        grid-column: 1/2;
        grid-row: 6/7;

        justify-self: stretch;
        align-self: stretch;

        text-align: center;

        margin-top: 20px;
    }

    .parents > .mother_ul_1 {
        grid-column: 1/2;
        grid-row: 7/8;

        justify-self: stretch;
        align-self: stretch;
    }

    .parents > .mother_ul_2 {
        grid-column: 1/2;
        grid-row: 8/9;

        justify-self: stretch;
        align-self: stretch;
    }

    .parents > h4:nth-of-type(2) {
        grid-column: 1/2;
        grid-row: 9/10;

        justify-self: stretch;
        align-self: stretch;

        text-align: center;

        margin-top: 20px;
    }

    .parents_bio:nth-of-type(2) {
        grid-column: 1/2;
        grid-row: 10/11;

        justify-self: center;
    }

    .section_1 > h4 {
        grid-column: 1/2;

        justify-self: stretch;
        align-self: stretch;

        text-align: center;

        margin-top: 20px;
    }

    .kids_a_item_galery {
        grid-column: 1/2;

        justify-self: center;
        align-self: stretch;

        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-auto-rows: auto;
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }

    .kids_a_item_galery > .kids_a_item_galery_img {
        justify-self: stretch;
        align-self: stretch;

        display: block;

        width: 320px;
        height: 213.33px;

        background-color: #ffffff;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .back {
        grid-column: 1/2;

        justify-self: center;
        align-self: center;

        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-template-columns: repeat(1, auto);

        margin: 40px 30px;
    }

    .section_1 > h2 {
        grid-column: 1/2;

        margin-bottom: 20px;
    }

    .kids_a_item_img {
        grid-column: 1/2;
        grid-row: 2/3;

        justify-self: center;
        align-self: stretch;
    }

    .kids_a_item_reserved {
        grid-column: 1/2;
        grid-row: 2/3;

        justify-self: center;
        align-self: stretch;
    }

    .kids_a_item_sold {
        grid-column: 1/2;
        grid-row: 2/3;

        justify-self: center;
        align-self: stretch;
    }

    .section_1 > ul:nth-of-type(1) {
        grid-column: 1/2;
        grid-row: 3/4;

        justify-self: stretch;
        align-self: stretch;
    }

    .section_1 > p:nth-of-type(1) {
        grid-column: 1/2;
        grid-row: 4/5;

        justify-self: stretch;
        align-self: stretch;
    }

    .section_1 > p:nth-of-type(2) {
        grid-column: 1/2;
        grid-row: 5/6;

        justify-self: stretch;
        align-self: stretch;
    }

    .section_1 > p:nth-of-type(3) {
        grid-column: 1/2;
        grid-row: 6/7;

        justify-self: stretch;
        align-self: stretch;
    }

    .section_1 > p:nth-of-type(4) {
        grid-column: 1/2;
        grid-row: 7/8;

        justify-self: stretch;
        align-self: stretch;
    }

    .section_1 > ul:nth-of-type(2) {
        grid-column: 1/2;
        grid-row: 8/9;

        justify-self: stretch;
        align-self: stretch;

        column-count: 1;
    }

    .parents {
        grid-column: 1/2;
        grid-row: 9/10;

        justify-self: stretch;
        align-self: stretch;

        grid-template-columns: repeat(2, 1fr);
    }

    .parents_bio {
        justify-self: stretch;
        align-self: stretch;

        width: 320px;
        height: 192px;
    }

    .parents > h3:nth-of-type(1) {
        grid-column: 1/3;
        grid-row: 1/2;

        justify-self: stretch;
        align-self: stretch;

        text-align: center;

        margin-top: 20px;
    }

    .parents > .father_ul_1 {
        grid-column: 1/2;
        grid-row: 2/3;

        justify-self: stretch;
        align-self: stretch;
    }

    .parents > .father_ul_2 {
        grid-column: 2/3;
        grid-row: 2/3;

        justify-self: stretch;
        align-self: stretch;
    }

    .parents > h4:nth-of-type(1) {
        grid-column: 1/3;
        grid-row: 3/4;

        justify-self: stretch;
        align-self: stretch;

        text-align: center;

        margin-top: 20px;
    }

    .parents_bio:nth-of-type(1) {
        grid-column: 1/3;
        grid-row: 4/5;

        justify-self: center;
    }

    .parents > h3:nth-of-type(2) {
        grid-column: 1/3;
        grid-row: 5/6;

        justify-self: stretch;
        align-self: stretch;

        text-align: center;

        margin-top: 20px;
    }

    .parents > .mother_ul_1 {
        grid-column: 1/2;
        grid-row: 6/7;

        justify-self: stretch;
        align-self: stretch;
    }

    .parents > .mother_ul_2 {
        grid-column: 2/3;
        grid-row: 6/7;

        justify-self: stretch;
        align-self: stretch;
    }

    .parents > h4:nth-of-type(2) {
        grid-column: 1/3;
        grid-row: 7/8;

        justify-self: stretch;
        align-self: stretch;

        text-align: center;

        margin-top: 20px;
    }

    .parents_bio:nth-of-type(2) {
        grid-column: 1/3;
        grid-row: 8/9;

        justify-self: center;
    }

    .section_1 > h4 {
        grid-column: 1/2;

        justify-self: stretch;
        align-self: stretch;

        text-align: center;

        margin-top: 20px;
    }

    .kids_a_item_galery {
        grid-column: 1/2;

        justify-self: center;
        align-self: stretch;

        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-auto-rows: auto;
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }

    .kids_a_item_galery > .kids_a_item_galery_img {
        justify-self: stretch;
        align-self: stretch;

        display: block;

        width: 320px;
        height: 213.33px;

        background-color: #ffffff;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .back {
        grid-column: 1/2;

        justify-self: center;
        align-self: center;

        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-template-columns: 300px auto;

        margin: 40px 30px;
    }

    .section_1 > h2 {
        grid-column: 1/3;

        margin-bottom: 20px;
    }

    .kids_a_item_img {
        grid-column: 1/2;
        grid-row: 2/3;

        justify-self: stretch;
        align-self: stretch;
    }

    .kids_a_item_reserved {
        grid-column: 1/2;
        grid-row: 2/3;

        justify-self: stretch;
        align-self: stretch;
    }

    .kids_a_item_sold {
        grid-column: 1/2;
        grid-row: 2/3;

        justify-self: stretch;
        align-self: stretch;
    }

    .section_1 > ul:nth-of-type(1) {
        grid-column: 2/3;
        grid-row: 2/3;

        justify-self: stretch;
        align-self: start;
    }

    .section_1 > p:nth-of-type(1) {
        grid-column: 1/3;
        grid-row: 3/4;

        justify-self: stretch;
        align-self: stretch;
    }

    .section_1 > p:nth-of-type(2) {
        grid-column: 1/3;
        grid-row: 4/5;

        justify-self: stretch;
        align-self: stretch;
    }

    .section_1 > p:nth-of-type(3) {
        grid-column: 1/3;
        grid-row: 5/6;

        justify-self: stretch;
        align-self: stretch;
    }

    .section_1 > p:nth-of-type(4) {
        grid-column: 1/3;
        grid-row: 6/7;

        justify-self: stretch;
        align-self: stretch;
    }

    .section_1 > ul:nth-of-type(2) {
        grid-column: 1/3;
        grid-row: 7/8;

        justify-self: stretch;
        align-self: stretch;

        column-count: 2;
    }

    .parents {
        grid-column: 1/3;
        grid-row: 8/9;

        justify-self: stretch;
        align-self: stretch;

        grid-template-columns: repeat(2, 1fr);
    }

    .parents_bio {
        justify-self: stretch;
        align-self: stretch;

        width: 320px;
        height: 192px;
    }

    .parents > h3:nth-of-type(1) {
        grid-column: 1/3;
        grid-row: 1/2;

        justify-self: stretch;
        align-self: stretch;

        text-align: center;

        margin-top: 20px;
    }

    .parents > .father_ul_1 {
        grid-column: 2/3;
        grid-row: 3/4;

        justify-self: stretch;
        align-self: stretch;
    }

    .parents > .father_ul_2 {
        grid-column: 2/3;
        grid-row: 4/5;

        justify-self: stretch;
        align-self: stretch;
    }

    .parents > h4:nth-of-type(1) {
        grid-column: 1/2;
        grid-row: 2/3;

        justify-self: stretch;
        align-self: stretch;

        text-align: center;

        margin-top: 0;
    }

    .parents_bio:nth-of-type(1) {
        grid-column: 1/2;
        grid-row: 3/5;

        justify-self: center;
        align-self: start;
    }

    .parents > h3:nth-of-type(2) {
        grid-column: 1/3;
        grid-row: 5/6;

        justify-self: stretch;
        align-self: stretch;

        text-align: center;

        margin-top: 20px;
    }

    .parents > .mother_ul_1 {
        grid-column: 2/3;
        grid-row: 7/8;

        justify-self: stretch;
        align-self: stretch;
    }

    .parents > .mother_ul_2 {
        grid-column: 2/3;
        grid-row: 8/9;

        justify-self: stretch;
        align-self: stretch;
    }

    .parents > h4:nth-of-type(2) {
        grid-column: 1/2;
        grid-row: 6/7;

        justify-self: stretch;
        align-self: stretch;

        text-align: center;

        margin-top: 0;
    }

    .parents_bio:nth-of-type(2) {
        grid-column: 1/2;
        grid-row: 7/9;

        justify-self: center;
        align-self: start;
    }

    .section_1 > h4 {
        grid-column: 1/3;

        justify-self: stretch;
        align-self: stretch;

        text-align: center;

        margin-top: 20px;
    }

    .kids_a_item_galery {
        grid-column: 1/3;

        justify-self: center;
        align-self: stretch;

        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }

    .kids_a_item_galery > .kids_a_item_galery_img {
        justify-self: stretch;
        align-self: stretch;

        display: block;

        width: 344px;
        height: 229.33px;

        background-color: #ffffff;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .back {
        grid-column: 1/3;

        justify-self: end;
        align-self: center;

        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-template-columns: 300px auto;

        margin: 40px 30px;
    }

    .section_1 > h2 {
        grid-column: 1/3;

        margin-bottom: 20px;
    }

    .kids_a_item_img {
        grid-column: 1/2;
        grid-row: 2/4;

        justify-self: stretch;
        align-self: stretch;
    }

    .kids_a_item_reserved {
        grid-column: 1/2;
        grid-row: 2/4;

        justify-self: stretch;
        align-self: stretch;
    }

    .kids_a_item_sold {
        grid-column: 1/2;
        grid-row: 2/4;

        justify-self: stretch;
        align-self: stretch;
    }

    .section_1 > ul:nth-of-type(1) {
        grid-column: 2/3;
        grid-row: 2/3;

        justify-self: stretch;
        align-self: start;
    }

    .section_1 > p:nth-of-type(1) {
        grid-column: 2/3;
        grid-row: 3/4;

        justify-self: stretch;
        align-self: stretch;
    }

    .section_1 > p:nth-of-type(2) {
        grid-column: 1/3;
        grid-row: 4/5;

        justify-self: stretch;
        align-self: stretch;
    }

    .section_1 > p:nth-of-type(3) {
        grid-column: 1/3;
        grid-row: 5/6;

        justify-self: stretch;
        align-self: stretch;
    }

    .section_1 > p:nth-of-type(4) {
        grid-column: 1/3;
        grid-row: 6/7;

        justify-self: stretch;
        align-self: stretch;
    }

    .section_1 > ul:nth-of-type(2) {
        grid-column: 1/3;
        grid-row: 7/8;

        justify-self: stretch;
        align-self: stretch;

        column-count: 2;
    }

    .parents {
        grid-column: 1/3;
        grid-row: 8/9;

        justify-self: stretch;
        align-self: stretch;

        grid-template-columns: repeat(3, auto);
    }

    .parents_bio {
        justify-self: stretch;
        align-self: stretch;

        width: 320px;
        height: 192px;
    }

    .parents > h3:nth-of-type(1) {
        grid-column: 1/4;
        grid-row: 1/2;

        justify-self: stretch;
        align-self: stretch;

        text-align: center;

        margin-top: 20px;
    }

    .parents > .father_ul_1 {
        grid-column: 2/3;
        grid-row: 3/4;

        justify-self: stretch;
        align-self: stretch;
    }

    .parents > .father_ul_2 {
        grid-column: 3/4;
        grid-row: 3/4;

        justify-self: stretch;
        align-self: stretch;
    }

    .parents > h4:nth-of-type(1) {
        grid-column: 1/2;
        grid-row: 2/3;

        justify-self: stretch;
        align-self: stretch;

        text-align: center;

        margin-top: 0;
    }

    .parents_bio:nth-of-type(1) {
        grid-column: 1/2;
        grid-row: 3/4;

        justify-self: center;
        align-self: start;
    }

    .parents > h3:nth-of-type(2) {
        grid-column: 1/4;
        grid-row: 4/5;

        justify-self: stretch;
        align-self: stretch;

        text-align: center;

        margin-top: 20px;
    }

    .parents > .mother_ul_1 {
        grid-column: 2/3;
        grid-row: 6/7;

        justify-self: stretch;
        align-self: stretch;
    }

    .parents > .mother_ul_2 {
        grid-column: 3/4;
        grid-row: 6/7;

        justify-self: stretch;
        align-self: stretch;
    }

    .parents > h4:nth-of-type(2) {
        grid-column: 1/2;
        grid-row: 5/6;

        justify-self: stretch;
        align-self: stretch;

        text-align: center;

        margin-top: 0;
    }

    .parents_bio:nth-of-type(2) {
        grid-column: 1/2;
        grid-row: 6/7;

        justify-self: center;
        align-self: start;
    }

    .section_1 > h4 {
        grid-column: 1/3;

        justify-self: stretch;
        align-self: stretch;

        text-align: center;

        margin-top: 20px;
    }

    .kids_a_item_galery {
        grid-column: 1/3;

        justify-self: center;
        align-self: stretch;

        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }

    .kids_a_item_galery > .kids_a_item_galery_img {
        justify-self: stretch;
        align-self: stretch;

        display: block;

        width: 344px;
        height: 229.33px;

        background-color: #ffffff;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .back {
        grid-column: 1/3;

        justify-self: end;
        align-self: center;

        margin-right: 0;
    }
}

/* -- Extra large devices (large desktops, 1200px and up) -- */
@media (min-width: 1140px) {

}