/* @import url('./networks.css'); */
@import url("../about.css");

#page_title {
  width: 90rem;
  max-width: 90%;
  font-family: var(--font-nunito);
  font-size: 4rem;
  padding: 2rem;
  text-align: center;
  margin-inline: auto;
  text-transform: uppercase;
  max-width: 90%;
  min-width: 200px;
}

#page_description {
  display: flex;
  text-align: center;
  text-transform: uppercase;
  width: 70%;
  max-width: 75%;
  margin-inline: auto;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.5;
  min-width: 200px;
}

#properties {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;

  width: 90%;
  max-width: 90%;
  min-width: 280px;
  margin-inline: auto;
  margin-top: 2rem;
}

.properties_card {
  background-color: var(--primary-color);
  border-radius: 10px;
  width: 30rem;
  max-width: 100%;
  min-width: 280px;
  display: flex;
  height: 50rem;
  flex-direction: column;
  padding: 1rem;
  align-items: flex-start;
  gap: 1rem;
  justify-content: flex-start;
  transition: all 0.3s ease-in-out;
}

.properties_card h3 {
  margin-bottom: 1rem;
}

#properties>div:nth-child(1) {
  width: 70%;
  flex-direction: row;
  height: 30rem;
}

#properties>div:nth-child(1) img {
  width: 30rem;
  max-width: 30rem;
  height: 100%;
}

.properties_card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#secondary_properties {
  width: 70%;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.properties_description {
  width: 90%;
  justify-self: center;
  margin-inline: auto;
  padding: 1.5rem;
  font-weight: 200;
  line-height: 1.5;
  font-size: 1.3rem;
  min-width: 200px;
}

.properties_card img {
  width: 30rem;
  height: 15rem;
  object-fit: cover;
}

.properties_card ul,
.properties_card ol,
.properties_description ul,
.properties_description ol {
  font-weight: 200;
  line-height: 1.5;
  font-size: 1.3rem;
  min-width: 200px;
  margin-left: 1.5rem;
  margin-top: 1.5rem;
}

.properties_card li,
.properties_description li {
  font-weight: 200;
  line-height: 1.5;
  font-size: 1.3rem;
}

@media (max-width: 1500px) {
  #properties {
    max-width: 100% !important;
    width: 100% !important;
    margin-top: 2rem;
    flex-wrap: wrap;
  }

  #page_title {
    font-size: 3.5rem;
  }

  #page_description {
    width: 80%;
  }

  .properties_card {
    width: 100rem;
    max-width: 100%;
    min-height: fit-content;
    height: 60rem;
    flex-direction: column;
    gap: 2rem;
  }

  #properties>div:nth-child(1) {
    width: 100%;
    max-width: 80%;
    height: 35rem;
  }

  .properties_card div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .properties_card img {
    height: 20rem;
  }

  #secondary_properties {
    width: 80%;
  }
}

@media (max-width: 1200px) {
  #properties {
    margin-top: 4rem;
    max-width: 70%;
    width: 70%;
    justify-content: center;
    flex-direction: column;
  }

  #page_title {
    font-size: 3rem;
    margin-top: 2rem;
  }

  #page_description {
    font-size: 1.2rem;
    width: 85%;
  }

  .properties_description {
    font-size: 1.2rem;
    padding: 1.5rem;
  }

  .properties_card ul,
  .properties_card ol,
  .properties_description ul,
  .properties_description ol,
  .properties_card li,
  .properties_description li {
    font-size: 1.2rem;
  }

  .properties_card {
    padding: 1rem;
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    height: 50rem !important;
  }

  #secondary_properties {
    flex-direction: column;
    justify-content: center;
    margin-inline: auto;
  }

  #secondary_properties .properties_card {
    width: 100%;
    margin-inline: auto;
    height: 50rem;
  }

  #properties>div:nth-child(1) img {
    width: 100%;
    max-width: 100%;
  }

  #properties>div:nth-child(1) {
    width: 100%;
    height: 45rem;
    flex-direction: column;
  }

  #secondary_properties .properties_card img {
    height: 25rem;
    width: 100%;
  }

  .properties_card img {
    width: 100%;
    height: 20rem;
    padding: 0;
    margin: 0;
  }

  .to_general {
    margin-left: 1rem;
    width: 10rem;
    min-width: 10rem;
  }
}

@media (max-width: 768px) {
  #properties {
    margin-top: 2rem;
    max-width: 85%;
    width: 85%;
    gap: 1.5rem;
  }

  #page_title {
    font-size: 2.5rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
  }

  #page_description {
    font-size: 1.1rem;
    width: 90%;
  }

  .properties_description {
    font-size: 1.1rem;
    padding: 1.5rem;
    width: 100%;
  }

  .properties_card ul,
  .properties_card ol,
  .properties_description ul,
  .properties_description ol,
  .properties_card li,
  .properties_description li {
    font-size: 1.1rem;
  }

  .properties_card {
    width: 100%;
    max-width: 100%;
    min-width: 250px;
    padding: 1rem;
    gap: 1rem;
    height: 40rem !important;
  }

  .to_general {
    margin-inline: auto;
    width: 100%;
    max-width: 12rem;
  }
}

@media only screen and (max-width: 480px) {
  #page_description {
    display: none;
  }

  #properties {
    margin-top: 3rem;
    max-width: 100% !important;
    width: 100% !important;
    gap: 2rem;
  }

  #page_title {
    font-size: 1.8rem;
    margin-top: 1rem;
    padding: 1rem 0.5rem;
  }

  #page_description {
    font-size: 1rem;
    line-height: 1.4;
    width: 95%;
  }

  .properties_description {
    font-size: 1rem;
    line-height: 1.4;
    padding: 1rem;
    width: 100%;
  }

  .properties_card ul,
  .properties_card ol,
  .properties_description ul,
  .properties_description ol,
  .properties_card li,
  .properties_description li {
    font-size: 1rem;
    line-height: 1.4;
  }

  #properties>div:nth-child(1) {
    width: 100%;
    max-width: 100% !important;
  }

  #secondary_properties {
    width: 100%;
  }

  .properties_card {
    width: 100%;
    max-width: 100%;
    min-width: 250px;
    padding: 1rem;
    gap: 0.5rem;
    height: 40rem !important;
  }

  .properties_card img {
    height: 15rem !important;
  }

  .to_general {
    margin: 1rem auto;
    width: 100%;
    max-width: 10rem;
    min-width: 120px;
    font-size: 0.9rem;
  }
}

@media (max-width: 320px) {
  #page_description {
    display: none;
  }

  #properties {
    padding: 0 0.25rem;
  }

  #page_title {
    font-size: 1.5rem;
    padding: 0.5rem 0.25rem;
  }

  #page_description {
    font-size: 0.9rem;
    width: 98%;
  }

  .properties_description {
    font-size: 0.9rem;
    padding: 0.6rem;
  }

  .properties_card ul,
  .properties_card ol,
  .properties_description ul,
  .properties_description ol,
  .properties_card li,
  .properties_description li {
    font-size: 0.9rem;
  }

  .properties_card {
    padding: 0.8rem;
    min-width: 240px;
    height: 40rem !important;
  }

  .to_general {
    min-width: 100px;
    font-size: 0.8rem;
    padding: 0.8rem;
  }

  .properties_image {
    min-width: 220px;
  }
}