body {
    background-color: #1f1f1f;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    cursor: default;
}

.nav {
    display: flex;
    position: sticky;
    top: 0;
    justify-content: space-between;
    margin-right: 3%;
    flex-direction: row;
    padding-left: 3%;
    padding-right: 3%;
    padding-top: 1%;
    background-color: #1f1f1f;
    align-items: center;
}

.menu {
    gap: 7%;
    display: flex;
    flex-direction: row;
    text-wrap: nowrap;
}

.logo {
    height: 80%;
    width: 10%;
}

.information {
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

h1 {
    color: #f890a8;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-top: 1rem;
}

.site {
    font-size: x-small;
    cursor: grab;
    color: #8be9fd;
    text-align: center;
    font-size: medium;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.site:hover {
    color: #f890a8;
    text-decoration: underline;
}

.line {
    width: 95%;
    margin-top: -2%;
    margin-bottom: 1%;
    border: 1px solid #44475a;
}

.info-text {
    color: #ffffff;
    margin-bottom: 1%;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-section {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.me-container img {
    max-width: 100%;
}

.me-container {
    margin-left: 10%;
}

.buttons {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.impressum, .datenschutz {
    background-color: transparent;
    color: #f890a8;
    border-color: transparent;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.impressum:hover, .datenschutz:hover {
    text-decoration: underline;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.wrapper {
    padding: 100px;
    width: 100%;
    display: block;
    text-align: center;
    margin: 0 auto;
    margin-left: -10%;
    margin-top: 10%;
}

.roles {
    font-size: 50px;
    height: 60px;
    vertical-align: middle;
    overflow: hidden;
}

.roles div {
    height: 60px;
    transition: margin-top 1s ease-in-out;
}

.project-card {
    width: 70%;
    margin-left: 15%;
    border-radius: 0.5rem;
    border-color: #44475a;
    border-style: solid;
    padding: 1%;
    display: flex;
    justify-content: left;
}

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

.skill-card {
    width: 30%;
    border-radius: 0.5rem;
    border-color: #44475a;
    border-style: solid;
    padding: 1%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.skill {
    display: flex;
    justify-content: center;
    color: #8be9fd;
    font-weight: bold;
    margin-bottom: 5%;
}

.stage {
    color: #ffffff;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.about-me {
    border-radius: 0.5rem;
    border-color: #44475a;
    border-style: solid;
    padding: 1%;
    display: flex;
    justify-content: left;
    width: 60%;
    margin-left: 20%;
    margin-bottom: 2%;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

li:hover {
    color: #8be9fd;
}

.explanation {
    display: none;
    margin-left: 20px;
    color: #555;
}

li:hover .explanation {
    display: inline;
}
.timeline {
    display: flex;
    flex-direction: column;
}

.event {
    margin: 20px 0;
    padding: 10px;
    border-left: 3px solid #000;
}

.event .date {
    font-weight: bold;
    color: #8be9fd;
}

.contact {
    display: flex;
    justify-content: center;
}

.contact a {
    color: #8be9fd;
    text-decoration: none;
}

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

/* Styles für Tablets / Handys */
@media (max-width: 1024px) {
    body {
        background-color: #1f1f1f;
        font-family: 'Poppins', sans-serif;
        color: #ffffff;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        overflow-x: hidden;
        cursor: default;
    }

    .nav {
        display: flex;
        flex-wrap: wrap-reverse;
        top: 0;
        justify-content: center;
        flex-direction: column;
        background-color: #1f1f1f;
    }
    
    .menu {
        position: sticky;
    }
    
    .information {
        visibility: hidden;
        opacity: 0;
        position: absolute;
    }
    
    .logo {
       
    }
    
    .menu {
        display: flex;
        justify-content: center;
    }

    h1 {
        color: #f890a8;
        text-align: center;
        font-size: 2.5rem;
        font-weight: 600;
        margin-top: 1rem;
    }

    .site {
        font-size: x-small;
        cursor: grab;
        color: #8be9fd;
        text-align: center;
        font-size: medium;
        margin-bottom: 1rem;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    .site:hover {
        color: #f890a8;
        text-decoration: underline;
    }

    .line {
        width: 95%;
        margin-top: -2%;
        margin-bottom: 1%;
        border: 1px solid #44475a;
    }

    .info-text {
        color: #ffffff;
        margin-bottom: 1%;
    }

    .container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .me-container img {
        max-width: 0%;
        opacity: 0;
    }

    .me-container {
        max-width: 0px;
        position: absolute;
    }

    .buttons {
        display: flex;
        justify-content: center;
        margin: 2rem 0;
    }

    .impressum, .datenschutz {
        background-color: transparent;
        color: #ec7e9b;
        border-color: transparent;
        padding: 0.5rem 1rem;
        margin: 0 0.5rem;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .impressum:hover, .datenschutz:hover {
        text-decoration: underline;
        cursor: pointer;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .information {
        width: 90%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-color: #44475a;
    }

    .wrapper {
        width: 100%;
        display: block;
        text-align: center;
        margin: 0 auto;
        justify-content: center;
    }

    .roles {
        font-size: 30px;
        height: 60px;
        vertical-align: middle;
        overflow: hidden;
    }

    .roles div {
        height: 60px;
        transition: margin-top 1s ease-in-out;
        font-size: large;
        margin-left: -30%;
    }

    .project-card {
        width: 90%;
        margin-left: 5%;
        border-radius: 0.5rem;
        border-color: #44475a;
        border-style: solid;
        padding: 1%;
        display: flex;
        justify-content: left;
    }

    .skillset {
        display: flex;
        flex-direction: row;
        gap: 5%;
        justify-content: center;
        margin-left: 5%;
        margin-right: 5%;
    }

    .skill-card {
        width: 45%;
        border-radius: 0.5rem;
        border-color: #44475a;
        border-style: solid;
        padding: 1%;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .skill {
        display: flex;
        justify-content: center;
        color: #8be9fd;
        font-weight: bold;
        margin-bottom: 5%;
    }

    .stage {
        color: #ffffff;
        font-weight: bold;
        display: flex;
        flex-direction: column;
    }

    .about-me {
        border-radius: 0.5rem;
        border-color: #44475a;
        border-style: solid;
        padding: 1%;
        display: flex;
        justify-content: left;
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        margin-bottom: 2%;
    }

    ul {
        list-style-type: none;
        padding: 0;
    }

    li {
        margin-bottom: 15px;
        display: flex;
        align-items: center;
    }

    .explanation {
        margin-left: 20px;
        color: #555;
        visibility: visible;
    }

    .timeline {
        display: flex;
        flex-direction: column;
    }

    .event {
        margin: 20px 0;
        padding: 10px;
        border-left: 3px solid #000;
    }

    .event .date {
        font-weight: bold;
        color: #8be9fd;
    }

    .contact {
        display: flex;
        justify-content: center;
        margin-left: 5%;
        margin-right: 5%;
    }

    .contact a {
        color: #8be9fd;
        text-decoration: none;
    }

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