@media screen and (min-width: 1250px) and (max-width: 1650px) {
    #header-nav {
        font-size: 0.5em;
    }
}

/* MAX-WIDTH: 1120px */
@media screen and (min-width: 805px) and (max-width: 1250px) {
    body {
        box-sizing: border-box;
        font-size: 14px;
    }
    #content-center {
        width: 100%;
    }
/* HEADER*/
    #header-nav {
        max-width: 100vw;
        flex-wrap: wrap;
    }
    #header-nav>.header-nav__a {
        flex-basis:content;
    }
/* SECTIONS */
    .all-news {
        width: 700px;
    }
    .block-with-info {
        margin-top: 100px;   
    }
    .blue-button {
        margin: 60px auto;
    }
    .block-with-info__peoples__people {
        width: 400px;
        max-width: 30%;
    }
    .block-with-info__peoples__people:not(:nth-child(3n)) {
        margin-right: 5%;
    }

/* FOOTER */
    footer {
        padding: 50px 0;
    }
    #block-with-organizers {
        width: 60%;
        height: fit-content;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-organizers {
        flex-basis: calc(50% - 45px);
        margin: 5px;
        box-sizing: border-box;
    }
    .footer-organizers:not(:first-child) {
        border-left: 1px solid white;
    }
    .footer-organizers:nth-child(2) {
        border-top-right-radius: 50px;
    }
    .footer-organizers:last-child {
        border-top-right-radius: 120px;
        padding: 30px 20px
    }

/* PHOTOS */
    .all-photos {
        max-height: 500px;
    }
    .photos-in-section > li {
        height: 150px;
    }

}

/* MAX-WIDTH: 720px */
@media screen and (max-width: 805px) {
    body {
        box-sizing: border-box;
        font-size: 13px !important;
    }
    #content-center {
        padding: 0 5px 0 5px;
        box-sizing: border-box;
        width: 100%;
    }
/* HEADER */
    #header-nav {
        width: fit-content;
        flex-direction: column;
        border: 0;
        margin: 10px 5px;
        position: absolute;
    }
    #header-nav>.header-nav__a{
        box-sizing: border-box;
    }
    #header-nav>.header-nav__a:hover {
        animation: none;
    }
    #header-nav>.header-nav__a:active {
        animation: background-button .2s linear forwards;
        cursor: pointer;
    }
    /* SECTIONS */
    .all-news {
        width: 85%;
    }
    .block-with-info {
        margin-top: 100px;   
    }
    .blue-button {
        margin: 60px auto;
    }
    .block-with-info__organizators__people {
        flex: 0 0 calc(50% - 10px);
        margin: 5px;
    }
    .block-with-info__organizators__people__about {
        font-size: 1.1em;
    }

/* FOOTER */
    footer {
        padding: 50px 0;
    }
    #block-with-organizers {
        width: 80%;
        height: fit-content;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-organizers {
        flex-basis: calc(50% - 45px);
        margin: 5px;
        box-sizing: border-box;
    }
    .footer-organizers:not(:first-child) {
        border-left: 1px solid white;
    }
    .footer-organizers:nth-child(2) {
        border-top-right-radius: 50px;
    }
    .footer-organizers:last-child {
        border-top-right-radius: 120px;
        padding: 30px 20px
    }


/* PHOTOS */
    .all-photos {
        max-height: 500px;
    }
    .photos-in-section > li {
        height: 150px;
    }

}




@media screen and (max-width: 600px) {
    .popup-window {
        padding-bottom: 0;
    }
    .close-popup-window {
        top: 10px;
        right: 10px;
    }
    /* SECTIONS */
    .news__new:not(:first-child) {
        margin-top: 50px;
    }
    .block-with-info {
        margin-top: 65px;
    }
    .block-with-info__organizators__people {
        flex: 0 0 85%;
    }
    #contacts-and-place > div {
        display: flex;
        width: 100%;
        justify-content: space-evenly;
        flex-wrap: wrap;
        margin: 0 auto;
    }
    #contacts-and-place > div iframe {
        min-width: 400px;
        margin-right: 0;
    }
    .block-with-orgs {
        margin-bottom: 65px;
    }
    .members-of-conference__all-content {
        max-width: 95%;
        margin: 0 auto;
    }
    .table-with-members > tbody > tr > td:first-child {
        min-width: 15px;
    }
    .table-with-members td, .table-with-members th {
        padding: 10px 5px;
    }
    .table-with-members {
        width: 90%;
        font-size: 0.8em;
    }
    .contacts-and-place__place {
        width: 90%;
        height: 300px;
    }
}


@media screen and (max-width: 450px) {
    .blue-button {
        padding: 14px;
    }
    .popup-window {
        width: 99%;
    }

    
    .news__new__header {
        font-size: 1.0em;
    }
    .news__new__text {
        font-size: 0.9em;
    }

    #block-with-info__images {
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: -15px;
    }
    #block-with-info__images>div {
        flex-basis: calc(70% - 10px);
        margin-bottom: 55px;
    }    
    #block-with-info__images>div:not(:last-child) {
        border: 0px;
    }


    #contacts-and-place > div {
        max-width: 95%;
    }
    #contacts-and-place > div iframe {
        min-width: 100%;
        margin-bottom: 25px;
    }
    .table-with-members {
        width: 97%;
        font-size: 0.75em;
    }
    .contacts-and-place__place {
        width: 90%;
        height: 300px;
    }
    #table-with-requisites {
        text-align: start;
    }
    #table-with-requisites > tbody > tr > td:last-child {
        text-align: start;
    }
    .table-with-members > tbody > tr > td > img {
        width: 15px;
    }
    .table-with-members > tbody > tr > td:last-child {
        max-width: 35%;
        text-wrap: balance;
        padding: 5px 0;
    }
    .table-with-members td, .table-with-members th {
        padding: 7px 3px;
    }

    footer {
        padding: 20px 0;
        border-top-left-radius: 40px;
        border-top-right-radius: 40px;
    }
    #block-with-organizers {
        width: 95%;
    }
    .footer-organizers {
        flex-basis: calc(50% - 15px);
    }
}