:root {
  --clr-primary: hsl(0, 0%, 0%);
  --clr-accent: var(--clr-white);
  --clr-neutral: hsl(0, 0%, 85%);
  --clr-primary-shade: #1b4133;
  --clr-white: #fff;
  --clr-grey-1: #f6faff;
  --clr-grey-2: #e5eaf1;
  --clr-gradient: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
  --ff-main: "Josefin Sans";
  --ff-secondary: "Alata";
  --fw-light: 300;
  --fw-regular: 400;
  --fs-1: 4.5rem;
  --fs-2: 3rem;
  --fs-3: 2.5rem;
  --fs-4: 2rem;
  --fs-5: 1.5rem;
  --fs-6: 0.9375rem;
  --fs-7: 0.875rem;
  --sp-0: 0;
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 2.5rem;
  --sp-6: 3rem;
  --sp-7: 4rem;
  --sp-8: 5rem;
  --sp-between-sections: 6rem;
  --sp-between-section-desktop: 10rem;
  --ls-0: 0;
  --ls-1: 5px;
  --lh-1: 1;
  --lh-2: 1.65;
  --desktop-container-width: 69.375rem;
  --z-index-menu-mobile: 100;
  --z-index-nav-btns: 200;
}

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

h1,
h2,
h3,
h4,
h5,
h6,
td,
th,
button {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

body {
  font-family: var(--ff-main), sans-serif;
}

.no-scroll {
  overflow: hidden;
}

.flow-content > * + * {
  margin-top: var(--flow-spacer, var(--sp-3));
}

.split {
  display: flex;
}

.split > * {
  width: 100%;
}

.container {
  max-width: var(--desktop-container-width);
  margin-inline: auto;
}

.section {
  --flow-spacer: var(--sp-between-sections);
  padding-inline: var(--sp-3);
}
@media (min-width: 75rem) {
  .section {
    --flow-spacer: var(--sp-between-section-desktop);
  }
}
@media (min-width: 45rem) {
  .section {
    padding-inline: var(--sp-8);
  }
}

.section--header {
  padding-block-start: var(--sp-5);
  padding-block-end: var(--sp-5);
}
@media (min-width: 45rem) {
  .section--header {
    padding-block-start: var(--sp-7);
    padding-block-end: var(--sp-7);
  }
}

.section--footer {
  background-color: var(--clr-primary);
}

.tp-1 {
  font-size: var(--fs-1);
  line-height: var(--lh-1);
  letter-spacing: var(--ls-0);
  font-weight: var(--fw-light);
}

.tp-2 {
  font-size: var(--fs-2);
  line-height: var(--lh-1);
  letter-spacing: var(--ls-0);
  font-weight: var(--fw-light);
}

.tp-3 {
  font-size: var(--fs-3);
  line-height: var(--lh-1);
  letter-spacing: var(--ls-0);
  font-weight: var(--fw-light);
}
@media (min-width: 45rem) {
  .tp-3 {
    font-size: var(--fs-1);
    line-height: var(--lh-1);
    letter-spacing: var(--ls-0);
    font-weight: var(--fw-light);
  }
}

.tp-4 {
  font-size: var(--fs-4);
  line-height: var(--lh-1);
  letter-spacing: var(--ls-0);
  font-weight: var(--fw-light);
}
@media (min-width: 45rem) {
  .tp-4 {
    font-size: var(--fs-2);
    line-height: var(--lh-1);
    letter-spacing: var(--ls-0);
    font-weight: var(--fw-light);
  }
}

.tp-5 {
  font-size: var(--fs-5);
  line-height: var(--lh-1);
  letter-spacing: var(--ls-0);
  font-weight: var(--fw-light);
}
@media (min-width: 45rem) {
  .tp-5 {
    font-size: var(--fs-6);
    line-height: var(--lh-2);
    letter-spacing: var(--ls-0);
    font-weight: var(--fw-regular);
  }
}
.tp-5--larger-desktop {
  font-size: var(--fs-5);
  line-height: var(--lh-1);
  letter-spacing: var(--ls-0);
  font-weight: var(--fw-light);
}
@media (min-width: 75rem) {
  .tp-5--larger-desktop {
    font-size: var(--fs-4);
    line-height: var(--lh-1);
    letter-spacing: var(--ls-0);
    font-weight: var(--fw-light);
  }
}

.tp-6 {
  font-size: var(--fs-6);
  line-height: var(--lh-2);
  letter-spacing: var(--ls-0);
  font-weight: var(--fw-regular);
}

.tp-7 {
  font-size: var(--fs-7);
  line-height: var(--lh-1);
  letter-spacing: var(--ls-1);
  font-weight: var(--fw-regular);
}

.section--header {
  background-image: url(../images/mobile/image-hero.jpg);
  background-size: cover;
}
@media (min-width: 45rem) {
  .section--header {
    background-image: url(../images/desktop/image-hero.jpg);
    background-position: center;
  }
}

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

.nav--header {
  margin-block-end: 10.1875rem;
}
@media (min-width: 45rem) {
  .nav--header {
    margin-block-end: 8.125rem;
  }
}

.logo {
  width: 9rem;
  height: 1.5rem;
  z-index: var(--z-index-nav-btns);
}
@media (min-width: 45rem) {
  .logo {
    width: 12rem;
    height: 2rem;
  }
}

.nav__links {
  position: fixed;
  padding-inline: var(--sp-3);
  padding-block-start: 12.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  inset: 0;
  transform: translateX(100%);
  background-color: var(--clr-primary);
  z-index: var(--z-index-menu-mobile);
  transition: transform 0.3s ease-in;
}
@media (min-width: 45rem) {
  .nav__links {
    position: static;
    transform: translateX(0%);
    background-color: transparent;
    padding: 0;
    flex-direction: row;
  }
}

.nav[data-open=true] .nav__links {
  transform: translateX(0%);
}

.link {
  text-decoration: none;
  text-transform: uppercase;
  color: var(--clr-white);
  font-family: var(--ff-secondary);
}
@media (min-width: 45rem) {
  .link {
    text-transform: capitalize;
    position: relative;
  }
  .link:hover::after {
    content: "";
    display: block;
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--clr-white);
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
  }
}

.nav__btn {
  display: block;
  z-index: var(--z-index-nav-btns);
}
@media (min-width: 45rem) {
  .nav__btn {
    display: none;
  }
}

.banner {
  color: var(--clr-white);
  border: 1px solid var(--clr-white);
  max-width: 40.625rem;
  padding-block: var(--sp-2);
  padding-inline: var(--sp-3);
  margin-block-end: 14.1875rem;
}
@media (min-width: 45rem) {
  .banner {
    padding: var(--sp-5);
    padding-block-end: var(--sp-3);
    margin-block-end: 9.125rem;
  }
}

.btn {
  background: none;
  cursor: pointer;
}

.btn--icon {
  border: none;
}

.btn--outline {
  text-transform: uppercase;
  color: var(--clr-primary);
  border: 1px solid var(--clr-primary);
  padding-block: var(--sp-2);
  padding-inline: var(--sp-5);
  transition: background-color 0.1s ease-out;
}
.btn--outline:hover {
  background-color: var(--clr-primary);
  color: var(--clr-white);
}

.btn--link {
  text-decoration: none;
  display: inline-block;
}

.nav .icon--close {
  display: none;
}
.nav[data-open=true] .icon--close {
  display: block;
}
.nav[data-open=true] .icon--hamburger {
  display: none;
}

.hero {
  display: grid;
  justify-items: center;
  row-gap: var(--sp-6);
}
@media (min-width: 75rem) {
  .hero {
    position: relative;
    grid-template-columns: 65fr 35fr;
  }
}

.hero__info {
  --flow-spacer: var(--sp-2);
  text-align: center;
}
@media (min-width: 45rem) {
  .hero__info {
    --flow-spacer: var(--sp-3);
  }
}
@media (min-width: 75rem) {
  .hero__info {
    text-align: left;
    position: absolute;
    background-color: var(--clr-white);
    width: 50%;
    padding-inline-start: 6rem;
    padding-block-start: 6rem;
    bottom: 0;
    right: 0;
  }
}

.title {
  text-transform: uppercase;
}

.hero__desc {
  font-family: var(--ff-secondary);
  opacity: 0.5;
}

.gallery {
  --flow-spacer: var(--sp-6);
  text-align: center;
}
@media (min-width: 45rem) {
  .gallery {
    --flow-spacer: var(--sp-4);
  }
}
@media (min-width: 75rem) {
  .gallery {
    --flow-spacer: var(--sp-8);
  }
}

.gallery__btn {
  display: none;
  justify-self: center;
  font-family: var(--ff-secondary);
}
@media (min-width: 75rem) {
  .gallery__btn {
    display: block;
  }
}
.gallery__btn--mobile {
  display: inline-block;
  margin-block-start: 8px;
}
@media (min-width: 75rem) {
  .gallery__btn--mobile {
    display: none;
  }
}

@media (min-width: 75rem) {
  .gallery__header {
    display: flex;
    justify-content: space-between;
  }
}

.gallery__grid {
  display: grid;
  row-gap: var(--sp-3);
}
@media (min-width: 75rem) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
    row-gap: var(--sp-4);
    column-gap: var(--sp-4);
  }
}

.gallery__img-box {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gallery__img-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--clr-gradient);
}

.gallery__img-box:hover .gallery__img {
  transform: scale(1.2);
}

.gallery__img {
  width: 100%;
  max-height: 120px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s ease-out;
}
@media (min-width: 75rem) {
  .gallery__img {
    max-height: none;
  }
}

.gallery__img-title {
  --spacer-img-left: 1.25rem;
  --spacer-img-bottom: 1.25rem;
  z-index: 100;
  position: absolute;
  left: var(--spacer-img-left);
  bottom: var(--spacer-img-bottom);
  color: var(--clr-white);
  text-transform: uppercase;
  text-align: left;
}
@media (min-width: 45rem) {
  .gallery__img-title {
    --spacer-img-left: 2.375rem;
    --spacer-img-bottom: 1.25rem;
  }
}
@media (min-width: 75rem) {
  .gallery__img-title {
    --spacer-img-left: 2.5rem;
    --spacer-img-bottom: 2rem;
  }
}

.footer {
  padding-block: var(--sp-7);
  display: grid;
  justify-items: center;
}
.footer > *:nth-child(2) {
  margin-top: var(--sp-5);
}
.footer > *:nth-child(3) {
  margin-top: var(--sp-5);
}
.footer > *:nth-child(4) {
  margin-top: var(--sp-2);
}
@media (min-width: 45rem) {
  .footer {
    padding-block: var(--sp-6);
    grid-template-columns: 1fr 1fr;
    row-gap: var(--sp-3);
  }
  .footer > *:nth-child(2) {
    grid-column: 1;
    margin-top: 0;
  }
  .footer > *:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
  }
  .footer > *:nth-child(4) {
    grid-column: 2;
    margin-top: 0;
  }
}

.footer-nav__logo {
  display: inline-block;
}

.footer-nav__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
@media (min-width: 45rem) {
  .footer-nav__links {
    flex-direction: row;
  }
}

.link--footer {
  text-transform: capitalize;
}

.footer-social__links {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  align-items: center;
}

.footer-social__rights {
  font-family: var(--ff-secondary);
  text-align: center;
  color: var(--clr-white);
  opacity: 0.5;
}

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