@import url(./base.css);

.btn-appstore {
  display: inline;
}

/* Product highlights */

.product-hightlight {
  margin-top: 40px;
}
.product-hightlight.loop-slower .content {
  background: url("/images/loopslower-product-bg.png") no-repeat;
  background-size: 400px;
  background-position: right 40px bottom 20px;
  border: 2px solid var(--light-color);
  border-radius: 30px;
  padding: 0 30px;
  height: fit-content;
  padding-bottom: 30px;
}
.product-hightlight.emphasized .content {
  background: url("/images/emphasized/emphasized-product-bg.png") no-repeat;
  background-size: 500px;
  background-position: right 0px bottom 40px;
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  padding: 0 30px;
  height: fit-content;
  padding-bottom: 30px;
}

.product-hightlight .btn-appstore img {
  height: 49px;
  vertical-align: middle;
}

.product-hightlight .product-intro .product-buttons a {
  margin-right: 10px;
}

.product-hightlight .product-intro .product-heading {
  width: 57%;
}

.product-hightlight .product-intro .product-intro-text {
  width: 50%;
  margin: 30px 0;
}

/* Intro */

.intro {
  margin-bottom: 50px;
}

/* Hero */
.hero {
  margin-bottom: 50px;
}

.hero .container {
  background: url("/images/loopslower-product-bg.png") no-repeat;
  background-size: 50%;
  background-position: right 10px center;
  height: 550px;
}
.hero .hero-content {
  width: 57%;
}

.hero .btn-appstore img {
  height: 49px;
  vertical-align: middle;
}

.hero .hero-content p {
  margin: 20px 0;
}

.hero .hero-text {
  width: 80%;
  margin-bottom: 20px;
}

/* FAQ */

.faq {
  padding: 40px 0;
}

.faq-group {
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
}

.faq .faq-group .faq-group-header {
  padding: 20px 0;
  margin-bottom: 15px;
  position: relative;
}

.faq .faq-group .faq-group-header h4 {
  font-weight: 600;
  width: 95%;
}

.faq .faq-group .faq-group-header i {
  position: absolute;
  right: 0;
  top: 35px;
  font-size: 1.3rem;
  cursor: pointer;
}

.faq .faq-group .faq-group-body {
  display: none;
}
.faq .faq-group .faq-group-body.open {
  display: block;
}

.faq .faq-group .faq-reset-button {
  height: 16px;
}

.faq .faq-group .custom-plus:before {
  content: "+";
  font-style: normal;
  font-size: 1.7rem;
}
.faq .faq-group .custom-minus:before {
  content: "-";
  font-style: normal;
  font-size: 1.9rem;
}

/* Features */

.features .feature-img {
  display: block;
}

.feature-img-container {
  flex: 1;
  background: var(--light-color);
  border-radius: 20px;
}

.features .feature {
  display: flex;
  margin: 80px 0px;
  gap: 70px;
}

.features .feature .content {
  flex: 1;
}
.features .feature .content ul {
  list-style: disc;
  margin-left: 32px;
}

/* Release notes */

.release-notes .release-notes-version {
  display: flex;
  margin: 40px 0px;
  gap: 70px;
}
.release-notes .release-notes-version .content {
  flex: 1;
}
.release-notes .release-notes-version .content ul {
  list-style: disc;
  margin-left: 32px;
}
.release-notes .release-notes-version .content ul li b {
  font-weight: 600;
}

/* Help section */
.help-section {
  padding: 40px 0px;
  display: flex;
}
.help-section a.btn {
  background: var(--darker-color);
  align-self: center;
  margin-top: 1rem;
}
.help-section .content {
  flex-direction: column;
  display: flex;
  justify-content: center;
}
/* Homepage posts */

.home-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 40px 0px;
}

.home-posts .home-post {
  background: var(--light-color);
  border-radius: 20px;
  padding: 0 16px 16px 16px;
  display: flex;
}

.home-posts .home-post .content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.home-posts .home-post .content i {
  margin: 0 0 16px 0;
}
.home-posts .home-post .content a.btn {
  background: none;
  align-self: flex-end;
  margin-top: auto;
}

/* Articles */
.hero.help .container {
  height: 370px;
}
.help {
  margin: 40px 0px;
}

.articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 40px 0px;
}

.articles .article {
  background: var(--light-color);
  border-radius: 20px;
  padding: 0 16px 16px 16px;
  display: flex;
}

.articles .article .content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.articles .article .content a.btn {
  background: none;
  align-self: flex-end;
  margin-top: auto;
}
/* Blog posts */

.post {
  display: flex;
  flex-grow: 1;
}

/* Privacy */

.privacy .link {
  text-decoration: underline;
}

.post p,
.privacy p,
.sandbox p {
  margin: 10px 0;
}
.post ul,
.privacy ul,
.faq-group ul {
  list-style: disc;
}
.post ul li,
.faq-group ul li,
.privacy ul li {
  margin: 10px 30px;
}

/* Download now */

.download-now-section {
  padding: 40px 0;
}
.download-now {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.download-now p {
  margin-bottom: 16px;
}

/* Media queries */

@media (max-width: 960px) {
  .text-xxl {
    font-size: 2.5rem;
  }
  .hero {
    margin-bottom: 0px;
  }
  .product-hightlight.loop-slower .content,
  .product-hightlight.emphasized .content {
    background-size: 45%;
    background-position: right 20px center;
  }
}
@media (max-width: 770px) {
  .home-posts {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 670px) {
  .navbar {
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
  }

  .navbar .logo img {
    height: 36px;
  }

  .hero {
    margin-bottom: 10px;
  }

  .hero .container {
    background-size: 60%;
    background-position: bottom 0px center;
    height: 800px;
  }
  .hero.help .container {
    background-size: 60%;
    background-position: bottom 0px center;
    height: 620px;
  }

  .hero .hero-content,
  .hero .hero-text {
    width: 100%;
    /* text-align: center; */
  }

  .features .feature,
  .features .feature.odd {
    gap: 20px;
    margin: 30px 0px;
  }
  .text-xxl {
    font-size: 2.1rem;
  }
  .text-xl {
    font-size: 1.9rem;
  }
  .text-lg {
    font-size: 1.5rem;
  }
  .text-md {
    font-size: 1.1rem;
  }
  .testimonials .testimonials-heading,
  .footer .footer-grid > div {
    width: 100%;
    text-align: center;
  }
  .testimonials .testimonials-grid,
  .pricing .pricing-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .footer .footer-grid {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
  }
  .footer .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer .card {
    margin-right: 0;
  }
}

@media (max-width: 500px) {
  .navbar .logo a span.text-lg {
    display: none;
  }

  .product-buttons {
    display: flex;
    justify-content: center;
  }

  .product-hightlight .product-intro .product-heading,
  .product-hightlight .product-intro .product-intro-text {
    width: 100%;
    text-align: center;
  }

  .product-hightlight.emphasized .content {
    background-size: 70%;
    background-position: bottom 20px center;
    height: 540px;
    padding: 0 10px;
  }

  .product-hightlight.loop-slower .content {
    background-size: 70%;
    background-position: bottom 20px center;
    height: 640px;
    padding: 0 10px;
  }

  .hero .container {
    background-size: 80%;
    height: 800px;
    background-position: bottom 0px center;
  }

  .features .feature,
  .features .feature.odd {
    display: flex;
    flex-direction: column-reverse;
    margin: 20px 0px;
    gap: 20px;
  }

  .features .feature.odd .content,
  .features .feature .content {
    /* text-align: center; */
  }
}
