@font-face {
  font-family: manrope;
  src: url("/fonts/manrope-vf.ttf") format('truetype');
}

:root {
  --white: rgba(255, 255, 255, 1);
  --bg: rgba(245, 245, 245, 1);
  --font: rgba(207, 207, 207, 1);
  --text-clr: rgba(77, 77, 77, 1);
  --accent: hsla(87,95%,45%,1);

  --ff-mr: "manrope", sans-serif;
  --ff-os: "Oswald", sans-serif;

  --fs-menu: 1.2em;

  --sec-pad: 150px 0;
  --mw: 1280px;
  --w: 100%;
  --gap: 2em;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  word-wrap: break-word;
}

body {
  font-family: var(--ff-mr);
  padding-top: 10em;
  background: white;
}

img {
  width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-mr);
  font-weight: 400;
  padding: .5em 0;
  word-break: break-word;
  text-transform: uppercase;
}

h1 {
  font-size: min(max(1.5rem, 2vw), 2em);
}

h2 {
  font-size: min(max(1.5rem, 2vw), 1.4em);
}

h2::after {
  content:'';
  display: block;
  ;
  background-color: var(--accent);
  width: 50%;
  height: 0.1em;
  bottom: 0;
  left: 0;
}

section {
  width: var(--w);
  margin: 0 auto;
  padding: var(--gap);
  align-items: center;
  justify-content: center;

  overflow-x: hidden;
  overflow-y: hidden;
}

/* Grid Classes for mobile and desktop view */

.grid {
  display: grid;
  gap: var(--gap);
  margin: 0 auto;
  padding: var(--gap);
  width: var(--w);
  max-width: var(--mw);
}

.grid-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: var(--w);
  max-width: var(--mw);
  margin: 0 auto;
  padding: 2em;
}

.grid-footer li {
  display: inline-grid;
  padding: 0 0 0 1em;
  list-style: none;
}

.grid-footer li:hover {
  text-decoration: underline;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .grid-container {
    display: grid;
    grid-template-columns: 1fr;
  }

  .grid-footer {
    display: grid;
    grid-template-columns: 1fr;
    padding: 2em;
  }

  .grid-footer ul {
    line-height: 4em;
    font-size: 1em;
    text-align: center;
  }

  .grid-footer li {
    list-style: none;
  }

  .grid-footer li:hover {
    background-color: white;
    color: var(--text-clr);
  }

  .grid-footer li>a:hover {
    color: black;
  }
  
  .logo {
    display: inline-block;
    width: 100%;
    height: auto;
    grid-column: 1;
  }
}

/* Extra small devices (phones, 601px and down) */
@media only screen and (min-width: 600px) {
  .grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  
  .logo {
    display: inline-block;
    width: 100%;
    height: auto;
    grid-column: 1;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .logo {
    display: inline-block;
    width: 100%;
    height: auto;
    grid-column: 1;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  
  .logo {
    display: inline-block;
    width: 100%;
    height: auto;
    grid-column: 1;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  
  .logo {
    display: inline-block;
    width: 100%;
    height: auto;
    grid-column: 1;
  }
}

.grid-intro {
  width: var(--mw);
  display: grid;
  grid-template-columns: 1fr;
  margin: 0 auto;
  max-width: var(--w);
  column-gap: 2em;
}

.grid-container-home {
  width: var(--mw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  max-width: var(--w);
  column-gap: 2em;
}

#therapien, #meine-praxis {
  scroll-margin-top: 5em;
}

