@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200&display=swap');

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
    text-decoration: none;
}

body {
    background-color: #E4E8EE;
    min-width: 720px;
}

.popup {
    display: none;
    position: fixed;
    top: 100px;
    right: 25px;
    width: 300px;
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 700;
    z-index: 1000;
}

.popup > p {
    text-align: center;
}

.popup.success {
    background-color: rgba(0, 255, 0, 0.7);
    border-radius: 10px;

}

.popup.error {
    background-color: rgba(255, 0, 0, 0.7);
    border-radius: 10px;
}

header {
    width: 100%;
    height: 88px;
    background-color: #748FBB;
    display: flex;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo_img {
    margin-left: 100px;
    height: 52px;
    width: 52px;
}

.logo_name {
    font-family: 'Nunito', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 28px;
    line-height: 38px;
    color: #FFFFFF;
    width: 217px;
    height: 44px;
    margin: 18px;
}

nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;

}

nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

nav ul li {
    padding: 30px 30px;
    justify-content: flex-end;
    cursor: pointer;
    transition: .3s;
}

nav ul li a {
    justify-content: flex-end;
    font-family: 'Nunito', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 22px;
    line-height: 30px;
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    cursor: pointer;
}

nav ul li:hover {
    background: rgba(0, 17, 85, 0.3);
}

main {
    margin: 100px;
}

.house_management {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1280px;
    min-height: 373px;
    background: #FFFFFF;
    box-shadow: 4px 4px 35px rgba(51, 69, 91, 0.2);
    border-radius: 12px;
    padding: 15px 20px;
    box-sizing: border-box;
}

.house_management_info {
    flex-direction: column;
    align-self: auto;
    flex: 1;
}

.house_management_info h1 {
    font-family: Nunito;
    font-style: normal;
    font-weight: normal;
    font-size: 50px;
    line-height: 68px;
    display: flex;
    align-items: center;
}

.house_management_info p {
    font-family: Nunito;
    font-style: normal;
    font-weight: 300;
    font-size: 22px;
    line-height: 32px;
    /* or 145% */


    color: rgba(0, 0, 0, 0.62);
}

.house_management_img {
    max-width: 639px;
    height: 297px;
    margin-left: 15px;
}

.house_management_img > img {
    width: 100%;
    max-width: 639px;
}

.about_address {
    display: none;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 100px;
}

.desired_address_position {
    display: flex;
}

.desired_address {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
    border-radius: 6px;
}

.address_header_and_info:nth-child(1) {
    border-radius: 6px 6px 0px 0px;
}

.address_header_and_info:nth-child(7) {
    border-radius: 0px 0px 6px 6px;
}

.desired_address_info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.addresses_nearby {
    display: flex;
    justify-content: space-around;
    flex-grow: 3;
    filter: drop-shadow(4px 4px 35px rgba(51, 69, 91, 0.2));

    font-family: Oswald;
    font-style: normal;
    font-weight: 300;
    font-size: 24px;
    line-height: 36px;
}

.addresses_nearby_info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 264px;
    height: 113px;

}

.addresses_nearby_info:nth-child(1n) {
    background-color: #FFFFFF;
}

.addresses_nearby_info:nth-child(2n) {
    background-color: #F4F4F4;
}

.addresses_nearby_info:nth-child(1) {
    border-radius: 6px 6px 0px 0px;
}

.addresses_nearby_info:nth-child(7) {
    border-radius: 0px 0px 6px 6px;
}

.addresses_nearby_money {
    font-family: Oswald;
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 21px;
}


.about_MC {
    display: none;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.search_form_MC {
    position: relative;
    width: 487px;
    height: 52px;
    margin-bottom: 38px;
}

.search_form_MC input, button {
    border: none;
    outline: none;
}

.search_form_input_MC {
    width: 487px;
    height: 52px;
    background: #FFFFFF;
    border-radius: 12px;
    padding-left: 15px;

    font-family: Nunito;
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 27px;
    display: flex;
    align-items: center;

    color: #33455B;
}

.search_form_button_MC {
    height: 26px;
    width: 26px;
    top: 14px;
    right: 14px;
    position: absolute;
    cursor: pointer;
    background: #FFFFFF;
}

.search_form_button_MC:before {
    display: block;
    content: url(images/Vector.jpg);
}

.info_about_MC {
    display: flex;
    align-items: center;
    max-width: 1280px;
    margin: 25px 0px 0px 0px;
    background: #FFFFFF;
    box-shadow: 4px 4px 35px rgba(51, 69, 91, 0.2);
    border-radius: 12px;
    padding: 20px;
    box-sizing: border-box;
}

.rating_MC {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    margin-right: 26px;
    margin-left: 30px;
    border-right: 1px solid;
    border-color: #AEB6BF;
}

.name_MC {
    font-family: Nunito;
    font-style: normal;
    font-weight: 300;
    font-size: 24px;
    line-height: 33px;
    display: flex;
    align-items: center;
    color: #4F6174;

}

.number_rating_MC {
    font-family: Oswald;
    font-style: normal;
    font-weight: 200;
    font-size: 72px;
    line-height: 107px;
    display: flex;
    align-items: center;
    color: #4F6174;
}

.count_reviews {
    font-family: Nunito;
    font-style: normal;
    font-weight: 200;
    font-size: 22px;
    line-height: 30px;
    display: flex;
    align-items: center;
    color: #4F6174;
}

.count_stars p {
    color: #cccc00;
    font-size: 32px;
}

.rating_MC_position_row {
    display: flex;
}

.rating_MC_position_column {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin-left: 25px;
}

.details_about_MC {
    display: flex;
    flex: 2;
    margin-left: 62px;
    font-family: Nunito;
    font-style: normal;
    font-weight: 300;
    font-size: 24px;
    line-height: 33px;
    color: #33455B;
}

.details_about_MC p {
    font-size: 20px;
}

.partners {
    display: flex;
    padding-top: 110px;
    padding-bottom: 70px;
    max-width: 1280px;
    margin: 0 auto;
}

.partners ul {
    width: 1280px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    list-style-type: none;
}

.statistics {
    max-width: 1280px;
    margin: 0 auto;
    background: #FFFFFF;
    box-shadow: 4px 4px 35px rgba(51, 69, 91, 0.2);
    border-radius: 12px;
}

.statistics ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style-type: none;
    flex-wrap: wrap;
}

.statistics ul li {
    display: flex;
    width: auto;
    text-align: center;
    padding: 40px 0;
}

.sendOrderSuccess, .sendOrderError {
    text-align: center;
    padding: 10px;
    font-size: 16px;
    display: none;
    width: 100%;
}

.sendOrderSuccess {
    color: green;
}

.sendOrderError {
    color: red;
}

.sendHelpOrderSuccess, .sendHelpOrderError {
    text-align: center;
    padding: 10px;
    font-size: 16px;
    display: none;
    width: 100%;
}

.sendHelpOrderSuccess {
    color: green;
}

.sendHelpOrderError {
    color: red;
}

.statistics_info {
    font-family: Nunito;
    font-style: normal;
    font-weight: 200;
    font-size: 28px;
    line-height: 38px;
    text-align: center;

    color: #292929;
}

.statistics_metr {
    font-family: Roboto;
    font-style: normal;
    font-weight: 200;
    font-size: 68px;
    line-height: 80px;

    color: #000000;

}

.search {
    margin-top: 70px;
    margin-bottom: 70px;
}

.search_form {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1280px;
    margin: 0 auto;
}

.search_form_input {
    width: 399px;
    height: 52px;

    background: #FFFFFF;
    box-shadow: 4px 4px 35px rgba(51, 69, 91, 0.2);
    border-radius: 12px 0px 0px 12px;
    border: none;

    font-family: Nunito;
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 27px;
    padding-left: 25px;

}

.search_form_button {
    height: 52px;
    padding: 0px 30px;
    background: #92B3E8;
    box-shadow: 4px 4px 35px rgba(51, 69, 91, 0.2);
    border-radius: 0px 12px 12px 0px;
    border: none;
    font-family: Nunito;
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 27px;
    text-align: center;
    cursor: pointer;
    transition: .3s;
}

.search_form_button:hover {
    color: #92B3E8;
    background-color: white;
}

.check_form_button {
    height: 52px;
    padding: 0px 30px;
    background: #92B3E8;
    box-shadow: 4px 4px 35px rgba(51, 69, 91, 0.2);
    border-radius: 12px;
    border: none;
    font-family: Nunito;
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 27px;
    text-align: center;
    cursor: pointer;
    transition: .3s;
}

.check_form_button:hover {
    color: #92B3E8;
    background-color: white;
}

.add_adress {
    display: none;
}

.add_adress_string {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
    margin-top: 22px;
    flex-wrap: wrap;
}

.add_adress_form_input {
    width: 511px;
    height: 42px;
    margin-top: 10px;

    background: #FFFFFF;
    box-shadow: 4px 4px 35px rgba(51, 69, 91, 0.2);
    border-radius: 6px;
    border: none;

    font-family: Nunito;
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 27px;
    padding-left: 25px;
}

.adress_input {
    width: 376px;
}

.house_input {
    width: 100px;
}

.add_house_address {
    display: flex;
    justify-content: space-between;
}

.add_adres_discreption {
    width: 511px;
    height: auto;

    font-family: Nunito;
    font-style: normal;
    font-weight: 300;
    font-size: 22px;
    line-height: 30px;
}

.legal_agreement {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    margin-top: 30px;
}

.legal_agreement_size {
    display: flex;
    flex-direction: column;
    width: 511px;
}

.legal_agreement_discreption {

    width: 518px;
    height: 100px;


    font-family: Nunito;
    font-style: normal;
    font-weight: 200;
    font-size: 18px;
    line-height: 25px;

    color: #001155;

}

.legal_agreement_input {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #E3F8FF;
    border: none;
}

.legal_agreement_yes {
    display: flex;
    font-family: Nunito;
    font-style: normal;
    font-weight: 300;
    font-size: 22px;
    line-height: 30px;
    color: #001155;
    margin-top: 20px;
}

.add_address_button {
    width: 511px;
    height: 42px;
    margin-top: 20px;
    background: #92B3E8;
    border-radius: 6px;
    border: none;
    font-family: Nunito;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 25px;
    text-align: center;
    color: #33455B;
    cursor: pointer;
    transition: .3s;
}

.add_address_button:hover {
    color: #92B3E8;
    background-color: white;
}

.address_header_and_info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.address_header_and_info:nth-child(1n) {
    background-color: #FFFFFF;
}

.address_header_and_info:nth-child(2n) {
    background-color: #F4F4F4;
}

.address_header {
    display: flex;
    flex-direction: column;
    justify-content: center;

    width: 150px;
    height: 113px;
    padding-left: 15px;

    filter: drop-shadow(4px 4px 35px rgba(51, 69, 91, 0.2));

    font-family: Oswald;
    font-style: normal;
    font-weight: 300;
    font-size: 24px;
    line-height: 36px;

}

.address_info {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 170px;
    height: 113px;

    filter: drop-shadow(4px 4px 35px rgba(51, 69, 91, 0.2));

    font-family: Oswald;
    font-style: normal;
    font-weight: 300;
    font-size: 24px;
    line-height: 36px;
}

.address_info_column {
    display: flex;
    flex-direction: column;
}

.address_MC_name {
    width: 264px;
    text-align: center;
}

.address_date {
    width: 264px;
}

.addresses_money {
    padding-left: 15PX;
    font-family: Oswald;
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 21px;
}


.about_address {
    display: flex;
    justify-content: center;
    margin-top: 100px;
}

.desired_address_position {
    display: flex;
}

.desired_address {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
    border-radius: 6px;
}

.address_header_and_info:nth-child(1) {
    border-radius: 6px 6px 0px 0px;
}

.address_header_and_info:nth-child(7) {
    border-radius: 0px 0px 6px 6px;
}

.desired_address_info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.addresses_nearby {
    display: flex;
    justify-content: space-around;
    flex-grow: 3;
    filter: drop-shadow(4px 4px 35px rgba(51, 69, 91, 0.2));

    font-family: Oswald;
    font-style: normal;
    font-weight: 300;
    font-size: 24px;
    line-height: 36px;
}

.addresses_nearby > div {
    transition: .3s;
}

.addresses_nearby > div:hover {
    transform: scale(1.01);
    filter: drop-shadow(4px 4px 35px rgba(51, 69, 91, 0.2));
}

.addresses_nearby_info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 264px;
    height: 113px;

}

.addresses_nearby_info:nth-child(1n) {
    background-color: #FFFFFF;
}

.addresses_nearby_info:nth-child(2n) {
    background-color: #F4F4F4;
}

.addresses_nearby_info:nth-child(1) {
    border-radius: 6px 6px 0px 0px;
}

.addresses_nearby_info:nth-child(7) {
    border-radius: 0px 0px 6px 6px;
}

.addresses_nearby_money {
    font-family: Oswald;
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 21px;
}


.map {
    filter: drop-shadow(4px 4px 35px rgba(51, 69, 91, 0.2));
    border-radius: 12px;
    margin: 35px 0;
}

.map__wrapper{
    position: relative;
    filter: drop-shadow(4px 4px 35px rgba(51, 69, 91, 0.2));
    max-width: 1280px;
    margin: 0 auto;
}

.map__header{
    position: absolute;
    top: 0;
    background: rgba(146, 179, 232, 0.29);
    padding: 22px 10px 20px 50px;
    width: 100%;
    backdrop-filter: blur(20px);
    border-radius: 20px;
    display: flex;
}

.map__header > select{
    padding: 10px 20px;
    background: rgba(253, 255, 255, 0.45);
    border-radius: 12px;
    margin: 0 12px;
    font-size: 16px;
    outline: none;
    cursor: pointer;
}

.map iframe {
    display: block;
    width: 100%;
    margin: 0 auto;
    border-radius: 20px;
}

.services_and_partners_list button {
    cursor: pointer;
}

.partners_list li {
    transition: .3s;
}

.partners_list li:hover {
    transform: scale(1.05);
}

.services_and_partners {
    padding: 35px 0px;
    max-width: 1280px;
    margin: 0 auto;
}

.services_and_partners h2 {
    font-family: Nunito;
    font-style: normal;
    font-weight: normal;
    font-size: 28px;
    line-height: 38px;
    margin-bottom: 35px;

    color: #001155;
}

.search_form__wrapper {
    margin: 0 auto;
}

.search_form__wrapper p {
    color: red;
    padding: 10px;
    display: none;
}

.services_and_partners ul {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    flex-wrap: wrap;
    gap: 40px;
}

.services_and_partners ul li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 222px;
    height: 200px;
    margin: 0 auto;
    background: #FFFFFF;
    box-shadow: 4px 4px 40px rgba(51, 69, 91, 0.2);
    border-radius: 14px;
    padding: 20px;
}

.services_and_partners ul li h3 {
    height: 41px;

    font-family: Oswald;
    font-style: normal;
    font-weight: 300;
    font-size: 28px;
    line-height: 41px;

    color: #4F6174;
}

.services_and_partners_order {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

}

.services_and_partners_order button {
    width: 65px;
    height: 27px;

    font-family: Oswald;
    font-style: normal;
    font-weight: 200;
    font-size: 18px;
    line-height: 27px;
    /* identical to box height */

    color: #33455B;

    border: none;
    background-color: #FFFFFF;
}

.order_service {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 30px;
    height: 216px;
}

#checkAddressBlock {
    display: none;
    margin: 0 auto;
}

.contact_specialist {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 30px;
    height: 216px;
}

.contact_specialist_description {
    width: 620px;
    height: 114px;

    font-family: Nunito;
    font-style: normal;

    font-size: 28px;
    line-height: 38px;
    text-align: center;

    color: #33455B;
}

.contact_specialist_form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact_specialist_form_input {
    width: 288px;
    height: 42px;
    margin-top: 30px;

    background: #FFFFFF;
    border-radius: 6px;
    border: none;

    font-family: Nunito;
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 25px;
    padding-left: 15px;

    color: #33455B;
}

.contact_specialist_form_button {
    width: 162px;
    height: 42px;
    margin-top: 22px;
    background: #FFFFFF;
    border-radius: 6px;
    border: none;
    font-family: Nunito;
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 25px;
    text-align: center;
    color: #33455B;
    cursor: pointer;
    transition: .3s;
}

.contact_specialist_form_button:hover {
    background-color: #92B3E8;
    color: white;
}

.order_service_description {
    width: 600px;
    height: 66px;

    font-family: Nunito;
    font-style: normal;
    font-weight: 300;
    font-size: 24px;
    line-height: 33px;
    display: flex;
    align-items: center;
    text-align: center;

    color: #33455B;
}

.order_service_form {
    display: flex;
    flex-direction: column;
}

.order_service_form_input {
    width: 203px;
    height: 52px;
    margin: 18px 0px 18px 0px;

    background: #FFFFFF;
    border-radius: 6px;
    border: none;

    font-family: Nunito;
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 27px;
    display: flex;
    align-items: center;
    text-align: center;

    color: #4F6174;
}

.order_service_form_button {
    width: 203px;
    height: 52px;
    background: #FFFFFF;
    border-radius: 6px;
    border: none;
    font-family: Nunito;
    font-style: normal;
    font-weight: 300;
    font-size: 22px;
    line-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4F6174;
    transition: .3s;
    cursor: pointer;
}

.order_service_form_button:hover {
    background-color: #92B3E8;
    color: white;
}

.footer_info_part {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 125px 0px 85px;
    height: 300px;

    background: #33455B;
}

.footer_deco_part {
    width: 100%;
    height: 39px;

    background: #283647;
}


.contacs h4 {
    font-family: Oswald;
    font-style: normal;
    font-weight: 300;
    font-size: 24px;
    line-height: 36px;

    color: #FFFFFF;
}

.contacs a {
    font-family: Oswald;
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 27px;
    color: #FFFFFF;
    display: block;
    cursor: pointer;
    transition: .3s;
}

.contacs a:hover {
    color: #cccccc;
}

.footer_info_part_lf h3 {
    padding-bottom: 18px;
    font-family: Nunito;
    font-style: normal;
    font-weight: normal;
    font-size: 30px;
    line-height: 41px;

    color: rgba(255, 255, 255, 0.3);
}


.change_languch {
    width: 250px;
    height: 30px;
    margin-top: 15px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-family: Oswald;
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 30px;

    color: #FFFFFF;
}

.change_languch button {
    margin: 0px 15px 0px 15px;

    font-family: Oswald;
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 27px;
    /* identical to box height */

    text-align: center;

    color: #FFFFFF;
    background-color: #33455B;
    box-shadow: none;
    border: none;
}

.mailing {
    position: relative;
}

.mailing p {
    text-align: center;
    padding: 10px;
    font-size: 16px;
    color: white;
    display: none;
    position: absolute;
    width: 100%;
}

.mailing_form {
    position: relative;
}

.mailing_form_input {
    width: 388px;
    height: 52px;
    padding-left: 16px;

    background: #CBE9F4;
    border-radius: 30px;
    border: none;

    font-family: Nunito;
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 27px;
    display: flex;
    align-items: center;

    color: #33455B;
}

.mailing_form_button {
    position: absolute;
    width: 44px;
    height: 44px;
    right: 4px;
    bottom: 4px;
    border-radius: 50%;
    border: none;
    background: #33455B;
    font-family: Nunito;
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    cursor: pointer;
    transition: .3s;
}

.mailing_form_button:hover {
    transform: scale(1.05);
}

@media (max-width: 920px){
    .logo_name{
        font-size: 22px;
    }
    nav ul li a{
        font-size: 16px;
    }
}
