/*@ general css */

#sector1 {
  background-image: url(./img/home-img.jpg);
  height: 100dvh;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
}

/* home */

.home-block {
  text-align: center;
  margin-top: 25dvh;
}

.intro-text {
  font: 6vb;
  font-weight: bold;
  font-family: var(--myFont);
  color: var(--text);
}

.home-art {
  color: var(--text);
  font-family: var(--myFont);
  width: 60%;
  margin: auto;
  font-size: 15px;
  font-weight: 1300;
  margin-bottom: 2%;
}

.home-block1 {
  padding: 1%;
  background-color: #897b7b50;
  width: 73dvw;
  border-radius: 20px;
  margin: auto;
  display: flex;
  align-content: center;
}

::placeholder {
  font-size: 15px;
}

.home-search {
  border: 0.3dvh solid var(--text);
  height: fit-content;
  width: 70dvw;
  padding-bottom: 1vb;
  padding: 2%;
  margin: auto;
  border-radius: 10px;
  background-color: var(--text);
}

.home-search input {
  height: 5vb;
  width: 25vb;
  padding-left: 1%;
  border: 0.1px solid #80808050;
  border-radius: 8px;
  outline: none;
  font-size: 15px;
}

.search-btn {
  border-radius: 10px;
  height: 6vh;
  width: 15%;
  border: none;
  background-color: var(--primary);
  color: var(--text);
  transition: 1s;
  cursor: pointer;
  font-size: 15px;
}

.search-btn:hover {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

/* sector2 */
/* featured property */

#sector2 {
  height: 90vh; width: 95%;
  margin: auto;
  justify-content: center;
}

.sector2-main {
  display: flex;
  gap: 2%;
  width: 100%; height: 100vh;
 overflow: auto; 
 scrollbar-width: none;
}


.sector2-block {
  background-color: var(--text);
  /* height: 100%; */
  min-width: 25%;
  border-radius: 10px;
  transition: 1s;
  cursor: pointer;

}

.sector2-header {
  text-align: center;
  padding-top: 5%;
  padding-bottom: 3%;
}

.sector2-title {
  font-size: 30px;
  font-weight: 500;
}

.sector2-intro {
  font-size: 20px;
  font-weight: 400;
}

.property-img {
  background-image: url(./img/home-bg1.jpg);
  height: 40vh;
  width: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 10px;
}

.top-block {
  margin-left: 5%;
}

.property-img .rent {
  background-color: var(--secondary);
  color: var(--text);
  font-size: 12px;
  padding: 3px 10px;
}

.property-img .featured {
  background-color: var(--primary);
  color: var(--text);
  font-size: 12px;
  padding: 3px 10px;
}

.bottom-block {
  display: block;
  padding-top: 40%;
  display: flex;
  justify-content: space-between;
  padding: 42% 8%;
  font-size: 15px;
  font-weight: bolder;
}

.bottom-block .property-price {
  color: var(--text);
}

.bottom-block .icon {
  color: var(--text);
  background-color: #464454b9;
  padding: 2.5%;
  border-radius: 5px;
  font-size: 15px;
}

.property-details div {
  margin-top: 3%;
}

.property-details .apartment {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}

.property-details .type {
  font-size: 14px;
  font-weight: 500;
}

.property-details .location {
  font-size: 12px;
  font-weight: 300;
}

.room-property {
  font-size: 13px;
  font-weight: 300;
}

.room-property span {
  margin-right: 8%;
}

.cut-line {
  margin-top: 5%;
}

.agent-block {
  display: flex;
  justify-content: space-between;
  margin-top: 5%;
  font-weight: 300;
}

.agent-img-block {
  display: flex;
  width: 50%;
}

.agent-block .agent-img {
  height: 5vh;
  width: 2.5vw;
  border-radius: 50%;
}

.agent-block .agent-name {
  font-size: 15px;
  margin-top: 1vb;
  margin-left: 5%;
}

.agent-block .time-posted {
  font-size: 15px;
  margin-top: 1vb;
}

/* sector3 */
/* property location */

.property-location {
  background-color: var(--text);
  padding-top: 3%;
  height: max-content;
  border-radius: 30px 30px 0 0;
}

.sector3-header {
  text-align: center;
  margin: 5% 0;
}

.sector3-title {
  font-size: 30px;
  font-weight: 500;
}

.sector3-header .sub-title {
  font-size: 20px;
  font-weight: 400;
}

.location-grid {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(5, auto);
  width: 100%;
  padding-bottom: 3%;
  column-gap: 3%;
  z-index: -5;
}

.location-img1{
  grid-column: 1/5;
}

.grid-writeup{
  grid-column: 5/5;
  border: 1px solid var(--secondary);
  height: 40vh; width: 100%;
  align-content: center;
  text-align: center;
  border-radius: 10px;
  cursor: default;
}

.grid-writeup{
    font-size: 20px;

}

.writeup1{
    font-weight: 500;
    transition: 500ms;
}

.writeup2{
font-weight: 100;
transition: 500ms;
}

.grid-writeup:hover .writeup1{
  font-weight: 100;
}

.grid-writeup:hover .writeup2{
  font-weight: 500;
}


.location-img2{
  grid-column: 1/2;
}

.location-img3{
  grid-column:2/4 ;
}

.location-img4{
  grid-column: 4/6;
}

.location-img {
  transition: 1s;
  border-radius: 10px;
}

.location-img:hover {
  scale: 1.05;
}

.location-grid img {
  background-image: url(./img/bg1.jpg);
  background-repeat: no-repeat;
  background-size: contain;
  height: 40vh;
  width: 100%;
  transition: 2s;
  z-index: 1;
  cursor: pointer;
}

.location-ctn {
  padding-left: 2%;
  color: var(--secondary);
  text-align: center;
  cursor: pointer;
}

.location-ctn header {
  font-size: 16px;
  font-weight: 500;
}

.location-ctn span {
  font-size: 13px;
  font-weight: 400;
}

/* sector4 */
/* choice */

.sector4-header {
  text-align: center;
  margin-top: 5%;
}

.sector4-title {
  font-size: 30px;
  font-weight: 500;
}

.choice .sub-title {
  font-size: 20px;
  font-weight: 400;
}

.choice-main {
  display: flex;
  gap: 3%;
  justify-content: space-around;
  margin-top: 3%;
  width: 70%;
  margin: auto;
  margin-top: 5%;
  margin-bottom: 5%;
}

.choice-block {
  background-color: var(--text);
  height: 50vh;
  width: 50%;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
  border-radius: 20px;
}

.choice-block:hover {
  box-shadow: 0 0 20px 0 #8080803d;
}

.choice-block:hover.choice-block .icon {
  background-color: var(--primary);
  color: var(--text);
}

.choice-block .icon {
  font-size: 60px;
  padding: 10%;
  background-color: #ff000014;
  color: var(--primary);
  border-radius: 50%;
  transition: 1s;
  margin: auto;
  margin-top: 15%;
}

.choice-title {
  font-size: 15px;
  margin-top: 10%;
}

.choice-art {
  font-size: 13px;
  font-weight: 300;
  width: 90%;
  margin: auto;
  margin-top: 1%;
  font-weight: 300;
}

/* sector5  article*/

.article-main {
  display: flex;
  justify-content: center;
  gap: 3%;
  margin-bottom: 3%;
}

.article-block {
  background-color: var(--text);
  height: 50vh;
  width: 20%;
  padding: 0.6%;
  border-radius: 10px;
  transition: 1s;
  cursor: pointer;
}

.article-img {
  height: 30vh;
  width: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 10px;
}

#article-img1 {
  background-image: url(./img/flex1.jpg);
}

#article-img2 {
  background-image: url(./img/flex2.jpg);
}

#article-img3 {
  background-image: url(./img/flex3.jpg);
}

.article-block:hover {
  box-shadow: 1px 0 20px 0 #80808071;
}

.sector5-header {
  padding-top: 5%;
  text-align: center;
  margin-bottom: 3%;
}

.sector5-title {
  font-size: 30px;
  font-weight: 500;
}

.sector5-header .sub-title {
  font-size: 20px;
  font-weight: 400;
}

.article-text div {
  font-weight: 300;
}

.article-text {
  font-size: 13px;
  font-weight: 400;
}

.article-text .article-title {
  color: var(--primary);
  margin-bottom: 2%;
}

.article-text span {
  margin-right: 8%;
}

.article-block .agent-block {
  border-top: 1px solid #80808041;
  padding-top: 5%;
}

/* afilate block */

.agent-main {
  display: flex;
  background-color: var(--primary);
  justify-content: space-around;
  color: var(--text);
  align-content: center;
  padding: 2% 0;
}

.sector6-title {
  font-size: 30px;
}

.sector6-header span {
  font-size: 12px;
  font-weight: 300;
}

.register-btn {
  height: 8vh;
  width: 14vw;
  margin-top: 2vb;
  background-color: #ffffff65;
  border: none;
  color: var(--text);
  cursor: pointer;
  transition: 1s;
  border-radius: 5px;
  font-size: 20px;
}

.register-btn:hover {
  color: var(--primary);
  background-color: var(--text);
}

/* @general css */


/* tap size */
@media (max-width: 768px) {
/* @general css */

  /* home phone */

  .home-block {
    text-align: center;
    margin-top: 20dvh;
  }

  .intro-text {
    font: 5vb bolder;
    font-family: var(--myFont);
    color: var(--text);
    margin-bottom: 1%;
  }

  .home-art {
    color: var(--text);
    font-family: var(--myFont);
    width: 70%;
    margin: auto;
    font-size: 13px;
    font-weight: 300;
    margin-bottom: 3%;
  }

  .home-block1 {
    padding: 1.5%;
    background-color: #897b7b7b;
    width: 65vw;
    border-radius: 20px;
    margin: auto;
  }

  ::placeholder {
    font-size: 15px;
  }

  .home-search {
    width: 60dvw;
    padding-bottom: 1vb;
    padding: 2%;
    margin: auto;
    border-radius: 10px;
    background-color: var(--text);
  }

  .home-search input {
    width: 27vb;
    padding-left: 1%;
    border: 0.1px solid #80808050;
    border-radius: 8px;
    outline: none;
    font-size: 15px;
    margin-top: 1%;
  }

  .search-btn {
    border-radius: 10px;
    height: 5vh;
    width: 70%;
    font-size: 13px;
    margin-top: 3%;
  }

  /* sector2 phone*/
  /* featured property */
  #sector2{
    margin: auto;

  }

  .sector2-main {
    display: flex;
    height: 70%;

    
  }

  .sector2-block {
    min-width: 40%;
    height: 88%;
    padding: 1%;
    border-radius: 10px;
    margin-top: 5%;
  }

  .sector2-header {
    font-size: 3vb;
    font-weight: bolder;
    padding-top: 5%;
    text-align: center;
  }

  .sector2-intro {
    font-size: 3vb;
    font-weight: 200;
  }

  .property-img {
    background-image: url(./img/home-bg1.jpg);
    height:28vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
  }

  .top-block {
    margin-left: 5%;
  }

  .property-img .rent {
    background-color: var(--secondary);
    color: var(--text);
    font-size: 12px;
    padding: 3px 10px;
  }

  .property-img .featured {
    background-color: var(--primary);
    color: var(--text);
    font-size: 12px;
    padding: 3px 10px;
  }

  .bottom-block {
    /* padding-top: 40%; */
    display: flex;
    justify-content: space-between;
    /* padding: 42% 8%; */
    font-size: 15px;
  }

  .bottom-block .icon {
    color: var(--text);
    background-color: #464454b9;
    padding: 2.5%;
    border-radius: 5px;
    font-size: 15px;
  }

  .property-details div {
    /* margin-top: 3%; */
  }

  .property-details .apartment {
    font-size: 14px;
    color: var(--primary);
  }

  .property-details .type {
    font-size: 14px;
  }

  .property-details .location {
    font-size: 12px;
    /* font-weight: 300; */
  }

  .room-property {
    font-size: 13px;
    /* font-weight: 400; */
  }

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

  .agent-img-block {
    display: flex;
    width: 50%;
  }

  .agent-block .agent-img {
    height: 5vh;
    width: 5vw;
    border-radius: 50%;
  }

  .agent-block .agent-name {
    font-size: 15px;
    margin-top: 1vb;
    margin-left: 5%;
  }

  .agent-block .time-posted {
    font-size: 15px;
    margin-top: 1vb;
  }

  /* sector3 tab */
  /* property location */
  .property-location{
    width: 90%;
    margin: auto;
  }

  .sector3-header {
    font-size: 20px;
  }

  .sector3-header .sub-title {
    font-size: 13px;
  }

  .location-grid {
    display: block;
    width: 80%;
    column-gap: 0%;
    row-gap: 0;
    margin: auto;
  }

  .location-img {
    transition: 1s;
    border-radius: 10px;
    
  }

  .grid-writeup{
    margin-bottom: 12%;
    display: none;
  }

  .location-img:hover {
    scale: 1.05;
  }

  .location-ctn{
    margin-bottom:  5%;
    margin-top: 1%;
  }

  .location-ctn header {
    font-size: 15px;
  line-height: .2;
    font-weight: 500;
  }

  .location-ctn span {
    font-size: 12px;
    font-weight: 400;
  }

  /* sector4 phone*/
  /* choice */

  .sector4-title {
    font-size: 20px;
  }

  .choice .sub-title {
    font-size: 13px;
  }

  .choice-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
  }

  .choice-block {
    background-color: var(--text);
    height: 40vh;
    width: 60%;
    margin-bottom: 5%;
  }

  .choice-block .icon {
    font-size: 50px;
    margin-top: 10%;
  }

  .choice-title {
    font-size: 15px;
    margin-top: 10%;
  }

  .choice-art {
    font-size: 13px;
    font-weight: 300;
    width: 80%;
    margin: auto;
    margin-top: 0%;
  }
  /* sector5 phone article*/

  .article-main {
    display: block;
    margin-bottom: 10%;
  }

  .article-block {
    background-color: var(--text);
    margin: auto;
    height: 53vh;
    width: 42%;
    padding: 1%;
    margin-top: 5%;
  }

  .article-img {
    height: 30vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 10px;
  }

  .sector5-header {
    font-size: 3vb;
    font-weight: bold;
    padding-top: 2%;
    margin-bottom: 1%;
  }

  .sector5-header .sub-title {
    font-size: 13px;
    font-weight: 400;
  }

  .article-text div {
    font-weight: 500;
    margin-top: 3%;
  }

  .article-text {
    font-size: 13px;
    font-weight: 400;
  }

  .article-text .article-title {
    margin-bottom: 3%;
  }

  /* afilate block */
  .agent-main{
    width: 100%;
  }

  .sector6-title {
    font-size: 20px;
  }

  .sector6-header span {
    font-size: 12px;
    font-weight: 300;
  }

  .register-btn {
    height: 5vh;
    width: 15vw;
    margin-top: 2vb;
    font-size: 13px;
  }
/* @gen css */
}

/* phone size */
@media (max-width: 600px) {
/* @general css */

  /* home phone */

  .home-block {
    margin-top: 8vh;
  }

  .intro-text {
    font: 3vb bold;
    margin-bottom: 1%;
  }

  .home-art {
    width: 90%;
  }

  .home-block1 {
    padding: 1.9%;
    background-color: #fbfbfb31;
    width: 65dvw;
    height: 29vh;
  }

  .home-search {
    padding: 2%;
  }

  .home-search input {
    width: 27vb;
    height: 4vh;
    padding-left: 2%;
    border-radius: 5px;
    font-size: 13px;
  }

  .search-btn {
    border-radius: 5px;
    height: 4vh;
    width: 70%;
    font-size: 12px;
    margin-top: 3%;
  }

  /* sector2 phone*/
  /* featured property */

  #sector2 {
    height: 100%; width: 100%;
padding-bottom: 5%;
  }

  .sector2-main {
    min-width: 100%;
    height: 60%;
    margin-top: 3%;

  }

  .sector2-block {
    height: 85%;
    min-width: 70%;
    padding: 2%;
  }

  .sector2-intro {
    font-size: 3vb;
    font-weight: 200;
  }

  .property-img {
    height: 25vh;
  }

  .bottom-block .icon {
    color: var(--text);
    background-color: #464454b9;
    padding: 2.5%;
    border-radius: 5px;
    font-size: 15px;
  }

  .agent-block .agent-img {
    height: 5vh;
    width: 9vw;
  }

  /* sector3 phone */
  /* property location */

  .sector3-title {
    font-size: 15px;
  }

  .sector3-header .sub-title {
    font-size: 13px;
    font-weight: 300;
  }

  .location-img img {
    height: 30vh;
  }

  /* sector4 phone*/
  /* choice */

  .sector4-title {
    padding-top: 8%;
  }

    .choice-block .icon {
    font-size: 40px;
    margin-top: 10%;
  }

  .choice-block {
    height: 40vh;
    width: 80%;
    margin-bottom: 8%;
    border-radius: 10px;
  }

  .choice-title {
    font-size: 15px;
    margin-top: 10%;
  }

  .choice-art {
    font-size: 13px;
    font-weight: 300;
    width: 80%;
    margin: auto;
    margin-top: 1%;
    font-weight: 300;
  }

  /* sector5 phone article*/
  .article-main {
    display: block;
    margin-bottom: 3%;
  }

  .article-block {
    height: 45vh;
    width: 70%;
  }

  .article-img {
    height: 25vh;
    width: 100%;
  }

  .sector5-header {
    padding-top: 2%;
    margin-bottom: 1%;
  }

  .sector5-title {
    font-size: 15px;
  }

  .sector5-header .sub-title {
    font-size: 13px;
    font-weight: 300;
  }

  .article-text div {
    font-weight: 500;
    margin-top: 3%;
  }

  .article-text .article-title {
    font-weight: 500;
  }

  /* afilate block */
  .agent-main {
    display: block;
    text-align: center;
  }

  .sector6-title {
    font-size: 20px;
  }

  .sector6-header span {
    font-size: 12px;
    font-weight: 300;
  }

  .register-btn {
    height: 5vh;
    width: 30vw;
    margin-top: 2vb;
    font-size: 13px;
  }

  /* footer tab */
  /* @gen css */
}