body {
  --red: #ff0000;
  margin: 0;
  font-family: 'Open Sauce One', sans-serif;
  font-weight: normal;
  font-style: normal;
}
html {
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
  color: unset;
  line-height: unset;
}

.button {
  border: 2px solid var(--red);
  border-radius: 18px;
  padding: 5px 12px;
  color: var(--red);
}

.imageRounded {
  border: 10px solid white;
  border-radius: 20px;
}
.titles {
  font-family: 'Open Sauce One', sans-serif;
  font-weight: 500;
  font-size: 2.2em;
}
.propertySquare {
  padding-top: 66%;
  background-size: cover;
  position: relative;
  margin: 4px;
}
.propertySquare > span {
  position: absolute;
  bottom: 10px;
  font-size: 1.1em;
  left: 15px;
  color: white;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 3px 5px;
}
.propertySquare::before {
  content: ' ';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: linear-gradient(360deg, rgba(0, 0, 0, 0.4), transparent 40%);
}
.contentDiv {
  padding: 0 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.responsiveGrid {
  grid-template-columns: 100%;
}
.mainTitle {
  font-size: 4.2em;
}
@media screen and (max-width: 500px) {
  .hideOnMobile {
    display: none;
  }
  .mainTitle {
    font-size: 3.2em;
  }
  .showOnTabletUp {
    display: none;
  }
}
@media screen and (max-width: 800px) {
  .hideOnTabletDown {
    display: none;
  }
  .mainTitle {
    text-align: center;
    margin-bottom: 40px;
  }
  .marginTopOnMid {
    margin-top: 20px;
  }
}

@media screen and (min-width: 500px) {
  .responsiveGrid {
    grid-template-columns: var(--mid-cols, var(--full-cols));
  }
}

@media screen and (min-width: 800px) {
  .responsiveGrid {
    grid-template-columns: var(--full-cols, 50% 50%);
  }
  .reversedCols:nth-child(1) {
    grid-column: 2;
  }
  .reversedCols:nth-child(2) {
    grid-column: 1;
    grid-row: 1;
  }
  .showOnDesktop {
    display: none;
  }
}

.animated {
  transition: opacity 0.4s;
}
