@import url("../global-styles.css");

.real-estate-container {
  background-color: var(--lm-ImmoInvest-beige);
  padding: 80px 50px 10px 50px;
}

.wrapper {
  width: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: var(--font-size-paragraph);
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-top: 30px;
}

#wide-real-estate-image {
  width: auto;
}

.real-estate-image {
  width: 290px;
  height: 300px;
}

.download-button {
  color: var(--lm-ImmoInvest-white);
  background-color: var(--lm-ImmoInvest-blue);
  padding: 10px 20px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-icon {
  width: 45px;
  height: 45px;
}

h1 {
    margin-left: 85%;
}

.work-in-progress {
  color: var(--lm-ImmoInvest-white);
  background-color: var(--lm-ImmoInvest-blue);
  padding: 10px 20px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  bottom: 70px;
}

.invisible {
  visibility: hidden;
}

/* Smartphones */
@media screen and (max-width: 767px) {
  .real-estate-container {
    height: 700px;
    overflow: scroll;
    padding: 10px 25px 10px 25px;
  }

  .wrapper {
    padding: 0 0 0 40px;
  }

  h1 {
    margin-left: 25%;
  }

  .row {
    height: 350px;
  }

  #wide-real-estate-image {
    width: 100%;
  }
}

/* Tablets */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .wrapper {
    width: 300px;
  }

  h1 {
    margin-left: 70%;
  }

  #wide-real-estate-image {
    width: 330px;
  }
}
