@media all and (max-width: 1900px) {
    html {
        font-size: 6px;
    }

    .background1 {
        padding: 100px 25px;
    }

    .wrapper {
        width: 1400px;
    }

    .footer .note {
        right: calc((100vw - 1400px) / 2);
    }

    .leaders__line{
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .button_half {
        width: 400px;
    }
}
@media all and (max-width: 1450px) {
    .wrapper {
        width: 1200px;
    }
}
@media all and (max-width: 1200px) {
    html {
        font-size: 5px;
    }

    .button_big {
        width: 600px;
    }

    .button_half {
        width: 300px;
    }

    .footer .note {
        right: calc((100vw - 950px) / 2);
    }

    h2 {
        margin-top: 50px;
    }

    .wrapper {
        width: 900px;
    }
    .about__arrow-container {
        width: 170px;
        height: 120px;
    }

    .background1 {
        padding: 70px 25px;
    }
    .book br {
        display: none;
    }

    .about__text-container .paragraph {
        display: inline;
    }

    .header__list {
        margin: 50px 0 0;
        display: none;
        justify-content: space-between;
    }

    .header__list_mobile-version {
        display: flex;
    }


    .leaders__line{
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 140px);
        gap: 0 60px;
        width: 900px;
    }


    .leaders__img
    {

        grid-column: span 1!important;
        grid-row: span 1!important;
    }

    .leaders__container {
        padding: 0;
    }

    .leaders__img:nth-child(3) {
        justify-self: center;
    }

    .geography {
        margin-top: 100px;
    }

    .geography__flags {
        padding: 0;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 40px 110px;
        justify-items: center;
        margin-top: 40px;
    }

    .footer {
        margin-top: 60px;
        height: 160px;
    }

    .footer .header__list{
        margin: 0;
    }

    #nWay {
        left: 40px;
    }
}

@media all and (max-width: 950px) {
    .wrapper {
        width: 800px;
    }

    .mobile-version {
        display: block;
    }

    .desktop-version {
        display: none;
    }

    .leaders__line {
        display: grid;
        margin: 0;
    }

    .button_line {
        flex-direction: column;
        margin-top: 0;
    }

    h2 {
        margin-top: 30px;
    }


    .leaders__line {
        width: 800px;
    }
}

@media all and (max-width: 850px){
    .wrapper {
        width: 700px;
    }

    .leaders__line {
        gap: 0 30px;
        width: 700px
    }

    .geography__flags {
        gap: 40px 100px;
    }



    .leaders__img:nth-child(1) {
        width: 220px;
        height: 46px;
    }

    .leaders__img:nth-child(2) {
        width: 220px;
        height: 156px;
    }

    .leaders__img:nth-child(3) {
        width: 220px;
        height: 40px;
    }

    .leaders__img:nth-child(4) {
        width: 190px;
        height: 73px;
    }

    .leaders__img:nth-child(5) {
        width: 100px;
        height: 100px;
    }

    .leaders__img:nth-child(6) {
        width: 190px;
        height: 55px;
    }

    .leaders__img:nth-child(7) {
        /*width: 130px;*/
        height: 55px;
    }

    #nWay {
        height: 168px;
    }
}

@media all and (max-width: 490px) {
    .gallery__container {
        width: 490px;
    }
}


@media all and (max-width: 750px) {
    html {
        font-size: 11px;
    }

    .h1__br {
        display: inline;
    }

    .h2__delete {
        display: inline-block;
        margin-top: 100px;
        width: 100%;
        text-align: center;
        font-size: 2.2rem;
    }

    #h2__delete_mob {
        display: none;
    }

    .background1 {
        /* background-size: 1244px; */
        padding: 70px 0 45px;
    }
    
    .header {
        flex-direction: column;
    }

    .book span, .leaders span {
        display: none;
    }

    .paragraph-first {
        min-width: 333px;
    }

    .paragraph-second {
        margin-top: 30px;
    }

    .header__list {
        margin: 50px 0 0;
        display: none;
        width: 275px;
        justify-content: space-between;
    }




    .leaders__container {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 0;
    }

    .leaders__img {
        margin-top: 20px;
    }


    h3 {
        font-size: 1.1rem;
        font-style: normal;
        text-align: left;
        font-weight: 400;
        text-transform: uppercase;
    }

    .button {
        display: block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
        padding: 30px 10px;
    }

    .button_second {
        padding: 22px 40px !important;
        font-size: 1.9rem;
    }


    .geography__img {
        width: 60px;
        height: 40px;
        margin: 0;
    }

    .about__arrow-container {
        display: none;
    }

    .geography__flags {
        flex-wrap: wrap;
        margin: auto;
        justify-content: space-evenly;
        width: 317px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        padding: 25px 0;
        gap: 22px 17px;
    }

    footer {
        height: 130px;
        margin-top: 50px;
    }

    .paragraph {
        font-size: 2.3rem;
        font-weight: 400;
        line-height: 100%;
        /* letter-spacing: 1.2px; */
    }


    h1 {
        font-size: 4.2rem;
        font-weight: 700;
        line-height: 120%; /* 51.6px */
        /* letter-spacing: 4.3px; */
        text-transform: capitalize;
    }


    h2 {
        font-size: 1.8rem;
        font-style: normal;
        line-height: 120%;
        margin-top: 44px;
    }

    .about__block-text {
        display: block;
        margin-top: 90px;
    }


    .about__block-text .paragraph {
        margin: 20px 0 60px;
    }

    .mobile-version {
        display: block !important;
    }

    .about__arrow {
        margin: 60px 0 20px;
        width: 100px;
        height: 16px;
    }

    .book {
        padding: 60px 0;
    }



    .gallery {
        width: inherit;
        overflow: hidden;
        justify-content: center;
    }


    .gallery__container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
    }

    .button_arrow {
        display: none;
    }
    .button_arrow_mobile {
        display: inline;
        margin-left: 20px;
        width: 31px;
        height: 15px;
    }

    .about {
        margin-top: 40px;
    }

    .header__list_mobile-version {
        display: flex;
    }

    .icon-link {
        width: 50px;
        height: 50px;
    }

    .wrapper {
        width: 317px;
    }

    .line {
        height: 1px;
    }


    .leaders {
        margin-top: 60px;
    }

    .geography {
        margin-top: 50px;
    }

    .geography h3 {
        margin-top: 22px
    }

    .footer .header__list {
        width: 260px;
        margin-top: 0;
    }

    /*.leaders__img:nth-child(1),*/
    /*.leaders__img:nth-child(2),*/
    /*.leaders__img:nth-child(3),*/
    /*.leaders__img:nth-child(4),*/
    /*.leaders__img:nth-child(5),*/
    /*.leaders__img:nth-child(6) {*/
    /*    width: auto;*/
    /*}*/

    .leaders__img:nth-child(1) {
        width: 150px;
        height: 31px;
    }

    .leaders__img:nth-child(2) {
        width: 120px;
        height: 85px;
    }

    .leaders__img:nth-child(3) {
        width: 140px;
        height: 26px;
    }

    .leaders__img:nth-child(4) {
        width: 160px;
        height: 61px;
    }

    .leaders__img:nth-child(5) {
        width: 70px;
        height: 70px;
    }

    .leaders__img:nth-child(6) {
        width: 140px;
        height: 40px;
    }

    .leaders__img:nth-child(7) {
        margin-top: 0;
        width: 100px;
    }

    #nWay {
        top: -30px;
        left: 5px;
        width: 160px;
    }

}

@media all and (max-width: 500px) {
    html {
        font-size: 4.5px;
    }

    .wrapper {
        width: 317px;
    }

    .desktop-version {
        display: none !important;
    }

    .about {
        margin-top: 362px;
    }

    h1 {
        margin-top: 0;
    }

    h2 {
        margin-top: 0;
        font-size: 3.2rem;
    }

    .paragraph {
        font-size: 3.2rem;
    }

    .paragraph-first {
        margin-top: 26px;
    }

    .button {
        font-size: 3.2rem;
        padding: 25px 0;
        background-color: #3A0C0C;
    }

    .button_big {
        width: 317px;
    }

    .background1 {
        /* background-position-x: -760px; */
    }

    .button_line {
        margin-top: 14px;
        display: block;
    }



    .button_line .button {
        margin: 32px 0 0;
        background-color: #020202;
        width: 100%;
    }

    h3 {
        font-size: 2.6rem
    }

    .background1 .wrapper .note {
        top: 45px;
    }

    .span_by {
        color: #E8E8E8E5;
        font-size: 4rem;
        text-transform: lowercase;
    }

    .space {
        padding: 20px 0;
    }


    .block2 .paragraph {
        margin-right: 0;
        letter-spacing: 0.15rem;
    }

    .block3 .paragraph {
        text-transform: uppercase;
        font-weight: 500;
        font-style: normal;
    }
    .space_div {
        height: 52px;
    }

    .block2 .button {
        background-color: #020202;
        font-size: 4.5rem;
    }

    .leaders__line {
        flex-direction: column;
        margin: 0;
        width: 300px;
        grid-template-columns: repeat(2, 120px);
        grid-template-rows: repeat(4, 70px);
        gap: 0 55px;
    }

    .paragraph-first {
        min-width: fit-content;
    }


    .geography__flags{
        width: 300px;
        gap: 20px 10px;
    }



    .leaders__img:nth-child(1) {
        width: 120px;
        height: 25px;
    }

    .leaders__img:nth-child(2) {
        width: 100px;
        height: 70px;
    }

    .leaders__img:nth-child(3) {
        width: 120px;
        height: 22px;
    }

    .leaders__img:nth-child(4) {
        width: 160px;
        height: 62px;
    }

    .leaders__img:nth-child(5) {
        width: 157px;
        height: 45px;
    }

    .leaders__img:nth-child(6) {
        width: 140px;
        height: 40px;
    }

    .leaders__img:nth-child(7) {
        margin-top: 0;
        width: 100px;
    }

    #nWay {
        top: -72px;
        left: 15px;
        width: 130px;
    }
}
