* {
    
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    height: 100%;
    font-family: "Poppins", sans-serif;
    color: #555;
    background: linear-gradient(190deg, #ac0a77 0%, #f2cee6 70%);
    display: flex;
    flex-direction: column;
}

header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100px; /* oder jede gewünschte Höhe */
    
}

header:hover {
    background: #fff;
}

header .logo img {
    height: 120px;
    transition: transform 0.3s;
    margin-top: 20px;
    margin-left: -20px;
    
}

header .logo img:hover {
    transform: scale(1.1);
}

.menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

nav {
    display: flex;
    gap: 20px;
    transition: all 0.3s;
}

nav a {
    text-decoration: none;
    color: #ac0a77;
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: 25px;
    transition: all 0.3s;
}

nav a:hover {
    background: #ac0a77;
    color: #fff;
    border: 2px solid #ac0a77;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.main-content h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.main-content p {
    max-width: 600px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    text-decoration: none;
    color: #ac0a77;
    font-size: 24px;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: #f2cee6;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 20px;
        justify-content: space-between; /* Stellt sicher, dass der Inhalt maximal auseinander liegt */
        align-items: center;             /* Zentriert den Inhalt vertikal */
    }

    header .logo {
        flex-grow: 1;          /* Lässt das Logo-Element wachsen, um den verfügbaren Platz zu füllen */
        display: flex;         /* Macht das Logo zu einem Flex-Container */
        justify-content: center; /* Zentriert das Logo horizontal */
        margin-top: -20px;
    }

    /* Wenn Sie andere Elemente zwischen dem Logo und dem Menü-Icon haben, sollten Sie sicherstellen, dass sie nicht in den Weg kommen. Sie könnten sie ausblenden oder anders positionieren. */

    .menu-btn {
        order: 2;               /* Stellt sicher, dass das Menü-Icon das letzte Element ist */
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: center;
        display: none;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    }

    nav a {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .menu-btn {
        display: block;
    }
}
