:root {
  /* Custom Colors */
  /* -------------------------------------------------------- */
  --primary-color: #00324a;
  --secondary-color: #4d8bff;

  /* Custom Text Colors */
  /* -------------------------------------------------------- */
  --text-color-value: #000;
  --text-on-color-value: #000;
  --button-text-color-value: #fff;

  /* Custom Background Colors */
  /* -------------------------------------------------------- */
  --primary-background-color: #ffffff;
  --secondary-background-color: #ebebeb;
  --surface-color: #ffffff;
  --background-color: #ffffff;

  /* Custom Fonts */
  /* -------------------------------------------------------- */
  --primary-font-family: Roboto, RobotoFallback, "Noto Kufi Arabic", Helvetica,
    Arial, sans-serif;

  /* Custom Sizes */
  /* -------------------------------------------------------- */
  --header-top-padding: 10px;
  --nav-side-padding: 50px;
  --size-top-container: 8em;
  --impressum-height: 43em;
  --dsgvo-height: 43em;
}

/* Internal CSS */
/* -------------------------------------------------------- */
/* -------------------------------------------------------- */

/* Layout */
/* -------------------------------------------------------- */
body {
  margin: 0;
  padding: 0;
  font-family: var(--primary-font-family);
  font-size: 16px;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex-grow: 1;
  text-align: center;
  text-align: -moz-center;
  text-align: -webkit-center;
}

.page-content {
  text-align: left;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: var(--primary-background-color);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  color: var(--primary-color);
  padding: 8px 16px;
}

.page-title {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  column-gap: 16px;
  margin-bottom: 16px;

  img {
    display: block;
    max-width: 150px;
    max-height: 80px;
    width: auto;
    height: auto;
  }

  .title-container {
    overflow-wrap: anywhere;
    hyphens: manual;
  }
}

.main-footer {
  margin-top: 32px;
  padding: 32px 16px;
  border-top: 1px solid rgba(191, 204, 255, 0.6); /* used secondary-color as rgb */
}

.page-footer {
  max-width: 1200px;
  margin: auto;

  ul {
    padding: 0;
    margin: 0;
    display: flex;
    column-gap: 16px;
  }

  li {
    list-style-type: none;
  }

  a,
  a:active,
  a:visited {
    color: var(--secondary-color);
    text-decoration: none;
  }

  a:hover {
    text-decoration: underline;
  }
}

.cookie-banner {
  display: flex;
  position: fixed;
  z-index: 2;
  bottom: 0;
  background: var(--secondary-color);
  padding: 16px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  width: -moz-available;
  width: -webkit-fill-available;
  width: fill-available;

  button {
    background-color: var(--primary-color);
    color: var(--primary-background-color);
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
  }
}

.cookie-accepted {
  visibility: hidden;
}

/* Media Query */
/* -------------------------------------------------------- */
.page-content {
  padding: 5.34em calc(6.67em + 20px);
  max-width: 1000px;
}

@media (max-width: 1200px) {
  .page-content {
    padding: 3.34em 2.44em;
  }
}

@media (max-width: 921px) {
  .page-content {
    padding: 1.5em 2.14em;
  }
}

@media (max-width: 544px) {
  .page-content {
    padding: 1.5em 1em;
  }
}
