@media (max-width: 768px) {
    
}

@media (max-width: 768px) {
    .container-logo nav {
        top: 40px;
        left: 15px;
    }

    .container-logo img {
        width: 22%; /* Verkleinertes Logo  */
    }
}




@media (max-width: 768px) {
    .content-container .text,
    .content-containerprojects .text { 
        display: none; /* Ausblenden des Linken Textblocks */
    }
}




@media (max-width: 768px) {
    .johannes {
        font-size: 12px;
    }
}
@media (max-width: 768px) {
    .front a.Johannes {
        display: block; 
        max-width: 100px; 
        text-align: center; 
        white-space: normal; 
        line-height: 1.2; 
        margin: 0 auto; 
    }
}
@media (max-width: 768px) {
    .bild {
        width: 100%; 
        height: 100vh; 
        position: relative; /* Für das überlagerte Text-Element */
        overflow: hidden; /* Alles, was über den Container hinausgeht, wird abgeschnitten */
    }

    .bild img {
        width: 100%; 
        height: 100%; 
        object-fit: cover; /* Das Bild bleibt proportional */
        display: block; 
    }

    .bild a {
        position: absolute; /* Der Text wird über dem Bild positioniert */
        top: 50%; 
        left: 50%; 
        transform: translate(-50%, -50%); /* Zentrierung */
        color: white; 
        font-size: 16px; 
        font-weight: bold; 
        text-decoration: none; /* Unterstrich entfernen */
        background-color: rgba(0, 0, 0, 0.5); 
        padding: 10px 20px; /* Abstand um den Text */
        text-align: center; 
    }
}

@media (max-width: 768px) {
    footer .footer {
        display: flex;
        flex-direction: column; /* Links untereinander */
        align-items: center; 
        text-align: center;
        gap: 1px; 
    }

    footer .footer a {
        display: block; 
        margin: 0; 
        font-size: 15px; 
        font-weight: 100; 
    }
}
footer .footer a:hover {
    color: #555; 
}
