@media (min-width: 1920px) {
    .tour_row {
        max-width: 1400px;
    }
}
@media screen and (max-width: 1320px) {
    .header_item {
        padding: 18px 15px 0 15px;
        align-items: center;
    }
    .nav_bar {
        display: none;
    }
    .header_language {
        display: none;
    }
    .header_icons {
        display: none;
    }
    .header_links {
        gap: 20px;
        margin-top: 10px;
    }
    .header_line {
        display: block;
    }
    .header_menu {
        display: block;
    }
    .logo {
        width: 133px;
    }
    .sign_in_button {
        height: 23px;
        width: 62px;
        font-size: 14px;

        font-weight: 550;
        line-height: 0px;
        letter-spacing: 0.7226373553276062px;
        text-align: center;
    }
    .sign_in_button > span {
        width: max-content;
    }
}
@media screen and (max-width: 1608px) {
    .home_page_second_line {
        top: 268px;
    }
}
@media screen and (max-width: 1400px) {
    .description {
        max-width: 420px;
    }
    .save_up_h {
        font-size: 65px;
    }
    .plane_img {
        width: 160px;
    }
    .info_item_text > a, .info_item_text > p{
        font-size: 24px;
    }
    .info_item_text > h4{
        font-size: 26px;
    }


}
@media screen and (max-width: 1024px) {
    .footer_first_row {
        padding-top: 50px;
        grid-template-columns: 2fr 1.4fr;
        grid-template-rows: 1fr 1fr;
        grid-column-gap: 54px;
        grid-row-gap: 70px;
    }
    .footer_logo {
        justify-self: center;
        grid-column: 1 / 3;
    }
    .footer_center {
        gap: 70px;
        justify-self: flex-end;
    }
    .footer_social_media {
        justify-self: flex-start;
    }
    .to_top_button_box {
        display: none;
    }
    .footer_links > a {
        font-size: 24px;
    }
}
@media screen and (max-width: 768px) {
    #footer {
        display: none;
    }
    #mobile_footer {
        display: flex;
    }
    .sign_in_img {
        display: none;
    }
    input,
    textarea {
        font-size: 16px !important;
    }
}
@media screen and (max-width: 1536px) {
    :root {
        --page-padding: 0 130px;
    }
    .home_page_first_line {
        left: 80px;
        width: calc(100% - 80px);
    }
}
@media screen and (max-width: 1220px) {
    .header_box {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .homepage_second_section {
        gap: 60px;
        justify-items: center;
        grid-template-areas:
            "header-box"
            "img-box"
            "description"
            "button-box";
    }
    .home_page_first_line {
        display: none;
    }
    .home_page_second_line {
        display: none;
    }
    .description {
        max-width: 100%;
    }
    .img_box {
        align-items: center;
        justify-self: flex-end;
    }
    .tour_row {
        grid-template-columns: repeat(auto-fit, minmax(auto, 220px));
    }
    .tour_box {
        width: 220px;
        height: 236px;
    }
}
@media screen and (max-width: 1024px) {
    :root {
        --page-padding: 0 30px;
        --first-section-height: 418px;
        --title-font-size-big: 100px;
        --title-font-size-medium: 90px;
        --title-font-size-small: 70px;
        --text-font-size-extrabig: 18px;
        --text-font-size-big: 16px;
        --text-font-size-medium: 14px;
        --text-font-size-small: 14px;
        --text-font-size-extrasmall: 14px;
    }
    .header_left_bottom {
        left: 30px;
    }
    .explore1 p {
        font-size: 70px;
    }
    .explore3 p {
        font-size: 26px;
    }
    .header_right_bottom {
        display: none;
    }
    .homepage_second_section {
        margin-top: 100px;
    }
    .header_box {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .description_head_name_box {
        align-self: flex-end;
    }
    .description_box {
        display: flex;
        justify-content: center;
    }
    .description {
        margin-top: 174px;
        max-width: 100%;
    }
    .img_box {
        max-width: unset;
        max-height: unset;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .img_box_img_1_img {
        width: 70%;
        height: calc(100% - 16px);
    }
    .img_box_img_1_line {
        width: 70%;
        left: unset;
        height: calc(100% - 16px);
        right: 20px;
    }
    .img_box_img_2 {
        left: 0;
        right: 40%;
        height: auto;
    }
    .img_box_img_2_line {
        height: 100%;
        width: calc(100% - 26px);
        top: 16px;
        left: 0px;
    }
    .button_box {
        margin-left: unset;
    }
    .read_more_button .text {
        font-size: 16px;
    }

    .homepage_third_section {
        margin-top: 130px;
        padding-top: 104px;
        padding-bottom: 104px;
    }
    .third_setion_title > h2 {
        text-align: center;
    }

    .tour_delay {
        font-size: 12px;
    }
    .about_armenia_button {
        width: max-content;
        align-self: center;
        justify-content: center;
        gap: 26px;
    }
    .nairian_offer {
        grid-template-areas:
            "offer-header"
            "offer-img"
            "offer-content";
    }
    .nairian_offer_img {
        max-width: unset;
        width: 100%;
        height: auto;
    }
    .nairian_offer_img_line {
        width: calc(100% - 40px);
        height: 100%;
        bottom: -40px;
    }
    .nairian_offer_img_img {
        width: calc(100% - 40px);
        height: calc(100% - 40px);
    }
    .save_up_h {
        text-align: center;
        max-width: 100%;
        padding-bottom: 8px;
    }
    .nairian_offer_content {
        margin-top: 40px;
        align-items: center;
    }
    .nairian_offer_content p {
        text-align: center;
    }
    .nairian_travel_about_travel {
        flex-direction: column-reverse;
    }
    .nairian_content_box {
        align-items: center;
        text-align: center;
        gap: 5px;
    }
    .nairian_content_box > h3 {
        line-height: normal;
        text-align: center;
        max-width: max-content;
    }
    .nairian_content_box > h2 {
        max-width: max-content;
        width: unset;
        text-align: center;
    }
    .form > button {
        position: static;
        width: 100%;
        height: 56px;
    }
}
@media screen and (max-width: 908px) {
    .description {
        margin-top: 140px;
    }
}
@media screen and (max-width: 840px) {
    .description {
        margin-top: 120px;
    }
}
@media screen and (max-width: 720px) {
    .nairian_content_box > h3 {
        line-height: normal;
    }
    .modal_container {
        width: 100%;
        height: 100vh;
        border: none;
    }
    .description {
        margin-top: 100px;
    }
    .user_menu {
        padding: 20px !important;
    }
}
@media screen and (max-width: 640px) {
    .description {
        margin-top: 68px;
    }
}
@media screen and (max-width: 560px) {
    .description_head_name_box {
        align-self: flex-end;
    }
    .nairian_content_box > h3 {
        line-height: normal;
        font-size: 36px;
        max-width: max-content;
    }
    .nairian_content_box > h2 {
        font-size: 42px;
        max-width: max-content;
    }
    .about_armenia_button_arrow {
        display: none;
    }
    .about_armenia_button_arrow_mobile {
        display: block;
    }
}
@media screen and (max-width: 480px) {
    :root {
        --page-padding: 0 15px;
        --first-section-height: 334px;
        --title-font-size-big: 60px;
        --title-font-size-medium: 58px;
        --title-font-size-small: 40px;
        --text-font-size-extrabig: 16px;
        --text-font-size-big: 14px;
        --text-font-size-medium: 14px;
        --text-font-size-small: 12px;
        --text-font-size-extrasmall: 14px;
    }
    /* Section One */
    .header_left_bottom {
        left: 15px;
        bottom: 20px;
    }
    .explore1 > p {
        font-size: 35px;
    }
    .explore3 > p {
        font-size: 18px;
    }

    /* Section Two */
    .homepage_second_section {
        margin-top: 46px;
        gap: 30px;
    }

    .description_head_name {
        margin-top: unset;
        font-size: 52px;
    }
    .description {
        margin-top: 68px;
    }

    /* Section Three */
    .homepage_third_section {
        margin-top: 36px;
        padding-top: 20px;
        padding-bottom: 88px;
    }
    .tour_row {
        margin-top: 40px;
        gap: 16px;
    }
    .tour_row {
        grid-template-columns: repeat(auto-fit, minmax(auto, 164px));
    }
    .tour_box {
        width: 164px;
        height: 176px;
    }
    .tour_name > a {
        font-size: 14px;
    }
    .tour_delay {
        width: 88px;
        height: 19px;
    }
    .tour_delay > span {
        font-size: 12px;
    }

    /* forth Section */
    .homepage_fourth_section {
        padding-top: 50px;
        padding-bottom: 60px;
    }
    .nairian_offer {
        margin-top: 70px;
    }
    .nairian_offer_img_img {
        width: calc(100% - 14px);
        height: calc(100% - 14px);
    }
    .nairian_offer_img_line {
        width: calc(100% - 14px);
        height: 100%;
        bottom: -14px;
    }
    .about_armenia_button {
        width: max-content;
        gap: 15px;
    }
    .arrow_line2 {
        width: 248px;
    }
    .save_up_h {
        font-size: 40px;
        font-weight: 550;
        line-height: 37px;
        letter-spacing: 0em;
    }
    .save_up_p {
        text-align: justify;
    }

    .b2b_login .b2b_text {
        font-size: 14px;
        font-weight: 300;
        line-height: 15px;
        letter-spacing: 0.09520059078931808px;
        text-align: justify;
    }
    .nairian_offer_content {
        margin-top: 20px;
    }
    .nairian_bottom h3 {
        font-size: 40px;
        font-weight: 550;
        line-height: 49px;
        letter-spacing: 0.08843869715929031px;
    }
    .plane_img:nth-child(5) {
        display: none;
    }
    .plane_img:nth-child(6) {
        display: none;
    }
    .plane_img {
        width: 75.291px;
    }

    .form_container {
        width: 100%;
        height: 100%;
        padding: 0 15px;
        align-items: center;
    }
    .form {
        width: 100%;
    }
    .form_title {
        text-align: center;
    }
    .form_title > h1 {
        font-size: 60px;
        line-height: 122.336%; /* 73.402px */
        letter-spacing: 4.8px;
    }
    .form_title > p {
        font-size: 16px;
        line-height: 104.5%; /* 16.72px */
        letter-spacing: 0.2px;
    }
    .form > input {
        font-size: 14px;
        line-height: 104.5%; /* 14.63px */
        letter-spacing: 0.148px;
    }
    .form > button > p {
        font-size: 14px;
        line-height: 104.5%; /* 14.63px */
        letter-spacing: 0.104px;
    }

    .modal_footer > p {
        font-size: 10px;
        line-height: 104.5%; /* 10.45px */
        letter-spacing: 0.2px;
    }

    .modal_footer > p > a {
        font-size: 10px;
        line-height: 104.5%;
        letter-spacing: 0.2px;
    }
}
@media screen and (max-width: 420px) {
    .img_line {
        width: 200px;
        height: 149px;
    }
    .middle_img {
        width: 120px;
        height: 122px;
        left: -20%;
    }
}
@media screen and (max-width: 400px) {
    .arrow_line2 {
        width: 127px;
    }

    .save_up_h {
        font-size: 30px;
    }
    .nairian_bottom h3 {
        font-size: 30px;
    }

    .description {
        margin-top: 48px;
    }
}
@media screen and (max-width: 350px) {
    .explore2 > p {
        margin-left: 40px;
    }
}
@media screen and (max-height: 416px) {
    .form_container {
        gap: 0;
    }
}
