@import "./common.css";

/* Hero */
.hero {
  position: relative;
}

.hero-image {
  object-fit: cover;
  min-width: unset;
  max-width: 100%;
  margin-top: calc(0px - (16px * 2 + 45px));
  height: 665px;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  color: var(--white);
  display: flex;
  justify-content: center;
}

.hero-explainer {
  margin: 6rem 1rem;
  padding: 1rem .5rem;
  border-radius: 5px;
  width: 30rem;
  background: rgba(1, 1, 1, .5);
  text-align: center;
}

.hero-explainer h1 {
  font-size: 3rem;
}

.hero-explainer h2 {
  font-size: 1.5rem;
}

.hero-explainer h3 {
  font-size: 1rem;
}

.hero-skill-link {
  margin-top: 1rem;
  display: inline-block;
}
/* End hero */

.product-section > h1 {
  text-align: center;
  font-size: var(--font-size-xx-large);
  padding-top: var(--spacing-xx-large);
  padding-bottom: var(--spacing-xx-large);
}

/* Features */
.section-features--features {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 4rem 1rem;
  padding-bottom: 8rem;
}

.section-features--features article {
  display: grid;
  justify-content: center;
  grid-template-columns: max-content 1fr;
  grid-template-rows: max-content 1fr;
  grid-column-gap: var(--spacing-medium);
  grid-row-gap: var(--spacing-medium);
}

.section-features--features article > :first-child {
  grid-row: 1 / 3;
}

.section-features--features article h1 {
  font-size: var(--font-size-x-large);
}
/* End features */

/* Overview */
.section-overview {
  background: #f5f6f7;
  padding-bottom: 8rem;
}
/* End overview */

/* Large display */
@media (min-width: 56.25em) {
  /* Hero area */
  .hero-image {
    min-width: 100%;
    max-width: unset;
  }

  .hero-content {
    justify-content: start;
  }

  .hero-explainer {
    margin: 6rem 5rem;
  }
  /* End hero */

  /* Features */
  .section-features--features {
    grid-template-columns: 1fr 1fr;
  }
  /* End features */
}