@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,600;0,700;0,900;1,400;1,800&display=swap");

:root {
  --primary-color: #3941a0;
  --primary-color-light: rgba(57, 65, 160, 0.5);
}
a {
  text-decoration: none;
  color: #000;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
}

input {
  outline: none;
  border: none;
}
/* Inicio da Main */

.main-container {
  background: url("../img/apto_edited.png");
  background-attachment: fixed;
  width: 100%;
  background-size: cover;
  background-position: center;
  height: 800px;
}

.sub-main-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.title-search {
  color: #fff;
  margin: 20px;
}

.title-search h2 {
  margin-bottom: 20px;
  font-size: 50px;
  text-align: center;
}

.title-search p {
  font-size: 20px;
  text-align: center;
}

.type-search {
  color: #000;
  font-weight: 300;
  background-color: #ffffff;
  padding: 7px 15px;
  width: 100%;
}

.button-search,
.type-search {
  border-radius: 10px;
}

.search-form form {
  background-color: #ffffff;
  min-height: 60px;
  display: flex;
  align-items: center;
  width: 800px;
  justify-content: space-evenly;
  border-radius: 30px;
  flex-wrap: wrap;
}

.input-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 350px;
}

.search-form a {
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  gap: 5px;
}

.button-search {
  padding: 7px 15px;
  cursor: pointer;
  background-color: var(--primary-color);
  color: #fff;
  margin-left: 6px;
  font-weight: 500;
}

/* card vantagens */
.container-vantagens {
  margin: 0 auto;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-around;
  padding: 0 40px;
  gap: 20px;
  text-align: center;
}

.container-vantagens h2 {
  font-size: 20px;
  margin: 20px;
}

.container-vantagens p {
  font-size: 17px;
}

.card-vantagem {
  padding: 20px;
  background-color: #907de2;
  color: #fff;
  border-radius: 20px;
}
/*Cards dos imóveis*/
.container-cards {
  margin: 0 auto;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-around;
  padding: 0 50px;
  gap: 20px;
}

.cards {
  font-weight: 500;
}

.card-image {
  width: 100%;

  height: 200px;

  object-fit: cover;
}

.cards {
  width: 100%;
  position: relative;
  border: 1px solid var(--primary-color-light);
}
.card-price span {
  color: #00a560;
  font-weight: 600;
}

.card-price {
  margin-bottom: 30px;
}

.card-button {
  cursor: pointer;
  padding: 5px 10px;
  color: #fff;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.card-information {
  padding: 16px;
}

.card-type {
  padding: 5px 10px;
  color: #fff;
  position: absolute;
  background-color: var(--primary-color);

  transform: rotate(-90deg);
}

.casa {
  top: 14px;
  left: -15px;
}

.apto {
  top: 42px;
  left: -42.7px;
}

.card-details {
  color: rgba(0, 0, 0, 0.4);

  margin: 15px 0;
}
.container-cards-title h1 {
  text-align: center;
  font-size: 25px;
  margin-top: 120px;
  margin-bottom: 60px;
}

/* Swipper com clientes*/

.base-swiper {
  margin: 0 auto;
  max-width: 1100px;
  text-align: center;
  padding: 0 40px;
  margin-bottom: 150px;
}

.quotes-image {
  width: 80px;
  height: 80px;
}

.swiper {
  height: 350px;
  width: 100%;
}

.swiper-slide {
  cursor: grab;
  display: flex;
  gap: 30px;
}

.client-image {
  width: 200px;
  height: 300px;
  border-radius: 10px;
  object-fit: cover;
}

.swiper h2 {
  font-size: 20px;
}

.swiper-slide div {
  margin: 0 auto;
}

.swiper p {
  font-size: 17px;
}

/* Fim da Main*/

/* Responsividade */
@media only screen and (max-width: 844px) {
  .search-form form {
    width: 90vw;
    padding: 15px 2vw;
  }
  .container-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media only screen and (max-width: 679px) {
  .button-search {
    margin-top: 15px;
  }
}

@media only screen and (max-width: 600px) {
  .search-form form {
    flex-direction: column;
    width: fit-content;
    gap: 20px;
  }

  .container-cards {
    grid-template-columns: repeat(1, 1fr);
  }
  .container-vantagens {
    grid-template-columns: repeat(1, 1fr);
  }

  .type-search {
    width: 300px;
  }

  .input-icon {
    width: 100%;
  }
}
