html {
    --primary-color: rgb(0, 0, 87);
    --black-color: black;
    --dark-color: rgb(51, 51, 51);
    --lightdark-color: rgb(87, 87, 87);
    --light-color: rgb(244, 244, 244);
    --white-color: white;
    --titlesize: 30px;
    --textsize: 15px;
    --textfont: Arial, sans-serif;
}

body {
    font-family: var(--textfont);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}


/* KOPFZEILE */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--dark-color);
    color: var(--white-color);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
.menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu li {
    margin: 0 1rem;
}
.menu a {
    color: var(--white-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: background 0.3s;
    border-radius: 5px;
}
.menu a:hover {
    background: var(--lightdark-color);
}


/* HAUPTTEIL */
main {
    position: relative;
}


/* Register Start */
.start {
    background: var(--lightdark-color);
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.start .background {
    position: absolute;
    filter: blur(5px);
    -webkit-filter: blur(5px);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100vw;
    transition: background-image 2s ease-in-out;
}
.start .title {
    z-index: 1;
    min-width: 50%;
    padding: 2rem;
    color: var(--white-color);
    background-color: rgba(0,0,0, 0.4);
    border: 3px solid var(--light-color);
    text-align: center;
}
.start h1 {
    margin-top: 0;
}
/* .start p {
    margin: 0;
} */
.start a:hover {
    background: none;
    font-weight: bold;
}


/* Register Über mich */
.about {
    padding: 2rem;
    background: var(--light-color);
}
.about .steckbrief {
    display: flex;
    align-items: center;
    gap: 20px;
}
.about .steckbrief img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
}
.about .steckbrief ul {
    list-style: none;
}

.lebenslauf {
    position: relative;
    margin: 2rem 0;
    padding: 1rem 0;
}
.lebenslauf-strahl {
    position: relative;
}
.lebenslauf-strahl::before { /* Vertikaler Strich */
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20%;
    width: 3px;
    background: var(--primary-color);
    transform: translateX(-50%);
}
.lebenslauf-strahl ul { /* Aufzählungsgruppe */
    list-style: none;
    padding: 0;
    margin: 0;
}
.lebenslauf-strahl li { /* Eintrag im Lebenslauf */
    position: relative;
    margin: 2rem 0;
    padding-left: 20%;
    min-height: 3rem;
}
.lebenslauf-strahl li .zeit { /* Datum */
    position: absolute;
    left: 0;
    width: 15%;
    text-align: right;
    font-weight: bold;
    color: var(--primary-color);
    top: 50%;
}
.lebenslauf-strahl li .beschreibung { /* Beschreibung */
    position: absolute;
    left: 25%;
    width: 45%;
    top: 50%;
}
.lebenslauf-strahl li::before { /* Kreise */
    content: '';
    position: absolute;
    top: 80%;
    left: 20%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background: var(--light-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.referenzen-liste {
    display: flex;
    flex-wrap: wrap;
}
.referenz {
    flex-grow: 1;
    border: 1px solid var(--lightdark-color);
    padding: 1rem;
    margin: 1rem;
    transition: transform 0.3s;
    max-width: 30rem;
    overflow: hidden;
}
.referenz:hover {
    transform: scale(1.02);
}
.referenz p, .referenz a {
    margin: 0;
    text-decoration: none;
    color: var(--black-color);
}
.referenz .telefon::before {
    content: '\260E    '
}
.referenz .email::before {
    content: '\2709    '
}
.referenz a:hover {
    text-decoration: underline;
}



/* Register Projekte */
.projects {
    padding: 2rem;
    background: var(--white-color);
}
.projekt-liste {
    padding: 0 3rem;
}
.projekt {
    border: 1px solid var(--lightdark-color);
    padding: 1rem;
    margin: 1rem 0;
    transition: transform 0.3s;
}
.projekt:hover {
    transform: scale(1.02);
}


/* Register Kontakt */
.contact {
    padding: 2rem;
    text-align: center;
    background: var(--lightdark-color);
    color: var(--white-color);
}
.contact p, .contact a {
    margin: 0;
    text-decoration: none;
    color: var(--white-color);
}
.contact .telefon::before {
    content: '\260E    '
}
.contact .email::before {
    content: '\2709    '
}
.contact a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 1rem;
    background: var(--dark-color);
    color: var(--white-color);
}
  