/* SECTION UTILITIES */
:root {
    --dm-sans: 'DM Sans', sans-serif;
    --inter: 'Inter', sans-serif;
    --poppins: 'Poppins', sans-serif;
    --manrope: 'Manrope', sans-serif;
    --assistant: 'Assistant', sans-serif;


}


* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    overflow-x: hidden;

}

body {
    max-width: 1500px;
    margin: auto;
    background-color: transparent;
    font-family: "segoe ui";
}

h2 {
    animation: headers 2s ease 0s infinite normal none;
}

@keyframes headers {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

select,
input,
textarea {
    outline: none;
}



button:hover {
    cursor: pointer;
}


/* !SECTION */


/* SECTION NAV-BAR */

.nav-bar {
    /* max-width: 1200px; */
    position: relative;
    margin: auto;

}

.nav-wrapper {
    overflow: hidden;
    /* max-width: 1200px; */
    display: flex;
    user-select: none;
    position: fixed;
    top: 0;
    left: 0;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    margin-left: 1rem;
    width: 90%;
    height: 90px;
    border-bottom: 2px solid #e6e6e6;
    padding: 0 100px 0 50px;
    z-index: 20000;
    transition: all 0.5s ease-in-out;
    /* background-image: linear-gradient(200.44deg, #00000082 16.41%, #00000082 77.16%); */
}


.logo-container {
    padding: 1rem;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container img {
    height: 60px;
}

.nav-tabs {
    overflow: hidden;
    display: flex;
    list-style: none;
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 70.19%;
    color: #FFFFFF;
}

.nav-tab {
    overflow: hidden;
    padding: 36.5px 25px;
    margin: 0 0.725rem;
}

.nav-tab:hover {
    transition: all 0.05s ease-in-out;
    border-bottom: 3px solid #e6e6e6;
}

.nav-tab,
.menu-btn {
    cursor: pointer;
}

.hidden {
    display: none;
}


/* !SECTION */



/* SECTION HERO PAGE */

.hero-container {
    position: relative;
    width: 100%;
    background-image: linear-gradient(200.44deg, #00000000 16.41%, #00000082 77.16%);
    padding-top: 10rem;
    padding-bottom: 3rem;
    overflow-x: hidden;
}

.hero-container::before {
    content: "";
    width: 100%;
    height: 100%;
    background-image: url("images/etienne-beauregard-riverin-B0aCvAVSX8E-unsplash.png");
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    z-index: 1;
}

.home-page {
    position: relative;
    z-index: 10;
}

.background-img {
    display: none;
    width: 100%;
    height: max-content;
    position: absolute;
    top: 0px;
    left: 0px;
    opacity: 0.7;
    z-index: -1;
    border: 10px solid green;
}

.background-img img {
    width: 100%;
    object-fit: cover;
}

.hero-page {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-bottom: 2rem;
}

.hero-text {
    flex-basis: 60%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: var(--inter);
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 70px;
    letter-spacing: -1px;
    text-transform: capitalize;
    color: #FFFFFF;
    animation: heroPage 1s ease 0s 1 reverse both;
}

@keyframes heroPage {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-250px);
    }
}


.hero-map {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    animation: myAnim 2s ease 0s 1 normal forwards;
}

@keyframes myAnim {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

.map-img img {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 1rem;
    width: 400px;
}

.hero-search {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #fff;
    width: 400px;
    height: 100px;
    border: 1px solid #00000033;
    border-radius: 10px;
}

.hero-search form {
    display: flex;
    align-items: center;
    height: 60px;
    width: 90%;
    margin: auto;
}

#house-type,
#house-location {
    padding: 0 0.1rem;
    height: 60px;
    width: 50%;
    background: #F9F9F9;
    border: 1px solid #E6E6E6;
    font-family: var(--poppins);
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 28px;
    letter-spacing: 0.2px;
    color: #252B42;
}

#house-type {
    border-radius: 5px 0px 0px 5px;
}

.search-icon {
    width: 60px;
    height: 60px;
    margin: 0;
    color: #ffffff;
    background: #23A6F0;
    border: 1px solid #E6E6E6;
    border-radius: 0px 5px 5px 0px;
}

/* !SECTION */


/* SECTION MINIMUM LIVING COST CONTAINER */

section.minimum-living-cost {
    width: 100%;
    margin: auto;
}

.living-cost-container {
    width: 90%;
    margin: auto;
    padding: 3.125rem 0;
}

.minimum-living-cost h2 {
    margin: 2rem;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-size: 36px;
    line-height: 64px;
    text-transform: capitalize;
    font-feature-settings: 'salt'on, 'liga'off;
    color: #18191F;
    padding-left: 25px;
}

.minimum-living-cost h2 span {
    border-bottom: 3px solid #F4511E;
}


.grid-view {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    width: 100%;
    grid-column-gap: 2rem;
    align-items: stretch;
}

.house-img {
    grid-row: 1 / span 2;
    background-color: #C4C4C4;
    overflow: hidden;
    width: 400px;
    border-radius: 50px 0px;
    height: 550px;
    padding-top: 50px;
    animation: houses 2s ease-out 0s infinite alternate-reverse backwards;

}

@keyframes houses {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

.house-img img {
    box-shadow: 5px 24px 53px rgba(0, 0, 0, 0.25);
    border-radius: 0 0 50px 0;
    width: 400px;
    height: 500px;
}

.vector {
    padding: 1rem;
    width: 80px;
    height: 80px;
    background: #FFFFFF;
    box-shadow: 0px 12px 19px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    animation: vectors 2s ease-out 0s infinite alternate-reverse none;
}

@keyframes vectors {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

.vector-intro {
    font-family: var(--inter);
    font-style: normal;
    font-weight: 600;
    font-size: 26px;
    line-height: 35px;
    text-transform: capitalize;
    font-feature-settings: 'salt'on, 'liga'off;
    color: #18191F;
}

/* !SECTION */


/* SECTION LIST OF PROPERTIES CONTAINER */


section.properties-container {
    width: 90%;
    margin: auto;
    padding: 3.125rem 0;
}

.header {
    display: flex;
    width: 100%;
    margin: 2rem 0;
    align-items: center;
    height: 100px;
}

.header h2 {
    width: 50%;
    display: inline-block;
    padding-left: 30px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-size: 36px;
    line-height: 64px;
    text-transform: capitalize;
    font-feature-settings: 'salt'on, 'liga'off;
    color: #18191F;
}

.header>h2>span {
    border-bottom: 3px solid #F4511E;
}

.property-btn {
    width: 50%;
    text-align: right;
    display: inline-block;
}

.property-btn button {
    box-shadow: 0px 20px 13px #f85a4709, 0px 8.14815px 6.51852px #f85a4707, 0px 1.85185px 3.14815px #f85a4704;
    border-radius: 5px;
    border: 0;
    width: 200px;
    height: 65px;
    background: #F4511E;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    line-height: 23px;
    text-align: center;
    color: #FFFFFF;
}

.property-btn button:hover,
.grantee-btn button:hover {
    background-color: #f3ccc0;
    transition: all 0.3s ease-in-out;
    color: #F4511E;
    font-weight: 600;
}


.list-of-property {
    padding: 20px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 5rem;
    max-height: 1900px;
}

.property {
    width: 100%;
    animation: house 2s ease-out 0s infinite alternate-reverse backwards;
}

@keyframes house {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}


.property:hover {
    cursor: pointer;
    animation: property 3s ease-out 0s infinite alternate-reverse none;
}

@keyframes property {

    0% {
        transform: rotate(2deg);
        transform-origin: 50% 0;
    }


    100% {
        transform: rotate(2deg);
    }

}

.property>img {
    width: 100%;
}

.property h3 {
    font-family: var(--dm-sans);
    font-style: normal;
    font-weight: 700;
    font-size: 23px;
    line-height: 30px;
    letter-spacing: -0.642075px;
    text-transform: capitalize;
    color: #000000;
}


.price {
    margin: 1rem 0;
    font-family: var(--dm-sans);
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 23px;
    letter-spacing: -0.642075px;
    text-transform: capitalize;
    color: #818181;
}


.price span {
    width: 100%;
    display: inline-block;
    font-weight: 700;
    font-size: 25.552px;
    line-height: 33px;
    letter-spacing: -0.642075px;
    color: #F4511E;
}


.shower-bed {
    display: flex;
    width: 100%;
    border: 2px solid #e4e4e4;
    box-sizing: border-box;
    justify-content: space-around;
}


.shower-bed img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.bed,
.shower,
.size {
    display: flex;
    width: 32.514%;
    margin: 0;
    padding: 5px 0;
    border-right: 2px solid #e4e4e4;
    justify-content: center;
    align-items: center;
}

.size {
    border-right: 0;
}

/* !SECTION */


/* SECTION LIFESTYLE CONTAINER */

section.lifestyle-container {
    padding: 3.125rem 0;
}

.lifestyle {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: auto;
    width: 100%;
}

.grantees-intro {
    width: 40%;
    display: inline-block;
    margin: 2rem;
    animation: flexibility 1s ease-out 0s infinite alternate-reverse backwards;
}

@keyframes flexibility {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.grantees {
    display: flex;
    flex-wrap: wrap;
    width: 50%;
}

.grantees .img1 {
    margin: 0 1rem;
    display: flex;
    flex-basis: 250px;
    align-items: flex-start;
    animation: vectors 2s ease-out 0s infinite alternate-reverse none;
}

.grantees .img2 {
    margin: 1rem 0 0 1rem;
    display: flex;
    flex-basis: 270px;
    align-items: flex-end;
    animation: vectors 2s ease-out 0s infinite reverse none;
}

.grantees .img3 {
    margin: 1rem;
    display: flex;
    flex-basis: 212px;
    align-items: flex-start;
    animation: vectors 2s ease-out 0s infinite reverse none;
}

.grantees .img4 {
    margin: 1rem 0 1rem 1rem;
    display: flex;
    flex-basis: 338px;
    align-items: flex-end;
    animation: vectors 2s ease-out 0s infinite alternate none;
}

.grantees-intro h1 {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-size: 40px;
    line-height: 54px;
    font-feature-settings: 'salt'on, 'liga'off;
    color: #18191F;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.grantees-intro p {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 32px;
    font-feature-settings: 'salt'on, 'liga'off;
    color: #18191F;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.grantee-btn button {
    width: 185px;
    height: 63px;
    border: 0;
    background: #F4511E;
    border-radius: 13px;
    flex: none;
    order: 1;
    flex-grow: 0;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    font-feature-settings: 'salt'on, 'liga'off;
}


/* !SECTION */


/* SECTION ADD PROPERTIES CONTAINER */

section.add-property-container {
    padding: 3.125rem 0;
}

.fill-property {
    width: 90%;
    margin: auto;
    padding-bottom: 20px;
}

.fill-property h1 {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    width: max-content;
    margin: 1rem auto 2rem;
    text-transform: capitalize;
    font-feature-settings: 'salt'on, 'liga'off;
    color: #000000;
}

.fill-property .form-details {
    background: #FFFFFF;
    box-shadow: 0px 4px 63px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.3);
    padding: 2rem 2rem 4rem;
    width: 95%;
    margin: auto;
}

.fill-property form {
    display: grid;
    grid-template-columns: 30% 30% 30%;
    grid-gap: 2rem;
    margin: auto;
    padding: 2rem 2rem 0;
}

.fill-property .form-details>h3 {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 32px;
    text-align: center;
    letter-spacing: 0.1px;
    color: #F4511E;
    overflow: hidden;
}

.fill-property form input {
    width: 100%;
    height: 40px;
}

.fill-property form select {
    width: 100%;
    height: 40px;
}

.fill-property form div label {
    padding-bottom: 0.2rem;
    display: inline-block;
}

.add-description {
    grid-column: 1/-1;
    grid-row: 5/6;
    margin: auto;
    width: 100%;
}

.add-description textarea {
    width: 100%;
    height: 100px;
    resize: none;
    padding: 1rem;
    background: #F9F9F9;
    border: 1px solid #E6E6E6;
    border-radius: 5px;
}

.upload-container {
    grid-column: 1/ -1;
    grid-row: 6/7;
    height: 100%;
    width: 100%;
    background-color: #fcfcfc;
}

.card {

    width: 100%;
    height: 220px;
    background-color: #ffffff;
}

.card h3 {
    font-size: 22px;
    font-weight: 600;

}

.drop_box {
    margin: 10px 0;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #f4511e03;
    border: 1px dashed #F4511E;
    border-radius: 10px;
    width: 100%;
    cursor: pointer;
}

.drop_box h4 {
    font-size: 16px;
    font-weight: 400;
    color: #2e2e2e;
}

.drop_box p {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 12px;
    color: #a3a3a3;
}

.drop_box .btn {
    display: none;
    text-decoration: none;
    background-color: #005af0;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    outline: none;
    transition: 0.3s;
}

.drop_box .btn:hover {
    text-decoration: none;
    background-color: #ffffff;
    color: #005af0;
    padding: 10px 20px;
    border: none;
    outline: 1px solid #010101;
}

.form input {
    margin: 10px 0;
    width: 100%;
    background-color: #e2e2e2;
    border: none;
    outline: none;
    padding: 12px 20px;
    border-radius: 4px;
}

.btn-add-property {
    width: max-content;
    margin: auto;

}

.btn-add-property .btn {
    width: 512px;
    height: 70px;
    text-decoration: none;
    background: #F4511E;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 9.07965px;
    outline: none;
    transition: 0.3s;
}

.btn-add-property .btn:hover {
    text-decoration: none;
    background-color: #ffffff;
    color: #f4511e;
    padding: 10px 20px;
    border: 1px outset #d6d5d5;
}


/* !SECTION */


/* SECTION QUOTE CONTAINER */

section.quote-container {
    padding: 3.125rem 0 0;
}

.quote {
    background: #f4511e12;
    margin: 7rem auto 0;
    width: 100%;
    display: flex;
    align-items: center;
}

.quote-page {
    margin: 1rem 2rem 1rem 4.5rem;
    width: 60%;
}

.quote-page p {
    font-family: var(--inter);
    font-style: normal;
    font-weight: 400;
    font-size: 21px;
    line-height: 36px;
    font-feature-settings: 'salt'on, 'liga'off;
    color: #18191F;
}

.quote .quote-img {
    margin-top: 1rem;
    display: flex;
    align-items: center;
}

.quote-img .quote-img-owner {
    margin-left: 1rem;
}

.quote-img .quote-img-owner p {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    font-feature-settings: 'salt'on, 'liga'off;
    color: #F4511E;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.video-page {
    width: 600px;
    height: 500px;
}

.video-page img {
    width: 600px;
    height: 490px;
}


.quote-img .quote-img-owner p+p {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    font-feature-settings: 'salt'on, 'liga'off;
    color: #18191F;
    flex: none;
    order: 1;
    flex-grow: 0;
}

/* !SECTION */


/* SECTION FOOTER CONTAINER */

footer {
    padding: 3.125rem 0 0;
    user-select: none;
    z-index: 2;
    background-color: #0000001a;
    color: #fff;
}

.main-footer-upper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}


.main-footer-row1 {
    line-height: 1.5;
    padding: 10px;
    order: 2;
}


.main-footer-row1 h2 {
    font-size: 1.5rem;
    text-align: center;
}

.social-icon {
    width: 100%;
    text-align: center;
    display: inline-block;
    grid-template-columns: 40px 40px 40px 40px 40px;
}

.main-footer-row2 {
    padding: 1rem 0;
    width: 40%;
    order: 1;
    text-align: start;
}

.main-container {
    max-width: 1200px;
    margin: auto;
    width: 90%;
}

.main-footer-row1 .address {
    margin-bottom: 1rem;
    font-family: var(--assistant);
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #0A142F;
}

.number {
    margin-bottom: 1.25rem;
    font-family: 'Assistant';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #0A142F;
    display: flex;
    justify-content: space-between;
}

.social-icon img {
    height: 40px;
    width: 40px;
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    padding: 0 0.5rem;
}

.main-footer-lower {
    display: flex;
    text-align: center;
    width: 100%;
    font-weight: 100;
    border-top: 0.1rem solid #eee;
    align-items: center;
    justify-content: space-between;
}

.main-footer-lower .copyright {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    color: #0A142F;
    mix-blend-mode: normal;
    opacity: 0.5;
    order: 2;
}

.fullName a {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    text-align: right;
    color: #0A142F;
    mix-blend-mode: normal;
    opacity: 0.5;
}

.footer-bar>.footer-links>a {
    display: inline-block;
    padding: 10px;
    text-decoration: none;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 10px;
    text-transform: uppercase;
    color: #0A142F;

}

.footer-bar>.footer-links>a:hover {
    border-bottom: 2.32181px solid #0a142f;
}

/* !SECTION */




/* SECTION MEDIA QUERIES */


@media (max-width:1000px) {

    .nav {
        margin-left: 50px;
    }

    .nav-tab {
        margin: 0;
    }

    .hero-text {
        font-size: 30px;
        margin-left: 1rem;
    }

    .hero-map {
        flex-basis: 50%;
        align-items: flex-start;
    }

    .minimum-living-cost h2 {
        font-size: 25px;
    }

    .house-img,
    .house-img img {
        width: 300px;
        height: 400px;
    }

    .vector-intro {
        font-size: 18px;
    }

    .header h2 {
        font-size: 25px;
    }

    .property-btn button {
        height: 50px;
    }

    .price {
        font-size: 16px;
    }

    .property h3,
    .price span {
        font-size: 20px;
    }

    .grantees .img1 {
        flex-basis: 180px;
    }

    .grantees .img2 {
        flex-basis: 200px;

    }

    .grantees .img3 {
        flex-basis: 160px;

    }

    .grantees .img4 {
        flex-basis: 230px;

    }

    .grantees-intro h1 {
        font-size: 30px;
    }

    .grantees-intro p {
        font-size: 16px;
    }

    .grantee-btn {
        margin-top: 1rem;
    }

    .grantee-btn button {
        height: 55px;
    }

    .fill-property h1 {
        width: auto;
        text-align: center;
        padding: 0 10px;
    }

    .quote-page p {
        font-size: 16px;
    }

}

@media (max-width:900px) {


    .nav-wrapper {
        padding-right: 10px;
        padding-left: 10px;
    }

    .nav-container {
        position: fixed;
        display: none;
        overflow-y: auto;
        z-index: -1;
        top: 0;
        right: 0;
        width: 300px;
        height: 100%;
        background: #fff;
        box-shadow: -1px 0 2px rgba(0, 0, 0, 0.2);
    }

    .nav-tabs {
        flex-direction: column;
        align-items: flex-end;
        margin-top: 80px;
        width: 100%;
        color: #000000;
    }

    .nav-tab:not(:last-child) {
        padding: 20px 25px;
        margin: 0;
        border-right: unset;
        border-bottom: 1px solid #f5f5f5;
    }

    .nav-tab:last-child {
        padding: 15px 25px;
    }

    .menu-btn {
        position: relative;
        display: block;
        margin: 0;
        width: 40px;
        height: 50px;
        cursor: pointer;
        z-index: 2;
        padding: 10px;
        border-radius: 10px;
    }

    .menu-btn .menu {
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: #111;
    }

    .menu-btn .menu:nth-child(2) {
        margin-top: 4px;
        opacity: 1;
    }

    .menu-btn .menu:nth-child(3) {
        margin-top: 4px;
    }

    #menuToggle:checked+.menu-btn .menu {
        transition: transform 0.2s ease;
    }

    #menuToggle:checked+.menu-btn .menu:nth-child(1) {
        transform: translate3d(0, 6px, 0) rotate(45deg);
    }

    #menuToggle:checked+.menu-btn .menu:nth-child(2) {
        transform: rotate(-45deg) translate3d(-5.71429px, -6px, 0);
        opacity: 0;
    }

    #menuToggle:checked+.menu-btn .menu:nth-child(3) {
        transform: translate3d(0, -6px, 0) rotate(-45deg);
    }

    #menuToggle:checked~.nav-container {
        z-index: 1;
        display: flex;
        animation: menu-slide-left 0.3s ease;
    }

    @keyframes menu-slide-left {
        0% {
            transform: translateX(200px);
        }

        to {
            transform: translateX(0);
        }
    }


    .hero-text {
        font-size: 25px;
    }

    .hero-map {
        flex-basis: 60%;
    }

    .vector-intro {
        font-size: 14px;
    }

    .price {
        font-size: 14px;
    }

    .property h3,
    .price span {
        font-size: 18px;
    }

    .lifestyle {
        flex-direction: column-reverse;
    }

    .grantees {
        margin-top: 2rem;
        width: 80%;
    }

    .grantees-intro {
        text-align: center;
        width: 80%;
    }

    .grantees .img1 {
        flex-basis: 250px;
    }

    .grantees .img2 {
        flex-basis: 270px;

    }

    .grantees .img3 {
        flex-basis: 210px;

    }

    .grantees .img4 {
        flex-basis: 338px;

    }

    .fill-property form {
        grid-template-columns: 45% 45%;
    }

    .btn-add-property .btn {
        width: 300px;
    }

    .quote {
        margin-top: 5rem;
    }

}


@media (max-width:800px) {

    .hero-map {
        flex-basis: 40%;
    }

    .hero-search {
        width: 300px;
    }

    .map-img img {
        width: 300px;
    }

    .grid-view {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .house-img {
        display: none;
    }

    .main-footer-upper,
    .main-footer-lower {
        flex-direction: column;
    }

    .main-footer-row2 {
        width: 100%;
        border-bottom: 2px solid #000;
        text-align: center;
    }

    .main-footer-lower .copyright {
        padding-top: 1rem;
        text-align: center;
    }
}

@media (max-width:760px) {

    .minimum-living-cost h2 {
        font-size: 20px;
        padding: 0;
    }

    .hero-container::before {
        animation: none;
    }

    h2 {
        animation: none;
    }

    .hero-text {
        animation: none;
        font-size: 20px;
    }


    .hero-map {
        animation: none;
        display: none;
    }

    .property {
        animation: none;
    }

    .list-of-property {
        grid-template-columns: 1fr 1fr;
    }

    .grantees-intro h1 {
        font-size: 20px;
        text-align: center;
    }

    .grantees-intro,
    .grantees .img {
        animation: none;
    }

    .grantees .img1 {
        flex-basis: 35%;
    }

    .grantees .img2 {
        flex-basis: 45%;
    }

    .grantees .img3 {
        flex-basis: 30%;
    }

    .grantees .img4 {
        flex-basis: 50%;
    }

    .fill-property {
        width: 100%;

    }

    .fill-property .form-details {
        width: 98%;
        margin: auto;
        padding: 1rem;
    }

    .quote {
        flex-direction: column;
    }

    .quote-page {
        animation: none;
        width: 90%;
        margin-bottom: 2rem;
    }
}

@media (max-width:600px) {

    .hero-text {
        flex-basis: 100%;
        padding: 0 1rem;
    }

    .fill-property form {
        grid-template-columns: auto;
    }

    .add-description {
        grid-row: 9/10;
    }

    .upload-container {
        grid-row: 10/11;
    }

}

@media (max-width:500px) {

    .minimum-living-cost h2 {
        font-size: 18px;
        margin: 0 0 20px;
        line-height: 30px;
        text-align: center;
    }

    .header {
        margin-bottom: 0;
    }

    .header h2 {
        font-size: 20px;
        padding: 0;
        line-height: 30px;
    }

    .property-btn button {
        width: max-content;
        padding: 5px;
    }

    .drop_box {
        padding: 10px 0 20px;
    }

    .fill-property h1 {
        width: 100%;
        font-size: 20px;
        text-align: center;
        padding: 0 10px;
    }

    .fill-property .form-details>h3 {
        font-size: 20px;
    }

    .grid-view {
        grid-template-columns: 1fr 1fr;
    }

    .list-of-property {
        grid-template-columns: 100% 0;
    }

    .property:hover {
        animation: none;
    }

    .social-icon img {
        height: 30px;
        width: 30px;
        padding: 0 0.4rem;
    }
}

@media (max-width:400px) {

    .logo-container {
        width: 150px;
    }

    .property-btn {
        display: none;
    }


    .header h2 {
        width: 100%;
        text-align: center;
    }

    .fill-property h1 {
        font-size: 18px;
    }

    .add-description textarea {
        height: 80px;
    }

    .drop_box p {
        margin-bottom: 10px;
    }

    .btn-add-property .btn {
        width: 100%;
    }

    .quote-page {
        margin: 0 0 1rem;
    }

    .quote-page p {
        width: 100%;
        margin-right: 10px;

    }

    .video-page {
        display: none;
    }

    .social-icon img {
        padding: 0 0.3rem;
    }
}