body {
    margin: 0;
    font-family: Segoe UI, sans-serif;
    
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    
}

header {
    background: linear-gradient(white, rgb(214, 214, 214));
    padding: 1vh 0;
}

header h1 {
    margin: 0 2em;
}
h1 {
    font-family: Verdana, sans-serif;
    font-weight: 100;
    font-size: 25pt;
}
h2 {
    font-family: Verdana, sans-serif;
    font-weight: 100;
    font-size: 40pt;
    padding-bottom: 4px;
}


.logo-section {
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: fit-content;
    margin: 2vh 0 2vh 0;
}

.logo {
    width: 100%;  /* oder eine feste Breite, z.B. 400px */
    max-width: 700px;  /* oder eine andere geeignete Maximalbreite */
    height: auto;  /* behält die Seitenverhältnisse des Bildes bei */
}



.profile-section {
    background-color: #1f1f1f;
    color: white;
    padding: 1cm 0;
    height: fit-content;
}

.profile-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1cm;
}

.profile-section img {
    width: 600px; /* Setzt die Breite des Bildes fest */
}
.name-decorated {
    position: relative;
    /*color: #ffc444;*/
    padding-top: 5px; /* Abstand zwischen oberem Balken und Text */
    padding-bottom: 5px; /* Abstand zwischen unterem Balken und Text */
}

.name-decorated::before,
.name-decorated::after {
    content: "";
    position: absolute;
    height: 3px;
    background-color: #ffc444;
    width: 0.6em;
    left: 0;
}

.name-decorated::before {
    top: -5px; /* Positioniert den oberen Balken -5px oberhalb des "N" */
}

.name-decorated::after {
    bottom: -5px; /* Positioniert den unteren Balken -5px unterhalb des "N" */
    
}
.profile-text {
    width: 600px; /* Setzt die Breite des Text-Containers fest */
    text-align: left;
    font-size: 22pt;
    font-weight: lighter;
    max-height: fit-content;
   
}
.contact-info {
    height: 6em;  /* Reserviert Platz für 2 Zeilen Text */
}

.yellow-button {
    background-color: #ffc444; /* Gelbe Hintergrundfarbe */
    color: #1f1f1f;  /* Schwarze Textfarbe */
    border: none; /* Entfernt den Standard-Borderrahmen des Buttons */
    padding: 18px 30px; /* Vertikaler und horizontaler Abstand innerhalb des Buttons */
    font-size: 20px; /* Schriftgröße des Buttons */
    cursor: pointer; /* Ändert den Cursor auf einen Zeiger, wenn er über dem Button ist */
    border-radius: 0; /* Macht die Ecken des Buttons eckig */
}

/* Optional: Ändert die Farbe des Buttons, wenn der Mauszeiger darüber ist */
.yellow-button:hover {
    background-color: #e0b040; /* Eine etwas dunklere Gelbtönung */
}
.contact-info a {
    color: #ffc444; /* Farbe der Links */
    text-decoration: none; /* Entfernt die Unterstreichung der Links */
}

/* Optional: Ändert die Farbe der Links, wenn der Mauszeiger darüber ist */
.contact-info a:hover {
    color: #ffc444; /* Eine gelbe Farbe */
}


.info-section {
    margin: auto;
    background-color: white;
    display: flex;
    justify-content: flex-end;
    max-width: 1600px;
    padding-right: 50px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.info-section p {
    font-size: 18px;
    padding: 5px;
    margin: 0;
    
}
.info-section h4 {
    font-size: 24px;
    padding:5px;
    margin: 0;
    
}

footer {
    background-color: #1f1f1f;
    color: white;
    text-align: center;
    padding: 1.5cm 0;
}

/* Responsive Design: Anpassungen für kleinere Bildschirme */
@media only screen and (max-width: 768px) {
    .logo {
        width: 100%;  /* oder eine andere Prozentzahl/eine feste Breite, die auf Mobilgeräten gut aussieht */
       
    }
    .profile-content {
        flex-direction: column; /* Elemente werden untereinander angeordnet */
        align-items: center; /* Elemente werden horizontal zentriert */
    }

    .profile-section img, .profile-text {
        width: 100%; /* Breitere Anzeige der Elemente auf kleinen Bildschirmen */
        max-width: 400px; /* Maximalbreite bleibt bei 200px */
    }
    h2{
       font-size: 32pt; 
    }
}

@media only screen and (max-width: 1150px) {
    .logo {
        width: 100%;  /* oder eine andere Prozentzahl/eine feste Breite, die auf Mobilgeräten gut aussieht */
       
    }
    .profile-content {
        flex-direction: column; /* Elemente werden untereinander angeordnet */
        align-items: center; /* Elemente werden horizontal zentriert */
    }

    .profile-section img, .profile-text {
        width: 100%; /* Breitere Anzeige der Elemente auf kleinen Bildschirmen */
        max-width: 600px; /* Maximalbreite bleibt bei 200px */
    }
    h2{
       font-size: 32pt; 
    }
}