@import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url(https://fonts.googleapis.com/css?family=Bree+Serif);


/* Global */


html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

body {
  background-color: #ffffff;
  font-size: 17px;
  line-height: 32px;
  font-family: "Fira Sans",sans-serif,"google";
  margin: 0;
  padding: 0;
}
  
/* p, h3, h4 {
  padding: 0 15% 0 20px;
} 
   */
#container {
  display: grid;
  /* grid-template-columns: 1.2fr 1.2fr;
  grid-template-rows: repeat(auto);
  grid-template-areas:
  "header header"
  "nav nav"
  "main main"
  "footer footer"; */
  width:1024px;
  max-width: 98%;
  height: 100%; 
  margin: 0 auto;
  box-shadow: 2px 15px 10px #eeeeee, -2px 15px 10px #eeeeee;
  border: 1px solid #eeeeee;
  border-top: 0px;
}
  
.container {
  margin: auto;
  overflow: hidden;
}

hr {
  background-color: #601111;
  max-width: 100%;
  height: 3px;
  margin: 0 auto;
  border: none;
}

.toggle,
[id^=drop] {
    display: none;
}


  /* back to top */


#top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  background-image: url("../media/top.png");
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #c20202;
  border: 1px solid #ffffff;
  box-shadow: 1px 1px 3px gray;
  border-radius: 5px;
  cursor: pointer;
  padding: 1.5em;
}
  
#top:hover {
  background-color: #c20202;
} 

.jump {
visibility: hidden; 
height: 0px !important; 
position: absolute; 
margin: -60px;
}
  
/* Header */


header {
  padding: 0px;
  height: 100%;
}

  
.background {
  background: url("../media/bg.jpg");
  background-size: 100%;
  background-position: center 50%;
  background-repeat: no-repeat;
  padding: 0;
  margin: 0; 
  height: 230px;
}

.logo {
  display: block;
  max-width: 95%;
  background-image: url("../media/logo.png");
  background-position: top left;
  background-repeat: no-repeat;
  margin: 40px auto;
  padding: 30px;
  padding-bottom: 2%;
  text-align: center;
  /* text-shadow: 2px 2px 6px #AAAAAA; */
  font-size: 5rem;
  font-weight: bold;
  color: #601111;
}

.slogan {
  font-size: 1.5rem;
  margin: auto;
  text-align: center;
  color: #aaa;
}

.slogan a {
  color: #000000;
  text-decoration: none;
}


/* Navigation */

nav {
  position: sticky;
  top: 0;
  z-index: 2;
}

/* nav:after {
  content: "";
  display: table;
  clear: both;
} */

.nav {
  display: flex;
  /* flex-direction: row; */
  /* padding: 5px; */
  max-width: 100%;
  background-color:#64a3df; 
  /* box-shadow: 0px 3px 3px rgba(192, 192, 192, 0.5); */
 
}

.nav a {
  /* background-color: #ecf0f1; */
  /* box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); */
  color: #fff;
  display: flex;
  letter-spacing: 1px;
  justify-content: space-between;
  /* margin-bottom: 20px; */
  margin: 5px 2%;
  padding: 5px 0 5px 0px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

  .nav a:hover {
    box-shadow: 0;
  }

@media all and (max-width: 768px) {
 
  .toggle + a,
  .nav {
  display: none;
  }

  .toggle {
    display: block;
    padding: 10px 0px 10px 2%;
    /* margin-left: 15px;
    margin-right: 20px; */
    color:#fff;
    background-color: #64a3df;
    font-size: 17px;
    /* font-weight: bold; */
    text-transform: uppercase;
    text-decoration: none;
    border: none;
  }

  /* .toggle:hover {
    
    color: #fff;
  } */

  [id^=drop]:checked + .nav {
    display: block;
    color: #000;
    
  }

  .nav a {
    display: inline-block;
    margin-top: 1%;
    text-align: left;
  }

  }


.overline-from-left {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow: hidden;
}
.overline-from-left:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  top: 5px;
  background-color: #ffffff;
  height: 2px;
  -webkit-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.overline-from-left:hover:before {
    right: 0;
  }


/* .spin {
  width: 200px;
  height: 200px;
}
.spin:hover {
  color: #2980b9;    
}
.spin::before, .spin::after {
  top: 0px;
  left: 0px;
}
.spin::before {
  border: 2px solid transparent;
  
}
.spin:hover::before {
  border-top-color: #2980b9;
  border-right-color: #2980b9;
  border-bottom-color: #2980b9;
  transition: border-top-color 0.15s linear, border-right-color 0.15s linear 0.20s, border-bottom-color 0.45s linear 0.35s;
}
.spin::after {
  border: 0 solid transparent;
}
.spin:hover::after {
  border-top: 2px solid #2980b9;
  border-left-width: 2px;
  border-right-width: 2px;
  transform: rotate(270deg);
  transition: transform 1.0s linear 0s, border-left-width 0s linear 0.45s;
}
.circle {
  border-radius: 100%;
  box-shadow: none;
  
}
.circle::before, .circle::after {
  border-radius: 100%;
  
} */


/* .imgbox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  border: 2px solid lightgrey;
  margin: 0 0 20px 20px;
  
  color: #0eb7da;;
  font-size: 1em;
  max-height: 100%;
  max-width: 100%;
  transition: filter 1s linear;
  /* transition: transform 1s linear; 
  transition: box-shadow 1s linear;

  filter: saturate(0%);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* 
  text-align: center center; 
}

.imgbox:hover {
  filter: saturate(150%);
  /* transform: scale(.96); 
  box-shadow: rgba(2, 8, 20, 0.1) 0px 0.35em 1.175em, rgba(2, 8, 20, 0.08) 0px 0.175em 0.5em;
  color:white;
  font-weight: bolder;
}

.imgbox::before, .imgbox::after {
  box-sizing: border-box;
  content: '';
  position: absolute;
  width: 204px;
  height: 204px;
  top: -2px;
  left: -2px;
} 

.imgbox a {
  color: white;
  text-decoration: none;
  z-index: 3;
  }  */


/* Main */



#willkommen {
  background-color: white;
}


.highlight {
  padding: 10px 0px 10px 20px;
  background-image: linear-gradient(to right, #64a3df, #78aee0);
  color: white;
  /* font-weight: normal; */
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 15px;
}

.content {
  padding: 0% 2% 8% 2%;
}


.grid {
  display: grid;
  gap: 4rem;
  justify-content: space-between;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 200px;
}

/* @media screen and (min-width: 400px ) { */
.img-tall {
  grid-row: span 2 / span 1;
}

.img-wide {
  grid-column: span 2 / auto;
}


.box {
  display: flex;
  box-shadow: rgba(3, 8, 20, 0.1) 0px 0.15rem 0.5rem, rgba(2, 8, 20, 0.1) 0px 0.075rem 0.175rem;
  /* height: 100%;
  width: 100%; */
  
  /* transition: 600ms ease-in-out; */
  overflow: hidden;
  text-decoration: none;

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.box:hover {
  box-shadow: rgba(2, 8, 20, 0.3) 0px 0.35em 1.175em, rgba(2, 8, 20, 0.3) 0px 0.175em 0.5em;
  /* transform: ; */
  /* opacity: 80%; */
}

/* 
.img {
  filter: blur(3px);
  object-fit: cover;
  display: block;
} */


.overlay {
  background-color: #fff; 
  /* background-image: linear-gradient(to right, #9095e2, #afb2e2, #fff); */
  color: #000;
  width: 100%;
  height: 15%;
  position: relative;
  bottom: -80%;
  left: 0;
  transition: 350ms ease-in-out;
  opacity: .9;
}

.overlay p {
  /* text-shadow: 2px 2px 5px #333; */
  font-size: .8em;
  font-weight: bold;
  word-wrap: break-word;
  margin: 0 0 0 2%;
} 

.box:hover .overlay {
  left: -100%;
}



/* Image */

.lightbox {
  /* display: none; */
  opacity: 0;
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100%;
	text-align: center;
	top: 0;
	left: 0;
  background: rgba(0,0,0,0.8);
  pointer-events: none;
}

.lightbox img {
  position: absolute;
	max-width: 80%;
  max-height: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.lightbox:target {
  opacity: 1;
  pointer-events: all; 
  transition: .3s ease-out;
} 

/* .openpic {
  position: absolute;
  opacity: 0.8;
  height: 200px;
  width: 200px;
  transform: translate(-200px, -200px);
  left: 0;
  top: 0;
    transition: 450ms linear;
  text-align: center;
}

.box:hover .openpic {
  opacity: .9;
  background-color: #acc0d3;
  left: 0;
}

.openpic a {
  width: 100%;
  height: 50%;
  
  position: relative;
  text-decoration: none;
  text-align: right;
  color: #ffffff;
  text-shadow: 2px 2px 5px #333;
} */

footer {
  background-color: #64a3df;
  color: #fff;
  padding: 2%;
  
}

footer a {
  text-decoration: none;
  color: #fff;
}

footer a:hover {
  color: #7a0707;
}

.datenschutz h4, h3, h2, h1, p {
  padding-left: 20px;
}