* {
    font-family: Arial;
    padding: 0px;
    margin: 0px;
}

body {
    min-width: 1225px; /*for naivgation bar*/
}

h2 {
    padding: 0px 0px 20px 0px;
}

h3 {
    padding: 20px 0px;
}

ul {
    padding: 0px 30px;
}

a {
    text-decoration: none;
    color: black;
}

iframe {
    margin: 0 auto;
    display: block;
}

a:hover {
    background-color: #7C9CB2;
}

.link_in_text {
    color: blue;
}

.anchor_link {
    position: absolute;
    top: -100px;
}

.wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.content_wrapper {
    margin: 30px 0px;
    width: 1225px;
    text-align: justify;
    z-index: 2;
    border-radius: 15px;
    box-shadow: 0px 0px 30px;
}

.header {
    width: 100%;
    height: 200px;
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 4;
}

#top_bar {
    height: 150px;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 15px;
}

.logo {
    height: 100%;
    width: 80%;
    background: white; /* sonst schatten von logo oberhalb sichtbar */
    min-height: 100px;
    min-width: 640px;
    display: flex;
    z-index: 4;
    border-radius: 15px 0px 0px 0px;
}

.logo img {
    height: 130px;
    margin: auto;
}

.header_contact {
    width: 20%;
    padding: 0px 10px 0px 0px;
    color: black;
    background: white;
    align-content: center;
    border-radius: 0px 15px 0px 0px;
}

#navigation {
    display: block;
    background: black;
    height: 25%;
}

#navigation label,
#navigation input {
    display: none;
}

#main-menu {
    background: #7C9CB2;
    width: 100%;
    max-width: 1225px;
    height: %;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    font-size: 20px;
    z-index: 3;
}

.dropdown-content {
    display: none;
}

.sticky {
    position: fixed;
    top: 0;
    box-shadow: 10px 0px 100px;
}

.dropdown {
    text-align: center;
    position: relative;
    color: black;
}

.dropdown a {
    min-height: 50px;
    min-width: 165px;
    padding: 0px 40px;
    line-height: 50px;
    display: block;
    color: black;
}

#navigation #main-menu {
    display: flex;
}


.dropdown-content {
    display: none;
    width: 100%;
    position: absolute;
}

.dropdown:hover .dropdown-content {
    display: block;
    background: #7C9CB2;
}


#active_page {
    color: white;
}

#active_page:hover {
    color: black;
}

.footer {
    background: #7C9CB2;
    padding: 10px 20px;
    position: relative;
    text-align: center;
    border-radius: 0px 0px 15px 15px;
}

.footer a {
    background-color: transparent;
}

.slideshow {
    position:absolute;
    overflow: hidden;
    height: 700px;
    width: 100%;
    position: relative;
}

.slideshow img {
    width: 110%;
    min-height: 720px;
    position: absolute;
}

.slideshow figure {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 1;
    animation: wechseln 30s infinite;
}

.slideshow figure:nth-of-type(2) {
  animation-delay: 10s;
}
.slideshow figure:nth-of-type(1) {
  animation-delay: 20s;
}

@keyframes wechseln {
    0% {opacity: 1;}
   25% {opacity: 1;}
   40% {opacity: 0;transform: scale(0.9)}
   92% {opacity: 0;transform: scale(1)}
  100% {opacity: 1;}
}

.infobox_suppcontainer {
    display: flex;
    justify-content: center;
}

.infobox {
    position: absolute;
    display: flex;
    justify-content: space-around;
    bottom: 0;
    z-index: 2;
    font-size: 35px;
    width:40%;
    min-width: 640px;
    text-align: center;
    padding: 20px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 15px 15px 0px 0px; 
}

.infobox p {
    font-size: 20px;
}

.infobox span {
    font-size: 30px;
}

.infobox a {
    font-size: 30px;
    padding: 2px 5px;
    border-radius: 10px;
    background-color: transparent;
}

.infobox a:hover {
    background-color: #7C9CB2;
}

.text_wrapper1 {
    background: white;
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.text_wrapper2 {
    background: white;
    position: relative;
    display: flex;
    justify-content: center;

    z-index: 2;
}

.text {
    width: 100%;
    margin: auto;
    padding: 40px;
    text-align: justify;
    z-index: 2;
}

#outer_contact_wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#form_container {
    padding: 20px;
}

form {
    background-color: #7C9CB2;
    width: 640px; /* Breite des Formulars */
    padding: 20px;
    border: 1px solid #8c8c8c;
}

label { /* Beschriftung auf eigener Zeile */
    display: block;
    cursor: pointer; /* Mauszeiger wird zur Hand */
    padding: 5px 0px;
}

input#name {
    width: 300px;
    height: 20px;
    border: 1px solid #8c8c8c;
}

input#absender,
textarea {
    width: 300px;
    height: 20px;
    border: 1px solid #8c8c8c;
    margin-bottom: 1em;
}

textarea {
    height: 7em;
    width: 600px;
}

input:focus,
textarea:focus {
    background-color: #d9d9d9;
}

#submit_btn {
    padding: 5px;
}


.text_kontakt {
    padding: 20px 100px 20px 0px;
    display: block;
    z-index: 2;
}

#karte {
    display: flex;
    justify-content: center;
    padding: 50px 0px;
    z-index: 2;
}

.background1 {
    height: 800px;
    width: 100%;
    position: relative;
    background-image: url("../images/DSC_5615.resized.jpg");
    background-attachment: fixed; /* Parallax */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.background2 {
    height: 800px;
    width: 100%;
    position: relative;
    background-image: url("../images/DSC_5619.resized.jpg");
    background-attachment: fixed; /* Parallax */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.impressum {
    padding: 20px;
}

.background3 {
    height: 800px;
    width: 100%;
    position: relative;
    background-image: url("../images/DSC_5640.resized.jpg");
    background-attachment: fixed; /* Parallax */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.background4 {
    height: 800px;
    width: 100%;
    position: relative;
    background-image: url("../images/DSC_5653.resized.jpg");
    background-attachment: fixed; /* Parallax */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}