
.header {
    width: 100%;
    height: 810px;
    color: white;
    background: url(../images/dweling_karagat/image1.jpg) no-repeat;
    background-size: cover!important;
    padding: 30px 80px;

    .navfix {
        .logo {
            filter: invert(1);
        }
        .nav_btn, a {
            color: white;
        }
        section {
            filter: grayscale(100%) brightness(0%) invert(1);

        }
    }

    .main_info {
        margin-top: 200px;
        display: flex;
        flex-direction: column;
        position: relative;
        bottom: 400px;
        overflow: hidden;
        animation-duration: 1s;
        animation-fill-mode: forwards;

        .line_text {
            display: flex;
            align-items: center;
            margin-left: -100px;
            border-left: 1px solid rgb(0, 0, 0);

            .line {
                width: 90px;
                height: 2px;
                background: rgba(217, 217, 217, 1);
            }

            p {
                font-weight: 100;
                padding-left: 10px;
                font-family: "Montserrat";
            }
        }

        .main_text {
            width: 700px;
            font-family: initial;
            text-transform: uppercase;
            font-weight: 100;
            font-size: 50px;
        }

        .more_text {
            color: rgba(250, 248, 238, 1);
            font-weight: 300;
            font-size: 16px;
            font-family: "Montserrat";
            margin-top: 50px;
            width: 800px;
            line-height: 25px;
        }
    }
}


@keyframes main_infoanimation {


    to {
        bottom: 0;
    }
}

.line_karagat {
    transition: 2s ;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    display: flex;
    align-items: center;
    width: 5%;
    margin-top: -40px;
    margin-bottom: -40px;

    .line {
        background-color: rgba(41, 41, 41, 1);
        height: 2px;
        width: 100%;
    }

    img {
        margin-bottom: 50px;
        width: 100px;
        height: 100px;
    }
}

.about_basic_solutions {
    width: 90%;
    display: flex;
    padding: 100px 0;
    justify-content: center;

    .main_text {
        font-family: 'TimesNewRoman';
        font-size: 40px;
    }

    section {
        overflow: hidden;

        .basic_solutions_info {
            width: 100%;
            position: relative;
            top: -80px;
            display: flex;
            flex-wrap: wrap;
            gap: 24px 40px;
            font-family: Inter;
            animation-duration: 0.5s;
            animation-fill-mode: forwards;
            animation-timing-function: linear;

            div {
                display: flex;
                align-items: center;
                height: 40px;
                display: flex;
                gap: 10px;

                img {
                    height: 30px;
                }

                p {
                    font-size: 22px;
                }
            }
        }
    }
}

@keyframes karagatAnimation {
    to {
        width: 100%;
    }
}

    @keyframes basic_solutions_infoanimation {

    to {
        top: 0;
    }
}

.about_list {
    width: 90%;
    margin: 50px auto;

    .list {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: space-between;

        .card {
            opacity: 0;
            animation-duration: 1.5s;
            animation-timing-function: linear;
            animation-fill-mode: forwards;
            color: rgba(255, 255, 250, 1);
            display: flex;
            flex-direction: column;
            justify-content: end;
            width: 407px;
            height: 655px;
            padding: 25px 20px;

            img {
                width: 100%;
            }

            .card_main_text {
                width: 300px;
                text-transform: uppercase;
                font-family: 'TimesNewRoman';
                font-size: 30px;
                padding-bottom: 10px;
            }

            .card_extra_text {
                color: #FFFFFA;
                font-size: 14px;
                letter-spacing: 0.2px;
                font-family: "Inter";
            }
        }

        .one {
            background: url(../images/dweling_karagat/image2.jpg);
        }

        .two {
            background: url(../images/dweling_karagat/image3.jpg);
        }

        .three {
            background: url(../images/dweling_karagat/image4.jpg);
        }
    }
}

@keyframes cardAnimation {

    to {
        opacity: 100%;
    }
}

.about_location {
    width: 90%;
    padding-top: 120px;
    display: flex;
    justify-content: center;
    .about_location_info {
        width: 100%;

        .main_text {
            text-transform: uppercase;
            font-family: 'TimesNewRoman';
            font-size: 40px;
        }

        .map {
            padding-top: 15px;
            display: flex;
            justify-content: center;
            margin: auto;

            img {
                margin: auto;
                object-fit: cover;
                width: 100%;
                height: 400px;
            }
        }
    }
}


.about_swiper {
    margin: 120px 0;
    margin-left: 70px;

    .main_text {
        text-transform: uppercase;
        font-size: 40px;
        font-family: 'TimesNewRoman';
    }

    .swiper {

        .swiper-slide {
            margin-right: 10px !important;
            width: 600px;
            height: 400px;
        }

        .swiper_btns {
            width: 86.4%;
            top: 50%;
            bottom: 50%;
             position: absolute !important;
            display: flex;
            flex-direction: row-reverse;
            justify-content: space-between;
            z-index: 1000;

            .swiper-button-next,
            .swiper-button-prev {
                padding: 24px;
                border-radius: 100px;
                border: none;
                background: white;
                position: relative;
                top: 0px;
                img {
                    filter: invert(10%) sepia(100%) saturate(3151%) hue-rotate(-69deg) brightness(57%) contrast(196%) !important;
                }
            }

            .swiper-button-next::after,
            .swiper-button-prev::after {
                content: "";
            }

            .swiper-button-prev {
                transform: rotate(180deg);
            }

            .swiper-button-next {
                top: 22px !important;
                left: 100px;
            }

            z-index: 1000;
        }
    }
}


.about_layout_plan {
    display: none;
    width: 90%;
    justify-content: center;

    .main_text {
        font-size: 32px;
        text-transform: uppercase;
        font-family: 'TimesNewRoman';
        text-align: center;
    }

    .plan_home {
        width: 100%;
        height: 700px;
        background: url(../images/dweling_karagat/image9.jpg) no-repeat;
        background-size: 100%;

        button {
            position: relative;
            font-family: 'TimesNewRoman';
            color: white;
            backdrop-filter: blur(5px);
            background: rgba(255, 255, 255, 0.405);
            padding: 10px 10px;
            border-radius: 5px;
            border: none;

            p {
                font-weight: 600;
                font-size: 30px;
            }

            span {
                text-transform: uppercase;
                font-size: 14px;
            }
        }

        .plan_home_one {
            top: 130px;
            left: 53%;
        }

        .plan_home_two {
            top: 170px;
            left: 35%;
        }

        .plan_home_three {
            top: 300px;
            left: 38%;
        }
    }
}

.modal {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.475);
    display: flex;
    align-items: center;
    z-index: 10;

    .modal_block {
        width: 60%;
        position: relative;
        max-width: 1440px;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        img {
        border-top: 40px solid white;
            width: 80%;
            height:580px ;
        }

        button {
            font-family: "Montserrat";
            font-style: italic;
            position: absolute;
            top: 20px;
            right: 100px;
            border-radius: 0 ;
            padding: 15px 60px;
            background-color: #231F21;
            color: white;
        }
        button:hover {
            opacity: 0.9;
        }
    }
}

.about_layout_apartment {

    width: 90%;
    padding-top: 120px;
    justify-content: center;

    .main_text {
        font-size: 32px;
        text-transform: uppercase;
        font-family: 'TimesNewRoman';
        text-align: center;
    }
    .active {

    }
    button {
        color: white;
        background: rgba(146, 41, 69, 1);
        border: 1px solid rgba(146, 41, 69, 1);
        padding: 15px 25px;
        border-radius: 30px;
        transition: 0.5s;

        &:hover {
            border: 1px solid rgba(146, 41, 69, 1);
            color: rgba(146, 41, 69, 1);
            background: white;
            img {
                filter: invert(10%) sepia(100%) saturate(3151%) hue-rotate(-59deg) brightness(83%) contrast(120%) !important
            }
        }
    }

    .list_plan {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 70px 20px;
        margin-top: 50px;

        .card {
            /*position: relative;*/
            line-height: 40px;
            color: rgba(146, 41, 69, 1);
            font-weight: 600;
            font-family: "Montserrat";
            font-style: italic;
            width: 350px;
            display: flex;
            flex-direction: column;
            align-items: center;

            .info_block {
                width: 100%;
                display: flex;
                color: rgba(146, 41, 69, 1);
                font-style: normal;
                justify-content: space-between ;
                font-size: 16px;
                font-family: Inter;
                font-weight: 100;
                padding-bottom: 5px;
            }
            .active {
                display: flex !important;
            }
            .extra_info_block {
                /*position: absolute;*/
                /*top: 500px;*/
                z-index: 2;
                display: none;
                font-style: normal;
                flex-direction: column;
                align-items: center;
                font-size: 16px;
                color:  rgba(146, 41, 69, 1);
                font-family: Inter;
                font-weight: 100;
                div {
                    padding: 5px 0;
                    display: flex;
                    gap: 70px;
                    justify-content: center;
                    width: 100%;
                    p {
                        width: 100%;
                    }
                }
            }

            .btn_close {
                img {
                margin-top: 10px;
                    transform: rotate(-90deg);
                }
            }

            button {
                display: flex;
                align-items: center;
                justify-content: center;
                font-family: "Montserrat";
                font-style: italic;
                width: 100%;

                img {
                    margin-top: -10px;
                    transform: rotate(90deg);
                    filter: grayscale(100%) brightness(0%) invert(1);
                    padding-left: 10px;
                }

            }
        }
    }
}

.about_contact_us {
    margin-top: 140px;
    width: 100%;
    padding: 50px;
    background: rgba(35, 31, 33, 1);

    .contact_us_info {
        display: flex;
    justify-content: space-around;
        .left_block {
            width: 100%;
            display: flex;
            align-items: end;
            gap: 30px;
            justify-content: center;
        }

        .right_block {
            width: 100%;
            color: white;
            display: flex;
            flex-direction: column;
            align-items: start;
            justify-content: center;

            .main_text {
                text-transform: uppercase;
                font-family: 'TimesNewRoman';
                font-size: 40px;
            }

            .contact_us_karagat {
                width: 100%;
                margin-top: -50px;

                .line {
                    background-color: white;
                }
            }

            .inputs {
                width: 70%;
            }

            input {
                font-size: 14px;
                filter: grayscale(100%) brightness(0%) invert(1);
                padding: 15px 0px;
                padding-left: 35px;
                width: 100%;
                border: none !important;
                outline: none;
                color: rgb(255, 255, 255);
                background-color: #c8c7c700;
                border-bottom: 1px solid rgb(255, 255, 255) !important;
                background-position: 0px 11px !important;
            }

            input::placeholder {
                color: rgb(255, 255, 255);
            }

            .user {
                background: url(../icons/user.svg) no-repeat;
            }

            .phone {
                background: url(../icons/phone1.svg) no-repeat;
            }

            .text {
                filter: grayscale(100%) brightness(0%) invert(1);
                display: flex;
                gap: 10px;
                align-items: center;
                padding-top: 30px;
                font-size: 14px;
                font-family: GothamPro_Light;
                font-weight: 100;
                /*-webkit-text-stroke: 2px #1F1F1F; */
                font-style: italic;
            }

            button {
                transition: 0.5s;
                margin-top: 30px;
                color: white;
                border: 1px solid rgba(146, 41, 69, 1);
                padding: 15px 55px;
                border-radius: 30px;
                background: rgba(146, 41, 69, 1);

                &:hover {
                    background-color: white;
                    border: 1px solid rgba(146, 41, 69, 1);
                    color: rgba(146, 41, 69, 1);
                }
            }
        }
    }
}

.about_our_objects {
    .main_text {
        font-family: TimesNewRoman !important;
    }
    .swiper_btns {
        filter: grayscale(100%) brightness(0%) !important ;

    }
}

footer {
    background:rgba(146, 41, 69, 1) !important;
        .nav_form {
            input {
                filter: grayscale(100%) brightness(15%) invert(1) !important;
            }
            input:focus {
                filter: grayscale(100%) brightness(0%) invert(1) !important;
            }
        }
}

@media screen and (min-width: 1500px) {
    .modal_block {
        button{
            right: 150px !important;
        }
    }
}

@media screen and (max-width: 1100px) {
    .about_plan {
        display: none;
    }
    .about_layout_apartment {
        .list_plan {
            justify-content: center !important;
        }
    }
}


@media screen and (max-width: 1000px) {
    .header {
        padding: 50px;
        .main_text,
        .more_text {
            width: 100% !important;
        }
    }
    .line_karagat {
        width: 100%;
    }

    .about_swiper {
        margin-left: 20px !important;
    }


        .about_layout_plan {
            display: none;
        }

        .about_contact_us {

            .left_block {
                display: none !important;
            }

            .inputs {
                width: 100% !important;
            }
            button {
                width: 100%;
            }
        }

}

@media screen and (max-width: 800px) {
    .header {
        height: 600px;
        .main_text {
            font-size: 38px !important;
        }

        .more_text {
            line-height: 19.36px;
        }
    }
}


@media screen and (max-width: 600px) {
    .header {
        padding: 20px !important;
    }
    .line_karagat {
        margin-top: -32px !important;
    }
    .about_basic_solutions,
    .about_swiper,
    .about_contact_us,
    .about_location
        {
        .main_text {
            font-size: 28px !important;
        }
    }
}

@media screen and (max-width: 430px) {
    .header {
        .main_text {
            font-size: 30px !important;
        }

        .more_text {
            font-size: 20px;
        }
    }
    .about_list {
        .card {
            padding: 10px;
            width: 100% !important;
        }
    }
    .about_location {
        section {
            width: 100%;
        }
    }
    .about_swiper {
        .swiper-slide {
            height: 200px !important;
        }
    }
}
