.hero-section {
  background-image: url("./sub/images/oa-background-pattern.png");
  background-repeat: no-repeat;
  background-size: auto;
  background-position: center;
  padding: 6rem 1rem;
  background-color: var(--gray-50);
}

.hero-section.students {
  padding-top: 2rem;
  background-color: var(--oa-base-white);
  background-image: none;
}

.hero-section-info {
  margin: 6rem auto 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.hero-section.students .hero-section-info {
    margin-top: 0;
}

.hero-section div:first-child {
  min-width: 18.125rem;
}

.hero-section h1 {
  margin-bottom: 1.5rem;
}

.hero-section a {
    line-height: 3;
}

.hero-section p {
  margin: 0 auto 3rem auto;
  max-width: 48rem;
  font-size: 1.25rem;
}

/* Hero section with background appears on right position */
.hero-section.hero-section-right {
  background-position: top right;
  padding-bottom: 0;
}

.hero-section.hero-section-right .container {
  padding: 6rem 1.5rem;
  box-sizing: border-box;
}

.hero-section.hero-section-right p {
  margin: 0 auto;
  max-width: 75rem;
}

/* End of hero section with background appears on right position */

.hero-laptop {
    max-width: 75rem;
    margin: 4rem auto 0;
    display: flex;
    justify-content: center;
}

.hero-laptop > img {
    width: 80%;
    height: auto;
}

.hero-laptop video {
  margin: 0 auto;
  max-width: 80%;
  height: auto;
}

/* Desktop */
@media only screen and (max-width: 1200px) {
    .hero-section,
    .hero-section.hero-section-right {
      background-position: top left;
    }
}

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

/* Mobile */
@media only screen and (max-width: 768px) {
    .hero-section {
        padding-top: 5rem;
    }

    .hero-section .hero-section-info {
        margin-top: 3rem;
    }

    .hero-laptop > img {
        width: 100%;
    }

    .hero-laptop video {
      max-width: 100%;
    }
}

@media only screen and (max-width: 576px) {
    .hero-section {
        padding: 5rem 1.5rem 2rem;
    }
}
