/* === FONTS === */

/* lato-regular - latin-ext_latin */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/lato-v23-latin-ext_latin-regular.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/lato-v23-latin-ext_latin-regular.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/lato-v23-latin-ext_latin-regular.woff2")
      format("woff2"),
    /* Super Modern Browsers */
      url("../fonts/lato-v23-latin-ext_latin-regular.woff") format("woff"),
    /* Modern Browsers */ url("../fonts/lato-v23-latin-ext_latin-regular.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/lato-v23-latin-ext_latin-regular.svg#Lato") format("svg"); /* Legacy iOS */
}

/* lato-italic - latin-ext_latin */
@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 400;
  src: url("../fonts/lato-v23-latin-ext_latin-italic.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/lato-v23-latin-ext_latin-italic.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/lato-v23-latin-ext_latin-italic.woff2")
      format("woff2"),
    /* Super Modern Browsers */
      url("../fonts/lato-v23-latin-ext_latin-italic.woff") format("woff"),
    /* Modern Browsers */ url("../fonts/lato-v23-latin-ext_latin-italic.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/lato-v23-latin-ext_latin-italic.svg#Lato") format("svg"); /* Legacy iOS */
}

/* lato-700 - latin-ext_latin */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/lato-v23-latin-ext_latin-700.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/lato-v23-latin-ext_latin-700.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/lato-v23-latin-ext_latin-700.woff2")
      format("woff2"),
    /* Super Modern Browsers */
      url("../fonts/lato-v23-latin-ext_latin-700.woff") format("woff"),
    /* Modern Browsers */ url("../fonts/lato-v23-latin-ext_latin-700.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/lato-v23-latin-ext_latin-700.svg#Lato") format("svg"); /* Legacy iOS */
}

/* lato-700italic - latin-ext_latin */
@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 700;
  src: url("../fonts/lato-v23-latin-ext_latin-700italic.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/lato-v23-latin-ext_latin-700italic.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/lato-v23-latin-ext_latin-700italic.woff2")
      format("woff2"),
    /* Super Modern Browsers */
      url("../fonts/lato-v23-latin-ext_latin-700italic.woff") format("woff"),
    /* Modern Browsers */ url("../fonts/lato-v23-latin-ext_latin-700italic.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/lato-v23-latin-ext_latin-700italic.svg#Lato") format("svg"); /* Legacy iOS */
}

/* lato-900 - latin-ext_latin */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/lato-v23-latin-ext_latin-900.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/lato-v23-latin-ext_latin-900.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/lato-v23-latin-ext_latin-900.woff2")
      format("woff2"),
    /* Super Modern Browsers */
      url("../fonts/lato-v23-latin-ext_latin-900.woff") format("woff"),
    /* Modern Browsers */ url("../fonts/lato-v23-latin-ext_latin-900.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/lato-v23-latin-ext_latin-900.svg#Lato") format("svg"); /* Legacy iOS */
}

/* lato-900italic - latin-ext_latin */
@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 900;
  src: url("../fonts/lato-v23-latin-ext_latin-900italic.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/lato-v23-latin-ext_latin-900italic.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/lato-v23-latin-ext_latin-900italic.woff2")
      format("woff2"),
    /* Super Modern Browsers */
      url("../fonts/lato-v23-latin-ext_latin-900italic.woff") format("woff"),
    /* Modern Browsers */ url("../fonts/lato-v23-latin-ext_latin-900italic.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/lato-v23-latin-ext_latin-900italic.svg#Lato") format("svg"); /* Legacy iOS */
}

/* quattrocento-regular - latin-ext_latin */
@font-face {
  font-family: "Quattrocento";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/quattrocento-v17-latin-ext_latin-regular.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/quattrocento-v17-latin-ext_latin-regular.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/quattrocento-v17-latin-ext_latin-regular.woff2")
      format("woff2"),
    /* Super Modern Browsers */
      url("../fonts/quattrocento-v17-latin-ext_latin-regular.woff")
      format("woff"),
    /* Modern Browsers */
      url("../fonts/quattrocento-v17-latin-ext_latin-regular.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/quattrocento-v17-latin-ext_latin-regular.svg#Quattrocento")
      format("svg"); /* Legacy iOS */
}

/* quattrocento-700 - latin-ext_latin */
@font-face {
  font-family: "Quattrocento";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/quattrocento-v17-latin-ext_latin-700.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/quattrocento-v17-latin-ext_latin-700.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/quattrocento-v17-latin-ext_latin-700.woff2")
      format("woff2"),
    /* Super Modern Browsers */
      url("../fonts/quattrocento-v17-latin-ext_latin-700.woff") format("woff"),
    /* Modern Browsers */
      url("../fonts/quattrocento-v17-latin-ext_latin-700.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/quattrocento-v17-latin-ext_latin-700.svg#Quattrocento")
      format("svg"); /* Legacy iOS */
}

/* cookie-regular - latin */
@font-face {
  font-family: "Cookie";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/cookie-v17-latin-regular.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/cookie-v17-latin-regular.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/cookie-v17-latin-regular.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/cookie-v17-latin-regular.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/cookie-v17-latin-regular.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/cookie-v17-latin-regular.svg#Cookie") format("svg"); /* Legacy iOS */
}

/* === GLOBAL === */

:root {
  --bgdark: #1a161c;
  --bgmed: #55485b;
  --bglight: #897693;
  --contorange: #e4b056;
  --ltvio: #f9f7fb;
  --ltcont: #f8eddb;
  --ltgrey: #f0f0f0;
  --white: #fff;
  --black: #000;
  --fontsans: Lato;
  --fontsanssec: "Helvetica Neue";
  --fontfb: sans-serif;
  --fontserif: Quattrocento;
  --fontlogo: Cookie;
  --border-style: 2px solid;
  --border-transition: border 0.5s ease-in-out;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--fontsans), var(--fontsanssec), var(--fontfb);
  background-color: var(--bgdark);
  background-image: url("../img/background.png");
  background-repeat: repeat;
  color: var(--ltvio);
}

ul {
  margin: 0;
  padding: 0;
}

/* === GENERELLES === */

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.active a:visited {
  color: var(--contorange) !important;
}

.screenreader {
  display: none;
}

/* === SCROLL-BAR === */

.scroll::-webkit-scrollbar {
  width: 0.8rem;
}

.scroll::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 5px rgba(26, 22, 28, 0.75);
  border-radius: 2px;
}

.scroll::-webkit-scrollbar-thumb {
  border-radius: 2px;
  -webkit-box-shadow: inset 0 0 5px rgba(137, 118, 147, 0.75);
}

/* === NAVIGATION === */

header {
  text-align: center;
  position: fixed;
  width: 100%;
  height: 80px;
  z-index: 100;
  background-color: var(--bgdark);
  font-family: var(--fontserif);
  -webkit-box-shadow: 0px 2px 2px 1px rgba(85, 72, 91, 0.75);
  box-shadow: 0px 2px 2px 1px rgba(85, 72, 91, 0.75);
}

.logo {
  display: flex;
  height: 70px;
  width: auto;
  margin-left: 1rem;
  margin-top: 0.2rem;
}

.toggler {
  display: none;
}

nav ul {
  position: fixed;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 1rem;
  background: var(--bgdark);
  left: -100%;
  transition: all 0.5s;
  list-style: none;
}

nav li {
  margin-bottom: 1rem;
  margin-left: 1rem;
}

nav li:first-of-type {
  padding-top: 0.5rem;
}

nav a {
  color: var(--ltvio);
  text-decoration: none;
  font-size: 1.25rem;
}

nav a:hover {
  color: var(--ltcont);
  transition: ease-in 0.1s;
}

.toggler:checked ~ nav ul {
  left: 0;
}

.nav-btn {
  position: absolute;
  font-size: 4rem;
  color: var(--ltvio);
  top: 0;
  right: 0;
  margin-right: 1rem;
  margin-top: 0.25rem;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-btn:hover {
  color: var(--ltcont);
  cursor: pointer;
}

/* Desktop Navigation */

@media screen and (min-width: 600px) {
  .nav-btn {
    display: none;
  }

  header {
    display: grid;
    grid-template-columns: 1fr auto minmax(180px, 3fr);
    height: 100px;
  }

  nav {
    display: flex;
    grid-column: 3/4;
    justify-content: flex-end;
    align-items: center;
  }

  nav ul {
    all: unset;
    list-style: none;
    display: flex;
  }

  nav li {
    margin-top: 1.75rem;
    margin-bottom: 0;
    margin-right: 1rem;
  }

  nav li:first-of-type {
    padding-top: 0;
  }

  .logo {
    height: 90px;
    width: auto;
    margin-left: 1rem;
    margin-top: 0.2rem;
  }
}

/* === WELCOME === */

.welcome h1 {
  margin: 0;
  font-family: var(--fontserif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--contorange);
  text-align: center;
}

.welcome h3 {
  margin: 0;
  font-family: var(--fontserif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ltcont);
  text-align: left;
}

.welcome a {
  color: var(--ltvio);
  text-decoration: none;
  font-size: 1rem;
}

.welcome a:hover {
  color: var(--ltcont);
  font-variant: small-caps;
}

.welcome ul {
  list-style: none;
  padding-left: 0.5rem;
}

.welcome li {
  padding-bottom: 0.25rem;
}

.welcome li:before {
  content: "»  ";
}

/* === ABOUT === */

/* === CONTACT === */

/* === IMPRESSUM === */

.impressum {
  text-align: right;
  font-size: 0.75rem;
  padding-right: 1rem;
}

.impressum a:link {
  text-decoration: none;
  color: var(--ltvio);
}

.impressum a:hover {
  text-decoration: none;
  color: var(--ltcont);
}

.impressum a:visited {
  text-decoration: none;
  color: var(--ltvio);
}

.impressum a:active {
  text-decoration: none;
  color: var(--ltcont);
}

/* === FOOTER === */

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 40px;
  z-index: 200;
  background-color: var(--bgdark);
  font-family: var(--fontserif);
  color: var(--ltvio);
  -webkit-box-shadow: 0px 1px 2px 2px rgba(85, 72, 91, 0.75);
  box-shadow: 0px 1px 2px 2px rgba(85, 72, 91, 0.75);
}

.footer {
  text-align: left;
  font-size: 0.75rem;
  padding-left: 1rem;
}

.footer span {
  font-size: 0.5rem;
}

@media (max-width: 768px) {
  .footer {
    display: none;
  }
}

/* === GRIDS === */

.main {
  width: 70%;
  height: 100vh;
  overflow: scroll;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0px;
  padding-top: 7.25rem;
  padding-bottom: 3.5rem;
  background-color: var(--bgdark);
  /* -webkit-box-shadow: 0px 5px 10px 5px rgba(85, 72, 91, 0.75);
  box-shadow: 0px 5px 10px 5px rgba(85, 72, 91, 0.75); */
}

.row::after {
  content: "";
  clear: both;
  display: block;
}

[class*="col-"] {
  float: left;
  min-height: 1px;
  margin: 0;
  padding: 0.8rem;
}

.col-25 {
  width: 25%;
}
.col-50 {
  width: 50%;
}
.col-75 {
  width: 75%;
}
.col-100 {
  width: 100%;
}

@media (max-width: 1024px) {
  .col-25 {
    width: 50%;
  }
  .col-75 {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .main {
    width: 90%;
  }
  .col-50 {
    width: 100%;
  }
}

@media (max-width: 599px) {
  .main {
    padding-top: 6rem;
  }
}

@media (max-width: 480px) {
  .main {
    width: 100%;
  }
  .col-25 {
    width: 100%;
  }
}
