@font-face {
    font-family: "Lexend Deca";
    src: url("fonts/Lexend_Deca/LexendDeca-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 400 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-dark-blue: #1C1F60;
    --color-light-blue: #AEB2DA;
    --color-green: #ADE1BC;
    --color-light: #ffffff;
    --color-dark: #000000;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-light-blue);
    color: var(--color-dark);
    line-height: 1.6;
	font-family: "Lexend Deca", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
	margin: 1rem 0;
}

p {
	margin-bottom: 0.5rem;
}

.site-header {
	background: var(--color-light);
	border-bottom: 1px solid var(--color-green);
}

.logo-darkmode {
	display: none;
}

.container {
    max-width: 900px;
    padding: 0 1.5rem;
    margin: 0 auto;
}

.section {
    padding: 4rem 0;
}

.section-alt {
    padding-top: 0;
}

.site-header {
    padding: 2rem 0;
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-subtitle {
    margin: 2rem 0 1rem;
}

.highlight-element,
.highlight-element-light {
    position: relative;
	font-weight: bold;
	z-index: 0;
}

.highlight-element::before,
.highlight-element-light::before {
    content: "";
    position: absolute;
    left: 0.45em;
    top: 0.45em;
    width: 100%;
    height: 85%;
    background-color: var(--color-green);
	z-index: -1;
}

.highlight-element::before {
	opacity: 0.75;
}

ul, ol {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
}

ul li, ol li {
    margin-bottom: 0.5rem;
}

ul ul li {
    margin-bottom: 0.25rem;
}

.site-footer {
    background-color: var(--color-dark-blue);
    padding: 3rem 0;
    color: var(--color-light);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-image img {
	display: block;
}

.footer-links {
	text-align: center;
	padding: 10px;
	font-size: 60%;
}

.footer-links a {
  margin: 0 10px;
}

@media (prefers-color-scheme: dark) {
	body {
	    background-color: var(--color-dark-blue);
	    color: var(--color-light);
	}

	.site-header {
		background: var(--color-dark-blue);
	}

	.logo-lightmode {
		display: none;
	}
	
	.logo-darkmode {
		display: initial;
	}

	.highlight-element-light::before {
		opacity: 0.75;
	}

	.highlight-element::before {
		opacity: 1;
	}
	
	.site-footer {
	    background-color: var(--color-light-blue);
	    color: var(--color-dark);
	}
}

.grid {
  display: grid;
  column-gap: 7.5rem;
}

@media (min-width: 992px) {

	.site-header {
		position: sticky;
		top: 0;
		z-index: 1;
	}

  .grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;

    grid-template-areas:
      "titleA   titleB"
      "subA1    subB1"
      "listA1   listB1"
      "subA2    subB2"
      "listA2   listB2";
  }

  .title-projekt {
    grid-area: titleA;
  }

  .title-projekt-themen {
    grid-area: subA1;
  }

  .list-projekt-themen {
    grid-area: listA1;
  }

  .sub-projekt-leistung {
    grid-area: subA2;
  }

  .list-projekt-leistung {
    grid-area: listA2;
  }

  .title-prozess {
    grid-area: titleB;
  }

  .title-prozess-themen {
    grid-area: subB1;
  }

  .list-prozess-themen {
    grid-area: listB1;
  }

  .title-prozess-leistung {
    grid-area: subB2;
  }

  .list-prozess-leistung {
    grid-area: listB2;
  }


  .footer-content {
    flex-direction: row;
	align-items: center;
  }
}