@import url('base.css');
@import url('footer.css');
@import url('navbar.css');

/* Landing */
.landing {
  position: relative;
}

.landing .img-wrap {
  height: 90vh;
}

.landing img {
  width: 100%;
  height: 80vh;
  object-fit: cover;
  object-position: center 50px;
  z-index: -10000;

  position: fixed;
  filter: brightness(0.5);
}

@media screen and (min-width: 992px) {
  .landing .caption h1 {
    font-size: 7rem;
  }
}

.landing .caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
}

/* Story */
.story {
  height: fit-content;
  min-height: 80vh;
  padding: 1rem;
  padding-top: 6rem;
}

.story .row {
  width: 100%;
}

.story .col-md-12 {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;

  color: var(--text-body);
  font-family: var(--body);
}

.story .col-md-12 h1 {
  font-weight: 700;
}

.story .col-md-12 p {
  font-weight: 300;
}

.story .row .col-md-12:first-child div:first-child,
.story .row .col-md-12:nth-child(2) div:nth-child(2) {
  width: 60%;
}

@media screen and (max-width: 992px) {
  .story {
    padding: 2rem;
  }

  .story .row {
    display: grid;
    place-content: center;
  }

  .story .col-md-12 {
    flex-direction: column;
    margin-bottom: 5rem;
    text-align: justify;
  }

  .story .col-md-12 > * {
    margin-left: 3rem;
  }

  .story .row .col-md-12:first-child div:first-child,
  .story .row .col-md-12:nth-child(2) div:nth-child(2) {
    width: 100%;
  }
}
