body {
    margin: 0;
    height: 800vh;
    background-color: #0F172A;
}

nav {
    /* GEÄNDERT: Startet transparent, damit man den Effekt sieht */
    background-color: transparent; 
    position: fixed;
    display: flex;
    height: 100px;
    width: 95vw;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    
    /* NEU: Macht den Farb- und Schattenwechsel butterweich */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

nav > div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.links2 {
    color: #6366F1;
    font-family: 'Open Sans';
    font-weight: bold;
    width: 350px;
    display: none;
    justify-content: space-around;
    position: fixed;
    top: 100px;
    left: 50%;
  transform: translateX(-50%);
    right: auto;
}

.links2 > a {
    border-bottom: 2px solid transparent; 
    transition: all .3s ease-in-out;
    font-family: 'Open Sans';
    color: #6366F1;
    user-select: none;
    text-decoration: none;
}

.links2 a:hover {
    border-color: #007bff;
    border-bottom: 2px solid #6366F1; 
}

.links {
    font-family: 'Open Sans';
    width: 350px;
    display: flex;
    justify-content: space-around;
}

.links > a {
    border-bottom: 2px solid transparent; 
    transition: all .3s ease-in-out;
    font-family: 'Open Sans';
    color: #6366F1;
    user-select: none;
    text-decoration: none;
}

.links a:hover {
    border-color: #007bff;
    border-bottom: 2px solid #6366F1; 
}

.black > a {
    color: #000;
}

.black a:hover {
    border-color: #000!important;
    border-bottom: 2px solid #000!important; 
}

.logo {
    display: flex;
    height: 4rem;
    width: auto;
}

.logo > a {
    font-family: "Permanent Marker";
    text-decoration: none;
    display: inline-block;
    padding: 1rem;
    font-weight: normal;
    font-style: normal;
    font-size: clamp(1.5rem, 1.875vw, 3rem);
    color: #6366F1;
    margin: 0;
}

.button {
    transition: all ease-in-out .3s;
    cursor: pointer;
    font-family: "Permanent Marker";
    color: #6366F1;
    padding-left: .5rem;
    padding-right: .5rem;
    height: 30px;
    user-select: none;
    border: 3px solid #6366F1;
    margin-right: 20px;
}

.button2 {
    color: #0F172A!important;
    border: 3px solid #0F172A!important;
}

.button2:hover {
    color: #6366F1!important;
    background-color: #0F172A!important;
}

.button:hover {
    color:#0F172A;
    background-color: #6366F1;
}

.button a {
    background-color: #0F172A;
    text-decoration: none;
    font-family: "Permanent Marker";
    z-index: 3;
}

nav > div > a {
    text-decoration: none;
    font-family: "Mulish";  
    font-weight: 700;
    color: #6366F1;
}

#con-1 {
    width: 100vw;
    height: 100vh;
    background-color: #0F172A;
}

#con-2 {
    width: 100vw;
    height: 200vh;
    background-color: #6366F1;
}

#con-2 img {
        width: 100%;
        max-width: 100%;
        height: auto;
}

#con-3 {
    width: 100vw;
    height: 400vh;
    background-color: #0F172A;
}

#my-text.scrolled * {
    color: #0F172A;
}

#con-2 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lg * {
  fill: #6366F1; /* Deine Startfarbe */
  transition: fill 0.3s ease; /* Macht den Farbwechsel schön weich */
  cursor: pointer;
}

.acv * {
        fill: #0F172A!important; /* Deine Wunschfarbe beim Hovern */

}



/* RESPONSIVE */

@media (max-width: 800px) {
    .logo {
        height: 3rem;
    }
.links {
    display: none;
}
.links2 {
    display: flex!important;
}
    }