/* Schriftart einbinden */
@font-face {
    font-family: 'IBMPlexSans';
    src: url('font/IBMPlexSans-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.blob-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    pointer-events: none;
    filter: url(#goo);
    z-index: 9999;
    mix-blend-mode: difference;
  }

  .blob-dot {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    
  }

/* Grundlayout */
body {
    margin: 0;
    background-color: black;
    padding: auto;
    box-sizing: border-box;
    font-family: IBMPlexSans;
    color: white;
    overflow: auto;
    cursor:none;

}
p.fokusText {
    font-size: 40vh;;
}
/* Layout für Header und Fokus-Sektion */
.top, .fokus {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 2vw;
    margin-bottom: 5vh;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: rgb(0, 0, 0);
}

/* Einschränkung für linken Fokus-Textbereich */
.fokus > div:first-child {
    max-width: 50vw;
    padding-left: 25px;
    box-sizing: border-box;
    margin-bottom: 6vh;
}

.about {
    width: 50%;
}

.text {
    width: 50%;
    font-size: 40vh;
    line-height: 1.3;
    color: white;
    font-family: IBMPlexSans;
}

/* Button-Sektion */
.btn {
    width: 50%;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end; /*hier musste einfach nur end setzt werden damit es am ende steht */
    margin-right: 25px;
    /*margin-left: 18.5vw;*/
}

.button-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.introducing {
    padding-top: 0;
    margin-top: 25px;
    margin-left: 25px;
    max-width: 1000px;
    font-size: 10vh;
    font-weight: 900;
    line-height: 1.1;
    color: aliceblue;
    display: flex;
    background-color: #000000;
}

/* Projektliste rechts */
.project {
    line-height: 1.2;
    color: white;
    font-family: IBMPlexSans;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    width: auto;
    max-width: 600px;
    box-sizing: border-box;
    margin-right: 100px;
    margin-top: 3vh;
}

.project h1 {
    font-size: 6vh;
    font-family: IBMPlexSans;
    color: white;
    margin: 0;
}

.project h1 a {
    text-decoration: none;
    color: white;
}

.project h1 a:hover {
    color: lightgray;
    cursor: none;
}

.project h1 a:visited {
    color: white;
}

/* Button-Stil inklusive Hover-Effekt mit Icon */
button, #meBtn, #kontakt, #githubBtn {
    height: 12vh;
    width: 24vw;
    border-style: solid;
    border-radius: 100px;
    border-width: 4px;
    border-color: rgb(255, 255, 255);
    background-color: black;
    color: white;
    font-weight: 900;
    font-size: 70px;
    margin-top: 25px;
    font-family: IBMPlexSans;
    cursor: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Text und Icon zentral ausrichten */
#githubBtn .text,
#githubBtn .icon,
#kontakt .text,
#kontakt .icon,
#meBtn .text,
#meBtn .icon {
    position: absolute;
    font-size: 6vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

/* Icons standardmäßig ausblenden */
#githubBtn .icon,
#kontakt .icon,
#meBtn .icon {
    width: 12vh;
    height: 12vh;
    opacity: 0;
    pointer-events: none;
    filter: invert(1);
}

/* Hover-Effekt: Text ausblenden, Icon einblenden */
#githubBtn:hover,
#kontakt:hover,
#meBtn:hover {
    background-color: #000000;
    border: none;
}

#githubBtn:hover .text,
#kontakt:hover .text,
#meBtn:hover .text {
    opacity: 0;
}

#githubBtn:hover .icon,
#kontakt:hover .icon,
#meBtn:hover .icon {
    opacity: 1;
}

/* Link-Stil für Projekt-Titel */
h1 a {
    text-decoration: none;
    color: white;
}

h1 a:hover {
    color: lightgray;
}

h1 a:visited {
    color: white;
}

/* Know-How-Textbereich */
#knowHow {
    font-size: 6vh;
    color: white;
    width: 50%;
    line-height: 1.4;
    padding-bottom: 5vh;
    padding-left: 25px;
    font-family: IBMPlexSans;
}

#knowHow p, #knowHow ul, .fokus p {
    font-size: 4vh;
    line-height: 1.3;
    font-family: IBMPlexSans;
    color: white;
}


/* Trennlinie */
hr {
    border-style: solid;
    border-width: 2px;
    color: white;
    margin-top: -10vh;
    margin-bottom: vh;
    margin-left: 25px;
    margin-right: 25px;
}

.arrow {
    display: inline-block;
    animation: wiggle 1s ease-in-out infinite alternate;
  }
  
  /* Animation für leichtes Wippen */
  @keyframes wiggle {
    0%   { transform: translateX(0); }
    50%  { transform: translateX(6px); }
    100% { transform: translateX(-6px); }
  }
  
  /* Wenn der Link oder Pfeil gehovt wird: Animation pausieren */
  .pfeil-link:hover .arrow {
    animation-play-state: paused;
  }


/* Responsive ab 1440px */
@media (max-width: 900px) {
    .introducing {
        font-size: 6vh;
        text-align: center;
        margin-left: 0;
    }

    p.fokusText {
        font-size: 4vh;
    }

    .btn {
        margin-left: 0px;
        margin-right: 0px;
        align-items: center;
    }

    button, #meBtn, #kontakt, #githubBtn {
        width: 80vw;
        font-size: 6vh;
    }

    .project h1 {
        font-size: 6vh;
        text-align: center;
    }

    #knowHow {
        width: 100%;
        font-size: 5vh;
    }

    #knowHow p, #knowHow ul {
        font-size: 3.5vh;
    }

    hr {
        margin-left: 5vw;
        margin-right: 5vw;
    }
}

/* Responsive für Mobilgeräte */
@media (max-width: 768px) {
    .top, .fokus {
        flex-direction: column;
    }

    .about, .text, .btn, .project, #knowHow {
        width: 100%;
        padding-left: 0;
    }

    .button-wrapper {
        padding-left: 0;
        align-items: center;
    }

    button, #meBtn, #kontakt, #githubBtn {
        width: 90%;
        font-size: 10vw;
    }

    .introducing {
        font-size: 12vw;
    }

    .text, #knowHow, #knowHow p, #knowHow ul, .fokus p {
        font-size: 6vw;
    }

    .btn, .project {
        align-items: center;
        padding-left: 0;
    }
}
@media (max-width: 480px) {


    .introducing {
        font-size: 7vw;
        padding: 0 8vw;
        margin-top: 25px;
        text-align: center;
    }

    .btn {
        width: 100%;
        align-items: center;
        gap: 12px;
        margin-right: 25px;
    }

    button, #meBtn, #kontakt, #githubBtn {
        width: 80vw;
        font-size: 7vw;
        min-width: unset;
        max-width: 100vw;
        height: 60px;
        margin-top: 12px;
    }

    hr {
        border: none;
        border-top: 1px solid #444;   /* Dünne, dezente Linie */
        margin: 4vh auto;
        width: 80%;
        max-width: 600px;
        opacity: 0.5;
    }

    .project {
        font-size: 5vw;
        width: 100%;
        max-width: 100vw;
        padding: 0 4vw;
        align-items: center;
        margin-top: -30vh;
    }

    #knowHow, #knowHow p, #knowHow ul {
        font-size: 3vw;
        padding: 0 4vw;
        text-align: center;
    }
    .fokusText {
        width: 90vw;         /* Volle Bildschirmbreite */
        height: 100vh;        /* Volle Bildschirmhöhe */
        display: flex;        /* Zentrierung mit Flexbox */
        align-items: center;  /* Vertikal zentrieren */
        justify-content: center; /* Horizontal zentrieren */
        font-size: 6vw;       /* Große, responsive Schrift */
        margin-top: -25vh;
        margin-right: 25px;
        padding: 0;
        box-sizing: border-box;
    }
}