* {
  box-sizing: border-box;
  font-family: 'Cairo', sans-serif;
  direction: rtl;
}

body {
  position: absolute;
  right: -8px;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: #eaeaea;
}


.types div,
.t_r,
.t_r div {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
}

.slogen {
  position: relative;
  margin: 0px;
  padding: 10px;
}

h1 {
  color: black;
  font-size: 100px;
  font-weight: lighter;
  margin: 0;
  z-index: 1;
  right: 100px;
  bottom: 200px;
}



.img {
  z-index: -1;
  width: 650px;
  position: absolute;
  top: -200px;
  left: 0px;
}

.overlay {
  background-color: black;
  opacity: 0.3;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  border-radius: 7px;
}

.types a {
  text-decoration: none;
  color: white;
  font-size: 30px;
  font-weight: light;
  text-align: center;
  z-index: 1;
}


header {
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.158);
  padding: 5px;
  position: fixed;
  width: 100%;
  height: 113px;
  display: flex;
}

header div {
  margin-right: 10px;
  display: inline-block;
}

header a {
  text-decoration: none;
  display: flex;
}

header h2 {
  color: white;
  margin-bottom: 0;
  font-weight: 600;
}

header h3 {
  color: white;
  margin-top: -5px;
  font-weight: 400;
}

header ul {
  list-style: none;
}

.logo {
  /* position: relative;
  top: 10px;
  right: 20px; */
  width: 120px;
}

.add {
  color: white;
  background-color: rgb(21, 113, 250);
  position: absolute;
  top: 30px;
  left: 20px;
  z-index: 10;
  padding: 0 20px;
  border-radius: 6px;
  font-size: x-large;
}

.profile {
  color: rgb(21, 113, 250);
  position: absolute;
  top: 30px;
  left: 200px;
  z-index: 10;
}

.profile span {
  font-size: 50px;
}

.search {
  margin-right: 10%;
  margin-left: 10%;
  margin-bottom: 30px;
  bottom: 15px;
  background-color: hsla(231, 8%, 18%, 0.9);
  border-radius: 20px;
  padding: 50px;
  padding-top: 0;
}

.search h2 {
  text-align: center;
  color: white;
}


.search form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  border-radius: 15px;

}

.search form input,
.search form select {
  width: 200px;
  height: 50px;
  border: none;
  outline: none;
  padding-right: 10px;
  margin: 2px;
  border-radius: 7px;
}

.text-search {
  width: 608px !important;
}

.seach_submit {
  background-color: rgb(21, 113, 250);
  color: white;
  font-size: medium;
  font-weight: 600;
}

.offer {
  width: 80%;
  position: relative;
  height: 250px;
  margin-right: 10%;
  margin-bottom: 30px;
}

.offer img {
  border-radius: 20px;
  width: 100%;
  height: 100%;
}

swiper-container {
  margin-top: 10px;
  width: 75%;
  margin-right: 12.5%;
  height: 500px;
  border-radius: 15px;

}

swiper-slide {
  width: 400px;
  height: 450px;
}

swiper-slide img {
  border-radius: 7px;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t_r {
  color: white;
  background-color: #2b2c32;
}

.p_r {
  color: #2b2c32;
  background-color: #eaeaea;
}

.types {
  background-color: #2b2c32;
  position: relative;
}

.places {
  background-color: #eaeaea;
  padding: 30px 10px;
  position: relative;
}


.apartment,
.house,
.villa,
.townhouse,
.penthouse,
.hotel-apartment,
.residential-land,
.residential-building,
.other,
.office,
.store,
.commercial-land,
.workers-housing,
.commercial-building,
.factories,
.industrial-land,
.multi-use-land {
  flex-grow: 1;
  width: 400px;
  min-width: 100px;
  margin: 10px;
  padding: 10px;
  height: 450px;
  justify-content: center;
  align-items: center;
  border-radius: 7px;
  position: relative;
}

.apartment {
  background-image: url(../images/apartment.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.house {
  background-image: url(../images/house.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.villa {
  background-image: url(../images/villa1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.townhouse {
  background-image: url(../images/townhouse.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.penthouse {
  background-image: url(../images/penthouse.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hotel-apartment {
  background-image: url(../images/hotel-apartment.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.residential-land {
  background-image: url(../images/residential-land.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.residential-building {
  background-image: url(../images/residential-building.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.store {
  background-image: url(../images/store.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.office {
  background-image: url(../images/office.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.commercial-land {
  background-image: url(../images/commercial-land.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.workers-housing {
  background-image: url(../images/workers-housing.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.commercial-building {
  background-image: url(../images/commercial-building.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.factories {
  background-image: url(../images/factories.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.industrial-land {
  background-image: url(../images/industrial-land.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.multi-use-land {
  background-image: url(../images/land.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}




.other {
  background: linear-gradient(122deg, rgba(42, 155, 255, 1) 30%, rgba(193, 206, 217, 1) 57%, rgba(200, 208, 215, 1) 69%, rgba(233, 229, 229, 1) 89%, rgba(255, 255, 255, 1) 100%);
}

.tablinks {
  background-color: #2b2c32;
  border-bottom: 3px solid #337eee85;
  color: white;
  padding: 10px 20px;
  font-size: x-large;
  border: none;
  cursor: pointer;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 20px;
}

/* Highlight the active tab button */
.tablinks.active {
  background-color: #2b2c32;
  color: #337eee;
  border-bottom: 3px solid #337eee;
}

/* Show the active tab content */
.tabcontent.active {
  display: block;
}

.tab {
  text-align: center;
  background-color: #2b2c32;
  margin: -2px 0px;
  padding: 10px;
}

@media (max-width:694px) {
  .text-search {
    width: 96% !important;
  }

  .search form input,
  .search form select {
    width: 48%;
  }
}