body {
    font-family: Arial, sans-serif;
    background-color: #fff;
}

nav ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
}

nav ul li { 
    color: #fff;
    margin-right: 20px;
    padding: 5px;
    margin-top: 5px; 
    margin-bottom: 5px; 
}

a {
    text-decoration: none;
    color: #000;
    text-align: center;
}
 .collapsible {
    background-color: #D9D9D9;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%; 
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    border-radius: 5px; 
}

.active, .collapsible:hover {
    background-color: #555;
    border-radius: 3px 0 0 3px;
    border-radius: 5px; 
}
.content {
    background-color: #C2E0E0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    text-align: left; 
    border-radius: 5px; 
}

.content a {
    display: block;
    padding: 10px; 
    width: 100%; 
    box-sizing: border-box; 
    text-align: left;
    border-radius: 5px; 
}

.content a:hover {
    padding: 15px; 
    background-color: white; 
    border-radius: 5px; 
}
#ausschreibung{
    background-image: url('Bilder/Bild_29.jpg');
    background-size: cover;
    background-position: center;
    max-width: 100%;
    padding: 15px;
    margin: 15px;
    background-color: rgba(255, 255, 255, 0.904);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}

.ausschreibung.p{
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.596);
    text-align: left;
}
.ausschreibung.h1{
    font-size: 200%;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.596);
    text-align: left;
}
.ausschreibung.h4{
    font-size: 200%;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.596);
}
#ausschreibung-container {
    max-width: 100%;
    padding: 10px;
    margin: 10px;
    background-color: #D9D9D9;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.image-container {
    display: block;
    margin: 10px auto;
}

.image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.image-container img:hover {
    transform: none; 
}

.image-text {
    text-align: center;
    font-size: 12px; 
    margin-top: 5px;
}

h3{
    font-size: 200%;
    color: black;
}


#start{
    background-image: url('Bilder/Bild_21.jpg');
    background-size: cover;
    max-width: 100%;
    padding: 100px;
    background-color: rgba(255, 255, 255, 0.904);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}
.start.h1{
    font-size: 200%;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.596);
    text-align: left;
}
.start.h4{
    font-size: 200%;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.596);
}
.start.p{
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.596);
}

.Anmeldung{
    background-color: #D9D9D9;
    max-width: 95%;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
.form-group {
    margin-bottom: 15px;

}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input, .form-group select {
    width: 95%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-group button {
    background-color: #82a582;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.2);
}

.form-group button:hover {
    background-color: #218838;
}


.Spalte {
    display: flex;
    margin-bottom: 10px;
}

.zeit {
    min-width: 60px;
    background-color: #82a582;
    color: #fff;
    padding: 10px;
    text-align: center;
    border-radius: 3px 0 0 3px;
}

.Inhalt {
    flex: 1;
    background-color: #D9D9D9;
    padding: 10px;
    border-radius: 0 3px 3px 0;
}


main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.map-container {
    position: relative;
    text-align: center;
}

.map-container img {
    max-width: 100%;
    height: auto;
}

#main-text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    display: none;
}
.thumbnailsleiste {
    background-color: #AFACAC;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    width: 100%;
}
.thumbnails {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}
.thumbnails img:hover {
    background-color: #D9D9D9; 
    border-radius: 5px; 
}
.thumbnails img {
    width: 100px;
    height: auto;
    margin: 0 10px;
}
.legende-content {
    background-color: #D9D9D9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    width: 90%;
}

.legende.h2 {
    color: #333;
    text-align: left;
}

.legende.p {
    color: #333;
    text-align: left;
}

#impressum {
    padding: 100px;
    margin: 15px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.impressum.h4{
    Text-align: left; 
}
footer {
    text-align: center;
    padding: 10px;
    background-color: #C2E0E0;
    border-radius: 5px; 
  }

footer ul {
    list-style-type: none;
    padding: 0;
    text-align: center; 
}

footer ul li { 
    color: #fff;
    margin-right: 20px;
    padding: 5px;
    margin-top: 5px; 
    margin-bottom: 5px; 
}

@media only screen and (max-width: 575px) {
    body{
        font-size: 14px;
    }

    .logo {
        content: url('Bilder/Logo_reduziert_3.png');
        max-width: 300px; 
        display: inline-block;
        vertical-align: middle;
        margin-right: 10px; 
    }

    .thumbnails img {
        width: 30px;
        height: auto;
        margin: 0 10px;
        cursor: pointer;
    }


}

@media only screen and (min-width: 576px) {
    body {
        font-size: 16px;
    }
    .logo {
        content: url('Bilder/Logo_reduziert_2.png');
        max-width: 120px; 
        display: inline-block;
        vertical-align: middle;
        margin-right: 10px; 
    }
    

    .start.p{
        text-align: right;
    }
    .start.h1{
        text-align: right;
    }
    h4{
        text-align: right;
    }
    .legende-content {
        width: 95%;
    }

    .image-container {
        position: relative;
        display: inline-block;
        text-align: center;
        margin: 10px;
        
    }
    .image-container img {
        width: 500px;
        height: auto;
    }
    .image-container img:hover {
        transform: scale(1.1);
    }
    .image-text {
        text-align: center;
        font-size: 14px;
        margin-top: 5px;
    }
   
    

}
@media only screen and (min-width: 992px) {
    body {
        font-family: Arial, sans-serif;
        font-size: 18px;
    }
    .logo {
        content: url('Bilder/Logo_reduziert_2.png');
        max-width: 180px; 
        display: inline-block;
        vertical-align: middle;
        margin-right: 10px; 
    }
    
   
    .start.p{
        text-align: right;
    }
    .start.h1{
        text-align: right;
    }
    h4{
        text-align: right;
    }
    .legende-content {
        width: 95%;
    }
    .image-container {
        position: relative;
        display: inline-block;
        text-align: center;
        margin: 10px;
        
    }
    .image-container img {
        width: 500px;
        height: auto;
    }
    .image-container img:hover {
        transform: scale(1.1);
    }
    .image-text {
        text-align: center;
        font-size: 14px;
        margin-top: 5px;
    }

   
}
@media only screen and (min-width: 1400px) {
    body {
        font-family: Arial, sans-serif;
        font-size: 20px;
    }
    .logo {
        content: url('Bilder/Logo_reduziert_1.png');
        max-width: 200px; 
        display: inline-block;
        vertical-align: middle;
        margin-right: 10px; 
    }
    nav ul li{
        display: inline;
        margin-right: 20px;
        padding: 15px;
        margin: 15px 7px; 
    }
   
    .start.p{
        text-align: right;
    }
    .start.h1{
        text-align: right;
    }

    h4{
        text-align: right;
    }
  
    #ausschreibung-image {
        max-width: 100%;
        padding: 10px;
        margin: 10px;
        background-color: rgba(255, 255, 255, 0.904);
        border-radius: 5px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .image-container {
        position: relative;
        display: inline-block;
        text-align: center;
        margin: 10px;
        
    }
    .image-container img {
        width: 500px;
        height: auto;
       
    }
    .image-container img:hover {
        transform: scale(1.1);
    }
    .image-text {
        text-align: center;
        font-size: 14px;
        margin-top: 5px;
    }
    .legende-content {
        display:none;
       
    }
    
    .legend.h2 {
        text-align: center;
        color: #333;
    }
    
    .legend.p {
        color: #333;
    }
    
    
    
   
    main {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
    
    .map-container {
        position: relative;
        text-align: center;
    }
    
    .map-container img {
        max-width: 100%;
        height: auto;
    }
    
    #main-text { 
        display: block;
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
       
    }
    .thumbnailsleiste {
        background-color: #AFACAC;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        margin-top: 20px;
        width: 100%;
    }
    .thumbnails {
        display: flex;
        justify-content: center;
        margin: 20px 0;
    }
    .thumbnails img:hover { 
        background-color: #D9D9D9; 
        border-radius: 5px; 
    }
    .thumbnails img {
        width: 100px;
        height: auto;
        margin: 0 10px;
        cursor: pointer;
    }

    nav ul li { 
        display: inline;
    }
    }
