*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style-type: none;
}

/*-------------------------------------------------- General Styles */

/*------------------------------ Website Theme */

:root {
  --clr-grey: #e1e1e1c9;
  --clr-blue: #2171f2;

  --clr-white: #fff;
  --clr-black: #1d1d1d;

  --max-width: 120rem;

  /*------------------------------ Typography */

  --font-size-xl: 3.5rem;
  --font-size-l: 3rem;
  --font-size-m: 2.5rem;
  --font-size-s: 2rem;
}

html {
  /* font-size: 10px */

  /* 10px /16px = 0.625 = 62.5% */
  /* Percentage of user's browser font-size setting */
  font-size: 62.5%;
  /* Verhindert = Transition x (horizontal),
das elemente horizontal weiter laufen! 
WICHTIG: Ab und zu muss die Funktion auch direkt im html hinzugefügt werden!*/
  overflow-x: hidden;
  /* Scrolling Effekt */
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
}

/* ------------------------------------- reusable styles ----- */

.overall-layout {
  max-width: var(--max-width);
  margin: auto;
  padding: 0rem 1rem;
}

/* ------------------------------------- buttons ----- */

.btn:link,
.btn:visited {
  display: inline-block;
  background: none;
  text-transform: uppercase;
  font-weight: bold;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  margin-top: 2rem;
  color: var(--clr-blue);
  border: 1.5px solid var(--clr-blue);
  transition: all 0.3s;
  border-radius: 5px;
}

.btn:hover,
.btn:active {
  background: var(--clr-blue);
  color: var(--clr-white);
}

.btn-form {
  justify-self: start;
  background: none;
  text-transform: uppercase;
  font-weight: bold;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  margin-top: 2rem;
  color: var(--clr-blue);
  border: 1.5px solid var(--clr-blue);
  transition: all 0.3s;
  border-radius: 5px;
}

.btn-form:hover,
.btn-form:active {
  background: var(--clr-blue);
  color: var(--clr-white);
}

.main-nav-link:link,
.main-nav-link:visited {
  text-transform: uppercase;
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--clr-black);
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: var(--clr-blue);
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: var(--clr-black);
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: var(--clr-blue);
}

/* ------------------------------------- typography ----- */

.heading {
  padding: 0 4rem;
  margin-bottom: 4rem;
}

.heading h2 {
  color: var(--clr-blue);
}

.kuzmeldung h3 {
  color: var(--clr-blue);
}

.heading p {
  font-weight: bold;
  text-transform: uppercase;
}

h1 {
  font-size: var(--font-size-xl);
}

h2 {
  font-size: var(--font-size-l);
}

h3 {
  font-size: var(--font-size-m);
  color: var(--clr-blue);
}

h4 {
  font-size: var(--font-size-s);
}
