:root{
    --primary-900 : #ea6c03;
    --primary-900-fg : #000;
    --primary-700 : #ec9a0b;
    --primary-700-fg : #000;
    --primary-500 : #ecb817;
    --primary-500-fg : #000;
    --second-900 : #2139cd;
    --second-900-fg: #fff;
    --second-700 : #0070ff;
    --second-700-fg: #000;
    --second-500 : #0093ff;
    --second-500-fg: #000;
}

*{
    padding: 0;
    transition: all 0.2s;
    box-sizing:  inherit;
}

@font-face {
  font-family: 'Sour Gummy';
  src: url('../fonts/SourGummy-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Sour Gummy';
  src: url('../fonts/SourGummy-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Sour Gummy';
  src: url('../fonts/SourGummy-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Sour Gummy';
  src: url('../fonts/SourGummy-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

html {
  height: 100dvh;
  box-sizing: border-box;
}

body{
    width: 100%;
    min-height: 100dvh; /*crucial for sticky footer*/
    padding: 0;
    margin: 0;
    font-family: "Sour Gummy", sans-serif;

    background-image: url('../images/hintergrund_symbole_light.png');
    background-size: cover;         /* passt das Bild an die Bildschirmgröße an */
    background-repeat: no-repeat;   /* verhindert Wiederholung */
    background-position: center;    /* zentriert das Bild */
    background-attachment: fixed;

    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6, p, span {
  cursor: default;
}

h2 {
    text-align: center;
    font-size: clamp(1.2rem,4vw,1.5rem);
}

.left-sided h2 {
  text-align: left;
}

a {
    color: var(--primary-700);
    text-decoration: none;
}

a:hover {
    color: var(--second-500);
    border-color: var(--second-500);
}

.black_link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.black_link:hover {
    color: inherit;
    border-bottom: 1px solid black;
}

.content {
  width: 80%;
  margin: auto;
  padding: 0;
  flex: 1;
}

header{
  width: 100%;
  background-color: var(--primary-700);
  color: var(--primary-700-fg);
  margin: auto;
  margin-top: 0;
  position: fixed;
  top: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  z-index: 10;
  font-weight: 700;
}
.header-left{
  width: 80%;
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: inherit;
}
.header-left a,
.header-left img{
  height: 100%;
  object-fit: contain;
}

header.small{
  height: 4rem;
}

header,header.large{
  height: 9rem;
}

html body {
  padding-top: 9rem;
}

@media (max-width: 500px) {
  header,
  header.large{
    height: 6rem;
  }
  header,
  header.small{
    height: 4rem;
  }
  html body {
  padding-top: 6rem;
  }
}

/*for adjusting the in-page link because of sticky header*/
:target {
  scroll-margin-top: 24vh;
}

.paper {
  background-color: #fff;
  background-image: url('../images/squared_paper_box.svg');
  background-size: 5mm 5mm;
  image-rendering: -moz-smooth;
  padding: 1rem;
  border: 1px solid #aaa;
  box-shadow: 5px 5px 10px rgba(0,0,0,1);
  border-radius: 8px;
  margin: 4% 0;
}

.newsletter {
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: rotate(1deg);
    text-align: center;
}

.sib-form-block {
    text-align: center;
}

.input-wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 1000px) {
  .input-wrapper {
    grid-template-columns: 1fr;
  }
}

.feature-div {
    transform: rotate(-2deg);
    font-size: 1.3rem;
    cursor: default;
    padding: 0;
}

.feature {
  /* position: absolute; */
  top: 100px;
  left: 0;
  display: flex;
  align-items: center;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.feature .feature-text {
  margin-left: 20px;
  font-size: clamp(1.2rem,4vw,1.5rem);
}

.feature {
    padding-left: clamp(0.1rem,2vw,3rem);
}

.feature img{
    padding: 10px 0;
    height: clamp(4rem,15vw,6rem);
    width: auto !important;
}

#feature-img {
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

.feature-text a { color:#000; text-decoration: none;}

.nl-input {
    height: 2rem;
}

#newsletter-button {
    background-color: var(--second-500);
    border: 3px solid var(--second-500);
    color: var(--second-500-fg);
    font-weight: 700;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
}

#newsletter-button:hover {
    border: 3px solid var(--primary-700);
}

.faq {
    transform: rotate(-1deg);
    font-size: 1rem;
    font-weight: 500;
}

.faq-entry {
    margin: 10pt;
    border-bottom: 1px solid var(--second-700);
}

summary {
    cursor: pointer;
}

summary::marker{
    color: var(--second-700);
}

.faq-entry p{
    font-size: 1rem;
    font-weight: 300;
    padding-left: 1rem;
    line-height: 1.5rem;
}

.footer {
    background-color: var(--primary-700);
    width: 100%;
    height: 2rem;
}

.footer_wrapper {
    width: 80%;
    height: 100%;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footer_links {
  height: 100%;
  order: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
}
.footer_copyright {
    height: 100%;
    order: 1;
    text-align: left;
    display: flex;
    align-items: center;
}

@media (max-width: 650px) {
  .footer {
    height: 4rem;
  }
  .footer_wrapper{
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .footer_links {
    order: 1;
    justify-content: center;
  }
  .footer_copyright {
    order: 2;
    text-align: center;
    margin: 8px 0 0 0;
  }
}


.divider {
  width: 1px;
  height: 1rem;
  background-color: #000;
  border: none; /* optional */
}
