:root {
  --pink: #ffbcdf;
  --green: #b0e572;
  --primary-color: #b0e572;
  --secondary-color: #2b373d;
  --tertiary-color: #ffbcdf;
  --light-grey: #aaafb1;
  --primary-font-family: calmetta, Arial, sans-serif;
  --primary-font-size: 18px;
  --font-small: 0.8rem;
  --font-big: 1.4rem;
  --primary-line-height: 1.3;
  --secondary-line-height: 1.1;
  --main-width: 1520px;
  --font-bold: 800;
}

@font-face {
  font-family: "Calmetta";
  src: url("https://www.jobrad.org/_next/static/media/3dc2ba93e3e948b5-s.p.woff2")
    format("woff2");
  font-weight: 300;
}

@font-face {
  font-family: "Calmetta";
  src: url("https://www.jobrad.org/_next/static/media/734c5ea613fbb46e-s.p.woff2")
    format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: "Calmetta";
  src: url("https://www.jobrad.org/_next/static/media/5fa7d613e645f07c-s.p.woff2")
    format("woff2");
  font-weight: 700;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  font-family: var(--primary-font-family);
  font-size: var(--primary-font-size);
  background-color: var(--secondary-color);
  text-align: left;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

[hidden],
template {
  display: none;
}

a,
a:visited,
a:hover {
  color: inherit;
  text-decoration: underline;
}

b,
strong {
  font-weight: var(--font-bold);
}

h1,
h2 {
  font-size: var(--font-big);
  line-height: var(--secondary-line-height);
}

h1.hero {
  font-size: clamp(
    2.875rem,
    calc(2.875rem + (3.625 - 2.875) * ((100vw - 64rem) / (80 - 64))),
    3.625rem
  );
  font-weight: 300;
  max-width: 772px;
}

.caption {
  line-height: 1.5;
  font-size: clamp(
    1.1875rem,
    calc(1.1875rem + (1.125 - 1.1875) * ((100vw - 64rem) / (80 - 64))),
    1.125rem
  );
  max-width: 772px;
}

h3,
h4 {
  text-align: left;
  font-size: var(--primary-font-size);
  font-weight: var(--font-bold);
}

hr {
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

.logo {
  width: 100%;
  max-width: var(--main-width);
  margin: 0 auto;
  background-color: var(--secondary-color);
}

figure {
  margin: 0 0 10px;
}

figcaption {
  text-align: left;
  margin-top: 5px;
}
/* SVG Logo */
.fill {
  fill: var(--primary-color);
  display: block;
  height: 2em;
}

.logo img {
  width: 180px;
}

img {
  max-width: 100%;
  border: 0;
  vertical-align: middle;
  display: inline-block;
}

.red-circle {
  color: var(--tertiary-color);
}

.green-circle {
  color: var(--primary-color);
}

.circle {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--font-big);
  margin: 20px auto;
}

button,
.button {
  grid-column-gap: 0.5rem;
  border: 1px solid var(--secondary-color);
  background-color: var(--secondary-color);
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05),
    0 0 0 4px var(--secondary-color);
  color: #fff;
  text-align: center;
  white-space: nowrap;
  border-radius: 2.5rem;
  justify-content: center;
  align-items: center;
  padding: 0.625rem 1.125rem;
  font-family: calmetta, Arial, sans-serif;
  font-size: 1em;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  width: fit-content;
  height: 2em;
  cursor: pointer;
  -webkit-appearance: button;
  margin: 4em 0 2em 0;
  overflow: visible;
  text-transform: none;
}

button:hover,
.button:hover,
button:visited,
.button:visited {
  color: #fff;
  text-decoration: none;
}

button:hover,
.button:hover {
  filter: opacity(0.8);
}

/* Container */
.container {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  background-color: var(--secondary-color);
  margin: 0 auto;
  box-sizing: border-box;
  grid-row-gap: unset;
}

.main,
header {
  padding: 40px 20px;
}

.main {
  flex: 1;
}

.white-bgr {
  background-color: #fff;
}

.primary-bgr {
  background-color: var(--primary-color);
}

.secondary-bgr {
  background-color: var(--secondary-color);
}

.tertiary-bgr {
  background-color: var(--tertiary-color);
}
.primary-fc {
  color: var(--primary-color);
}

.secondary-fc {
  color: var(--secondary-color);
}

.tertiary-fc {
  color: var(--tertiary-color);
}

.white-fc {
  color: #fff;
}

.content {
  max-width: var(--main-width);
  margin: 0 auto;
}

/* Abschnitt Footer */
footer {
  background-color: var(--secondary-color);

  width: 100%;
  max-width: var(--main-width);
  margin: 0 auto;
  padding: 40px 0 0;
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-links {
  color: var(--light-grey);
  display: flex;
  justify-content: flex-end;
  background-color: var(--secondary-color);
  width: 100%;
  max-width: var(--main-width);
  margin: 0 auto;
}

.footer-links a {
  text-decoration: none;
  color: var(--light-grey);
  font-size: 1rem;
  padding-left: 20px;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
}

.footer-disclaimer {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-small);

  width: 100%;
}

.footer-claim {
  font-size: 2em;
  text-align: right;
}

/* Tablet Ansicht */

@media only screen and (max-width: 1520px) {
  .footer-disclaimer,
  .footer-links p {
    padding: 0 20px;
  }

  .footer-links p a {
    padding: unset;
  }
}

/* Mobile Ansicht */
@media only screen and (max-width: 480px) {
  .logo img {
    width: 150px;
    padding: 20px;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-claim {
    display: none;
  }
}

/* Colours */
.page-primary-color {
  color: var(--page-primary);
}

.page-primary-color .fill {
  color: var(--page-primary);
  fill: var(--page-primary);
}

.bgr-anthra {
  background-color: var(--secondary-color);
}

.bgr-green {
  background-color: var(--primary-color);
}

.bgr-pink {
  background-color: var(--tertiary-color);
}

.bgr-cta {
  background-color: var(--cta-color);
}

.bgr-lgr {
  background-color: var(--light-grey);
}

.bgr-white {
  background-color: #fff;
}
/* just for alerts */

.bgr-alert {
  background-color: rgb(255, 0, 0);
}

.txt-green {
  color: var(--primary-color);
}

.txt-pink {
  color: var(--tertiary-color);
}

.txt-white {
  color: #fff;
}

.txt-anthra {
  color: var(--secondary-color);
}

/* Sizes */
.small-font,
small {
  font-size: var(--font-small);
}

sub,
sup {
  vertical-align: baseline;
  font-size: 0.8em;
  line-height: 0;
  position: relative;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}
#loading-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}
#loading {
  border: 8px solid #f3f3f3;
  /* Light grey */
  border-top: 8px solid #3498db;
  /* Blue */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
