*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
}
@media only screen and (max-width: 75em) {
  html {
    font-size: 50%;
  }
}

body {
  font-family: "Nunito", sans-serif;
  font-weight: 300;
  color: #6d5d4b;
  line-height: 1.6;
}

.container {
  display: grid;
  grid-template-rows: 80vh min-content 40vw repeat(3, min-content);
  grid-template-columns: [sidebar-start] 8rem [sidebar-end full-start] minmax(6rem, 1fr) [center-start] repeat(8, [col-start] minmax(min-content, 14rem) [col-end]) [center-end] minmax(6rem, 1fr) [full-end];
}
@media only screen and (max-width: 62.5em) {
  .container {
    grid-template-rows: 6rem 80vh min-content 40vw repeat(3, min-content);
    grid-template-columns: [full-start] minmax(6rem, 1fr) [center-start] repeat(8, [col-start] minmax(min-content, 14rem) [col-end]) [center-end] minmax(6rem, 1fr) [full-end];
  }
}
@media only screen and (max-width: 50em) {
  .container {
    grid-template-rows: 6rem calc(100vh - 6rem);
  }
}

.heading-4, .heading-3, .heading-2, .heading-1 {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
}

.heading-1 {
  font-size: 4.5rem;
  color: #f9f7f6;
  line-height: 1;
}

.heading-2 {
  font-size: 4rem;
  font-style: italic;
}
.heading-2--lignt {
  color: #f9f7f6;
}
.heading-2--dark {
  color: #54483a;
}

.heading-3 {
  font-size: 1.6rem;
  text-transform: uppercase;
  color: #c69963;
}

.heading-4 {
  font-size: 1.9rem;
}
.heading-4--lignt {
  color: #f9f7f6;
}
.heading-4--dark {
  color: #54483a;
}

.mb-small {
  margin-bottom: 2rem;
}

.mb-medium {
  margin-bottom: 3rem;
}

.mb-large {
  margin-bottom: 4rem;
}

.mb-hurge {
  margin-bottom: 8rem;
}

.side-bar {
  background-color: #c69963;
  grid-column: sidebar-start/sidebar-end;
  grid-row: 1/-1;
  display: flex;
  justify-content: center;
}
@media only screen and (max-width: 62.5em) {
  .side-bar {
    grid-column: 1/-1;
    grid-row: 1/2;
    justify-content: end;
    align-items: center;
  }
}

.nav__btn {
  border: none;
  border-radius: 0;
  background-color: #fff;
  height: 2px;
  width: 4.5rem;
  margin-top: 4rem;
}
.nav__btn::before, .nav__btn::after {
  background-color: #fff;
  height: 2px;
  width: 4.5rem;
  content: "";
  display: block;
}
.nav__btn::before {
  transform: translateY(-1.5rem);
}
.nav__btn::after {
  transform: translateY(1.3rem);
}
@media only screen and (max-width: 62.5em) {
  .nav__btn {
    margin-top: 0;
    margin-right: 3rem;
  }
  .nav__btn::before {
    transform: translateY(-1.2rem);
  }
  .nav__btn::after {
    transform: translateY(1rem);
  }
}

.header {
  background-color: #54483a;
  grid-column: full-start/col-end 6;
  background-image: linear-gradient(rgba(16, 29, 44, 0.93), rgba(16, 29, 44, 0.93)), url(../img/hero.jpeg);
  background-size: cover;
  background-position: center;
  display: grid;
  grid-template-rows: 1fr min-content minmax(6rem, min-content) 1fr;
  grid-template-columns: min-max(min-content, max-content);
  padding: 8rem;
  padding-top: 4rem;
  gap: 1.5rem 0;
}
@media only screen and (max-width: 50em) {
  .header {
    grid-column: 1/-1;
  }
}
@media only screen and (max-width: 37.5em) {
  .header {
    padding: 5rem;
  }
}
.header__logo {
  height: 3rem;
  justify-self: center;
}
.header__btn {
  justify-self: start;
  align-self: start;
}
.header__seenon-text {
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  align-items: center;
  gap: 0 2rem;
  font-size: 1.6rem;
  color: #aaa;
}
.header__seenon-text::before, .header__seenon-text::after {
  content: "";
  display: block;
  background-color: currentColor;
  height: 1px;
}
.header__seenon-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  align-items: center;
}
.header__seenon-logos img {
  max-height: 2.5rem;
  max-width: 100%;
  filter: brightness(70%);
}

.realtors {
  background-color: #101d2c;
  grid-column: col-start 7/full-end;
  display: grid;
  justify-content: center;
  justify-items: center;
  align-content: center;
  gap: 2rem;
}
@media only screen and (max-width: 50em) {
  .realtors {
    grid-column: 1/-1;
  }
}
.realtors__list {
  display: grid;
  grid-template-columns: min-content max-content;
  align-items: center;
  gap: 3vh 2vh;
  color: #f9f7f6;
}
@media only screen and (max-width: 50em) {
  .realtors__list {
    grid-template-columns: repeat(3, min-content max-content);
  }
}
@media only screen and (max-width: 37.5em) {
  .realtors__list {
    grid-template-columns: min-content max-content;
  }
}
.realtors__sold {
  color: #aaa;
}
.realtors__img {
  height: 10rem;
  width: 10rem;
  border-radius: 50%;
}

.features {
  grid-column: center-start/center-end;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
  margin: 15rem 0;
  gap: 6rem;
  align-items: start;
}

.feature {
  display: grid;
  grid-template-columns: min-content 1fr;
  gap: 1.5rem 2rem;
}
.feature__icon {
  fill: #c69963;
  width: 4.5rem;
  height: 4.5rem;
  grid-row: 1/3;
  transform: translateY(-1rem);
}
.feature__text {
  font-size: 1.7rem;
}

.stroy__pitures {
  background-color: #c69963;
  background-image: linear-gradient(rgba(198, 153, 99, 0.5), rgba(198, 153, 99, 0.5)), url(../img/back.jpg);
  background-size: cover;
  grid-column: full-start/col-end 4;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  align-items: center;
}
@media only screen and (max-width: 50em) {
  .stroy__pitures {
    grid-column: 1/-1;
    padding: 6rem;
  }
}
.stroy__img-1 {
  width: 100%;
  grid-column: 2/6;
  grid-row: 2/6;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.5);
}
@media only screen and (max-width: 50em) {
  .stroy__img-1 {
    grid-column: 1/5;
    grid-row: 1/-1;
  }
}
.stroy__img-2 {
  width: 115%;
  grid-column: 4/7;
  grid-row: 4/6;
  z-index: 20;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.5);
}
@media only screen and (max-width: 50em) {
  .stroy__img-2 {
    grid-row: 1/-1;
    width: 100%;
  }
}
.stroy__content {
  background-color: #f9f7f6;
  grid-column: col-start 5/full-end;
  padding: 6rem 12rem;
  /*
  display:flex;
  flex-direction:cloumn;
  align-items:flex-start;
  justify-content:center;
  */
  display: grid;
  justify-items: start;
  align-content: center;
}
@media only screen and (max-width: 50em) {
  .stroy__content {
    grid-column: 1/-1;
    grid-row: 5/6;
  }
}
.stroy__text {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 4rem;
}

.btn {
  font-size: 1.4rem;
  border: none;
  color: #fff;
  background-color: #c69963;
  border-radius: 0;
  font-family: "Josefin Sans", sans-serif;
  text-transform: uppercase;
  padding: 1.8rem 3rem;
  cursor: pointer;
}

.homes {
  margin: 15rem 0;
  grid-column: center-start/center-end;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 6rem;
}

.home {
  background-color: #f9f7f6;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
}
.home__img {
  width: 100%;
  grid-column: 1/-1;
  grid-row: 1/2;
  z-index: 1;
}
.home__like {
  grid-column: 2/3;
  grid-row: 1/2;
  z-index: 2;
  justify-self: end;
  fill: #c69963;
  width: 2.5rem;
  height: 2.5rem;
  margin: 1rem;
}
.home__name {
  grid-column: 1/-1;
  grid-row: 1/2;
  justify-self: center;
  align-self: end;
  transform: translateY(50%);
  z-index: 3;
  width: 80%;
  padding: 1.25rem;
  background-color: #101d2c;
  font-size: 1.6rem;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  color: #fff;
  text-align: center;
}
.home__location, .home__rooms {
  margin-top: 2.5rem;
}
.home__location, .home__rooms, .home__area, .home__price {
  display: flex;
  margin-left: 2rem;
  font-size: 1.5rem;
  align-items: center;
}
.home__location svg, .home__rooms svg, .home__area svg, .home__price svg {
  fill: #c69963;
  width: 2rem;
  height: 2rem;
  margin-right: 1rem;
}
.home__btn {
  grid-column: 1/-1;
}

.gallery {
  background-color: #f9f7f6;
  grid-column: full-start/full-end;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(7, 5vw);
  gap: 1.5rem;
  padding: 1.5rem;
}
.gallery__item--1 {
  grid-column: 1/3;
  grid-row: 1/3;
}
.gallery__item--2 {
  grid-column: 3/6;
  grid-row: 1/4;
}
.gallery__item--3 {
  grid-column: 6/7;
  grid-row: 1/3;
}
.gallery__item--4 {
  grid-column: 7/9;
  grid-row: 1/3;
}
.gallery__item--5 {
  grid-column: 1/3;
  grid-row: 3/6;
}
.gallery__item--6 {
  grid-column: 3/5;
  grid-row: 4/6;
}
.gallery__item--7 {
  grid-column: 5/6;
  grid-row: 4/5;
}
.gallery__item--8 {
  grid-column: 6/8;
  grid-row: 3/5;
}
.gallery__item--9 {
  grid-column: 8/9;
  grid-row: 3/6;
}
.gallery__item--10 {
  grid-column: 1/2;
  grid-row: 6/8;
}
.gallery__item--11 {
  grid-column: 2/4;
  grid-row: 6/8;
}
.gallery__item--12 {
  grid-column: 4/5;
  grid-row: 6/8;
}
.gallery__item--13 {
  grid-column: 5/8;
  grid-row: 5/8;
}
.gallery__item--14 {
  grid-column: 8/9;
  grid-row: 6/8;
}
.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer {
  background-color: #101d2c;
  grid-column: full-start/full-end;
  padding: 8rem;
}

.nav {
  display: grid;
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem;
  align-items: center;
}
.nav__link:link, .nav__link:visited {
  font-size: 1.4rem;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  font-family: "Josefin Sans", sans-serif;
  padding: 1.5rem;
  display: block;
  transition: all 0.2s;
}
.nav__link:hover, .nav__link:active {
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}

.copyright {
  font-size: 1.6rem;
  color: #aaa;
  text-align: center;
  margin-top: 6rem;
}

/*# sourceMappingURL=style.comp.css.map */
