 body {
     margin: 0;
     background: #171112;
     overflow-x: hidden;
     overflow-y: scroll;
 }
 
 main {
     display: flex;
     justify-content: center;
     align-items: center;
     height: 100%;
     flex-direction: column;
 }

 header {
     display: flex;
     justify-content: flex-end;
     align-items: center;
     padding-top: 1%;
     text-wrap: nowrap;
     width: 90%;
 }
 
nav {
    position: fixed;
    margin-top: 1%;
}

 nav a {
     text-decoration: none;
     color: #efeeee;
     font-weight: bold;
     font-size: 1.2rem;
     transition: color 0.3s ease;
     margin-left: 15%;
     position: relative;
     cursor: pointer;
 }

 nav a::after {
     content: "";
     position: absolute;
     left: 0;
     bottom: -5px;
     width: 0;
     height: 2px;
     background: #ec7e9c;
     transition: width 0.3s ease;
 }

 nav a:hover {
     color: #ec7e9c;
 }

 nav a:hover::after {
     width: 100%;
 }
 
 .container {
     height: 100vh; /* Volle Höhe des Viewports */
     display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
     cursor: default;
}

/* Vertikaler Strich */
.line {
    width: 2px;
    height: 0;
    background: #ec7e9c;
    animation: growLine 1s ease forwards;
}

/* Logo von links */
.logo {
    width: 20%;
    opacity: 0;
    transform: translateX(-100px);
    animation: logoSlide 1s ease forwards 1s;
}

/* Name von rechts */
.name {
    font-size: 5rem;
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: #efeeee;
    opacity: 0;
    transform: translateX(100px);
    animation: nameSlide 1s ease forwards 1s;
}

@keyframes growLine {
    from { height: 0; }
    to   { height: 150px; }
}

@keyframes logoSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes nameSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.spacer {
    color: #ec7e9c;
}

 footer {
     text-align: center;
     padding: 1rem;
     font-size: 0.9rem;
     justify-content: center;
     display: flex;
     flex-direction: row;
 }

 footer a {
     margin: 0 1rem;
     text-decoration: none;
     color: #7e3347;
     transition: color 0.3s ease;
     text-wrap: nowrap;
     cursor: pointer;
 }

 footer a:hover {
     color: #cd5273;
 }

 h2 {
     color: transparent; /* Schrift innen transparent */
     -webkit-text-stroke: 2px #efeeee; /* Umriss für Webkit-Browser */
     text-stroke: 2px #efeeee; /* Standard, falls unterstützt */
     font-size: 3rem; /* optional, anpassen nach Bedarf */
     font-weight: bold; /* optional */
 }

 .about-me {
     color: #efeeee; /* Textfarbe */
     border-radius: 0.5rem;
     border-color: #7e3347; /* Secondary für Rahmen */
     border-style: solid;
     padding: 1%;
     display: flex;
     justify-content: left;
     width: 60%;
     margin-bottom: 5%;
     cursor: default;
     background-color: transparent; /* Background */
 }

 .timeline {
     display: flex;
     flex-direction: column;
     position: relative;
     padding-left: 20px; /* Platz für die Linie */
 }

 .event {
     margin: 20px 0;
     padding: 10px 10px 10px 20px;
     border-left: 3px solid #ec7e9c; /* Primary für Linie */
     position: relative;
 }

 .event::before {
     content: "";
     position: absolute;
     left: -10px;
     top: 10px;
     width: 12px;
     height: 12px;
     background-color: #cd5273; /* Accent für Punkt */
     border-radius: 50%;
     border: 2px solid #efeeee; /* Textfarbe als Rand */
 }

 .event .date {
     font-weight: bold;
     color: #ec7e9c; /* Primary für Datum */
 }

 .skillset {
     display: flex;
     flex-direction: row;
     gap: 10%;
     justify-content: center;
     width: 100%;
     cursor: default;
 }

 .skill-card {
     width: 40%;
     border-radius: 0.5rem;
     border-color: #7e3347; /* Secondary für Rahmen */
     border-style: solid;
     padding: 1%;
     display: flex;
     justify-content: center;
     flex-direction: column;
     background-color: #171112; /* Background */
 }

 .skill {
     display: flex;
     justify-content: center;
     color: #ec7e9c; /* Primary */
     font-weight: bold;
     font-size: 1.5rem;
     margin-bottom: 5%;
 }

 .stage {
     color: #efeeee; /* Textfarbe */
     font-weight: bold;
     display: flex;
     flex-direction: row;
     justify-content: space-between;
     margin-top: 1%;
 }

 .contact {
     display: flex;
     justify-content: center;
     flex-direction: column;
     align-items: center;
     margin-top: 7%;
     margin-bottom: 3%;
 }

 .contact a {
     color: #ec7e9c;
 }

 .contact a:hover {
     text-decoration: underline;
 }
 
 .contact-text {
     color: #efeeee;
 }

 /* 📱 TABLET (bis 900px) */
 @media (max-width: 900px) {

     nav {
         margin-top: 5%
     }
     
     nav a {
         font-size: 1.1rem;
         margin-left: 8%;
     }

     .container {
         flex-direction: column;
         gap: 1rem;
         text-align: center;
     }

     .line {
         width: 150px;
         height: 2px; /* Horizontal statt vertikal */
         animation: growLineHorizontal 1s ease forwards;
     }

     @keyframes growLineHorizontal {
         from { width: 0; }
         to { width: 150px; }
     }

     .logo {
         width: 35%;
         transform: translateX(0);
         transform: translateY(-50px);
     }

     .name {
         font-size: 3.5rem;
         transform: translateX(0);
         transform: translateY(50px);
         margin-top: 5%;
     }

     h2 {
         font-size: 2.5rem;
         -webkit-text-stroke: 1.5px #efeeee;
     }

     .about-me {
         width: 90%;
         padding: 1%;
     }

     .skillset {
         flex-direction: column;
         align-items: center;
         gap: 1.5rem;
     }

     .skill-card {
         width: 90%;
     }
 }

 /* 📱 HANDY (bis 600px) */
 @media (max-width: 600px) {

     body {
         overflow-x: hidden;
     }
     nav {
         margin-top: 5%
     }

     nav a {
         font-size: 1rem;
         margin-left: 6%;
     }

     .container {
         height: 100vh;      /* WICHTIG: wieder volle Bildschirmhöhe */
         padding-top: 0;
         justify-content: center;
         gap: 1rem;
     }

     .logo {
         width: 55%;   /* Etwas größer fürs Handy */
     }

     .name {
         font-size: 2.6rem;
         margin-top: 10%;
     }

     .line {
         width: 140px;
         height: 2px;
         animation: growLineHorizontal 1s ease forwards;
     }

     h2 {
         font-size: 2rem;
         -webkit-text-stroke: 1px #efeeee;
     }

     .about-me {
         width: 90%;
         padding: 3%;
         font-size: 0.95rem;
     }

     .timeline {
         padding-left: 10px;
     }

     .event {
         padding: 8px 8px 8px 15px;
     }

     .skill-card {
         width: 90%;
         padding: 3%;
     }

     .skill {
         font-size: 1.3rem;
     }

     .stage {
         font-size: 0.9rem;
     }
 }
