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

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

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

.container {
  display: grid;
  grid-template-rows: [header-start] 80vh [header-end features-start] min-content [features-end] min-content 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 screen and (max-width: 62.5em) {
    .container {
      grid-template-rows: [nav-start] 5rem [nav-end header-start] 80vh [header-end features-start] min-content [features-end] min-content 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 screen and (max-width: 50em) {
    .container {
      grid-template-rows: [nav-start] 5rem [nav-end main-content] calc(100vh - 6rem) min-content min-content min-content repeat(3, min-content); } }

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

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

.heading-2 {
  font-size: 4rem;
  font-style: italic;
  line-height: 1; }
  .heading-2--light {
    color: #f9f7f6; }
  .heading-2--dark {
    color: #54483A; }

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

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

.btn {
  background-color: #c69963;
  color: #fff;
  border: none;
  border-radius: 0;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  padding: 1.8rem 3rem;
  cursor: pointer;
  transition: all .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-columns: sidebar-star/sidebar-end;
  grid-row: 1 / -1;
  display: flex;
  justify-content: center; }
  @media screen and (max-width: 62.5em) {
    .sidebar {
      grid-row: nav-start / nav-end;
      grid-column: full-start / full-end;
      justify-content: flex-end; } }

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

.header {
  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: contain;
  background-position: center;
  padding: 8rem;
  padding-top: 4rem;
  display: grid;
  grid-template-rows: 1fr min-content minmax(6rem, min-content) 1fr min-content;
  grid-template-columns: minmax(min-content, max-content);
  grid-row-gap: 1.5rem;
  justify-content: center; }
  @media screen and (max-width: 62.5em) {
    .header {
      grid-template-rows: 1fr min-content max-content 1fr min-content; } }
  @media screen and (max-width: 50em) {
    .header {
      grid-column: 1/-1; } }
  @media screen and (max-width: 37.5em) {
    .header {
      padding: 4rem;
      padding-top: 2rem;
      grid-template-rows: 1fr min-content min-content max-content 1fr min-content; } }
  .header__btn {
    align-self: start;
    justify-self: start; }
  .header__logo {
    height: 3rem;
    justify-self: center; }
  .header__seenon-text {
    display: grid;
    font-size: 1.6rem;
    color: #aaa;
    grid-template-columns: 1fr max-content 1fr;
    align-items: center;
    grid-column-gap: 1.5rem; }
    .header__seenon-text::before, .header__seenon-text::after {
      content: "";
      height: 1px;
      display: block;
      background-color: currentColor; }
  .header__seenon-logos {
    display: flex;
    align-items: center;
    justify-content: space-between; }
    .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;
  padding: 4rem;
  text-align: center;
  display: grid;
  align-content: center;
  justify-content: center;
  grid-row-gap: 2rem;
  justify-items: center; }
  @media screen and (max-width: 50em) {
    .realtors {
      grid-column: 1/-1; } }
  .realtors__list {
    display: grid;
    grid-template-columns: min-content max-content;
    justify-content: center;
    align-items: center;
    grid-column-gap: 2rem;
    grid-row-gap: 5vh; }
    @media screen and (max-width: 50em) {
      .realtors__list {
        grid-template-columns: repeat(2, min-content max-content); } }
    @media screen and (max-width: 37.5em) {
      .realtors__list {
        grid-template-columns: min-content max-content; } }
  .realtors__img {
    width: 7rem;
    border-radius: 100%; }
  .realtors__sold {
    text-transform: uppercase;
    color: #aaa; }

.features {
  grid-column: center-start/center-end;
  margin: 15rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  grid-gap: 6rem;
  align-items: start; }
  @media screen and (max-width: 37.5em) {
    .features {
      grid-gap: 4rem;
      margin: 10rem 0; } }

.feature {
  display: grid;
  grid-template-columns: [icon-start] min-content [icon-end main-content-start] 1fr [main-content-end];
  grid-row-gap: 1.5rem;
  grid-column-gap: 2.5rem; }
  @media screen and (max-width: 37.5em) {
    .feature {
      grid-row-gap: 0;
      grid-column-gap: 2rem; } }
  .feature__icon {
    grid-column: icon-start/icon-end;
    fill: #c69963;
    width: 4.5rem;
    height: 4.5rem;
    transform: translateY(-1rem); }
    @media screen and (max-width: 37.5em) {
      .feature__icon {
        width: 4rem;
        height: 4rem;
        transform: translateY(-0.7rem); } }
  .feature__text {
    grid-column: main-content-start/main-content-end;
    font-size: 1.6rem; }

.story__pictures {
  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);
  background-size: cover;
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  grid-template-columns: repeat(6, 1fr);
  align-items: center; }
  @media screen and (max-width: 50em) {
    .story__pictures {
      grid-column: 1/-1;
      padding: 3rem; } }

.story__img--1 {
  width: 100%;
  grid-row: 2/6;
  grid-column: 2/6;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.1); }
  @media screen and (max-width: 50em) {
    .story__img--1 {
      grid-column: 2/5;
      grid-row: 2/6; } }

.story__img--2 {
  width: 115%;
  grid-row: 4/6;
  grid-column: 4/7;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.2);
  z-index: 1000; }
  @media screen and (max-width: 50em) {
    .story__img--2 {
      grid-row: 2/6;
      grid-column: 4/6; } }

.story__content {
  padding: 6rem 8vw;
  background-color: #f9f7f6;
  grid-column: col-end 4 / full-end;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; }
  @media screen and (max-width: 50em) {
    .story__content {
      grid-column: 1/-1;
      grid-row: 5/6; } }

.story__text {
  font-size: 1.5rem;
  font-style: italic; }

.homes {
  grid-column: center-start/center-end;
  margin: 15rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  grid-gap: 7rem; }
  @media screen and (max-width: 37.5em) {
    .homes {
      margin: 10rem 0; } }

.home {
  background-color: #f9f7f6;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-row-gap: 3.5rem; }
  .home__img {
    width: 100%;
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    z-index: 1; }
  .home__like {
    fill: #c69963;
    height: 2.5rem;
    width: 2.5rem;
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    justify-self: flex-end;
    z-index: 2;
    margin: 1rem; }
  .home__name {
    grid-row: 1/2;
    grid-column: 1 / -1;
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.6rem;
    text-align: center;
    padding: 1.25rem 0;
    background-color: #101d2c;
    color: #fff;
    font-weight: 400;
    width: 80%;
    justify-self: center;
    align-self: end;
    transform: translateY(50%);
    z-index: 3; }
  .home__location, .home__rooms {
    margin-top: 2.5rem; }
  .home__location, .home__rooms, .home__area, .home__price {
    display: flex;
    margin-left: 2rem;
    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__location p, .home__rooms p, .home__area p, .home__price p {
      font-size: 1.6rem; }
  .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);
  grid-gap: 1.5rem;
  padding: 1.5rem; }
  @media screen and (max-width: 37.5em) {
    .gallery {
      grid-gap: 1rem;
      padding: 1rem; } }
  .gallery__item--1 {
    grid-row: 1 / span 2;
    grid-column: 1 / span 2; }
  .gallery__item--2 {
    grid-row: 1/ span 3;
    grid-column: 3/ span 3; }
  .gallery__item--3 {
    grid-row: 1/ span 2;
    grid-column: 6/ span 1; }
  .gallery__item--4 {
    grid-row: 1/ span 2;
    grid-column: 7/ -1; }
  .gallery__item--5 {
    grid-row: 3/ span 3;
    grid-column: 1/ span 2; }
  .gallery__item--6 {
    grid-row: 4/ span 2;
    grid-column: 3/ span 2; }
  .gallery__item--7 {
    grid-row: 4/ span 1;
    grid-column: 5/ span 1; }
  .gallery__item--8 {
    grid-row: 3/ span 2;
    grid-column: 6/ span 2; }
  .gallery__item--9 {
    grid-row: 3/ span 3;
    grid-column: 8/ span 1; }
  .gallery__item--10 {
    grid-row: 6/ span 2;
    grid-column: 1/ span 1; }
  .gallery__item--11 {
    grid-row: 6/ span 2;
    grid-column: 2/ span 2; }
  .gallery__item--12 {
    grid-row: 6/ span 2;
    grid-column: 4/ span 1; }
  .gallery__item--13 {
    grid-row: 5/ span 3;
    grid-column: 5/ span 3; }
  .gallery__item--14 {
    grid-row: 6/ span 2;
    grid-column: 8/ span 1; }
  .gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; }

.footer {
  background-color: #101d2c;
  grid-column: full-start/full-end;
  padding: 8rem; }
  @media screen and (max-width: 37.5em) {
    .footer {
      padding: 3rem; } }

.nav {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  grid-gap: 2rem;
  align-items: center; }
  @media screen and (max-width: 37.5em) {
    .nav {
      grid-gap: 1rem; } }
  .nav__link:link, .nav__link:visited {
    font-size: 1.4rem;
    color: #fff;
    text-decoration: none;
    font-family: "Josefin Sans", sans-serif;
    text-transform: uppercase;
    text-align: center;
    display: block;
    padding: 1.5rem;
    line-height: 1.3;
    transition: all .2s; }
  .nav__link:hover, .nav__link:active {
    background-color: rgba(255, 255, 255, 0.05); }

.copyright {
  font-size: 1.4rem;
  color: #aaa;
  margin-top: 6rem;
  text-align: center;
  width: 70%;
  margin-left: auto;
  margin-right: auto; }
  @media screen and (max-width: 37.5em) {
    .copyright {
      margin-top: 3rem; } }
