@import url("https://use.typekit.net/col2vrv.css");
/* CSS Reset */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

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

body {
  max-width: 80rem;
  margin: auto;
  color: black;
  font-family: aileron, sans-serif;
  font-weight: 300;
  line-height: 1.8rem;
}

a {
  text-decoration: underline;
  color: black;
  font-weight: 400;
}

a:hover{
  color: #1d71b8;
}

h1, h2{
  line-height: 2.5rem;
  color: #58a7dc;
}

h3,
h4,
h5,
h6 {
  margin: 2rem 0 1rem 0;
  color: #1d71b8;
}

p {
  margin-bottom: 1rem;

}

.header {
  width: 100%;
  display: inline-block;
  background-color: #ffffff;
  color: #58a7dc;
}

@media (min-width: 50rem){
  .header{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.header>div>* {
  margin: 0;
  height: auto;
}

.header h1 {
  letter-spacing: 0.3rem;
  FONT-SIZE: 1.2REM;
  line-height: 1.2em;
  padding-top: 0;
}
.logoContainer{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: unset;
}

.logo {
  width: 5rem;
  margin: 0;
  padding: 0;
}

@media (min-width: 50rem) {
  .logo{
    width: 6rem;
  }
  .header h1 {
    letter-spacing: 0.4rem;
    FONT-SIZE: 1.5REM;
  }
}

.nav {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.nav * {
  list-style: none;
  display: inline-block;
  text-decoration: none;
  font-weight: 400;
  color: #58a7dc;
  margin: 0;
  padding: 0;
}

.nav li {
  text-align: center;
}

.nav li:hover{
  background-color: #1d71b8;
}

.nav li:hover a{
  color: #ffffff;
}

.nav a{
  width: 100%;
}

@media (min-width: 50rem) {
  .nav{
    height: 5rem;
  }

    .nav li {
      padding: 0 1rem 0 1rem;
    }
  }


.hero {
  height: 100%;
  width: 100%;
  background-image: url("slide/slide1.jpg"), url("slide/slide2.jpg"), url("slide/slide3.jpg"), url("slide/slide4.jpg"), url("slide/slide5.jpg");
  animation: heroImage 25s ease-in-out infinite;
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
  padding-top: 20%;
}

@keyframes heroImage {
  0%, 100% {
    background-image: url("slide/slide1.jpg");
  }

  20% {
    background-image: url("slide/slide2.jpg");
  }

  40% {
    background-image: url("slide/slide3.jpg");
  }

  60% {
    background-image: url("slide/slide4.jpg");
  }

  80% {
    background-image: url("slide/slide5.jpg");
  }

}

.main {
  margin: 0;
  height: 100%;
}

.main>* {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem;
  margin-top: 2rem;
}

.title1{
  margin: 4rem 0 4rem 0;
}

@media (min-width: 50rem) {
.hero {
  padding-top: 40%;
}

  .main {
    margin: 5rem;
  }
}

/* Tabelle */

.tableDiv {
  display: block;
}

table {
  margin: auto;
  margin-top: 1rem;
  background-color: #1d71b8;
  color: white;
}

table a, #miniPic{
  text-decoration: underline;
  color: white;
  font-weight: 600;
}

table a:hover, #miniPic:hover{
  color: black;
}

td,
th {
  height: 3rem;
  padding: 0.2rem;
}

tr td:first-child {
  text-align: right;
  white-space: nowrap;
}

tr td:not(:first-child) {
  text-align: center;
}

table button {
  background-color: #58a7dc;
  border: 0;
  cursor: pointer;
  color: white;
  font-size: 1rem;
  font-weight: 400;
  padding: 1rem;
  text-decoration: none;
  transition: all 0.3s;
}

table button:hover {
  background-color: #04c3ff;
}

@media screen and (min-width:52rem) {
  .tableDiv {
    display: flex;
    justify-content: center;
  }

  table {
    margin: 0;
  }

  .tableDiv table:not(:first-child) tr td:first-child {
    display: none;
  }

  .tableDiv table:not(:first-child) tr th:first-child {
    display: none;
  }

}
.stars, .stars > *{
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
}

/* Bildergalerie */
.gallery {
  line-height: 0;
  columns: 10rem 5;
  column-gap: 0.5rem;
}

#h3Mini {
  display: none;
}

#alleFotos {
  text-decoration: underline;
  font-weight: 600;
  font-size: 1rem;
  color: black;
}
#alleFotos:hover{
  color: #1d71b8;
}


.gallery>img {
  width: 100%;
  height: auto;
  padding-top: 0.5rem;
}

.fade {
  animation-name: fade;
  animation-duration: 2s;
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Footer */
.footer {
  text-align: center;
  margin: 2rem 0 2rem 0;
}

.footer>* {
  display: block;
  margin: 1rem;
}

