/* Allgemeine Stile */
body {
    font-family: 'Exo', sans-serif; /* Exo als Standard-Schriftart */
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #ffffff;
    
}

/* Header-Stil */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgb(0, 0, 0);
    padding: 1rem 2rem;
   
    background-color: rgba(255, 255, 255, 0); /* Transparent */
}

header .logo {
    font-size: 1.5rem;
    
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 4rem;
    margin: 0;
    padding: 0;
}

header nav ul li {
    position: relative; /* Notwendig für das ::before-Pseudoelement */
}

header nav ul li a {
    color: rgb(128, 128, 128);
    text-decoration: none;
    position: relative; /* Positionierung für ::before */
}

header nav ul li a:hover {
    color: #000000;
}
header nav ul li a::before {
    content: "";
    position: absolute;
    bottom:-1px;
    left:0;
    width:0%;
    height: 2px;
    background-color: #fe82f0;
    transition: all .5s;
}

header nav ul li a:hover:before {
    
    width:100%;
    
}
header nav ul li a.active {
    color: black; /* Setzt die Textfarbe auf schwarz */
    border-bottom: 2px solid #fe82f0; /* Setzt den pinken Strich unter den Link */
    
}

/*hamburger menü*/

header nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

header nav.active {
    display: flex;
}


/* Hamburger-Icon fixen */
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1001; /* Stellt sicher, dass das Icon über anderen Elementen liegt */
}

/* Menü standardmäßig verstecken */
header nav {
    display: flex;
    flex-direction: row;
}

/* Menü für kleine Bildschirme */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        font-size: 2rem;
        cursor: pointer;
        z-index: 1100;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        transition: color 0.3s ease-in-out; /* Sanfte Farbänderung */
    }
    
    /* Icon wird pink, wenn das Menü aktiv ist */
    .menu-toggle.active {
        color: #fe82f0;
    }
    
    

    header nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.95); /* Hintergrund leicht transparent */
        z-index: 1000; /* Über allem anderen */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        
        /* Versteckt das Menü standardmäßig */
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.3s ease-in-out, visibility 0.3s;
    }

    /* Aktives Menü sichtbar machen */
    header nav.active {
        visibility: visible;
        opacity: 1;
    }

    header nav ul {
        flex-direction: column; /* Links untereinander anordnen */
        gap: 20px;
    }

    header nav ul li {
        font-size: 1.5rem; /* Links größer machen */
    }
}



h2{

    font-weight: 300;
}

h3{

    font-size: 3rem;
    font-family: 'Exo', sans-serif; /* Verwende die gewünschte Schriftart */
    font-weight: 200;
}




/* Footer-Stil */
footer {
    position: relative;
    background-color: #faf1f5;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/*
button {
    font-family: "exo";
    font-size: 1rem;
    padding: 7px 20px;
    cursor: pointer;
    color: rgb(0, 0, 0);
    border: 0;
    border-radius: 100px;
    background: none;
    font-weight: 400;
    position: relative;
    outline: none;
    background-color: #ffffff;
    transition: background-color 0.3s;
    box-shadow: 0px 3px 5px rgb(203, 133, 167);
    transition: box-shadow 0.3s
}

button:hover {
    box-shadow: none;
    
}

button::before, button::after {
    box-sizing: inherit;
    position: absolute;
    content: '';
    border: 2px solid transparent;
    width: 0;
    height: 0;
}

button::after {
    bottom: 0;
    right: 0;
}

button::before {
    top: 0;
    left: 0;
    
}


button:hover::before, button:hover::after {
    width: 100%;
    height: 100%;
}

button:hover::before {
    border-top-color: #fe82f0;
    border-right-color: #fe82f0;
    transition: width 0.2s ease-out, height 0.2s ease-out 0.2s;
}

button:hover::after {
    border-bottom-color: #fe82f0;
    border-left-color: #fe82f0;
    transition: border-color 0s ease-out 0.3s, width 0.2s ease-out 0.3s, height 0.2s ease-out 0.6s;
}

*/button {
    background: transparent; /* Kein Hintergrund */
    border: 1px solid #ffb9c9; /* Schwarzer Rand */
    border-radius: 50px; /* Abgerundete Ecken */
    color:  rgb(0, 0, 0); /* Textfarbe */
    padding: 8px 20px; /* Innenabstand */
    font-size: 16px; /* Schriftgröße */
    font-family: exo;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease-in-out, border 0.3s ease-in-out;
}

/* Pseudo-Element für den Farbverlauf-Fülleffekt */
button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #ffb9c9, #fbc6ab); /* Farbverlauf */
    transition: width 0.3s ease-in-out;
    z-index: -1;
}

/* Effekt beim Hover */
button:hover {
    color: #ffffff; /* Ändert die Schriftfarbe auf Weiß */
    
    
}

/* Pseudo-Element vergrößern (von links nach rechts füllen) */
button:hover::before {
    width: 100%;
}





#back-button {
    position: absolute;
    top: 20px; /* Abstand vom oberen Rand (unterhalb des Headers) */
    left: 20px; 
    
}