#bedrooms {
  margin: 75px 0 70px 0;
}

#bedrooms .container {
  position: relative;
}

#bedrooms .wrapper {
  position: relative;
}

#bedrooms .decor {
  right: -78px;
  top: -22px;
  z-index: 3;
  width: 153.5px;
  height: 153.5px;
}

#bedrooms .bedrooms-inner {
  background-repeat: no-repeat;
  background-image: url('../../images/home/bedrooms-pattern.png');
  background-position: center;
  background-size: cover;
  padding: 18px 0px;
  flex-basis: 600px;
  min-width: 470px;
  flex-shrink: 1;
  position: relative;
}

#bedrooms h3 {
  font-size: 32px;
  margin: 0 0 10px 0;
}

#bedrooms h3 span {
  font-size: 54px;
}

#bedrooms sup {
  font-size: 60%;
  top: -0.6em;
}

#bedrooms p {
  font-size: 29px;
  line-height: 1.2758620690em;
}

#bedrooms .button {
  margin-top: 15px;
  font-size: 25px;
}

#bedrooms .image img {
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 1200px ) {
  #bedrooms .decor {
    top: -43px;
    right: -56px;
    width: 110px;
    height: 110px;
  }
}

@media screen and (max-width: 768px ) {
  #bedrooms .wrapper {
    flex-wrap: wrap;
  }
  #bedrooms .bedrooms-inner {
    padding: 39px 22px 45px 22px;
  }
  #bedrooms .decor {
    top: -96px;
    left: 50%;
    transform: translateX(-50%);
    width: 119px;
    height: 119px;
  }
  #bedrooms .container {
    padding: 0;
  }
  #bedrooms .wrapper > * {
    flex-basis: 100%;
  }
  #bedrooms .image {
    order: 1;
    position: relative;
  }
  #bedrooms .bedrooms-inner {
    order: 2;
    position: relative;
    min-width: unset;
  }
  #bedrooms .image img {
    width: 100%;
    max-height: 300px;
  }
}

@media screen and (max-width: 567px ) {
  #bedrooms {
    margin-top: 40px;
    margin-bottom: 35px;
  }
  #bedrooms h3 {
    font-size: 20px;
    margin-bottom: 13px;
  }
  #bedrooms h3 span {
    font-size: 40px;
  }
  #bedrooms p {
    font-size: 19px;
    line-height: 24px;
  }
  #bedrooms .image {
    max-height: 281px;
  }
  #bedrooms .button {
    margin-top: 20px;
    font-size: 20px;
  }
}