section.room {
  flex-direction: row;
  max-width: 1200px;
  user-select: text;
  padding: 100px auto;
  min-height: 800px;
}

section.room > .backgroundRectangle {
  width: 80%;
  height: 80%;
  margin-left: auto;
  position: absolute;
}

section.room > :not(.backgroundRectangle) {
  z-index: 1;
  height: 80%;
}

section.room > div {
  align-items: center;
}

section.room:nth-child(odd) > div {
  flex-direction: row-reverse;
}

section.room:nth-child(odd) > .backgroundRectangle {
  left: 0;
}

section.room:nth-child(even) > .backgroundRectangle {
  flex-direction: row;
  right: 0;
}

section.room > div > div {
  flex-direction: column;
  font-size: 18px;
  align-items: flex-start;
  margin-top: 0px;
}

section.room h2 {
  font-size: 38px;
  margin-bottom: 10px;
  line-height: 48px;
}

section.room > .backgroundRectangle {
  position: absolute;
}

@media (max-width: 1023px) {
  h1 {
    font-size: 48px;
  }
  section.room > .backgroundRectangle {
    width: 100%;
    margin: auto;
    height: 100%;
  }
  section.room > div,
  section.room:nth-child(odd) > div {
    flex-direction: column;
    font-size: 22px;
  }

  .section.room > div > img {
    object-fit: cover;
  }
}
