/* Allgemeines Reset - damit alle Browser gleich aussehen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 65px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #e8e8e8;
    /*background: linear-gradient(135deg, lightcyan, cornflowerblue, steelblue);*/
}





/* Navigation Bar */

.navbar {
    display: flex;          /* Logo und Links nebeneinander */
    padding: 1rem 5%;       /* Abstand: oben/unten 1rem, links/rechts 5% */
    /*background-color: #ffffff;*/  /* Weißer Hintergrund */
    background: linear-gradient(135deg, lightcyan, cornflowerblue, steelblue);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;          /* Inhalt nebeneinander */
    align-items: center;    /* Vertikal zentriert */
    justify-content: center; /* Horizontal zentriert */
    gap: 3.75rem;           /* Abstand zwischen Logo und Links */
    width: 100%;            /* Volle Breite */
    max-width: 1100px;      /* Aber nie breiter als 1100px */
    margin: 0 auto;         /* Container selbst zentrieren */
}

.nav-logo {
    display: flex;          /* DS Icon und Name nebeneinander */
    align-items: center;    /* Vertikal zentriert */
    gap: 0.625rem;          /* Abstand zwischen Icon und Name */
}

.logo-img {
    height: 2.5rem;
    width: auto;
}

/*.logo-icon {
    background-color: #2a7ae2; 
    color: white;              
    font-weight: bold;           
    padding: 0.375rem 0.625rem;  
    border-radius: 5px;          
}

.logo-name {
    font-weight: bold;
    font-size: 1.125rem;    
    color: white;
}*/

.nav-links {
    display: flex;          /* Links nebeneinander */
    list-style: none;       /* Keine Punkte */
    gap: 1.875rem;          /* Abstand zwischen den Links */
    font-weight: bold;      /* Fett für die Kategorien */
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease, letter-spacing 0.3s ease, trnasform 0.3s ease;
}

.nav-links a:hover {
    border-bottom: 2px solid black;
    color: black;
    letter-spacing: 2px;
    transform: scale(1.1);
}



/* Home */

#home {
    padding: 3rem 5%;
    /*background-color: #f0f4f8;*/
}

.greeting-slogan {
    text-align: center;
    margin-bottom: 2em;
    border-radius: 8px;
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;*/
}

.greeting-slogan h1 {
    margin-bottom: 1rem;
}

.image-flowtext {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 2rem;
    text-align: center;
    /*border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;*/
}

.image-flowtext p {
    line-height: 1.6;
}

.image-flowtext img {
    width: 30%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.image-flowtext img:hover {
    transform: scale(1.15);
}

h2 {
    text-decoration: underline;
}

.slogan {
    text-decoration: none;
}

.wave {
    line-height: 0;
    margin-bottom: -5px;
}

.wave svg {
    width: 100%;
    height: auto;
}



/* Über mich */

#about-me {
    padding: 3rem 5%;
    /*background-color: lightblue;*/
}

.information-about-me {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 5%;
    /*border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
}

.information-about-me h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.information-about-me p {
    margin-bottom: 1rem;
    line-height: 1.7;
}



/* Skills */

#skills {
    padding: 3rem 5%;
    /*background-color: lightskyblue;*/
}

.information-about-skills {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 5%;
    /*border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
}

.information-about-skills h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.information-about-skills h3 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.information-about-skills ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.information-about-skills strong {
    display: block;
    margin-top: 1rem;
}

.technical-skills h3 {
    margin-bottom: 1rem;
}

.information-about-skills strong {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
}

.information-about-skills ul {
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
}

.information-about-skills li {
    line-height: 1.7;
}



/* Projekte */

#projects {
    padding: 3rem 5%;
    /*background-color: lightskyblue;*/
}

.information-about-projects {
    text-align: center;
}

.information-about-projects {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 5%;
    /*border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
}

.information-about-projects h2 {
    margin-bottom: 1.5rem;
}

.github-profile {
    display: inline-block;
    color: black;
    text-decoration: none;
    margin-top: 1rem;
    margin-bottom: 2rem;
    border: 2px solid #333333;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    background-color: lightgray;
    transition: transform 0.25s ease, background 0.25s ease;
}

.github-profile:hover {
    background-color: gray;
    color: black;
    transform: scale(1.15);
}

.projects-grid {
    display: flex;
    gap: 1.5rem;
}

.project-card {
    background-color: #6A4CF0;
    border-radius: 8px;
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border: 1px solid black;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.25s ease,
                background 0.25s ease;
}

.project-card:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    background: #7B61FF;
    z-index: 10;
}

.project-card h3 {
    color: white;
    font-size: 1.1rem;
}

.project-card strong {
    color: white;
    font-size: 0.9rem;
}

.project-card p {
    color: white;
    line-height: 1.6;
    flex: 1;
}

.project-card a {
    color: black;
    background-color: lightgray;
    text-decoration: none;
    border: 1px solid black;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    text-align: center;
    transition: background 0.3s ease;
}

.project-card a:hover {
    background-color: gray;
}



/* Kontakt */
#contact {
    padding: 3rem 5%;
}

.information-about-contact {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 5%;
    /*border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
}

.information-about-contact h2 {
    margin-bottom: 1.5rem;
}

.information-about-contact p {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-grid {
    display: flex;
    gap: 1.5rem;
}

.contact-card {
    display: block;
    padding: 2rem;
    border-radius: 8px;
    flex: 1;
    text-align: center;
    transition: transform 0.3s ease;
    color: white;
    border: 2px solid black;
    text-decoration: none;
}

.contact-card:hover {
    transform: translateY(-20px);
}

.contact-card h3 {
    margin: 1rem 0 0.5rem 0;
    color: white;
    text-decoration: none;
}

.contact-card a {
    color: white;
    text-decoration: none;
}

.contact-card p {
    color: white;
    text-decoration: none;
}

.contact-card.email-card {
    background-color: #ea4335;
}

.contact-card.linkedin-card {
    background-color: #0077b5;
}

.contact-card.github-card {
    background-color: #333333;
}



/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, steelblue, cornflowerblue, lightcyan);
    color: white;
    font-size: 0.9rem;
}

.impressum {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    opacity: 0.7;
}



/*Responsive Design*/

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
}



/*Responsive Design*/
@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    body {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .image-flowtext img {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, lightcyan, cornflowerblue, steelblue);
        padding: 1rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .projects-grid {
        flex-direction: column;
    }

    .contact-grid {
        flex-direction: column;
    }
}

/*@media (min-width: 1920px) {
    .information-about-me,
    .information-about-skills,
    .information-about-contact,
    .information-about-projects {
        max-width: 1200px;
    }

    body {
        font-size: 1.2rem;
    }
}*/