/* HERO SECTION */

.hero {
  background-image: linear-gradient(
      to top,
      rgba(64, 115, 83, 1),
      rgba(0, 0, 0, 0.6)
    ),
    url(../imgs/hero/herophotocover.webp);
  background-size: cover;
  width: 100%;
  padding-bottom: 12.8rem;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  background-image: url(../imgs/separator/cloud.svg);
  background-repeat: repeat-x;
  object-fit: cover;
  height: 3rem;
  width: 100%;
  left: 0;
  bottom: -1.6rem;
  z-index: 99;
}

.section-hero {
  margin-bottom: 10rem;
}

.hero-title {
  padding-top: 40rem;
  margin-bottom: 10rem;
  font-family: var(--font-4);
  font-size: 12rem;
  color: var(--color-3);
  font-weight: 500;
  text-align: center;
  line-height: 0.8;
}

.button-container {
  display: block;
  text-align: center;

  margin-bottom: 10rem;
}

.hero-reserve__button {
  font-family: var(--font-3);
  color: var(--color-3);
  font-size: var(--font-size-12);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;

  padding: 2rem 4rem;
  border-radius: 1rem;
  letter-spacing: 0.2rem;
  background-color: var(--color-2);
}

.only-hero {
  height: 100vh;
}

.our-history__title-photo {
  justify-self: end;
  align-self: self-end;
  padding-bottom: 0.4rem;
}

.our-history {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.hero-titles__box {
  text-align: center;
  position: relative;
}

/* .hero-title__our {
  text-transform: uppercase;
  font-size: var(--font-size-13);
  font-family: var(--font-1);

  color: var(--color-3);
} */

.hero-title__history {
  font-size: var(--font-size-18);
  font-family: var(--font-4);
  font-weight: 400;

  color: var(--color-3);
}

.hero-title__history::after {
  content: "NOSSA";

  position: absolute;

  font-weight: 600;
  font-family: var(--font-1);
  font-size: var(--font-size-13);
  letter-spacing: 0.2rem;

  top: -15%;
  left: 20%;
  bottom: 0;
  right: 0;
}

.hero-text {
  font-size: var(--font-size-7);
  font-family: var(--font-3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.05rem;

  color: var(--color-3);
}

.hero-photo {
  width: 65rem;
  border: 0.4rem solid var(--color-3);
}

/* RESPONSIVE DESIGN */

@media screen and (max-width: 1340px) {
  .hero {
    background-position: center center;
  }
  .hero-title {
    margin-bottom: 5rem;
    font-size: 10rem;
  }

  .hero-reserve__button {
    font-size: var(--font-size-10);
    padding: 1.2rem 2.4rem;
    border-radius: 1rem;
  }

  .hero-title__history {
    font-size: var(--font-size-17);
  }

  .hero-title__history::after {
    content: "NOSSA";

    position: absolute;
    font-size: var(--font-size-12);

    top: -15%;
    left: 20%;
    bottom: 0;
    right: 0;
  }

  .hero-text {
    font-size: var(--font-size-6);
  }

  .hero-photo {
    width: 100%;
  }
  .hero::after {
    width: 100%;
    left: 0;
    bottom: -1.6rem;
  }
}

@media screen and (max-width: 1130px) {
  .hero-title {
    margin-bottom: 5rem;
    font-size: 10rem;
  }

  .hero-reserve__button {
    font-size: var(--font-size-8);
    padding: 1.2rem 2.4rem;
    border-radius: 1rem;
  }

  .hero-title__history {
    font-size: var(--font-size-15);
  }
  .hero-title__history::after {
    font-size: var(--font-size-8);
    left: 17%;
  }
  .hero-text {
    font-size: var(--font-size-5);
  }
  .hero::after {
    width: 100%;
    left: 0;
    bottom: -1.6rem;
  }
}

@media screen and (max-width: 1000px) {
  .hero {
    padding-bottom: 6.4rem;
  }

  .hero-title {
    margin-bottom: 5rem;
    padding-top: 30rem;
    font-size: 6rem;
  }

  .hero-reserve__button {
    font-size: var(--font-size-7);
    padding: 1.2rem 2.4rem;
    border-radius: 1rem;
  }

  .hero-title__history {
    font-size: var(--font-size-14);
  }
  .hero-title__history::after {
    font-size: var(--font-size-6);
    left: 14%;
  }
  .hero-text {
    font-size: var(--font-size-4);
  }
  .hero::after {
    width: 100%;
    left: 0;
    bottom: -1.6rem;
  }
}

@media screen and (max-width: 900px) {
  .our-history {
    grid-template-columns: 1fr 1.25fr;
  }
  .hero-text {
    font-size: 1.3rem;
  }
  .hero::after {
    width: 100%;
    left: 0;
    bottom: -1.6rem;
  }
}

@media screen and (max-width: 850px) {
  .hero-title__history {
    font-size: var(--font-size-12);
  }
  .hero-title__history::after {
    font-size: var(--font-size-4);
    left: 16%;
  }
  .hero-text {
    font-size: var(--font-size-2);
  }
  .our-history {
    grid-template-columns: 1fr 1fr;
  }
  .hero::after {
    width: 100%;
    left: 0;
    bottom: -1.7rem;
  }
}

@media screen and (max-width: 700px) {
  .hero-title__history {
    font-size: var(--font-size-16);
    margin-bottom: 1rem;
  }
  .hero-title__history::after {
    font-size: var(--font-size-7);
    left: 12%;
  }
  .hero-text {
    font-size: var(--font-size-5);
  }
  .our-history {
    grid-template-columns: 1fr;
  }
  .hero-title {
    margin-bottom: 4rem;
    padding-top: 20rem;
    font-size: 5rem;
  }

  .hero-reserve__button {
    font-size: var(--font-size-5);
    padding: 1rem 2rem;
    border-radius: 1rem;
  }
  .hero::after {
    width: 100%;
    left: 0;
    bottom: -1.6rem;
  }
}

@media screen and (max-width: 500px) {
  .hero-title {
    margin-bottom: 4rem;
    padding-top: 20rem;
    font-size: 4rem;
  }
  .hero-reserve__button {
    font-size: var(--font-size-3);
    padding: 1rem 2rem;
    border-radius: 1rem;
  }
  .hero::after {
    width: 100%;
    left: 0;
    bottom: -1.8rem;
  }
  .hero-title__history {
    font-size: var(--font-size-14);
    margin-bottom: 1rem;
  }
  .hero-title__history::after {
    font-size: var(--font-size-5);
    left: 15%;
    top: -10%;
  }
}
@media screen and (max-width: 420px) {
  .hero {
    padding-bottom: 3.2rem;
  }
  .hero-title {
    margin-bottom: 4rem;
    padding-top: 20rem;
    font-size: 4rem;
  }
  .hero-reserve__button {
    font-size: var(--font-size-4);
    padding: 1.4rem 2.8rem;
    border-radius: 1rem;
  }
  .hero-title__history {
    font-size: var(--font-size-13);
    margin-bottom: 1rem;
  }
  .hero-title__history::after {
    font-size: var(--font-size-4);
    left: 15%;
    top: -10%;
  }
  .hero::after {
    width: 100%;
    left: 0;
    bottom: -2rem;
  }
  .only-hero {
    height: 50vh;
  }
}

@media screen and (max-width: 390px) {
  .hero::after {
    width: 100%;
    left: 0;
    bottom: -2.1rem;
  }
  .hero-title {
    margin-bottom: 4rem;
    padding-top: 15rem;
    font-size: 3rem;
  }
}
@media screen and (max-width: 300px) {
  .hero-title {
    margin-bottom: 4rem;
    padding-top: 15rem;
    font-size: 2.4rem;
  }
}
