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

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

h3 {
    padding: 20px 0px;
}

ul {
    padding: 0px 30px;
}

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

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

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

.link_in_text {
    color: blue;
}

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

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

#top_bar {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.header_contact {
    display: none;
}

.logo {
    background: white;
    display: flex;
    position: absolute;
}

.logo img {
    padding: 5px;
    margin: auto;
    height: 120px;
}

#navigation {
    display: block;
    background: white;
    height: 100%;
}


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


#navigation #main-menu,
#navigation > input {
    display: none;
}

.dropdown-content {
    display: none;
}

/** 3-bar menue mobile version **/
#navigation > label {
    display: block;
    font-size: 70px;
    color: #000;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 80px;
    padding: 0;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#navigation > input:checked + #main-menu {
  display: block;
  clear: both;
  top: 60px;
  position: relative;
  background: black;
  color: #000;
}

.sticky {
    position: fixed;
    top: 0;
}

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

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

#dropdown-content {
    display: none;
}

#active_page {
    color: #7C9CB2;
}

#active_page:hover {
    color: black;
}

.footer {
    background: #fff4e4;
    padding: 10px 20px;
    position: relative;
    text-align: center;
}

.footer a {
    background-color: transparent;
}

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

.slideshow img {
    width: 110%;
    min-height: 700px;
    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: 400px;
    text-align: center;
    padding: 20px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 15px 15px 0px 0px; 
}

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

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

.infobox a {
    font-size: 20px;
    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 {
    margin: 30px 0px;
    padding: 20px;
    width: 100%;
    text-align: justify;
    z-index: 2;
}

#form_container {
    padding: 20px;
}

form {
    background-color: #7C9CB2;
    width: 540px; /* 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: 500px;
}

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

#submit_btn {
    padding: 5px;
}

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

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

.background1_leistungen {
    height: 300px;
    position: relative;
    background-image: url("../images/saeuling.jpg");
    background-attachment: fixed; /* Parallax */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.background2_leistungen {
    height: 300px;
    position: relative;
    background-image: url("../images/schwangau.jpg");
    background-attachment: fixed; /* Parallax */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}