/* Homepage layout. Follows the bgms documentation site's landing page. */

.content-block {
  padding-top: 20px;
  padding-bottom: 10px;
  margin-left: 30px;
  margin-right: 30px;
}

@media (min-width: 900px) {
  .content-block {
    margin-left: 50px;
    margin-right: 50px;
  }
}

@media (min-width: 1200px) {
  .content-block {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Hero banner */
.hero-banner {
  position: relative;
  display: flex;
  justify-content: center;
}

body.quarto-light .hero-banner {
  background-color: rgb(240, 245, 249);
}

body.quarto-dark .hero-banner {
  background-color: #273E4E;
}

.hero-banner h1 {
  font-size: 2.5rem;
}

body.quarto-light .hero-banner h1 {
  color: #39729E;
}

body.quarto-dark .hero-banner h1 {
  color: #b9d2eE;
}

.hero-banner .content-block {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  /* Fill the banner so the text lines up with the sections below it. */
  width: 100%;
  z-index: 2;
}

.hero-banner .content-block .hero-text {
  width: 65%;
}

.hero-banner .content-block .hero-image {
  margin-left: 40px;
  margin-top: 20px;
  width: 250px;
  height: auto;
  display: flex;
  align-items: center;
}

.hero-banner .content-block .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.hero-banner .content-block .hero-image p {
  margin-bottom: 0;
}

@media (max-width: 1200px) {
  .hero-banner .content-block {
    max-width: 660px;
  }

  .hero-banner .content-block .hero-text {
    width: 100%;
  }

  .hero-banner .content-block .hero-image {
    display: none;
  }
}

.hero-banner a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-banner h3 {
  margin-top: 1.3rem;
  margin-bottom: 1.3rem;
}

.hero-banner a[role="button"] {
  margin-bottom: 0;
}

.hero-banner ul {
  padding-inline-start: 21px;
  font-size: 1.1rem;
}

.hero-banner ul li {
  padding-bottom: 0.4rem;
}

/* Buttons */
body.quarto-light .btn-action-primary {
  background-color: #39729E;
  border: 1px solid #39729E;
  color: #fff;
}

body.quarto-light .btn-action-primary:hover {
  background-color: #305775;
  border: 1px solid #305775;
  color: #fff;
}

body.quarto-light .hero-banner .btn-secondary {
  background-color: transparent;
  border: 1px solid #39729E;
  color: #39729E;
}

body.quarto-light .hero-banner .btn-secondary:hover {
  background-color: #39729E;
  color: #fff;
}

/* Alternating section background */
body.quarto-light .alt-background {
  background-color: rgb(247, 249, 251);
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}

body.quarto-dark .alt-background {
  background-color: #17212B;
  border-top: 1px solid #151515;
  border-bottom: 1px solid #151515;
}

/* Section tiles */
.features {
  padding-bottom: 2em;
}

.feature {
  margin-top: 20px;
}

@media (min-width: 800px) {
  .features {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 0 0 -30px;
    width: calc(100% + 30px);
  }

  .feature {
    width: calc(50% - 30px);
    margin: 20px 0 0 30px;
  }
}

.feature h3 {
  margin-top: 0;
}

.feature p:first-of-type {
  margin-bottom: 0.2rem;
}

body.quarto-light .feature p:first-of-type {
  color: rgb(84, 85, 85);
}

body.quarto-dark .feature p:first-of-type {
  color: rgb(200, 200, 200);
}

.get-started {
  text-align: left;
}

.get-started h3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

nav.page-navigation {
  display: none;
}

.nav-footer {
  border-top: none !important;
}
