/*  =====================================
   Grid Layout
========================================  */

.body-wrapper {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 170px 2fr 0.3fr;
  grid-template-columns: 1fr;

}

.header-wrapper {
  height: 170px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 120px 50px;
  grid-column: -3 / -1;
  grid-row: -4 / -3;
}

.header-collection, .header-collection-mobile {
  display: flex;
  grid-column: -3 / -1;
}

.header-logo {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header-title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.navbar-desktop {
  display: grid;
  grid-column: -3 / -1;
}

.nav-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.main-footer {
  display: grid;
  grid-row: -2 / -1;
}

.footer-wrapper {
  display: grid;
  grid-template-rows: 18.75rem;
  grid-template-columns: repeat(7, 1fr);
}

.footer-block-one {
  display: flex;
  flex-flow: column;
  grid-column: -7 / -6;
  align-items: center;
  justify-content: center;
}

.title-bottom {
  display: flex;
}

.footer-info {
  display: flex;
  flex-flow: column;
}

.footer-image {
  display: flex;
  justify-content: center;
  align-items: center;
  grid-column: -5 / -4;
}

.footer-nav {
  display: flex;
  grid-column: -3 / -2;
  justify-content: center;
  align-items: center;
}

/*  Mobile layout ------------------  */

@media screen and (max-width: 1024px) {
  .body-wrapper {
    min-height: 100vh;
    display: grid;
    grid-template-rows: 78px 2fr 0.3fr;
    grid-template-columns: 1fr;
  }

  .footer-wrapper {
    display: flex;
    flex-direction: column;
  }

  .footer-block-one {
    padding-left: 3%;
    align-items:baseline;
  }

}

@media screen and (max-width: 990px) {
  
}
