/*
Theme Name: EW Docs
Author: Emil Wibe - EW Web
Author URI: https://ew.dk
*/
/* FONTS */
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

/* BASE */
:root {
  --clr-black: #030303;
  --clr-grey: #777;
  --clr-light-grey: #eee;
  --clr-link: #66909c;
  --font-heading: "Roboto", sans-serif;
  --margin-l: 60px;
}
html {
  scroll-behavior: smooth;
}
body {
  color: var(--clr-grey);
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.725;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--clr-black);
  font-family: var(--font-heading);
  margin-bottom: 0;
  margin-top: 0;
}
h1 {
  font-size: 54px;
  font-weight: 100;
  line-height: 110%;
  text-align: center;
}
h1 + * {
  margin-top: 18px;
}
h2 {
  font-size: 43px;
  font-weight: 200;
  line-height: 110%;
  margin-bottom: 0;
}
h3 {
  font-size: 31px;
  font-weight: 200;
  margin-top: 0;
  line-height: 140%;
  margin-bottom: 0;
}
h3 + * {
  margin-top: 14px;
}
h4 {
  font-size: 22px;
  font-weight: 400;
  line-height: 140%;
  margin-bottom: 0;
}
h4 + * {
  margin-top: 14px;
}
h5 {
  font-size: 18px;
  line-height: 110%;
  margin-bottom: 0;
}
h5 + * {
  margin-top: 12px;
}
h6 {
  font-size: 15px;
  line-height: 110%;
  margin-bottom: 0;
}
a {
  color: var(--clr-link);
  font-weight: 400;
}
strong {
  color: var(--clr-black);
  font-weight: 500;
}
nav ul {
  list-style-type: none;
  padding-left: 0;
}
button {
  background-color: transparent;
  border: none;
}
button:focus {
  outline: none;
}
main {
  display: grid;
  grid-template-columns: 1fr 4fr;
  padding: var(--margin-l) 0;
}
@media screen and (max-width: 1024px) {
  :root {
    --padding-module: 32px 0;
  }
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 32px;
  }
  h3 {
    font-size: 26px;
  }
  h4 {
    font-size: 18px;
  }
  h5 {
    font-size: 16px;
  }
  h6 {
    font-size: 15px;
  }
  main {
    grid-template-columns: 100%;
  }
}
/* ANIMATIONS */
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* LAYOUT */
.l-wrapper {
  margin: 0 auto;
  width: calc(100% - calc(2 * var(--margin-l)));
}
.l-wrapper.xl {
  max-width: 1140px;
}
/* MODULES */
header {
  border-bottom: 1px solid var(--clr-light-grey);
  padding: var(--margin-l) 0;
}
.sub-heading {
  color: var(--clr-grey);
  font-size: 20px;
  font-weight: 200;
  text-align: center;
}
.fade-in-on-load {
  animation: fade-in 0.45s paused forwards;
  opacity: 0;
}
.scroll-to-top-link {
  display: block;
  font-size: 14px;
  margin-left: 10px;
  text-decoration: none;
}
#nav-list a {
  border-left: 2px solid transparent;
  color: #111;
  display: block;
  font-size: 15px;;
  line-height: 31px;
  padding: 0 10px;
  text-decoration: none;
  transition: all 450ms;
}
#nav-list a:hover {
  border-color: var(--clr-link);
  color: var(--clr-link);
}
.flex-heading {
  display: flex;
  align-items: center;
}
.flex-img img {
  display: block;
  height: auto;
  width: 100%;
}