@font-face {
    font-family: "cabin-regular";
    src: url("../fonts/Cabin-VariableFont.ttf") format("truetype");
    font-display: block;
}

:root {
  --mainBgColor: #151313;
  --mainTextColor: #fffcf2;
  --secondaryTextColor: #76726b;
  --greenHighlight: #9fbca5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "cabin-regular", "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans display", Helvetica, Arial, sans-serif;
    color: var(--mainTextColor);
}

html {
  height: -webkit-fill-available;
}

body {
	background-color: var(--mainBgColor);
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  overflow-x: hidden;
}

/* hide focus rings, when user not hitting tab-key */
body:not(.userTab) button:focus,
body:not(.userTab) input:focus,
body:not(.userTab) select:focus,
body:not(.userTab) textarea:focus {
  outline: none;
}

h1.display {
  font-size: 3rem;
}

ul, ol {
  list-style-position: inside;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

hr {
  border: none;
  border-bottom: 1px solid;
  width: calc(100% - 2rem);
  margin: auto;
}

a {
	text-decoration: none;
  color: var(--mainTextColor);
}
a:hover {
  color: var(--greenHighlight);
}

p {
  line-height: 1.5rem;
}

p.noscript {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 4;
  background-color: #ed6a5a;
  padding: 1rem;
}

div.content, footer {
  transition: transform 0.3s ease;
}

small {
  font-size: 0.7rem;
}

/* --- Hero section --- */
div.start {
  width: 100%;
  margin: auto;
}
/* --- Hero section end --- */

/* --- Navigation section --- */
nav.mainNav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: flex-end;
  z-index: 2;
}

span.navlink {
  color: var(--secondaryTextColor);
}

button.openMenu {
  appearance: none;
  border: none;
  background-color: transparent;
  padding: 2rem;
  cursor: pointer;
  z-index: 3;
}
img.openMenu {
  width: 1rem;
  cursor: pointer;
}

img.homeButton {
    width: 6.5rem;
    z-index: 2;
    padding: 2rem;
    position: fixed;
    top: 0;
    left: 0;
}

/* --- Sidebar --- */
div.navbar {
  position: fixed;
  top: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  transform: translateX(180px);
  transition: transform 0.3s ease;
  text-align: right;
}

div.navbarSpace {
  display: none;
  position: fixed;
  top: 2rem;
  left: 0;
  width: 100%;
  height: calc(100% - 2rem);
}

/* --- Footer --- */
nav.footerNav {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  text-align: right;
}

/* --- End of Navigation --- */

div.spacerSmall {
  height: 5rem;
}
div.spacerMedium {
  height: 10rem;
}
div.spacerLarge {
  height: 15rem;
}

div.textBlock {
  width: 100%;
  margin: auto;
  padding: 2rem 1rem;
}

/* --- Flexbox styling --- */
div.flexContainer {
  width: 100%;
  margin: auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-direction: row;
  flex-wrap: wrap;
}

div.flexRow {
  flex: 100% 0 1;
  padding: 1rem 0;
}

/* --- End of Flexbox --- */

img.instagramIcon {
  width: 2.5rem;
}

td {
  vertical-align: top;
  padding: 0.5rem 0;
}

footer {
  width: 100%;
  margin: auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-direction: row;
  flex-wrap: wrap;
}

/* from 768 px and for smartphones in landscape */
@media screen and (orientation: landscape), screen and (min-width: 720px) {
  nav.mainNav {
    padding: 1rem 1rem 2rem;
  }
  div.navbar {
    top: 3rem;
  }
  div.navheader {
    justify-content: flex-start;
  }
  div.textBlock {
    width: 70vw;
  }
}

/* --- Anfang Styling Impressum + Datenschutzblock --- */
/*from 1024 px */
@media screen and (min-width: 1024px) {
  div.textBlock {
    width: 60vw;
  }
}
/*from 1280 px */
@media screen and (min-width: 1280px) {
  div.textBlock {
    width: 50vw;
  }
}
/*from 2560 px */
@media screen and (min-width: 2560px) {
  div.textBlock {
    width: 40vw;
  }
}
/* --- Ende Impressum + Datenschutzblock --- */
