/* reset css */
/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* figtree-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/Figtree/figtree-v5-latin-regular.woff2") format("woff2"),
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url("./fonts/Figtree/figtree-v5-latin-regular.ttf") format("truetype");
  /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* figtree-700 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Figtree";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/Figtree/figtree-v5-latin-700.woff2") format("woff2"),
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url("./fonts/Figtree/figtree-v5-latin-700.ttf") format("truetype");
  /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

:root {
  --section-spacing: 3.5rem;
  --clr-black: #323232;
  --clr-white: #ffffff;
  --clr-primary: rgb(0, 119, 139);
  --clr-primary-light: rgb(203, 227, 232);
  --clr-secondary: rgb(255, 152, 0);
  --clr-blue: #007f95;
  --clr-text-color: rgb(34, 34, 35);
  --clr-bg-color: rgba(255, 152, 0, 0.1);
  --clr-grey: rgb(191, 184, 168);
  --clr-light-grey: #f2f2f2;
  --clr-green: #467f5b;
  --clr-red: #d12f17;
  --clr-dark-grey: #4d4d4d;
  --clr-yellow: rgb(255, 191, 54);
  --fs-200: 0.5rem;
  --fs-300: 0.75rem;
  --fs-400: 1rem;
  --fs-500: 1.125rem;
  --fs-600: 1.375rem;
  --fs-700: 2rem;
  --fs-800: 2.25rem;
  --box-shadow: 0 0.5rem 1.5rem rgb(0 0 0 / 0.15);
  --border-radius: 15px;
}

@media only screen and (min-width: 40em) {
  :root {
    --fs-200: 0.5rem;
    --fs-300: 0.75rem;
    --fs-400: 1rem;
    --fs-500: 1.125rem;
    --fs-600: 1.375rem;
    --fs-700: 2.25rem;
    --fs-800: 3.75rem;
  }
}

h1,
h2,
h3,
h4,
legend {
  --font-weight: 700;
  font-weight: var(--font-weight);
  font-stretch: 100%;
  line-height: 1.1;
  color: var(--clr-primary);
  margin-block-end: 0.75em;
}

h1,
.h1 {
  font-size: var(--fs-700);
  margin-block: 3rem !important;
  color: var(--clr-black);
}

* {
  box-sizing: border-box;
}

body {
  --font-weight: 400;
  margin: 0;
  padding: 0;
  font-size: var(--fs-500);
  font-weight: var(--font-weight);
  font-family: "Figtree", sans-serif;
  color: var(--clr-text-color);
  letter-spacing: -0.5px;
  line-height: 1.6;
}

.banner-image {
  min-height: 300px;
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: inset(0 round 0 0 20vw 0);
}

/** 
*
* Login View
*
**/

.kc-form-image {
  width: 288px;
  max-width: 100%;
  height: auto;
}

.form-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100% - 2rem), 1fr));
  gap: 1rem;
  margin-block-end: 2rem;
}

.form-field {
  position: relative;
  display: grid;
  grid-template-rows: min-content auto;
  gap: 0.5rem;
  align-items: start;
  background-color: var(--clr-light-grey);
}

.form-field input:not([type="checkbox"]):not([type="radio"]),
.form-field select {
  background-color: var(--clr-light-grey);
  border: 1px solid var(--clr-black);
  padding: 0.75rem 1.25rem;
  width: 100%;
  font-size: var(--fs-600);
  border-radius: 5px;

  &:focus-visible {
    outline: 1px solid var(--clr-black);
  }
}

.form-field input[type="checkbox"],
.form-field input[type="radio"] {
  accent-color: var(--clr-primary);
}

.form-field input[type="radio"] {
  width: 32px;
  height: 32px;
}

.form-field input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.form-field--full-width {
  grid-column: 1 / -1;
}

.form-field--row {
  display: flex;
  align-items: center;
}

.form-field--auth {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;

  #Einleitung {
    grid-column: 1 / -1;
  }
}

.form-field__label {
  user-select: none;
  font-weight: 400;
  font-size: var(--fs-400);
  background-color: var(--clr-light-grey);
  position: absolute;
  left: 1em;
  top: -0.75rem;
  padding: 0 0.3em;
}

.form-field__error-message {
  color: red;
  font-size: var(--fs-400);

  ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  li {
    font-size: var(--fs-400);
  }
}

.form-field--error input:not([type="checkbox"]):not([type="radio"]),
.form-field--error select {
  border-color: red;
}

.login-settings a,
.login-settings a:visited {
  font-size: var(--fs-400);
  font-weight: 400;
  color: #000000;
  text-decoration: none;
}

.login-settings a:hover {
  font-size: var(--fs-400);
  color: #000000;
  text-decoration: underline;
}

#kc-form-buttons {
  display: flex;
  justify-content: flex-end;
}

#kc-form-options {
  font-size: var(--fs-400);
}

.kc-button {
  color: var(--clr-white);
  background-color: var(--clr-black);
  border: 1px solid var(--clr-black);
  padding: 0.5rem 1.5rem;
  font-size: var(--fs-600);
  border-radius: var(--border-radius);
  font-weight: 600;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.kc-button:focus-visible {
  outline-offset: 4px;
  outline: 4px solid var(--clr-primary);
}

.kc-form-buttons #kc-login:focus-visible {
  outline-offset: 4px;
  outline: 2px solid var(--clr-primary);
}

.header {
  display: flex;
  padding: 2rem 1rem;
  position: relative;
}

.header__logo {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.header::after {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 1920 104'%3E%3Cpath d='M0 0h1920v104H0z' style='fill:none'/%3E%3Cpath d='M0 0h1905.77v104H0z' style='fill:url(%23a)' transform='scale(1.00747 1)'/%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' x2='1' y1='0' y2='0' gradientTransform='matrix(1905.77 104 -103.229 1920 0 0)' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' style='stop-color:%23b0dee6;stop-opacity:1'/%3E%3Cstop offset='.1' style='stop-color:%2383c2cc;stop-opacity:1'/%3E%3Cstop offset='.87' style='stop-color:%23adc2ac;stop-opacity:1'/%3E%3Cstop offset='.94' style='stop-color:%239abcad;stop-opacity:1'/%3E%3Cstop offset='1' style='stop-color:%2352a8b3;stop-opacity:1'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");
  background-size: cover;
  content: "";
  height: 100%;
  left: 0;
  opacity: 0.6;
  position: absolute;
  top: 0;
  transition: opacity 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.27);
  width: 100%;
  z-index: -1;
}

.container,
.footer__container {
  width: min(100% - 2rem, 1240px);
  margin-inline: auto;
}

.container {
  width: min(100% - 2rem, 1000px);
  margin-block: 5rem 8rem;
  background-color: var(--clr-light-grey);
  padding: 2rem;
  border-radius: 10px;
}

@media only screen and (min-width: 65em) {
  .container {
    padding: 4rem;
  }
}

.footer {
  color: var(--clr-white);
  background-color: var(--clr-blue);
  overflow: hidden;
}

.footer a {
  color: var(--clr-white);
}

.footer__container {
  /* @extend .container !optional; */
}

.footer__copyright {
  font-size: var(--fs-400);
}

.footer__links {
  display: flex;
  justify-content: center;
  margin-block-end: 2rem;
}

.footer__links-list {
  text-align: center;
  margin-block: auto;
  display: inline-grid;
  list-style: none;
  gap: 1em;
  padding: 0;
}

.footer__links-list-link {
  text-decoration: none;
  font-weight: 700;
  font-size: var(--fs-500);
}

.footer__links-list-link:hover,
.footer__links-list-link:focus {
  text-decoration: underline;
}

.footer__social-media {
  display: flex;
  justify-content: center;
  margin-block: 2rem;
  z-index: 1;
}

.footer__social-media-list {
  display: flex;
  list-style: none;
  gap: 1em;
  padding: 0;
  text-align: center;
}

.footer__social-media-link svg {
  fill: var(--clr-white);
  height: 48px;
  width: 48px;
}

.footer__sub-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  z-index: 1;
}

.footer__sub-footer-list {
  --list-spacing: 0.75rem;
  display: flex;
  gap: var(--list-spacing);
  list-style: none;
  padding: 0;
}

.footer__sub-footer-list-item {
  display: inline-flex;
  align-items: center;
  gap: var(--list-spacing);
}

.footer__sub-footer-link {
  text-decoration: none;
  font-weight: 700;
}

.footer__sub-footer-link:hover,
.footer__sub-footer-link:focus {
  text-decoration: underline;
}

.footer__container {
  display: flex;
  position: relative;
  flex-direction: column;
  margin: auto;
}

.footer .gradient-shape {
  position: absolute;
  height: 100%;
  transform-origin: center;
  aspect-ratio: 1/1;
  background: linear-gradient(
    12deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}

.footer .gradient-shape.leaf {
  scale: 3;
  transform: translate(20%);
  opacity: 0.2;
  right: 0;
}

.footer .gradient-shape.circle {
  scale: 2;
  transform: translate(27%, -27%);
  opacity: 0.4;
  right: 0;
}

.footer .circle {
  border-radius: 100rem;
}

.footer .leaf {
  border-bottom-left-radius: 50%;
  border-top-right-radius: 50%;
}

@media only screen and (min-width: 40em) {
  .footer__container {
    margin-block: 0;
    padding-block: 4rem 2rem;
  }

  .footer__links-list {
    text-align: start;
    grid-template-columns: repeat(2, auto);
    gap: 1rem 4rem;
  }

  .footer__sub-footer {
    flex-direction: row;
  }

  .footer .gradient-shape.leaf {
    scale: 3;
    transform: translate(25%, -27%);
  }

  .footer .gradient-shape.circle {
    transform: translate(5%, 23%);
    scale: 7;
  }
}

.sr-only {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}

.exclusive {
  padding: 1rem;
  background-color: var(--clr-light-grey);
  border-radius: var(--border-radius);
  margin-block: 7.5rem;
}

.exclusive h2 {
  font-size: var(--fs-700);
}

.exclusive__list {
  list-style: none;
  line-height: 1.4;
}

.exclusive__list-item {
  font-size: var(--fs-600);
  position: relative;
  margin-block-end: 0.75em;
}

.exclusive__list-item::before {
  content: "";
  position: absolute;
  display: inline-block;
  background-color: var(--clr-secondary);
  width: 5px;
  height: 24px;
  transform: rotate(45deg) translateY(-50%);
  border-top-left-radius: 1000px;
  border-top-right-radius: 1000px;
  left: -26px;
  top: calc(50% - 4px);
}

.exclusive__list-item::after {
  content: "";
  position: absolute;
  display: inline-block;
  background-color: var(--clr-secondary);
  width: 5px;
  height: 14px;
  transform: rotate(-45deg) translateY(-50%);
  border-top-left-radius: 1000px;
  border-top-right-radius: 1000px;
  left: -24px;
  top: 50%;
}

@media only screen and (min-width: 40em) {
  .exclusive {
    padding: 2.5rem;
  }
}

@media only screen and (min-width: 65em) {
  .exclusive {
    padding: 5rem;
  }
}

.back-button {
  background-color: var(--clr-white);
  border: 0;
  box-shadow: none;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1.25rem;
  text-decoration: none;
}

.back-button:visited {
  color: initial;
}

#social-doccheck {
    background-color: #c03;
    height: 54px;
    color: white;
    padding: 0 1.5rem 0 0.5rem;
    font-size: var(--fs-600);
    border-radius: var(--border-radius);
    font-weight: 600;
    display: inline-flex;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    align-items: center;
}

.dc-button__img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    object-position: center;
}

#kc-social-providers ul {
    padding: 0;
}

#kc-social-providers {
    text-align: center;
}
