
@media screen and (max-width:1200px) {
    html:root {
        /* Colors */
        --color-black: #000;
        --color-white: #d3efea;
        --color-blue: #3571A3;
        --color-heart: #000;
        --color-grey: #353535;
        --color-dark-gray: #0B0E0D;
        /* --color-main: #2AA5A0; */
        --color-main-white: #FFFFFF;

        --bg-black: #000;
        --bg-white: #fff;
        --bg-aqua: #D3EFEA;


        --color-icons: #353535;
        --box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
        --box-shadow-h: 1px 1px 2px #133130;


        /* Size */
        --size-icons: 20px;
        --size-text: 18px;
        --size-sm-text: 16px;
        --size-m-text: 20px;
        --size-xl-text: 24px;
    }

    .hero-top_tag_item a {
        padding: 5px 7.5px;
    }
}

@media screen and (max-width:1100px) {
    html:root {
        /* Size */
        --size-icons: 20px;
        --size-text: 18px;
        --size-sm-text: 16px;
        --size-m-text: 20px;
        --size-xl-text: 24px;
    }

    .hero-top_tag_item a {
        padding: 5px 6px;
    }

    .profile-main_block_top_right a span {
        display: none;
    }
}

@media screen and (max-width:1000px) {
    html:root {
        /* Size */
        --size-icons: 20px;
        --size-text: 18px;
        --size-sm-text: 16px;
        --size-m-text: 20px;
        --size-xl-text: 24px;
    }

    .hero-top_sort_item a {
        padding: 5px 10px;
    }

    .hero-sidebar {
        width: 25%;
    }

    .hero-content {
        width: 73%;
    }
}

@media screen and (max-width:900px) {
    html:root {
        /* Size */
        --size-icons: 20px;
        --size-text: 18px;
        --size-sm-text: 16px;
        --size-m-text: 20px;
        --size-xl-text: 24px;
    }

    .hero-sidebar {
        display: none;
    }

    .hero-content {
        width: 100%;
    }
}

@media screen and (max-width:800px) {
    html:root {
        /* Size */
        --size-icons: 20px;
        --size-text: 18px;
        --size-sm-text: 16px;
        --size-m-text: 20px;
        --size-xl-text: 24px;
    }

    .profile-wrapper {
        flex-wrap: wrap;
    }

    .profile-content {
        width: 100%;
    }

    .profile-sidebar {
        display: none !important;
    }

    .profile-main_block_top_right a span {
        display: inline;
    }

    .post_additional {
        flex-direction: column;
    }

    .post_comment-form {
        width: 100%;
    }

    .post_related {
        width: 100%;
    }
}

@media screen and (max-width:700px) {
    html:root {
        /* Size */
        --size-icons: 20px;
        --size-text: 18px;
        --size-sm-text: 16px;
        --size-m-text: 20px;
        --size-xl-text: 24px;
    }

    .header-write_article span {
        display: none;
    }

    .header-write_article {
        padding: 0;
        width: 51px;
        height: 51px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-top_tag_item a,
    .hero-top_tag_item a i {
        font-size: 14px;
    }

    .post_detail-bottom_info {
        flex-direction: column;
        align-items: start;
    }
}

@media screen and (max-width:768px) {
    .post_add-screen_size_info {
        display: block;
    }

    .post_add-form,
    .post_add-notification {
        display: none;
    }

    .post_add-screen_wrapper {
        display: flex;
    }
}

@media screen and (max-width:650px) {
    html:root {
        /* Size */
        --size-icons: 20px;
        --size-text: 18px;
        --size-sm-text: 16px;
        --size-m-text: 20px;
        --size-xl-text: 24px;
    }

    .hero-top_sort_item a {
        font-size: var(--size-sm-text);
    }

    .contact-info {
        width: 100%;
    }


}

@media screen and (max-width:600px) {
    html:root {
        /* Size */
        --size-icons: 19px;
        --size-text: 17px;
        --size-sm-text: 15px;
        --size-m-text: 19px;
        --size-xl-text: 23px;
    }

    .header-search_wrapper {
        position: fixed;
        top: 0;
        height: 100vh;
        z-index: 11111;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 0px;
        left: -150%;
    }

    .header-search_bg.opened {
        left: 0;
    }

    .header-search_bg {
        display: block;
        position: fixed;
        background: var(--bg-aqua);
        width: 100%;
        height: 100vh;
        top: 0;
        left: -100%;
    }

    .header-search_wrapper.opened {
        left: 0;
    }

    .header-search_opener {
        display: flex;
        margin-right: 20px;
    }

    .header-search_opener {
        display: flex;
    }

    .header-search_inner {
        position: absolute;
        top: 100px;
        width: 90%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-search_wrapper input {
        outline: none;
        border: none;
        font-size: 14px;
        width: 100%;
        letter-spacing: 0.5px;
        padding: 15px 20px;
        color: var(--color-grey);
    }

    .header-res_wrapper {
        position: fixed;
        width: 90%;
        top: 170px;
        left: -100%;
    }

    .header-res_wrapper.opened {
        left: 50%;
        transform: translate(-50%);
    }

    .container {
        padding: 0px 3%;
    }
    .hero-top_sort_list {
        padding: 12px 10px;
    }
    .hero-top_tag_list {
        display: none;
    }

    .hero-top_sort_item:nth-child(4),
    .hero-top_sort_item:nth-child(3) {
        display: none;
    }

    .hero-top_sort_item a {
        padding: 10px 20px;
    }

    .hero-content_text {
        font-size: 12px;
    }

    .hero-content_bottom_emoji_item {
        display: none;
    }

    .profile-main_block_top {
        flex-direction: column;
        gap: 20px;
    }

    .profile_edit-form {
        flex-wrap: wrap;
    }

    .profile_edit-info_list,
    .profile_edit-socials_list {
        width: 100%;
    }

    .profile_edit-clear.changed {
        height: 44px;
    }

    .contact-info_wrapper {
        min-height: 0;
        margin-top: 20px;
    }

    #desktop_emoji{
        display: none;
    }
    #mobile_emoji{
        display: block;
    }
    .hero-content_pagination_list{
        gap: 10px;
    }
}

@media screen and (max-width:550px) {
    .hero-content_text {
        display: none;
    }

    .hero-content_item_wrapper {
        flex-direction: column;
    }

    .hero-content_poster_img {
        width: 100%;
        height:auto;
    }

    .hero-content_date {
        display: none;
    }

    .hero-content_info_wrapper {
        margin: 0;
    }

}

@media screen and (max-width:500px) {
    html:root {
        /* Size */
        --size-icons: 18px;
        --size-text: 16px;
        --size-sm-text: 14px;
        --size-m-text: 18px;
        --size-xl-text: 22px;
    }

    .hero-content_text {
        display: none;
    }

    .profile_edit-block {
        width: 100%;
    }

    .profile_edit-clear.changed {
        top: 30px;
        height: 43px;
    }

    .post_related-item p {
        display: none;
    }

    .post_related-item img {
        width: 100px;
    }

    .rules-home_link {
        width: 100% !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .rules-home_link i {
        margin-right: 4px;
    }

    .post_related-item h1 {
        font-size: var(--size-text);
    }

    .post_related-item {
        gap: 12px;
    }
    .post_detail-bottom_reaction{
        gap: 0px;
    }
    .post_detail-bottom_reaction > * > p{
        font-size: 16px;
    }
    .post_detail-bottom_reaction > * > img{
        width: 28px;
        height: auto;
    }


}

@media screen and (max-width:450px) {
    .hero-top_sort_item a {
        padding: 7px 15px;
    }

    .profile-main_block_top {
        flex-direction: column;
    }

    .profile-main_block_top_right {
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
        display: flex;
    }

    .profile-main_block_top_right a {
        width: 100%;
        text-align: center;
        display: block;
    }

    .auth-form {
        width: 100%;
        padding: 20px;
        padding-top: 50px;
    }

    .auth-form_wrapper {
        min-height: 0;
    }

    .hero-top_sort_item a {
        padding: 7px 10px;
    }

    .post_detail-tag_wrapper{
        gap: 5px;
    }
    .post_detail-tag_wrapper a{
        padding: 5px;
    }
    .hero-content_pagination_numbers {
        justify-content: center;
        gap: 10px;
    }
}

@media screen and (max-width:400px) {
    html:root {
        /* Size */
        --size-icons: 17px;
        --size-text: 15px;
        --size-sm-text: 13px;
        --size-m-text: 17px;
        --size-xl-text: 21px;
    }

    .footer-list {
        flex-direction: column;
    }

    .footer-link_item.link a,
    .footer-text_info {
        font-size: 16px;
    }

    .footer-text_info br {
        display: none;
    }

    .footer-link_item.social_link a,
    .footer-link_item.social_link i {
        font-size: 16px;
    }

    .profile_edit-clear.changed {
        top: 28px;
        height: 40px;
    }

    .hero-top_menu {
        padding-top: 20px;
        width: 100%;
    }

    .footer-item {
        margin: 10px 0;
    }
    .post_detail-bottom_reaction > * > img{
        width: 25px;
        height: auto;
    }
}

@media screen and (max-width:300px) {
    html:root {
        /* Size */
        --size-icons: 16px;
        --size-text: 14px;
        --size-sm-text: 12px;
        --size-m-text: 16px;
        --size-xl-text: 20px;
    }
}