@media screen and (max-width: 1000px) {
    .wrapper {
        margin-left: 5%;
        margin-right: 5%;
    }

    .idx_plants_block .buttons_container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media screen and (max-width: 800px) {
    .idx_plants_block {
        flex-direction: column-reverse;
    }

    .index_plants_block {
        flex-direction: column;
    }

    .grid_container_gallery {
        grid-template-columns: repeat(1, minmax(100px, 1fr));

    }

    .h_nav {
        flex-direction: column;
        justify-content: center;
        height: 90px;
        padding: 0;
    }

    .main_block_title_container_order {
        flex-direction: column;
    }

    .mblock_plants {
        flex-direction: column;
    }

    .h_buttons {
        flex-wrap: wrap;
    }

    .h_button {
        width: 200px;
    }

    .main_block_picture {
        max-width: 100%;
    }

    .block_plants {
        padding-left: 50px;
        padding-right: 50px;
    }

    #devmodcont {
        display: none;
    }

    .h_nav_btn_links {
        display: none;
    }

    .plants_h_events {
        flex-direction: column;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    #pbwhyme {
        flex-direction: column;
    }

    .agro_pict {
        width: 100%;
        min-width: 0;
    }

    .block_plants {
        padding-left: 50px;
        padding-right: 50px;
    }


    .block_plants_aboutus {
        padding-left: 50px;
        padding-right: 50px;
    }

    footer {
        padding-left: 15px;
        padding-right: 15px;
    }

    .h_logo_top {
        text-align: center;
    }

    .h_logo_bottom {
        text-align: center;
    }
}

@media screen and (max-width:500px) {
    .plants_mc {
        display: flex;
        margin-left: 15px;
        margin-right: 15px;
        flex-direction: column;
    }

    .wrapper {
        margin-left: 3%;
        margin-right: 3%;
    }

    .idx_picture_sorts {
        width: 100%;
        min-width: 0;
    }

    .label_title {
        text-align: center;
    }

    .grid_container_gallery {
        grid-template-columns: repeat(1, minmax(100px, 1fr));

    }

    #expitem {
        display: none;
    }

    .plant_categoty_button {
        width: 100%;
    }

    .plants_h_events {
        flex-direction: column;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .example_item {
        height: 200px;
    }

    .dark_button {
        width: 100%;
    }

    #devmodcont {
        display: block;
    }

    .buttons_container {
        flex-direction: column;
    }

    .mblock_privpolicy {
        padding: 0;
    }

    .block_plants {
        padding-left: 15px;
        padding-right: 15px;
    }

    .block_plants_aboutus {
        padding-left: 15px;
        padding-right: 15px;
    }

    .mblock_title {
        font-size: 25px;
    }

    .footer_container {
        flex-direction: column;
    }

    .h_nav {
        flex-direction: row;
        justify-content: center;
        height: 75px;
        padding: 0;
    }

    .h_nav_btn_links {
        display: flex;
    }

    .h_nav_links {
        display: none;
    }

    aside {
        width: 100%;
    }
}