/* Allgemein */

* {
  margin: 0px; font-family: 'Open Sans', sans-serif; font-size: 16px;
}

#page {max-width: 1600px; margin: 0 auto; position: relative;}

/* header */

header {
  position: relative;
}


#title-text {
position: relative;
font-size: 48px;
color: White;
background: linear-gradient(to left, #666666, #4CAF50);
font-weight: bold;
z-index: 2;
text-align: center;
padding-top: 5px;
padding-bottom: 5px;
}

#Titelbild {
display: block;
position: relative;
  width: 100%;
  z-index: 2;
  margin: 0;
}

#NextDates {
  position: absolute;
  display: block; width: 240px; height: 300px;
  background-color: hsla(0, 0%, 50%, 0.9);
  color: white;
  top: 130px; left: 30px;
  z-index: 3;
  padding-left: 5px;
  padding-right: 5px;
  border-radius: 5px;
}

#NextDates h3 {
  font-size: 1.3em;
  font-weight: bold;
  padding-bottom: 12px;
}

#NextDates p {
  font-size: 1em;
  padding-bottom: 7px;
}

#NextDates p span {
  font-size: 1em;
  font-weight: bold;
}

/* Nav-Bar */
/* Nav Style */
nav {
  background-color: #666666;
  position: relative;
  z-index: 1;
}

.active {
  background-color: #4CAF50;
}

nav ul {
  list-style: none;
  padding: 0;
}

nav li:hover {
  background-color: #4CAF50;
}

nav li a {
  text-decoration: none;
  color: hsla(0, 0%, 90%);
  font-weight: bold;
  font-size: 1.3em;
  display: block;
}

nav ul li {
  display: inline-block;
}
/* .menu Style */
.menu {
  margin: auto;
}

.menu>li {
  position: relative;
  width: 19%;
  text-align: center;
}

.menu>li:hover>ul {display: block;}
/* .submenu Style */
.submenu {
  position: absolute;
  display: none;
  background-color: #666666;
  opacity: 0.9;}

.submenu li {
width: 100%;
}
/* Stickyness*/
#sticky {
  z-index: 1;
  display: block;
  width: 100%;
  position: fixed;
}

/* body */

body {
background: linear-gradient(to left, #666666, #4CAF50);
}

h1 {
  font-size: 1.6em;
  padding-bottom: 10px;
}

.DivSections {
  margin-top: 20px;
  margin-left: 100px;
  margin-right: 100px;
}

.Datum {
  font-weight: normal;
  font-style: italic;
  padding-bottom: 5px;
}

.content p {
  font-size: 1em;
}

#TeaserBild1 {
  width: 100%;
  position: relative;
  border-radius: 10px;
}

#TeaserBild2 {
  width: 80%;
  position: relative;
  border-radius: 10px;
}

.btn {
  text-decoration: none;
  color: hsla(0, 0%, 90%);
  font-weight: bold;
}

section.content {
  padding: 5px;
  margin: 5px 10px;
  background-color:  hsla(0, 0%, 75%, 0.65);
  border-radius: 10px;
  display: block;
}


.TeaserText {
  border-radius: 10px;
  display: inline-block;
  width: 72%;
  vertical-align: top;
  margin: 5px;
  padding-left: 10px;
  padding-right: 10px;
}

.TeaserBild {display: inline-block; width: 24%; vertical-align: top;
}

/* Teams.html */
.DivSpalten {
  position: relative;
}

.DivSpalten section.content {
  width: 40%;
  display: inline-block;
  position: relative;
}

#TeaserBildSpalten {
  width: 100%;
  position: relative;
  border-radius: 10px;
}

/* footer */

footer {
  background: linear-gradient(to left, #666666, #4CAF50);
  color: black;
  font-weight: bold;
  padding-bottom: 50px;
  margin-top: 20px;
}

footer p {
padding-left: 20px;
}

#logo-footer {
position: relative;
  float: right;
  padding-right: 50px;
z-index: 4;
width: 170px;
height: 170px;
padding-top: 15px;
}

#contact {
  padding-left: 20px;
  font-size: 30Px;
  padding-top: 50px;
}




@media screen and (max-width: 1100px) {
  #NextDates {
    display: block; width: 160px; height: 200px;
  }

  #NextDates h3 {
    font-size: 0.9em;
  }

  #NextDates p {
    font-size: 0.7em;
  }
}


@media screen and (max-width: 830px) {
    nav li a{
    font-size: 1em;}

    #title-text {
    font-size: 30px;
    }

    #NextDates {
    display: block; width: 160px; height: 200px;
    font-size: 15px;
    top: 70px; left: 20px;
    }
}

@media screen and (max-width: 650px) {
  #NextDates {
    display: none;
  }


}
