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

html {
  font-size: 62.5%;
  box-sizing: border-box; }
  @media only 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: 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-family: "Josefin Sans", sans-serif;
  font-size: 4rem;
  line-height: 1;
  font-style: italic;
  margin-bottom: 3rem; }
  .heading--2--dark {
    color: #54483a; }
  .heading--2--light {
    color: #f9f7f6; }

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

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

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

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

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

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

.sidebar {
  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) {
    .sidebar {
      grid-column: 1 / -1;
      grid-row: 1/2;
      justify-content: end;
      align-items: center; } }

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

.header {
  background-image: linear-gradient(rgba(16, 29, 44, 0.9), rgba(16, 29, 44, 0.9)), url(../img/hero.jpeg);
  background-size: cover;
  background-position: center;
  grid-column: sidebar-end/col-end 6;
  padding: 8rem;
  padding-top: 4rem;
  display: grid;
  grid-template-rows: 1fr min-content 6rem 1fr 1fr;
  grid-template-columns: minmax(min-content, max-content);
  justify-content: center;
  gap: 1.5rem; }
  @media only screen and (max-width: 62.5em) {
    .header {
      grid-column: full-start/col-end 6; } }
  @media only screen and (max-width: 50em) {
    .header {
      grid-column: full-start/-1; } }
  @media only screen and (max-width: 37.5em) {
    .header {
      padding: 5rem; } }
  .header__logo {
    justify-self: center;
    height: 3rem; }
  .header__btn {
    justify-self: start;
    align-self: start; }
  .header__seenon-text {
    display: grid;
    font-size: 1.6rem;
    color: #aaa;
    grid-template-columns: 1fr max-content 1fr;
    align-items: center;
    gap: 1.5rem; }
    .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);
    justify-items: center;
    gap: 3rem; }
    .header__seenon-logos img {
      filter: brightness(70%);
      max-height: 2.5rem;
      max-width: 100%; }

.realtors {
  background-color: #101d2c;
  grid-column: col-end 6/-1;
  padding: 3rem;
  display: grid;
  justify-content: center;
  align-content: center;
  justify-items: center;
  gap: 2rem; }
  @media only screen and (max-width: 50em) {
    .realtors {
      grid-column: full-start/-1; } }
  .realtors__list {
    display: grid;
    grid-template-columns: min-content max-content;
    gap: 2rem;
    margin-bottom: 5vh;
    align-items: center; }
    @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__img {
    width: 4rem;
    height: 4rem;
    border-radius: 50%; }
  .realtors__sold {
    text-transform: uppercase;
    color: #f9f7f6;
    filter: brightness(70%);
    margin-top: -3px; }

.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; }

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

.story__pictures {
  background-color: #c69963;
  grid-column: full-start/7;
  background-image: linear-gradient(to bottom, rgba(198, 153, 99, 0.5), rgba(198, 153, 99, 0.5)), url(../img/back.jpg);
  background-position: top left;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  align-items: center; }
  .story__pictures--1 {
    grid-column: 2/6;
    grid-row: 2/6;
    width: 100%;
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.1); }
    @media only screen and (max-width: 50em) {
      .story__pictures--1 {
        grid-column: 1/5;
        grid-row: 1/-1; } }
  .story__pictures--2 {
    grid-column: 4/-1;
    grid-row: 4/6;
    z-index: 2;
    width: 115%;
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.2); }
    @media only screen and (max-width: 50em) {
      .story__pictures--2 {
        grid-row: 1/-1;
        width: 100%; } }
  @media only screen and (max-width: 50em) {
    .story__pictures {
      grid-column: full-start/-1;
      padding: 6rem; } }

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

.btn {
  text-transform: uppercase;
  background-color: #c69963;
  border: none;
  color: white;
  padding: 1.5rem 2rem;
  font-size: 1.6rem;
  margin-top: 3rem;
  font-family: "Josefin Sans", sans-serif;
  transition: all 0.2s; }
  .btn:hover {
    background-color: #b28451;
    cursor: pointer; }

.homes {
  grid-column: center-start/center-end;
  margin: 15rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 6rem; }
  .homes .home {
    background-color: #f9f7f6;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 3rem; }
    .homes .home__img {
      grid-row: 1/2;
      grid-column: 1/-1;
      width: 100%; }
    .homes .home__like {
      grid-column: 2/3;
      grid-row: 1/2;
      justify-self: end;
      margin: 1rem;
      fill: #c69963;
      width: 3rem;
      height: 3rem; }
    .homes .home__name {
      grid-column: 1/-1;
      grid-row: 1/2;
      align-self: end;
      width: 80%;
      justify-self: center;
      margin-bottom: -2rem;
      padding: 1.25rem;
      background-color: #101d2c;
      text-align: center;
      color: #fff;
      font-family: "Josefin Sans", sans-serif;
      font-size: 1.6rem;
      font-weight: 400; }
    .homes .home__location, .homes .home__rooms {
      margin-top: 3rem; }
    .homes .home__location, .homes .home__rooms, .homes .home__area, .homes .home__price {
      font-size: 1.5rem;
      margin-left: 2rem;
      align-items: center;
      display: flex;
      gap: 1rem; }
      .homes .home__location svg, .homes .home__rooms svg, .homes .home__area svg, .homes .home__price svg {
        fill: #c69963;
        width: 2rem;
        height: 2rem; }
    .homes .home .btn {
      grid-column: 1/-1; }

.gallary {
  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; }
  .gallary > * {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; }
  .gallary .img1 {
    grid-column: 1/3;
    grid-row: 1 / span 2; }
  .gallary .img2 {
    grid-column: 3 / span 3;
    grid-row: 1 / span 3; }
  .gallary .img3 {
    grid-column: 6/7;
    grid-row: 1/3; }
  .gallary .img4 {
    grid-column: 7/-1;
    grid-row: 1 / span 2; }
  .gallary .img5 {
    grid-column: 1/3;
    grid-row: 3 / span 3; }
  .gallary .img6 {
    grid-column: 3 / span 2;
    grid-row: 4/ 6; }
  .gallary .img7 {
    grid-column: 5/6;
    grid-row: 4/5; }
  .gallary .img8 {
    grid-column: 6/8;
    grid-row: 3 / span 2; }
  .gallary .img9 {
    grid-column: 8/9;
    grid-row: 3/6; }
  .gallary .img10 {
    grid-column: 1/2;
    grid-row: 6/8; }
  .gallary .img11 {
    grid-column: 2/4;
    grid-row: 6/8; }
  .gallary .img12 {
    grid-column: 4/5;
    grid-row: 6/8; }
  .gallary .img13 {
    grid-column: 5/8;
    grid-row: 5/8; }
  .gallary .img14 {
    grid-row: 6/8;
    grid-column: 8/9; }

.footer {
  background-color: #101d2c;
  grid-column: full-start/full-end;
  padding: 8rem;
  display: flex;
  flex-direction: column;
  gap: 3rem; }
  .footer .nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    grid-gap: 2rem;
    align-items: center; }
    .footer .nav__link {
      color: white;
      text-decoration: none;
      list-style: none;
      font-family: "Josefin Sans", sans-serif;
      font-size: 1.4rem;
      text-transform: uppercase;
      transition: all 0.2s; }
    .footer .nav__link:hover, .footer .nav__link:active {
      background-color: rgba(255, 255, 255, 0.1);
      transform: translateY(-3px); }
    .footer .nav > * {
      padding: 1.5rem;
      text-align: center; }
  .footer > div:hover {
    background-color: #101d2c; }
  .footer .rights {
    text-align: center;
    color: #aaa;
    font-size: 1.4rem;
    padding: 0 13rem; }
