@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, sup {
  font-family: "hk-black", "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans display";
}
h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.5rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "hk-medium", "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans display";
	color: #1f2a33;
}

body {
	background-color: #e3dddd;
  grid-template-rows: 1fr;
  min-height: 100vh;
} /* Grid layout only necessary for sticky-to-bottom footer */

/* 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: #1f2a33;
}
a:hover {
  color: #535a61;
}

p {
  line-height: 1.5rem;
}

p.noscript {
  position: fixed;
  bottom: 0;
  z-index: 4;
  background-color: #ff6f61;
  padding: 1rem;
}

small {
  font-size: 0.7rem;
}

.green {
  background-color: #828771;
}
.yellow {
  background-color: #EBAF7B;
}
.grey {
  background-color: #535A61;
}
.grey * {
  color: #ede9e9;
}

/* --- Hero section --- */
div.start {
  width: 100%;
  margin: auto;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* SVG styling */
svg.logo {
  cursor: pointer;
  width: 40vw;
  max-width: 40vh;
  height: auto;
}
svg.goDown {
  position: absolute;
  bottom: 3rem;
  cursor: pointer;
  width: 10vh;
  max-width: 2.5rem;
  height: auto;
}
.st0 {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawLogo 1s linear 0.3s forwards;
}
@keyframes drawLogo {
   to { stroke-dashoffset: 0;}
}
.st1 {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawArrow 0.3s linear 1.4s forwards;
}
@keyframes drawArrow {
   to { stroke-dashoffset: 0;}
}
/* End of SVG styling */
/* --- End of Hero section --- */

/* --- Navigation Styling --- */
nav.mainNav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  z-index: 2;
}
div.navbar {
  display: flex;
  gap: 0.4rem;
  transition: opacity 0.3s ease;
}
.navlink {
  font-weight: bold;
}
span.navlink {
  color: #ff6f61;
}
img.openMenu {
  width: 1rem;
  cursor: pointer;
}
img.closeMenu {
  height: 1rem;
  width: auto;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

/* --- Navigation Sidebar --- */
div.sideNav {
  position: fixed;
  top: 0;
  left: 0;
  border: 0.1rem solid #1f2a33;
  background-color: #e3dddd;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 2rem 2rem 1rem;
  margin: 0.5rem;
  transform: translateX(-650px);
  transition: transform 0.2s ease;
  z-index: 2;
}
div.sideNavSpace {
  display: none;
  position: fixed;
  top: 2rem;
  left: 0;
  width: 100%;
  height: calc(100% - 2rem);
}

/* --- End of Navigation --- */

/* UNI GRID */
div.grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2rem;
}

div.spacerSmall {
  height: 5rem;
}
div.spacerMedium {
  height: 10rem;
}
div.spacerLarge {
  height: 15rem;
}

@media screen and (orientation: landscape), screen and (min-width: 720px) {
  div.grid {
    grid-template-columns: 1fr 1fr;
    padding: 5rem 0;
  }
}

/* START EXPERIMENT */
div.text {
  padding: 0 1rem;
}
div.gridContainerLeft, div.gridContainerRight {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2rem;
}
div.gridContainerLeft {
  grid-template-areas:
  "rtS"
  "ltL";
}
div.gridContainerRight {
  grid-template-areas:
  "ltS"
  "rtL";
}
.ltS {
  grid-area: ltS;
}
.rtL {
  grid-area: rtL;
}
.ltL {
  grid-area: ltL;
}
.rtS {
  grid-area: rtS;
}

@media screen and (min-width: 620px) {
  div.img {
    padding: 0 1rem;
  }
  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;
  }
}

@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;
  }
}

@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;
  }
}
/* ENDE EXPERIMENT */

/* standard Container */
div.container, div.gridwrap, div.productsGrid, footer {
  width: 100%;
  margin: auto;
  padding: 2rem 1rem;
}

div.productThumb {
  display: grid;
  grid-template-columns: 1fr;
}
.thumbTitle {
  padding: 1rem;
  align-self: end;
  height: 5em;
}

div.gridwrap {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 5rem;
}

div.productsGrid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1rem;
  grid-template-areas:
  "productImg"
  "productName"
  "productInfo"
  "productDescription"
  "productPrice";
  padding: 0 0 2rem 0;
}
div.productsGrid > div:not(.productImg) {
  padding: 0 1rem;
}
div.productImg {
  grid-area: productImg;
}
div.productName {
  grid-area: productName;
  text-align: right;
}
div.productInfo {
  grid-area: productInfo;
  text-align: right;
}
div.productPrice {
  grid-area: productPrice;
  display: flex;
  justify-content: space-between;
}

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;
}
.footerIcon > img {
  width: 2em;
}
.footerNavigation {
  grid-area: footerNavigation;
  text-align: right;
}
.footerInfo {
  grid-area: footerInfo;
}

/* from 768 px */
@media screen and (orientation: landscape), screen and (min-width: 720px) {
  nav.mainNav {
    padding: 1rem 1rem 2rem;
  }
  div.navheader {
    justify-content: flex-start;
  }

  div.productsGrid {
    grid-template-columns: 2fr 2fr;
    grid-template-areas:
    "productImg productName"
    "productImg productInfo"
    "productImg productDescription"
    "productImg productPrice";
    font-size: 1.2rem;
    padding: 5rem 0 3rem;
  }
  div.productName, div.productPrice {
    align-self: end;
  }
  div.productName, div.productInfo, div.productPrice {
    text-align: left;
  }

  div.gridwrap {
    grid-template-columns: 1fr 1fr 1fr;
  }

  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;
  }
}
