@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@100;300;400;500;600;700;800&display=swap');

* {
    font-family: 'Archivo', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    outline: none;
    border: none;
    list-style: none;
    transition: all .2s linear;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --white: #fff;
    --green: #4c8f38;
    --green2: #0f310c;
    --green3: #4a8e35;
    --green4: #9bcb8c;
    --green5: #376A28;
    --yellow: #e2d600;
    --yellow2: #fff76b;
    --yellow3: #fffcca;
    --black: #000;
    --black2: #1c1c1c;
    --black3: #1e1e1e;
    --black4: #2C3C4D;
    --gray: #535353;
    --gray2: #8C959F;
    --light-green: #e1f9da;

}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Archivo', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Archivo', sans-serif !important;
}

/* header */
header {
    width: 95%;
    background: var(--white);
    position: fixed;
    top: 3%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    z-index: 1000;
    transition: .2s;
    height: 7rem;
    box-shadow: 0 .4rem 1.3rem 0 #00000014;
}

.header-active {
    top: 0;
    width: 100%;
    border-radius: 0;
    box-shadow: 0 .1rem .3rem rgba(0, 0, 0, 0.3);
}

header .navbar ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}

header .navbar ul li a {
    font-size: 1.5rem;
    padding: .8rem 1.6rem;
    border-radius: .4rem;
    font-weight: 500;
    color: var(--gray);
    transition: .2s ease background;
    white-space: nowrap;
}

header .navbar ul li a:hover {
    background: var(--yellow2);
}

header .logo {
    display: flex;
    font-weight: 700;
    align-items: center;
    font-size: 1.5rem;
    color: var(--green2);
    text-transform: uppercase;
}

header .logo img {
    width: 10rem;
    height: auto;
    padding-right: .3rem;
}

header .fa-bars {
    font-size: 3rem;
    color: var(--black);
    cursor: pointer;
    display: none;
    transition: .2s;
}

header .fa-times {
    transform: rotate(180deg);
    color: var(--black);
}

header .navbar .nav-btns {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 3rem;
}

header .navbar .nav-btns .t-login {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    background: var(--green);
    padding: 1.3rem 3rem;
    border-radius: 4.5rem;
    text-decoration: underline;
    transition: .3s ease-in;
    white-space: nowrap;
}

header .navbar .nav-btns .t-login:hover {
    background: var(--green2);
}

header .navbar .nav-btns .l-login {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--black2);
    background: var(--yellow2);
    padding: 1.3rem 3rem;
    border-radius: 4.5rem;
    border: .1rem solid var(--yellow);
    transition: .3s ease-in-out;
    white-space: nowrap;
}

header .navbar .nav-btns .l-login:hover {
    background: var(--yellow);
}

/* search map css */

.searchmap {
    margin-top: 10rem;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
}

.searchmap .map-box {
    position: relative;
    width: 50%;
    height: 100%;
}

.searchmap .map-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.searchmap .back-btn {
    position: absolute;
    top: 4rem;
    left: 5rem;
    font-size: 2rem;
    background: var(--white);
    height: 5rem;
    width: 5rem;
    padding: 1rem;
    border-radius: 6rem;
    text-align: center;
    box-shadow: 0px 4px 10px 0px #0000000F;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--black);
}

.searchmap .location-area {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55.7rem;
    height: 55.7rem;
    border-radius: 50%;
    background: rgba(76, 143, 56, 0.20);
}

.searchmap .location-area img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5.6rem;
    height: 8.4rem;
}

.searchmap .main-content {
    background: var(--white);
    width: 50%;
    height: 100%;
    overflow-y: scroll;
    border-top: .15rem solid #f0effb;
}

.searchmap .main-content::-webkit-scrollbar {
    display: none;
}

.searchmap .main-content .content-box {
    width: 100%;
    padding: 2rem 4.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;

}

.searchmap .main-content .path {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: var(--black2);
    font-size: 1.6rem;
    font-weight: 500;
    gap: .5rem;
}

.searchmap .main-content .path span {
    opacity: .5;
}

.searchmap .main-content h2 {
    display: block;
    color: var(--black2);
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -0.32px;
}

.searchmap .main-content p {
    color: var(--black2);
    font-size: 1.6rem;
    font-weight: 500;
    opacity: .7;
}

.searchmap .main-content .content-box .search-box {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
}

.searchmap .main-content .content-box .search-box .input-box {
    position: relative;
    height: 4.8rem;
    background: #F5F4F8;
    border-radius: 10rem;
    width: 70%;
    border: .2rem solid var(--white);
}

.searchmap .main-content .content-box .search-box .input-box img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.6rem;
    height: 2.6rem;
    left: 1.6rem;
}

.searchmap .main-content .content-box .search-box .input-box input {
    width: 100%;
    height: 100%;
    outline: none;
    border: none;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--black2);
    background: transparent;
    padding: 1.2rem 5.8rem;
    opacity: .5;
}

.searchmap .main-content .content-box .search-box button {
    border: none;
    outline: none;
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 700;
    padding: 1.2rem 2.4rem;
    background: var(--green);
    border-radius: 10rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    height: 4.8rem;
    width: 30%;
    white-space: nowrap;
    transition: .2s ease-in-out background;
}

.searchmap .main-content .content-box .search-box button:hover {
    background: var(--green5);
}

.searchmap .main-content .content-box .filter-range {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1.6rem;
    padding: 1.4rem 0;
}

.searchmap .main-content .content-box .filter-range .filter-names {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 70%;
    gap: 3rem;
}

.searchmap .main-content .content-box .filter-range .filter-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
}

.searchmap .main-content .content-box .filter-range .filter-names p {
    color: var(--black2);
    font-size: 1.4rem;
    font-weight: 500;
    opacity: .5;
    display: inline-block;
}

.searchmap .main-content .content-box .filter-range .filter-names span {
    width: 2rem;
    height: 2rem;
    background: #F5F4F8;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}

.searchmap .main-content .content-box .filter-range .list {
    width: 5rem;
    height: 5rem;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    cursor: pointer;
}

.searchmap .main-content .content-box .filter-range .list img {
    width: 2.5rem;
    height: 2.5rem;
}

.searchmap .main-content .property-data {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.searchmap .main-content .property-data .data-box {
    position: relative;
    display: flex;
    background: var(--white);
    border: .15rem solid #eee;
    border-radius: .8rem;

}

.searchmap .main-content .property-data .data-box .imgbox {
    position: relative;
    width: 40%;
    height: auto;
}

.searchmap .main-content .property-data .data-box .imgbox img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: .8rem 0 0 .8rem;
}

.searchmap .main-content .property-data .data-box .data-content {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem;
    gap: 1rem;
}

.searchmap .main-content .property-data .data-box .data-content h5 {
    display: flex;
    gap: .3rem;
    color: #0F310C;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.searchmap .main-content .property-data .data-box .data-content h5 span {
    color: var(--black2);
    font-size: 1.4rem;
    font-weight: 500;
    opacity: .5;
}

.searchmap .main-content .property-data .data-box .data-content h3 {
    color: var(--black2);
    font-size: 2rem;
    font-weight: 700;
}

.searchmap .main-content .property-data .data-box .data-content p {
    color: var(--black2);
    font-size: 1.4rem;
    font-weight: 500;
    opacity: .5;
}

.searchmap .main-content .property-data .data-box .data-content span {
    display: flex;
    align-items: center;
    gap: .2rem;
    color: var(--gray);
    font-size: 1.6rem;
    font-weight: 400;
}

.searchmap .main-content .property-data .data-box .data-content span i {
    color: var(--green);
    font-size: 2rem;
}


.searchmap .main-content .content-box .property-data .data-box .wishlist {
    position: absolute;
    top: 2.5rem;
    right: 2rem;
    cursor: pointer;
}

.searchmap .main-content .content-box .property-data .data-box .wishlist .icon-box {
    position: relative;
    width: 4rem;
    height: 4rem;
    border: .2rem solid var(--green);
    border-radius: 50%;
}

.wishlist img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2rem;
    height: 2rem;
}

/* filter section */
.filters {
    position: fixed;
    top: 0;
    background: var(--white);
    /* box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.7); */
    width: 50rem;
    right: -50rem;
    height: 100vh;
    padding: 2rem 4.8rem;
    z-index: 1000;
    overflow-y: auto;
    transition: .6s ease;
    transition-property: right;

}

.filters.show-filter {
    right: 0;
    box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.7);
}

.filters::-webkit-scrollbar {
    display: none;
}

.filters h2 {
    color: var(--black2);
    text-align: center;
    font-size: 3.2rem;
    font-weight: 700;
}


.filters .price-range {
    margin: 1.5rem 0;
}

.filters .price-range h3 {
    color: var(--black2);
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: -0.44px;
}

.range-wrapper {
    position: relative;
}

.range-wrapper .container {
    position: relative;
    width: 100%;
}

.range-wrapper input[type="range"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    outline: none;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    background-color: transparent;
    pointer-events: none;
}

.range-wrapper .slider-track {
    width: 100%;
    height: .4rem;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
}

.range-wrapper input[type="range"]::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    height: 5px;
}

.range-wrapper input[type="range"]::-moz-range-track {
    -moz-appearance: none;
    height: 5px;
}

.range-wrapper input[type="range"]::-ms-track {
    appearance: none;
    height: 5px;
}

.range-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 2.7rem;
    width: 2.7rem;
    background-color: #fff;
    border: .7rem solid #fdf56f;
    cursor: pointer;
    margin-top: -9px;
    pointer-events: auto;
    border-radius: 50%;
}

.range-wrapper input[type="range"]::-moz-range-thumb {
    -webkit-appearance: none;
    height: 1.7em;
    width: 1.7em;
    cursor: pointer;
    border-radius: 50%;
    background-color: #3264fe;
    pointer-events: auto;
}

.range-wrapper input[type="range"]::-ms-thumb {
    appearance: none;
    height: 1.7em;
    width: 1.7em;
    cursor: pointer;
    border-radius: 50%;
    background-color: #fdf56f;
    pointer-events: auto;
}

/* input[type="range"]:active::-webkit-slider-thumb {
    background-color: #ffffff;
    border: 3px solid #3264fe;
} */
.range-wrapper .min-max {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
}

.range-wrapper .min-max span {
    font-size: 2rem;
    font-weight: 500;
    color: #A9A2A3;
}

.range-wrapper .values {
    position: absolute;
    top: 2rem;
    color: var(--black2);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.4px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

.range-wrapper .values span:before {
    content: "$";
}

.filters .price-range .pillars {
    display: flex;
    justify-content: center;
    transform: rotate(180deg);
    margin-top: 2rem;
}
.filters .price-range .pillars div:nth-of-type(9) {
    width: 4.4rem;
    height: 0.5rem;
    background: var(--green2);
    opacity: .1;
}
.filters .price-range .pillars div:nth-of-type(8) {
    width: 4.4rem;
    height: 1.5rem;
    background: var(--green2);
    opacity: .2;
}
.filters .price-range .pillars div:nth-of-type(7) {
    width: 4.4rem;
    height: 2.5rem;
    background: var(--green2);
    opacity: .2;
}
.filters .price-range .pillars div:nth-of-type(6) {
    width: 4.4rem;
    height: 3.5rem;
    background: var(--green2);
    opacity: .3;
}
.filters .price-range .pillars div:nth-of-type(5) {
    width: 4.4rem;
    height: 4.5rem;
    background: var(--green2);
    opacity: .4;
}
.filters .price-range .pillars div:nth-of-type(4) {
    width: 4.4rem;
    height: 5.5rem;
    background: var(--green2);
    opacity: .5;
}

.filters .price-range .pillars div:nth-of-type(3) {
    width: 4.4rem;
    height: 6.5rem;
    background: var(--green2);
    opacity: .6;

}

.filters .price-range .pillars div:nth-of-type(2) {
    width: 4.4rem;
    height: 7.5rem;
    background: var(--green2);
    opacity: .7;

}

.filters .price-range .pillars div:nth-of-type(1) {
    width: 4.4rem;
    height: 8.5rem;
    background: var(--green2);
    opacity: .8;

}

.filters .filter_name {
    border-bottom: .2rem solid #A9A2A3;
    margin: 2rem 0;
}

.filters .filter_name h5 {
    color: var(--black2);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.36px;
}

.filters .filter_name .filter_data {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 1.2rem;
    padding: 1.5rem 0;
}

.filters .filter_name .filter_data span {
    color: var(--green);
    font-size: 1.6rem;
    font-weight: 400;
    padding: 1rem 2.6rem;
    text-align: center;
    border-radius: 2.6rem;
    border: .13rem solid var(--green);
    background: var(--white);
    cursor: pointer;
}

.filters .filter_name .filter_data .filter-active {
    background: var(--green);
    color: var(--white);
}

.filters .filter_name .filter_data span:hover:not(.filter-active) {
    background: var(--light-green);
}


.filters .filter_name .filter_data .cat label input[type=radio]:checked+span{
    background: var(--green) !important;
    color: var(--white)!important;
}

.filters .filter_name .filter_data .cat label input[type=radio]{
   display: none;
}

.filters .filter_name .filter_data .cat {
    margin-bottom: 10px;
 }


.filters .check-filter h4 {
    color: var(--black2);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.36px;
}

.filters .check-filter .check-data {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1 1 auto;
    row-gap: 1.6rem;
    justify-content: space-between;
    padding: 1rem 0;
}

.filters .check-filter .check-data .data-box {
    width: 50%;
    display: flex;
    gap: 2.5rem;
}

.filters .check-filter .check-data .data-box p {
    color: var(--black2);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.32px;
}

.round {
    position: relative;
}

.round label {
    background-color: #fff;
    border: .2rem solid var(--green);
    border-radius: 50%;
    cursor: pointer;
    height: 2.6rem;
    left: 0;
    position: absolute;
    top: 0;
    width: 2.6rem;
}

.round label:after {
    border: .3rem solid #000;
    border-top: none;
    border-right: none;
    content: "";
    height: .6rem;
    left: .5rem;
    opacity: 0;
    position: absolute;
    top: .5rem;
    transform: rotate(-45deg);
    width: 1.2rem;
}

.round input[type="checkbox"] {
    visibility: hidden;
}

.round input[type="checkbox"]:checked+label {
    background-color: #fdf56f;
    border-color: #fdf56f;
}

.round input[type="checkbox"]:checked+label:after {
    opacity: 1;
}




.filters .filter-btns {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
    margin-top: 1.5rem;
}

.filters .filter-btns input {
    color: var(--green);
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 13rem;
    border: .12rem solid var(--green);
    background: var(--white);
    padding: 2rem 4rem;
    width: 50%;
    cursor: pointer;
}

.filters .filter-btns input:hover:not(.done-btn) {
    background: var(--light-green);
}

.filters .filter-btns .done-btn {
    background: var(--green);
    color: var(--white);
}

#close-filters {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.4rem;
    width: 5.2rem;
    height: 5.2rem;
    color: var(--black2);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
}