/* MAIN */

.grid-main {
  align-items: center;
}

.main-img {
  max-width: 400px;
  margin: auto;
}

section {
  padding: 50px 30px;
}

section.top {
  background: url('/images/chatpdf/chatpdf-bg.jpg') no-repeat center bottom;
  background-size: cover;
  min-height: calc(100vh - 90px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

section.top>.container {
  background: white;
  box-shadow: 15px 15px 20px #00000014;
  border-radius: 30px;
  padding: 30px 20px;
}

.main-heading {
  font-size: 36pt;
  margin: auto;
}

.main-subheading {
  display: flex;
  column-gap: 10px;
  /* font-weight: normal; */
  font-size: 14pt;
  align-items: center;
}

.main-text {
  line-height: 2;
}

/* MAIN-FORM  */

.main-form form {
  margin: auto;
  display: grid;
  row-gap: 10px;
}

/* FEATURES */

section#features {
  /* border-top: 1px solid #ccdffa; */
}

.features-grid {
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;
  row-gap: 30px;
  max-width: 900px;
  margin: 50px auto;
}

.features-grid .grid-item {
  text-align: center;
}

.feature-img {
  max-height: 100px;
}

.feature-heading {
  font-weight: normal;
  font-size: 12pt;
}

.feature-desc {
  line-height: 1.5;
}

/* PROS */

section#pros {
  border-top: 1px solid #ccdffa;
  border-bottom: 1px solid #ccdffa;
}

.pros-grid {
  column-gap: 70px;
  row-gap: 30px;
  max-width: 1000px;
  margin: 50px auto;
}

.pros-grid .grid-item {
  display: grid;
  grid-template-rows: auto auto 1fr;
  column-gap: 30px;
  row-gap: 25px;
  align-items: start;
  justify-items: center;
  text-align: center;
}

.pro-img {
  height: 120px;
}

.pro-heading {
  margin: auto;
  font-size: 18pt;
}

.pro-text {
  text-align: justify;
  line-height: 2;
  margin-top: 0;
}

/* OUTRO */

section#outro {
  border-top: 1px solid #ccdffa;
}

.grid-outro {
  text-align: center;
}

.outro-heading {
  font-size: 32pt;
}

.outro-text {
  line-height: 2;
  font-size: 14pt;
}

.outro-img img {
  margin: auto;
  max-height: 500px;
}

/* Mobile first queries */

/* Larger than mobile */
@media (min-width: 400px) {}

/* Larger than phablet */
@media (min-width: 550px) {}

/* Larger than tablet */
@media (min-width: 750px) {
  section {
    padding: 50px 20px;
  }

  .main-heading {
    font-size: 40pt;
    margin: 0 auto;
  }

  .main-form .form-row {
    display: flex;
    gap: 30px;
  }

  section.top>.container {
    background: white;
    border-radius: 30px;
    padding: 50px 50px;
    margin: 0 auto;
  }

  .pros-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    row-gap: 50px;
  }

}

/* Larger than desktop */
@media (min-width: 1000px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 50px;
    row-gap: 50px;
    max-width: 800px;
  }

  .grid-outro {
    text-align: left;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 100px;
  }

  .grid-main {
    grid-template-columns: 55% auto;
    align-items: center;
    column-gap: 50px;
  }
}

/* Larger than Desktop HD */
@media (min-width: 1200px) {}