 html {
  scroll-behavior: smooth;
  scroll-padding-top: 81px;
}

.legal-section {
  padding: 10px 80px 40px;
}

.legal-title {
  /* Headline 1/🖥 Desktop */
  font-family: 'proxima-bold', 'Proxima Nova', Arial;
  font-style: normal;
  font-weight: 800;
  font-size: 48px;
  line-height: 120%;
  /* identical to box height, or 58px */
  text-align: center;
  letter-spacing: -0.02em;
  color: #1D2023;
  margin-bottom: 40px;
}

.legal-dl-subtext {
  color: var(--neutral-7006-b-7184, #6B7184);
  font-family:  'proxima-regular', 'Proxima Nova', arial;
  font-size: 16px;
  margin-top: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 24px */
  max-width: 760px;
}

/* legal card: main */
/*================================================*/

.legal-content {
    max-width: 1064px;
    width: 100%;
    margin: 0 auto;
}

.legal-content h1 {
  font-size: 32px;
  text-align: center;
  color: var(--primary-dark-color);
}

.legal-accordion {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  max-width: 1064px;
  width: 100%;
  /* Grey/000 */
  background: #FFFFFF;
  /* Grey/300 */
  border: 1px solid #D7D9E5;
  border-radius: 12px;
  margin: 16px 0;
}



/* legal card: main title */
/*================================================*/

/* checkbox tgg-title*/
input.tgg-title {
  appearance: unset;
  all:unset;
}

.legal-articles {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.legal-accordion-title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}
.legal-accordion-title label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  min-height: 23px;
  margin-bottom: 1rem !important;
}

.legal-accordion-title h3 {
  font-family: 'proxima-semibold', 'proxima-bold', 'Proxima Nova', Arial;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 120%;
  /* or 19px */
  text-align: left;
  /* Grey/700 */
  color: #000000;
  margin: 0;
}

.legal-accordion-title span.download-button {
  margin-left: auto;
  display: inline-block;
  align-self: center;  
}

.legal-accordion-title span.download-button.dl-2 { 
  margin-left: 16px;
}

/* legal card: main content */
/*================================================*/

.legal-accordion-content {
  color: #000;
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s ease-in-out;
}


/* Effects */
/*================================================*/

/* main title, accordion title effects */

.legal-accordion-title:hover h3,
.legal-accordion .tgg-title:checked ~ .legal-accordion-title h3
  color: #684DCC;
}

.legal-accordion .tgg-title:checked + div>label>span {
  will-change: transform;
  transform: rotate(180deg);
}

/* main content, acordion text effect */

.legal-accordion .tgg-title:checked ~ .legal-accordion-content{
  will-change: max-height;
  max-height: 200px;
  margin-top: 16px;
}

.legal-accordion-content {
  font-family: 'proxima-regular', 'Proxima Nova', arial;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #000000;
}

.legal-text-online {
width: 100%;
}

.dl-button-box {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}


@media screen and (max-width: 1024px) {
  .legal-section {
  padding: 40px 24px;
}
  .legal-accordion-title h3 {
     text-align: left;
  }
  .legal-title {
     font-size: 38px; 
  }
  .legal-accordion .tgg-title:checked~.legal-accordion-content {
    max-height: 1000px;
  }
  .download-button {
  margin-top: 0.3rem;
  }
}

@media screen and (max-width: 680px) {
  .legal-accordion-title {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
   }
      .legal-accordion-title h3 {
        margin-bottom: 0.5rem;
    }
  .dl-button-box {
  flex-direction: row;
  }
  .legal-accordion-title span.download-button, 
  .legal-accordion-title span.download-button.dl-2 {
  margin-left: 0;
  }
 .legal-accordion-title span.download-button {
  align-self: flex-start;
   margin-right: 1rem;
  }
}


@media screen and (max-width: 540px) {
  .legal-accordion {
  padding: 16px;
  }
  .legal-accordion .tgg-title:checked~.legal-accordion-title h3, .legal-accordion-title h3 {
  font-size: 18px;
  }
      .legal-section {
        padding: 20px 24px;
    }
 /* #legal-2023-anchor > div > article > div > div.dl-button-box > span > a > img {
    max-width: 130px !important;
  }*/
} 
