@font-face {
  font-family: "open-sans";
  src: url("assets/font/open-sans-v40-latin-regular.woff2") format("woff2");
}

@font-face {
  font-family: "comingsoon";
  src: url("assets/font/comingsoon-regular.woff2") format("woff2");
}

:root {
  --colourBlue: #2B8799;
  --colourWhite: #F8F0E5;
  --colourGreen: #69B53F;
  --colourGreenBlue: #2ab9a5;
}



/* Layout */

* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #F8F8F8;
  background-image: linear-gradient(to right, lightgray 1px, transparent 1px), linear-gradient(to bottom, lightgray 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center top;
}

header {
  width: 100%;
  padding: 22px;
}

nav {
  width: 100%;
  max-width: 1400px;
  background-color: var(--colourWhite);
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

main {
  width: 100%;
  max-width: 1400px;
  flex: 1;
  background-color: var(--colourWhite);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

footer {
  width: 100%;
  max-width: 1400px;
  flex: 0;
  padding: 16px 36px 16px 36px;
}

section {
  padding: 36px;
}

.highlightBox {
  padding: 26px;
  background-image: linear-gradient(150deg, var(--colourGreen) 0%, var(--colourGreenBlue) 100%);
  border-radius: 16px;
}



/* Element */

header > #brand {
  width: fit-content;
  transform: rotate(-3deg);
  margin-right: 70px;
}

header > #brand::after {
  height: 60px;
  width: 60px;
  content: "";
  position: absolute;
  background-image: url('assets/img/DrisselNetz_Logo.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  top: 3%;
  left: 102%;
  transform: rotate(8deg);
}

header > #brand > h1 {
  line-height: 54px;
  word-break: break-all;
}

nav > ul {
  display: flex;
  flex-wrap: wrap;
}

nav > ul > li {
  list-style-type: none;
  height: fit-content;
  display: block;
}

nav > ul > li > .button {
  padding-top: 16px;
  padding-bottom: 16px;
  background: none;
}

nav > ul > li > .button.button-active::after {
  display: block;
  width: 100%;
  height: 6px;
  content: "";
  background-image: linear-gradient(150deg, var(--colourGreen) 0%, var(--colourGreenBlue) 100%);
  border-radius: 6px;
  position: relative;
}

nav > ul > li:first-child > .button {
  border-top-left-radius: 30px;
}

nav > ul > li:last-child > .button {
  border-top-right-radius: 30px;
}

input, select {
  padding: 16px;
  border-radius: 6px;
  border: 2px solid var(--colourBlue);
}

input[type=checkbox] {
  width: 40px;
  height: 40px;
}

input:disabled {
	background-color: #FFFFFF86;
}

a {
  text-decoration: none;
}

label:has( input[type=checkbox] ) {
  display: flex;
  gap: 22px;
}

hr {
  background-color: var(--colourBlue);
  border-color: var(--colourBlue);
}

.button {
  display: block;
  padding: 36px;
  text-decoration: none;
  background-color: var(--colourBlue);
}

#imprint {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

#imprint > li {
  list-style-type: none;
}



/* Fonts */

h1, h2, h3, h4, h5, h6, a, p, label, input, select {
  font-family: "open-sans", sans-serif;
}

h1 { 
  font-family: "comingsoon", sans-serif;
  font-size: 56px;
  font-weight: bold;
  color: var(--colourBlue);
}

h2, nav > ul > li > .button { font-size: 42px; font-weight: bold; }

a, p, label, input, select, .button {
  font-size: 30px;
}

p.text-small, a.text-small {
  font-size: 24px;
}

.button, a {  color: var(--colourBlue);  }



/* Animations */

.button:hover {
  background-color: var(--colourGreenBlue);
  color: var(--colourWhite);
  transition: 0.6s;
}



/* Spacing */

header {
  margin-bottom: 30px;
}

nav > ul > li > .button.button-active::after {
  margin-top: 10px;
}

h2, p {
  margin-bottom: 22px;
}

h2:last-child, p:last-child {
  margin-bottom: 0px;
}