@font-face {
  font-family: "hk-medium";
  src: url("../fonts/HKGrotesk-Medium.otf") format("opentype");
	font-display: block;
}
@font-face {
  font-family: "hk-black";
  src: url("../fonts/HKGrotesk-Bold.otf") format("opentype");
	font-display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "hk-black", "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans display";
}

h1.display {
  font-size: 3rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "hk-medium", "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans display";
	color: #151719;
}

body {
	background-color: #e0e2db;
}

/* hide focus rings, when user not hitting tab-key (if, the class .user-is-tabbing) */
body:not(.userTab) button:focus,
body:not(.userTab) input:focus,
body:not(.userTab) select:focus,
body:not(.userTab) textarea:focus {
  outline: none;
}

ul, ol {
  list-style-position: inside;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

hr {
  border: none;
  border-bottom: 1px solid;
}

a {
	text-decoration: none;
  color: #151719;
}
a:hover {
  color: #535a61;
}

p {
  line-height: 1.5rem;
}

p.noscript {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 4;
  background-color: #ed6a5a;
  padding: 1rem;
}

small {
  font-size: 0.7rem;
}

button {
  appearance: none;
  border: none;
  background-color: transparent;
  padding: 2rem;
  cursor: pointer;
}

/* --- Hero section --- */
div.start {
  width: 100%;
  margin: auto;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('../img/start2.webp');
	background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

img#startLogo {
  max-height: 40vh;
}
@media screen and (orientation: landscape) {
  img#startLogo {
    max-height: 50vh;
  }
}

/* SVG styling */
svg.goDown {
  position: absolute;
  bottom: 25vh;
  cursor: pointer;
  width: 10vh;
  max-width: 2.5rem;
  height: auto;
}
.st1 {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawArrow 0.3s linear 0.4s forwards;
}
@keyframes drawArrow {
   to { stroke-dashoffset: 0;}
}
/* End of SVG styling */
/* --- End of Hero section --- */

nav.mainNav {
  position: sticky;
  top: 0;
  left: 0;
  margin: auto;
}
div.navbar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    align-items: center;
    align-content: center;
    backdrop-filter: blur(10px);
    background-color: rgba(224, 226, 219, 0.5);
    justify-content: center;
}
img.homeButton {
  position: absolute;
  left: 0;
  width: 6rem;
  padding: 2rem;
}
img.openMenu {
  width: 2rem;
}
button.openMenu {
  position: absolute;
  right: 0;
}
button.closeMenu {
  position: absolute;
  top: 0;
  right: 0;
}
img.closeMenu {
  width: 1.5rem;
}
.navlink {
  font-weight: bold;
}
span.navlink {
  color: #ED6A5A;
}

/* GRID STYLING */
div.grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2rem;
}

div.spacerSmall {
  height: 5rem;
}
div.spacerMedium {
  height: 10rem;
}
div.spacerLarge {
  height: 15rem;
}

div.text {
  padding: 0 1rem;
}
div.gridContainerLeft, div.gridContainerRight {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2rem;
}
div.gridContainerLeft {
  grid-template-areas:
  "ltL"
  "rtS";
}
div.gridContainerRight {
  grid-template-areas:
  "rtL"
  "ltS";
}
.ltS {
  grid-area: ltS;
}
.rtL {
  grid-area: rtL;
}
.ltL {
  grid-area: ltL;
}
.rtS {
  grid-area: rtS;
}

/* standard Container */
div.container, div.textContainer, footer {
  width: 100%;
  margin: auto;
  padding: 2rem 1rem;
}

div.imgContainer {
  display: grid;
  grid-gap: 2rem;
}

td {
  vertical-align: top;
  padding: 0.5rem 0;
}

/* Footer */
footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  grid-template-areas:
  " footerIcon footerNavigation"
  "footerInfo footerInfo";
}
nav.footerNav {
  display: flex;
  flex-flow: column wrap;
}
.footerNavlink {
  padding: 0 0 1rem;
}
span.footerNavlink {
  color: #ff6f61;
}
.footerIcon {
  grid-area: footerIcon;
  align-self: start;
  width: 3rem;
}

.footerNavigation {
  grid-area: footerNavigation;
  text-align: right;
}
.footerInfo {
  grid-area: footerInfo;
}

/* from 720 px */
@media screen and (orientation: landscape), screen and (min-width: 720px) {
  nav.mainNav {
    padding: 1rem 1rem 2rem;
  }
  div.navheader {
    justify-content: flex-start;
  }

  div.img {
    padding: 0 1rem;
  }

  div.textContainer {
    width: 70vw;
  }

  div.grid {
    grid-template-columns: 1fr 1fr;
    padding: 5rem 0;
  }
  div.gridContainerLeft, div.gridContainerRight {
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 0;
    grid-template-areas: unset;
  }

  .ltS {
    grid-column: 1 / 6;
    text-align: right;
  }
  .rtL {
    grid-column: 6 / 13;
  }
  .ltL {
    grid-column: 1 / 8;
    text-align: right;
  }
  .rtS {
    grid-column: 8 / 13;
  }

  div.imgContainer {
    grid-template-columns: 2fr 2fr;
    grid-row-gap: 4rem;
    padding: 1rem;
    align-items: start;
  }

  footer {
    grid-template-columns: 4fr 1fr;
  }
  nav.footerNav {
    justify-content: space-between;
    padding: 0 1rem;
  }
  .footerInfo {
    text-align: left;
  }
}

@media screen and (min-width: 1280px) {
  div.gridContainerLeft, div.gridContainerRight {
    grid-gap: 2rem;
  }
  .ltS {
    grid-column: 2 / 6;
  }
  .rtL {
    grid-column: 6 / 11;
  }
  .ltL {
    grid-column: 3 / 8;
  }
  .rtS {
    grid-column: 8 / 12;
  }

  div.textContainer {
    width: 50vw;
  }
}


@media screen and (min-width: 2560px) {
  h1 {
    font-size: 5rem;
  }
  .ltS {
    grid-column: 2 / 6;
  }
  .rtL {
    grid-column: 6 / 10;
  }
  .ltL {
    grid-column: 4 / 8;
  }
  .rtS {
    grid-column: 8 / 12;
  }
  div.textContainer {
    width: 35vw;
  }
}
