@charset "utf-8";

html {
    box-sizing: content-box;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px; 
    background-image: url(img/IMG-20210805-WA0012.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

*,*:before,*:after{box-sizing: inherit;}
/* body {
    max-width: 1050px;
    margin: auto;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    background-color: cornsilk;
    background-image: url(img/IMG-20210805-WA0012.jpg);
    background-repeat: no-repeat;
    background-size: cover;
} */
body {
    width: 100%;
}
.wrapper {
    max-width: 1200px;
    position: relative;
    /* margin: 15px 0 0 300px;   */
    margin-left: auto;
    margin-right: auto;
    min-height: auto;
    background-color: cornsilk;
}
.logo {
    width: 150px;
    height: auto;
    /* position: absolute; */
}
.flex {
    display: flex;
}
#liste {
    text-align: center;
}

section {
    background-color: cornsilk;
}

main ul {
    list-style: none;
    padding: 0;
}

figure {
    margin: 0px;
}

/*CSS Elemente*/

img {
    width: 100%;
    height: auto;
}

a {
    font-size: 20px;
}

p {
    padding-left: 20px;
    padding-right: 20px;
}

h1 {
    color: blue;
    font-size: 40px;
    font-weight: 400;
    text-align: center;
    margin-left: 25px;
}
h2 {
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}

h3 {
    text-align: center;
}
h4 {
    margin-left: 20px;
}
div {
    display: inline-block;
}

/*CSS Navigation*/
nav {
    background-color: darkgoldenrod;
    text-align: center;
    padding: 2px;
}

nav ul {
    list-style: none;
    padding: 0;


}

nav li {
    display: inline-block;

}

nav a {
    text-decoration: none;
    color: #004969;
    background: linear-gradient(to top, #9A9595 0%, #E5E1E1 100%);
    margin: 20px;
    border-radius: 5px;
    padding: 5px 30px 5px 30px;

}

nav a:hover {
    background: #fff;
}

a:hover {
    color: red
}
.active, .active:hover, .active:focus-within {
    background: lightgreen;
    color: red;
    border-bottom: none;
}
.activefooter, .activefooter:hover, .activefooter:focus-within {
    color:white;
    border-bottom: none;
}
/*CSS footer*/
footer a:hover {
    color: white
}


footer {
    background-color: darkgrey;
    text-align: center;
    position: sticky;
    bottom: 0;
}

footer a {
    padding: 5px 30px;
    text-decoration: none;
}

/*CSS Flexcontainer Bilder Galerie*/
.flexcontainer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0px;
}

.flexitems {
    width: 90%;
    padding: 10px;
    text-align: center;
}

.galerie {
    width: 300px;
    height: auto;
    padding: 15px;
}
form {
    margin: 20px;
}
label {
    min-width: 100px;
    display: inline-block;
    margin-bottom: 10px;
}
.formular {
    display: block;
}
.required label:after{
    content:"*" " ";
    color:red;
}
.img1 {
    max-width: 400px;
    height: auto;
    margin-left: 20px;
    margin-right: 10px;
}
.img2 {
    max-width: 400px;
    height: auto;
    margin-left: 10px;
    margin-right: 20px;
}
.flex {
    display: flex;
    margin-bottom: 20px;
}
.fl-l {
    float: left;
}
.clear:after {
    content: "";
    display: table;
    clear: both;
  }
.video {
    display: block;
    margin: 0 auto;
    margin-bottom: 25px;
}
@media speech{
    .required label:after{
      content:"";
    }
  }

  @media screen and (max-width:930px) {
      .navigation li {
          margin: 10px;
      }
      .text {
          width: 650px;
      }
  }

  @media screen and (max-width:750px) {
    .navigation li {
        display: flex;
    }
    .navigation a {
        margin: 0;
    }
    .text {
        width: 170px;
    }
    .video {
        width: 320px;
    }
}