body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    background-color: #ffffff; /* Heller Hintergrund */
    color: #333333; /* Dunkler Text */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
header{
    text-align: center;
}
header h2{
    font-weight: 300;
}
header a{
    text-decoration: none;
    padding: 1vh;
}
header a:hover{
    text-decoration: underline;
}
#contact {
    padding: 50px 20px;
    text-align: center;
}

#contact img{
    height: 40vh;
}

#contact h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333333; /* Dunkler Text für Sektionstitel */
}

#contact p {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #666666; /* Leicht abgedunkelter Text */
}

#contact a {
    color: #333333; /* Dunkler Text für Links */
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}
a{
    color: black;
    text-decoration: none;
}
.gallery{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    
}
.gallery a{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 5vh;
    
}
.gallery a p{
    z-index: 2;
}
.gallery img{
    padding: 1%;
    object-fit: cover;
    display: block;
}
.hk{
    width: 40vh;
}
.qk{
    height: 50vh;
}
.break {
  flex-basis: 100%;
  height: 0;
}
.binfo{
    justify-content: center;
    width: 70vh;
    text-align: center;
}
.gallery a{
    position: relative;
    justify-content: center;
    align-content: center;
}
.gallery a .overlay {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
}
.gallery a .qoverlay {
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
}   
.gallery a:hover .overlay, .gallery a:hover .qoverlay {
    opacity: 1;
}
.gallery a p{
    margin: 0px;
}

@media (max-width: 800px) {
    .gallery {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    .qk{
        height: auto;
        width: 90%;
    }
    .hk{
        width: 70%;
    }
    .gallery a .overlay {
        opacity: 1;
        width: 72%;
        
        padding: 2vh;
        margin: 2vh;
        height: auto;
    }
    .gallery a .qoverlay {
        opacity: 1;
        width: 92%;
        
        padding: 2vh;
        margin: 2vh;
        height: auto;
    }
    .gallery a .overlay h3, .gallery a .qoverlay h3{
        margin: 0;
        margin-bottom: 1vh;
    }
}
