@font-face {
  font-family: 'jost';
  src: local('Jost* Hairline'), local('Jost Hairline'),
  url("fonts/Jost-100-Hairline.ttf") format('tff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'jost';
  src: local('Jost* Hairline Italic'), local('Jost Hairline Italic'),
  url("fonts/Jost-100-HairlineItalic.ttf") format('tff');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'jost';
  src: local('Jost* Thin'), local('Jost Thin'),
  url("fonts/Jost-200-Thin.ttf") format('tff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'jost';
  src: local('Jost* Thin Italic'), local('Jost Thin Italic'),
  url("fonts/Jost-200-ThinItalic.ttf") format('tff');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'jost';
  src: local('Jost* Light'), local('Jost Light'),
  url("fonts/Jost-300-Light.ttf") format('tff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'jost';
  src: local('Jost* Light Italic'), local('Jost Light Italic'),
  url("fonts/Jost-300-LightItalic.ttf") format('tff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'jost';
  src: local('Jost* Book'), local('Jost Book'),
  url("fonts/Jost-400-Book.ttf") format('tff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'jost';
  src: local('Jost* Book Italic'), local('Jost Book Italic'),
  url("fonts/Jost-400-BookItalic.ttf") format('tff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'jost';
  src: local('Jost* Medium'), local('Jost Medium'),
  url("fonts/Jost-500-Medium.ttf") format('tff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'jost';
  src: local('Jost* Medium Italic'), local('Jost Medium Italic'),
  url("fonts/Jost-500-MediumItalic.ttf") format('tff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'jost';
  src: local('Jost* Semi'), local('Jost Semi'),
  url("fonts/Jost-600-Semi.ttf") format('tff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'jost';
  src: local('Jost* Semi Italic'), local('Jost Semi Italic'),
  url("fonts/Jost-600-SemiItalic.ttf") format('tff');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'jost';
  src: local('Jost* Bold'), local('Jost Bold'),
  url("fonts/Jost-700-Bold.ttf") format('tff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'jost';
  src: local('Jost* Bold Italic'), local('Jost Bold Italic'),
  url("fonts/Jost-700-BoldItalic.ttf") format('tff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'jost';
  src: local('Jost* Heavy'), local('Jost Heavy'),
  url("fonts/Jost-800-Heavy.ttf") format('tff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'jost';
  src: local('Jost* Heavy Italic'), local('Jost Heavy Italic'),
  url("fonts/Jost-800-HeavyItalic.ttf") format('tff');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'jost';
  src: local('Jost* Black'), local('Jost Black'),
  url("fonts/Jost-900-Black.ttf") format('tff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'jost';
  src: local('Jost* Black Italic'), local('Jost Black Italic'),
  url("fonts/Jost-900-BlackItalic.ttf") format('tff');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

html {
  height: 100%;
}

body {
  font-family: "jost", sans-serif;
  margin: 0;
  height: 100%;
  background: #d8ceaa;
  /*margin: 30px;*/
}

h1 {
  font-size: 2.2vw;
  font-weight: 700;
  color: #343e13;
  text-transform: uppercase;
  text-align: center;
  margin: 1vw;
}

h2 {
  font-size: 1.2vw;
  font-weight: 500;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
  margin: 1vw;
}

h3 {
  font-size: 1.8vw;
  font-weight: 700;
  color: #343e13;
  text-transform: uppercase;
  text-align: center;
  margin: 1vw 1vw 1vw 1vw;
}

h4 {
  font-size: 1.8vw;
  font-weight: 700;
  color: #343e13;
  text-transform: uppercase;
  margin: 0;
}

h5 {
  font-size: 1.2vw;
  font-weight: 500;
  color: #343e13;
  margin: 0;
}

a {
  color: #ffffff;
}

.content-container {
  max-width: 61.8%;
  border: 2px #ffffff solid;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  margin: 0 auto;
  padding: 2rem;
  background: #d8ceaa;
  box-shadow: 5px 5px 15px #343e13;
  text-align: left;
}

.slideshow-container {
  margin: 0;
  min-height: 100%;
  min-width: 100%;
  padding: 4% 0;
  position: absolute;
}

.slideshow-container > figure {
  animation: imageAnimation 30s linear infinite 1s;
  backface-visibility: hidden;
  background-size: cover;
  background-position: center center;
  min-height: 100%;
  margin: 0 0;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

.slideshow-container > figure:nth-child(1) {
  background-image: url('slideshow/1.jpg');
}
.slideshow-container > figure:nth-child(2) {
  animation-delay: 6s;
  background-image: url('slideshow/2.jpg');
}
.slideshow-container > figure:nth-child(3) {
  animation-delay: 12s;
  background-image: url('slideshow/3.jpg');
}
.slideshow-container > figure:nth-child(4) {
  animation-delay: 18s;
  background-image: url('slideshow/4.jpg');
}
.slideshow-container > figure:nth-child(5) {
  animation-delay: 24s;
  background-image: url('slideshow/5.jpg');
}

@keyframes imageAnimation {
  0% {
    animation-timing-function: ease-in;
    opacity: 0;
  }
  8% {
    animation-timing-function: ease-out;
    opacity: 1;
  }
  17% {
    opacity: 1
  }
  25% {
    opacity: 0
  }
  100% {
    opacity: 0
  }
}

#logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4vw;
  width: 80%;
}

#bild {
  display: block;
  margin-left: 1vw;
  margin-right: 2.5vw;
  margin-bottom: 1vw;
  width: 38.2%;
  float: left;
}

.contacts {
  color: #343e13;
  text-decoration: none;
}

.logo-small {
  display: block;
  margin-bottom: 1vw;
  margin-top: 1vw;
  width: 20%;
}

.text-container {
  margin: 0vw 1vw 3vw 1vw;
  font-size: 1.1vw;
  color: #343e13;
}

.address-container {
  width: 100%;
  overflow: hidden;
  margin: 4vw 1vw 1vw 1vw;
  color: #343e13;
}

.link-container {
  font-size: 1vw;
  margin: 2vw 1vw 1vw 1vw;
  color: #343e13;
}

.impressum-container {
  font-size: 0.8vw;
  color: #343e13;
  margin: 2vw 1vw 1vw 1vw;
}
