:root {
  --prime-color: GhostWhite;
  --background: White;
  --title: RoyalBlue; /*AliceBlue*/
  --nav-color: LightSlateGrey;
  --nav-active: SteelBlue;
  --nav-hover: LightSteelBlue;
  --link: ForestGreen;
  --link-hover: RoyalBlue;
  --font: "Cambria", "Georgia";
  --mobile-nav-background: rgba(176, 196, 222, 0.9); /* LightSteelBlue */
  --mobile-nav-hover: GhostWhite;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1.2em;
}

.fill {
  display: flex;
  flex: 1;
}

/* -------------------------------------------------- */
/*                      DESKTOP                       */
/* -------------------------------------------------- */

.h2v {
  display: flex;
  flex-direction: row;
}

header {
  flex: none;
  display: block;
  position: relative;
  text-align: center;
}

.banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-image: url(Banner.png);
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}

.banner-img {
  height: 200px;
}

.banner-title {
  font-family: "Times New Roman";
  font-size: 3.5em;
  text-shadow: 0px 0px 2px White;
  color: RoyalBlue;/*SteelBlue;/*var(--prime-color);*/
  padding: 0 16px;
}

nav {
  display: flex;
  justify-content: center;
  background-color: var(--nav-color);
  width: 100%;
  box-shadow: 0 3px 3px 0px rgba(0, 0, 0, 0.25);
}

.navwrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.navbtn {
  margin: 0;
  padding: 16px 8px;
  flex: auto;
  cursor: pointer;
  text-decoration: none;
  color: var(--prime-color);
  text-align: center;
}

.navbtn.active {
  background-color: var(--nav-active);
  background-image: none;
}

.navbtn:hover {
  color: var(--nav-active);
  background-color: var(--nav-hover);
  text-decoration: none;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.link {
  color: var(--link);
  cursor: pointer;
}

.link:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.imp {
  color: var(--prime-color);
  cursor: pointer;
}

.imp:hover {
  color: var(--prime-color);
  text-decoration: underline;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  background-color: var(--background);
}

.content {
  display: flex;
  flex-direction: row;
  padding-top: 100px;
}

.kub {
  padding-top: 32px;
  font-style: italic;
  font-size: 1.2em;
  color: var(--title);
}

#BelindaWilke {
  height: 300px;
  margin-right: 24px;
  border-radius: 3px;
  box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.2);
}

.tab {
  flex: 1;
  display: none; /* will be flex if visible */
  flex-direction: column;
  padding-right: 48px;
}

.title {
  width: 100%;
  display: block;
  padding-bottom: 8px;
  font-size: 2em;
  font-variant: small-caps;
  color: var(--title);
}

table {
  border-spacing: 0;
}

.hightlight:hover {
  background-color: LightSteelBlue;
}

.first-child-bold td:nth-child(1) {
  font-weight: bold;
  padding-right: 32px;
  vertical-align: top;
}

#kontakt tr:nth-child(1) {
  font-size: 1.5em;
  text-align: center;
}

#kontakt tr:nth-child(1) td {
  padding: 0;
}

#kontakt {
  padding: 12px;
  border-radius: 3px;
  box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.2);
}

#map {
  margin: 0;
  padding: 0;
  text-align: center;
}

#map iframe {
  width: 400px;
  height: 300px;
  box-shadow: 0 0 1px 0;
}

footer {
  color: var(--prime-color);
  background-color: var(--nav-active);
  padding: 8px 8px;
  font-size: 0.9em;
}

.copy {
  float: right;
}

/* -------------------------------------------------- */
/*                    Screen sizes                    */
/* -------------------------------------------------- */

.content {
  width: 1400px;
}

@media (max-width: 1416px) {
  .content {
    width: 1200px;
  }
}

@media (max-width: 1216px) {
  .content {
    width: 100vw;
    padding-left: 8px;
    padding-right: 8px;
  }
    
  .h2v {
    flex-direction: column;
  }

}

/* -------------------------------------------------- */
/*                       MOBILE                       */
/* -------------------------------------------------- */

#menu {
  display: none;
  padding-right: 16px;
  background-color: var(--nav-color);
  color: var(--prime-color);
  font-size: 1.5em;
  text-decoration: none;
}

#menu:hover {
  background-color: var(--link-hover);
}

@media (max-width: 800px) {
  .body {
    font-size: 1em;
    overflow-x: hidden;
  }

  .banner-text {
    font-size: 1.6em;
  }
  
  .content {
    flex-direction: column;
    align-items: center;
    padding: 16px;
  }
  
  #BelindaWilke {
    width: 90vw;
    height: 90vw;
    border-radius: 5px;
    box-shadow: none;
    padding-bottom: 16px;
  }
  
  .tab {
    flex: none;
    width: 100%;
    padding-bottom: 16px;
    padding-right: 0px;
  }
  
  #menu {
    display: block;
  }
  
  .banner-img {
    height: 100px;
  }
  
  .banner .fill {
    flex: none;
  }
  
  .banner-title {
    flex: 1;
    text-align: left;
    padding: 0 8px;
    font-size: 1.6em;
  }
  
  nav {
    position: relative;
  }
  
  .navhidden {
    display: none;
  }

  .navwrapper {
    flex-direction: row;
    flex-wrap: wrap;
    position: absolute;
    top: 0;
    width: 100vw;
    background-color: var(--mobile-nav-background);
    box-shadow: 0 15px 15px 5px rgba(0, 0, 0, 0.35);
  }
  
  .navbtn {
    flex: 50%;
    color: DarkSlateGrey;
    padding: 8px 0;
    /*font-size: 1.5em;*/
  }
  
  .navbtn:hover {
    background-color: var(--mobile-nav-hover);
  }
  
  .kontakt-wrapper {
    flex: none;
  }
  
  #kontakt {
    margin: 0;
    border: 2px solid;
    border-radius: 8px;
    box-shadow: none;
  }
  
  #map iframe {
    width: 80vw;
    max-width: 500px;
    height: 250px;
  }
  
}
