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

html {
  font-size: 62.5%;
  box-sizing: border-box;
}

body {
  font-family: "Nunito", sans-serif;
  font-weight: 300;
  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];
}

.heading-1 {
  font-size: 4rem;
  color: #f9f7f6;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  line-height: 1;
}

.heading-2 {
  font-size: 4rem;
  font-style: italic;
  line-height: 1;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
}
.heading-2__light {
  color: #f9f7f6;
}
.heading-2__dark {
  color: #54483A;
}

.heading-3 {
  font-size: 1.6rem;
  font-style: italic;
  text-transform: uppercase;
  color: #c69963;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
}

.heading-4-light {
  color: #f9f7f6;
}

.heading-4 {
  font-size: 1.9rem;
  font-family: "Josefin Sans", sans-serif;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
}
.heading-4__light {
  color: #f9f7f6;
}
.heading-4__dark {
  color: #54483A;
}

.btn {
  background-color: #c69963;
  color: #fff;
  font-size: 1.5rem;
  padding: 1.8rem 3rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s;
}
.btn:hover {
  background-color: #B28451;
}

.mb__sm {
  margin-bottom: 2rem;
}

.mb__md {
  margin-bottom: 3rem;
}

.mb__lg {
  margin-bottom: 4rem;
}

.mb__hg {
  margin-bottom: 8rem;
}

.sidebar {
  background-color: #c69963;
  grid-row: 1/-1;
  display: flex;
  justify-content: center;
}

.nav__btn {
  border: none;
  border-radius: none;
  width: 4.5rem;
  height: 2px;
  background-color: #fff;
  margin-top: 3rem;
}
.nav__btn::before, .nav__btn::after {
  content: "";
  width: 4.5rem;
  height: 2px;
  background-color: #fff;
  display: block;
}
.nav__btn::before {
  transform: translateY(-1.5rem);
}
.nav__btn::after {
  transform: translateY(1.3rem);
}

.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;
  padding: 8rem;
  padding-top: 4rem;
  display: grid;
  grid-template-rows: 1fr min-content 6rem 1fr;
  grid-template-columns: max-content;
  grid-row-gap: 1.5rem;
  justify-content: center;
}
.header__logo {
  height: 3rem;
  justify-self: center;
}
.header__btn {
  align-self: start;
  justify-self: start;
}
.header__seenon-text {
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  grid-column-gap: 1.5rem;
  align-items: center;
  color: #aaa;
  font-size: 1.6rem;
}
.header__seenon-text::before, .header__seenon-text::after {
  content: "";
  height: 1px;
  display: block;
  background-color: currentcolor;
}
.header__seenon-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 3rem;
  justify-items: center;
}
.header__seenon-logos img {
  height: 2.5rem;
  filter: brightness(70%);
}

.realtors {
  background-color: #101d2c;
  grid-column: col-start 7/full-end;
  padding: 3rem;
  display: grid;
  align-content: center;
  justify-content: center;
  justify-items: center;
  grid-row-gap: 2rem;
}
.realtors__list {
  display: grid;
  grid-template-columns: min-content 1fr;
  grid-column-gap: 2rem;
  grid-row-gap: 5vh;
  align-items: center;
}
.realtors__img {
  width: 7rem;
  border-radius: 50%;
  display: block;
}
.realtors__sold {
  text-transform: uppercase;
  color: #aaa;
  margin-top: -3px;
}

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

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

.story__pictures {
  background-color: #c69963;
  grid-column: full-start/col-end 4;
  background-image: linear-gradient(rgba(198, 153, 99, 0.5), rgba(198, 153, 99, 0.5)), url(../img/back.jpg);
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  grid-template-columns: repeat(6, 1fr);
}
.story__img--1 {
  width: 100%;
  grid-row: 2/6;
  grid-column: 2/6;
}
.story__img--2 {
  width: 115%;
  grid-row: 4/6;
  grid-column: 4/7;
  z-index: 20;
}
.story__content {
  background-color: #f9f7f6;
  grid-column: col-start 5/full-end;
  padding: 6rem 12rem;
  display: grid;
  align-content: center;
  justify-items: start;
}
.story__text {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 4rem;
}

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

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

.gallery {
  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/span 2;
  grid-row: 1/span 2;
}
.gallery__item-2 {
  grid-column: 3/span 3;
  grid-row: 1/span 3;
}
.gallery__item-3 {
  grid-column: 6/7;
  grid-row: 1/span 2;
}
.gallery__item-4 {
  grid-column: 7/-1;
  grid-row: 1/span 2;
}
.gallery__item-5 {
  grid-column: 1/span 2;
  grid-row: 3/span 3;
}
.gallery__item-6 {
  grid-column: 3/span 2;
  grid-row: 4/span 2;
}
.gallery__item-7 {
  grid-column: 5/6;
  grid-row: 4/5;
}
.gallery__item-8 {
  grid-column: 6/span 2;
  grid-row: 3/span 2;
}
.gallery__item-9 {
  grid-column: 8/-1;
  grid-row: 3/span 3;
}
.gallery__item-10 {
  grid-column: 1/2;
  grid-row: 6/-1;
}
.gallery__item-11 {
  grid-column: 2/span 2;
  grid-row: 6/-1;
}
.gallery__item-12 {
  grid-column: 4/5;
  grid-row: 6/-1;
}
.gallery__item-13 {
  grid-column: 5/span 3;
  grid-row: 5/-1;
}
.gallery__item-14 {
  grid-column: 8/-1;
  grid-row: 6/-1;
}
.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer {
  background-color: #101d2c;
  grid-column: full-start/full-end;
  padding: 8rem;
}
.footer .nav {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem;
  align-items: center;
}
.footer .nav__link:link, .footer .nav__link:visited {
  font-size: 1.4rem;
  text-decoration: none;
  color: #fff;
  font-family: "Josefin Sans", sans-serif;
  text-transform: uppercase;
  text-align: center;
  padding: 1.5rem;
  display: block;
  transition: all 0.2s;
}
.footer .nav__link:hover, .footer .nav__link:active {
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-0.3rem);
}
.footer .copyright {
  font-size: 1.4rem;
  text-align: center;
  color: #aaa;
  width: 70%;
  margin-top: 7rem;
  margin-left: auto;
  margin-right: auto;
}

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