.underpageheader {
  width: 100%;
  height: calc(100vh + 150px);
  display: flex;
  position: relative;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.headerdivider {
  width: 100%;
  margin-bottom: -10px;
  z-index: 1;
  position: absolute;
  bottom: 0;
}

.underpageheadertext {
  width: 850px;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.underpageheadertext h1 {
  text-align: center;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
}

.underpageheadertext h2 {
  text-align: center;
  font-size: 50px;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.1;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #ffffff;
}

.underpageheadertext p {
  text-align: center;
  font-weight: 400;
  color: #ffffff;
}

.underpageheadertext button {
  margin: 50px 0px 0px 0px;
}

.underpageheadertext .abutton {
  margin: 50px 0px 0px 0px;
}

.underpageSection1 {
  background-image: url(/assets/bakgrund_animacare_former.webp);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  width: auto;
  display: flex;
  padding: 100px 0px;
  flex-direction: row;
  position: relative;
  align-items: center;
  height: auto;
}

.underpageSection1 h2 {
  margin-bottom: 10px;
  font-size: 35px;
}

.underpageSection1 p {
  margin-bottom: 10px;
  font-size: 18px;
}

.underpageSection1-content {
  width: 80%;
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: start;
  gap: 50px;
  margin: auto;
}

.underpageSection1-left {
  width: 50%;
  border-radius: 10px;
  height: auto;
  padding: 30px;
  background-color: #ffffff;
}

.underpageSection1-right {
  width: 50%;
  border-radius: 10px;
  height: auto;
  padding: 20px;
}

.underpageSection1-left button {
  margin: 30px 0px 0px 0px;
}

.underpageSection1-left .abutton {
  margin: 30px 0px 0px 0px;
}

.underpageSection1-content ul {
  list-style: none;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  margin: 30px 0px;
  padding: 0;
}

.underpageSection1-content li {
  position: relative;
  margin: 10px 0px;
  padding-left: 20px;
}

.underpageSection1-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #5b98ba;
}

.underpageSection2 {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
}

.underpageSection2-left {
  width: 50%;
  height: 600px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.underpageSection2-right {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.underpageSection2-right-text {
  width: 100%;
  height: 100%;
  padding: 50px;
}

.underpageSection2-right-text h2 {
  margin-bottom: 10px;
}

.underpageSection2-right-text p {
  margin-bottom: 20px;
}

.underpageSection2-right-text button {
  margin: 30px 0px 0px 0px;
}

.underpageSection2-right-text .abutton {
  margin: 30px 0px 0px 0px;
}

.underpageSection2-2 {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
}

.underpageSection2-2-left {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.underpageSection2-2-right {
  width: 50%;
  height: 600px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.underpageSection2-2-left-text {
  width: 100%;
  height: 100%;
  padding: 50px;
}

.underpageSection2-2-left-text h2 {
  margin-bottom: 10px;
}

.underpageSection2-2-left-text p {
  margin-bottom: 20px;
}

.underpageSection2-2-left-text button {
  margin: 30px 0px 0px 0px;
}

.underpageSection2-2-left-text .abutton {
  margin: 30px 0px 0px 0px;
}

.underpageSection3 {
  width: 100%;
  height: auto;
  display: flex;
  background-color: #fbeee5;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 50px 0px;
}

.underpageSection3-top {
  width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.underpageSection3-bottom {
  width: 80%;
  display: flex;
  padding: 50px 0px;
  flex-direction: row;
  justify-content: space-evenly;
  gap: 50px;
  height: auto;
}

.underpageSection3-bottom-box {
  width: 350px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  border-radius: 10px;
  background-color: white;
}

.underpageSection3-bottom-box h3 {
  margin-bottom: 10px;
  font-size: 23px;
  color: #ffffff;
  font-weight: 600;
}

.underpageSection3-bottom-box p {
  font-size: 16px;
  color: #ffffff;
}

.underpageSection3-bottom-box button {
  margin: 20px 0px 0px 0px;
}

.underpageSection3-bottom-box .abutton {
  margin: 20px 0px 0px 0px;
}

/*FAQ*/

.faqcontainer {
  width: 100%;
  height: auto;
  background-image: url(/assets/bakgrund_animacare_former_03.webp);
  background-position: top;
  background-repeat: no-repeat;
  background-color: #fbeee5;
  padding: 100px 0px 0px 0px;
}

.faqcontainerheader {
  margin: auto;
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background-color: #5b98ba;
  color: #ffffff;
  font-size: 35px;
  padding: 20px 10px 0px 10px;
  text-align: center;
}

.faqcontainertext {
  margin: auto;
  width: 100%;
  background-color: #5b98ba;
  color: #ffffff;
  font-size: 20px;
  padding: 5px 10px 20px 10px;
  margin-bottom: 50px;
  text-align: center;
}

.faqcontent {
  width: 1200px;
  height: auto;
  margin: auto;
  border-radius: 10px;
  display: flex;
  padding-bottom: 50px;
  flex-direction: column;
  justify-content: center;
  background-color: #ffffff;
}

.faqcontent-box {
  width: 100%;
  padding: 30px 50px;
}

.faqcontent-box i {
  font-size: 25px;
  color: #5b98ba;
}

@media (max-width: 1320px) {
  .underpageheader {
    height: auto;
    padding: 150px 0px 100px 0px;
  }

  .headerdivider {
    display: none;
  }

  .underpageheadertext {
    width: 90%;
    margin-top: 50px;
  }

  .underpageheadertext h2 {
    font-size: 42px;
  }

  .underpageheadertext p {
    font-size: 16px;
    font-weight: 400;
  }

  .underpageSection1 {
    padding: 50px 0px;
    flex-direction: column;
  }

  .underpageSection1-content {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }

  .underpageSection1-left {
    width: 90%;
  }

  .underpageSection1-right {
    width: 90%;
    padding: 0px;
  }

  .underpageSection2 {
    flex-direction: column-reverse;
  }

  .underpageSection2-left {
    width: 100%;
    height: 400px;
  }

  .underpageSection2-right {
    width: 100%;
    margin: 50px 0px;
  }

  .underpageSection2-right-text {
    width: 90%;
    height: 100%;
    padding: 0px;
  }

  .underpageSection2-2 {
    flex-direction: column;
  }

  .underpageSection2-2-right {
    width: 100%;
    height: 400px;
  }

  .underpageSection2-2-left {
    width: 100%;
    margin: 50px 0px;
  }

  .underpageSection2-2-left-text {
    width: 90%;
    height: 100%;
    padding: 0px;
  }

  .underpageSection3-top {
    width: 90%;
  }

  .underpageSection3 {
    text-align: center;
  }

  .underpageSection3-bottom {
    width: 90%;
    flex-direction: column;
    gap: 30px;
  }

  .underpageSection3-bottom-box {
    width: 100%;
    padding: 30px 15px;
  }

  .underpageSection3-bottom-box button {
    margin: 30px 0px 0px 0px;
  }

  .underpageSection3-bottom-box .abutton {
    margin: 30px 0px 0px 0px;
  }

  /*FAQ*/

  .faqcontainer {
    padding: 50px 0px 50px 0px;
  }

  .faqcontainerheader {
    font-size: 25px;
  }

  .faqcontainertext {
    font-size: 18px;
  }

  .faqcontent {
    width: 90%;
  }

  .faqcontent-box {
    padding: 20px 20px;
  }

  .faqcontent-box h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 2px !important;
    margin-bottom: 20px;
    letter-spacing: 0px !important;
  }

  .faqcontent-box p {
    font-size: 16px;
  }

  .faqcontent-box i {
    font-size: 20px;
  }
}
