/* HEADER */
.section {
  position: relative;
  padding: 0;
  background-color: #fff;
  z-index: 1;
}
.section:last-of-type {
  height: 100vh;
  background-image: url("/routes/static/images/about-02-mobile.jpg.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  background-color: black;
}
.section h1.title,
.section h2.title,
.section h3.title,
.section h4.subtitle,
.section h5.subtitle,
.section h6.subtitle {
  text-align: start;
  margin: 2rem auto 0.5rem;
  color: #162454;
}
.section .image-div-wrapper::before {
  content: "";
  position: absolute;
  top: -2rem;
  bottom: -2rem;
  right: -2rem;
  left: -2rem;
  padding: 5rem;
  z-index: 1;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.998) 10%, rgba(255, 255, 255, 0) 35%, rgba(0, 0, 0, 0));
}
.image-div-wrapper {
  align-self: center;
  width: 100%;
}
.section .image-div-wrapper {
  position: relative;
}
.section .image-div-wrapper img {
  width: 100%;
}
.section .content-wrapper {
  padding: 3rem;
  text-align: center;
  z-index: 1;
}
.section .title-wrapper {
  text-align: center;
}
.section .content-wrapper p {
  font-size: 14px;
  color: #455A64;
  text-align: justify;
}
.section a {
  font-size: .75rem;
}
.section .text-wrapper {
  padding: 3rem;
  text-align: justify;
}
.section .title-wrapper h3.title,
.section .title-wrapper h4.subtitle,
.section .title-wrapper h5.subtitle   {
  text-align: center;
}

/* BREAKPOINTS */

/* Medium Devices */
@media (min-width: 768px) {
  .section:last-of-type {
    background-image: url("/routes/static/images/about-02.jpg.webp");
  }
  .section .content-wrapper p {
    font-size: 16px;
  }
  .section .title-wrapper {
    padding: 1rem;
  }
  .section .title-wrapper h3.title,
  .section .title-wrapper h4.subtitle,
  .section .title-wrapper h5.subtitle   {
    margin: 0;
  }
  .section .text-wrapper {
    padding: 1rem 3rem;
  }
  .section a {
    font-size: 0.8rem;
  }
}

/* Large devices */
@media (min-width: 992px) {
  
  /* Section styles */
  .section .image-div-wrapper::before {
    top: -3rem;
    bottom: -3rem;
  }
  .section .content-wrapper p {
    font-size: 18px;
    line-height: 2rem;
  }
  .section a {
    font-size: 1.2rem;
  }
  .section .text-wrapper p {
    font-size: 16px;
    line-height: 30px;
  }
}

/* Extra Large devices */
@media (min-width: 1200px) {
  /* Section 1 styles */
  .section {
    padding-bottom: 0;
  }
  .section:last-of-type {
    height: 140vh;
  }
  .section .image-div-wrapper::before {
    content: none;
  }
  .section>div.row {
    padding: 0;
    overflow: hidden;
  }
  .section .content-wrapper {
    padding: 0 3rem;
  }
  .section .content-wrapper::before {
    content: "";
    position: absolute;
    top: -15rem;
    bottom: -15rem;
    right: -15rem;
    left: -15rem;
    padding: 5rem;
    z-index: -1;
  }
  #section-1 .content-wrapper::before {
    background: linear-gradient(to left, white 88%, rgba(255, 255, 255, 0.904) 90%,
    rgba(255, 255, 255, 0.685) 93%, rgba(0, 0, 0, 0));
    transform: rotateZ(-15deg);
  }
  .section .content-wrapper .title-wrapper {
    text-align: start;
  }
  .section .title-wrapper h3.title {
    margin: 2rem 0 0;
  }
  .section .content-wrapper p {
    font-size: 14px;
    line-height: 1.4rem;
  }
  .section a {
    font-size: 0.75rem;
  }
  .section .text-wrapper p {
    font-size: 14px;
    line-height: 25px;
  }
  
}

/* Extra Large devices */
@media (min-width: 1900px) {
  
  /* Section 1 */
  .section>div {
    padding: 0;
  }
  .section:last-of-type {
    height: 150vh;
  }
  .section .content-wrapper {
    padding: 5rem;
  }
  .section .content-wrapper::before {
    top: -20rem;
    bottom: -20rem;
    right: -20rem;
    left: -20rem;
  }
  #section-1 .content-wrapper::before {
    background: linear-gradient(to left, white 88%, rgba(255, 255, 255, 0.904) 90%,
    rgba(255, 255, 255, 0.685) 93%, rgba(0, 0, 0, 0));
  }
  .section .content-wrapper p {
    font-size: 18px;
    line-height: 2rem;
  }
  .section .title-wrapper h3.title {
    margin: 3rem 0 0;
  }
  .section .section-button-wrapper {
    margin: 3rem 0;
  }
  .section a {
    font-size: 1rem;
  }
  .section .text-wrapper p {
    font-size: 20px;
    line-height: 40px;
  }
}