@font-face {
  font-family: 'Cerost';
  src: url('../../fonts/cerost.otf') format('truetype');
  /* update path if needed */
  font-weight: normal;
  font-style: normal;
}

.about-property {
  background: url('../../Images/1842/property-bg.png') no-repeat center center;
  background-size: cover;
  /* this makes it fill the section properly */
  /* height: 800px; */
  height: 680px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  object-fit: cover;
}

.property-1842-img {
  position: relative;
  width: auto;
  max-height:620px;
  opacity: 0;
  transform: translateY(100px);
  transition: all 1s ease-out;
  z-index: 1;
  object-fit: cover;
  display: block;
  overflow: hidden;
  /* ensures gradient doesn’t spill out */
}

.property-1842-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      white 0%,
      /* fully white at top */
      rgba(255, 255, 255, 0.8) 5%,
      /* soft fog */
      rgba(255, 255, 255, 0) 15%
      /* fully transparent below */
    );
  pointer-events: none;
  z-index: 2;
}

.image-text {
  position: absolute;
  top: 70px;
  left: 220px;
  /* place text relative to image */
  width: 232px;
  height: 82px;
  opacity: 1;
  font-family: 'Cerost';
  font-weight: 400;
  font-style: normal;
  font-size: 28px;
  line-height: 41px;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #fff;
  z-index: 2;
  /* remove 'position: relative;' since now absolute */
}


/* .about-property img{
    position: relative;
width: 700px;
height: 700px;  
opacity: 1;
/* left: -20px;
display: block; */
/* } */

.property-info {
  opacity: 1;
  gap: 24px;
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-content: center;
  padding-left:20px;
  padding-right:20px;
  padding-top: 100px;
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s ease-out;
}

.property-info img {

  width: 68px;
  height: 53px;
  opacity: 1;
  align-self: center;

}

.property-heading {

  /* width: 637px;
height: 61px; */
  opacity: 1;
  font-family: 'Cerost';
  font-weight: 400;
  font-style: normal;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  /* text-transform: uppercase; */

}

.property-subheading {
  opacity: 1;
  font-family: 'Cerost';
  font-weight: 400;
  font-style: normal;
  font-size: 26px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
}

.property-info p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0%;
  text-align: center;
  /* word-break: break-all; */
  padding-left: 20px;
  padding-right: 20px;
}

.animate-image {
  opacity: 1;
  transform: translateY(0);
  /* move to final position */
}

.animate-text {
  opacity: 1;
  transform: translateX(0);
  /* move to final position */
}


@media screen and (max-width: 920px) {
  .about-property {
    flex-direction: column;
    height: auto;
  }

  .property-1842-img {
    /* height: 400px; */
    width: 100%;
    transform: translateY(0);
    opacity: 1;
  }

  .property-info {
    padding: 20px 20px 60px;
    /* padding around text */
    transform: translateX(0);
    opacity: 1;
    width: 100%;
  }
}

/* Smaller tablets and mobiles */
@media screen and (max-width: 480px) {
  .property-1842-img {
    height: 300px;
  }

  .property-info {
    padding: 15px 15px 40px;
  }

  .property-heading {
    font-size: 36px;
  }

  .property-subheading {
    font-size: 20px;
  }

  .property-info p {
    font-size: 14px;
    line-height: 22px;
  }
}

/* Extra small mobiles */
@media screen and (max-width: 320px) {
  .property-1842-img {
    height: 200px;
  }

  .property-heading {
    font-size: 28px;
  }

  .property-subheading {
    font-size: 18px;
  }

  .property-info p {
    font-size: 12px;
    line-height: 20px;
  }
}