* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    font-size: 92%;
}

body {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-style: normal;
    background-color: white;
}


a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: #a2a2a2; /* oder eine Farbe, die dir gefällt */
    text-decoration: none; /* bleibt ohne Unterstrich */
}

header {
    width: 100vw;
    height: 60px;
    background-color: white;
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid black;
    padding: 0 30px;
}

/* Navigation in der Mitte */
.nav-center {
    display: flex;
    justify-content: center;
    gap: 30%;
    flex-grow: 1;
}

/* Einheitliche Navigation */
.nav-item {
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: #555;
}


.sidebar {
    width: 45%;
    height: 100vh; /* Höhe der Sidebar auf die volle Bildschirmhöhe */
    background-color: white;
    color: black;
    padding: 30px 0px 80px 10px;
    position: fixed;
    top: 50px;
    left: 20px;
    border-right: 1px solid black;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Platz oben & unten */
}

/* 🔹 Der obere Text bleibt oben */
.sidebar-content {
    flex-grow: 1;
}


.sidebar-footer {
    display: flex;
    flex-direction: column; /* Links untereinander */
    gap: 2px; /* Abstand zwischen den Links */
    font-size: 14px;
    font-weight: 400;
    align-items: flex-start; /* linksbündig */
    gap: 14px; /* Abstand zwischen Block und Impressum */
}

.sidebar-footer a {
    color: black;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-footer a:hover {
    color: #555;
}


/* Email + Instagram */
.footer-left {
    display: flex;
    flex-direction: column; /* untereinander */
    gap: 4px; /* kleiner Abstand zwischen Mail und Insta */
}

/* Impressum */
.footer-impressum {
    display: block; 
    margin-top: 4px; /* kleine Trennlinie nach oben */
}


@media screen and (max-width: 600px) {
    .sidebar-footer {
        margin-top: 40px; /* oder was du brauchst */
    }
}

@media screen and (max-width: 600px) {
    /* Sidebar soll oben erscheinen */
    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid black;
        padding: 20px;
        margin-top: 60px;
    }
}


/* Main Content - hat links eine große Margin */
main {
    margin-left: 45%; /* Platz für die Sidebar */
    padding: 80px 0px 80px 20px; /* Abstand zum Header */
    grid-template-columns: 50% 65%; /* Zwei Spalten */ 
    gap: 40px;
    grid-template-rows: auto auto; /* Erst Inhalt, dann Bild */
    }

@media screen and (max-width: 600px) {
        main {
            margin-left: 0;
            padding: 20px;
        }
    }
    
.column {
        width: 100%; /* Innerhalb der Spalten */
    }



 hr {
    border: none; /* Standardlinie entfernen */
    height: 1px; /* Dicke der Linie */
    background-color: black; /* Farbe der Linie */
    width: calc(100% + 550px); /* 100% des Inhalts + Sidebar-Breite */
    margin-left: -550px; /* Korrigiert den Startpunkt */
    margin-top: 50px;
    margin-bottom: 50px;
    overflow: hidden;
    }
    
.project-content {
        display: grid;
        grid-template-columns: 25% 75%; /* Links 35%, rechts 65% */
        gap: 20px;
        width: 100%;
        margin-bottom: 20px; /* Abstand zwischen Projekten */
        align-items: start; /* Inhalte fangen immer oben an */
    }

@media screen and (max-width: 600px) {
    .project-content {
        display: block;
    }
    }

/* Titel der Arbeit Font size */ 
.project-content .title:first-child {
        font-weight: 500;
        grid-column: 1;
    }

.project-content .title {
        font-weight: 500;
        grid-column: 1;
        padding-left: 30px;
    }

@media screen and (max-width: 600px) {
        .project-content .title {
            padding-left: 0;
            margin-bottom: 10px;
        }
}
    
.project-content .description {
        padding-right: 35px;
        line-height: 1.5;
    }

@media screen and (max-width: 600px) {
    .project-content .description {
        padding-right: 0;
    }
}

.subheading {
        font-weight: 500;
        margin-top: 5px;
    }
    
    
.project-image {
        display: block;
        margin: 0 auto;
        width: 70%;
        height: auto;
        padding: 0;
    }

    @media screen and (max-width: 600px) {
        .sidebar-footer {
            margin-top: 40px; /* oder was du brauchst */
        }
    }