/* prettier-ignore */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;  /* Override 1.2 from bootstrap */
}

/* HEADER */

.navbar-nav {
  align-items: center;
}

#navbarContent {
  margin-inline: 1em;
}

@media (max-width: 992px) {
  .navbar.bg-tra:not(.scroll) {
    box-shadow: none;
  }
}

.header-icons img {
  height: 40px;
  width: auto;
}

/* HERO */

#hero {
  background-image: url(/images/blue-curve.svg);
}

@media (max-width: 768px) {
  #hero {
    /* Push blue curve a bit down to avoid overlap with text */
    background-position-y: calc(3em + 10vw);
  }

  app-icons {
    margin-top: 2em;
  }
}

/* FEATURES */
#features .icon {
  width: 4.5em;
  aspect-ratio: 1;
}

/* REVIEWS  */
#reviews {
  background: radial-gradient(circle at center, #4580ca, var(--color-0) 100%);
}

.app-rating img {
  width: 15px;
}

/* INTEGRATIONS */

#integrations .icons {
  justify-content: center;
  gap: 3rem;
}

#integrations .icons > * {
  flex: 0;
}

#integrations .icons img {
  width: 6.5em;
  aspect-ratio: 1;
  margin-bottom: 0.25em;
}

#integrations p {
  font-weight: bolder;
}

#integrationsd .icons p {
  font-size: 1em;
}

/* AUTO-CALCULATE */
#auto-calculate .quoted::before {
  margin-left: -10px;
}

/* LABEL SCANNER */

@media (max-width: 992px) {
  /* Fix order on mobile for this two sections */
  :is(#label-scanner, #super-flexible) .d-flex > :nth-child(1) {
    order: 1;
  }
}

/* The device with borders */
.smartphone {
  position: relative;
  max-width: max-content;
  height: min-content;
  margin: auto;
  border: 16px black solid;
  border-top-width: 60px;
  border-bottom-width: 60px;
  border-radius: 36px;
}

/* The horizontal line on the top of the device */
.smartphone:before {
  content: "";
  display: block;
  width: 60px;
  height: 5px;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #333;
  border-radius: 10px;
}

/* The circle on the bottom of the device */
.smartphone:after {
  content: "";
  display: block;
  width: 35px;
  height: 35px;
  position: absolute;
  left: 50%;
  bottom: -65px;
  transform: translate(-50%, -50%);
  background: #333;
  border-radius: 50%;
}

/* PRICING */
#pricing .equal-height {
  height: 95%;
}

#pricing a[href] {
  text-decoration: underline;
}

/* NEWSLETTER */

#newsletter .btn {
  border-color: var(--color-1);
}

#newsletter .btn:hover {
  background-color: var(--color-1);
  color: var(--color-0);
}

#newsletter .input-group {
  gap: 1em;
}

/* FOOTER */

footer .footer-info a {
  font-weight: 400;
}

footer .footer-info a:hover {
  text-decoration: underline;
}
