body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #0D0D0D; /* Hintergrundfarbe */
    color: #F2F2F2; /* Textfarbe */
    cursor: none; /* Standard-Cursor deaktivieren */
}

.burger-menu {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 10;
}

.burger-menu div {
    width: 35px;
    height: 5px;
    background-color: #F2F2F2;
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
}

.side-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: -100%;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    transition: left 0.4s;
}

.side-nav.open {
    left: 0;
}

.side-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.side-nav ul li {
    margin: 20px 0;
    position: relative;
}

.side-nav ul li a {
    color: #F2F2F2;
    text-decoration: none;
    font-size: 2rem; /* Schriftgröße erhöht */
    display: inline-block;
    padding-bottom: 5px;
    position: relative;
}

.side-nav ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #F2F2F2;
    transition: width 0.3s;
    position: absolute;
    bottom: 0;
    left: 0;
}

.side-nav ul li a:hover::after {
    width: 100%;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 20px;
}

.left-align {
    text-align: left;
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
}

.work-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px; /* Abstand zwischen den Work-Items */
}

.work-item.large {
    font-size: 6rem; /* Große Schriftgröße für Consid */
    margin-top: 100px; /* Abgleich mit der Höhe auf der Startseite */

}

.work-item.small {
    font-size: 3rem; /* Halbe Schriftgröße für die anderen */
}

.work-item {
    transition: all 0.3s ease;
    margin-bottom: 42px; /* Abstand nach jedem Work-Item */
    padding-bottom: 24px; /* Abstand unterhalb des Work-Items */
    border-bottom: 1px solid #CCCCCC; /* Hinzufügen der Trennlinie */
    margin-left: 4px; /* Abstand zum linken Rand */
    margin-right: 4px; /* Abstand zum rechten Rand */
}

.work-item:last-child {
    border-bottom: none; /* Keine Trennlinie nach dem letzten Work-Item */
}

.name {
    font-size: 6rem; /* Schriftgröße erhöht */
    font-family: 'YourChosenFont', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.subtitle {
    font-size: 3rem;
    margin-top: 60px; /* Mehr Abstand hinzugefügt */
}

.contact {
    font-size: 1.5rem;
    margin-top: 40px;
    text-align: center;
}

.icons {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.icons a {
    color: #D9D9D9; /* Icon Farbe */
    text-decoration: none;
}

.icons a img {
    width: 42px; /* Größe der Icons erhöht */
    height: 42px; /* Größe der Icons erhöht */
}

footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    font-size: 0.8rem; /* Schriftgröße reduziert */
    color: #F2F2F2; /* Textfarbe im Footer */
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: #0D0D0D;
    padding: 10px 0;
}

footer a {
    color: #F2F2F2; /* Linkfarbe im Footer */
    text-decoration: none;
    margin: 0 10px;
    position: relative;
    padding-bottom: 5px;
}

footer a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #F2F2F2;
    transition: width 0.3s;
    position: absolute;
    bottom: 0;
    left: 0;
}

footer a:hover::after {
    width: 100%;
}

@media (min-width: 768px) {
    .burger-menu {
        display: none;
    }

    .side-nav {
        position: fixed;
        left: 20px; /* Weiter vom Rand entfernt */
        top: 50%;
        transform: translateY(-50%);
        width: auto;
        height: auto;
        background: none;
        transition: none;
    }

    .side-nav ul {
        flex-direction: column;
    }

    footer {
        justify-content: flex-end;
        padding-right: 20px;
    }
}

@media (max-width: 767px) {
    .burger-menu {
        display: block;
    }

    .side-nav {
        display: none;
    }

    .side-nav.open {
        display: flex;
    }
}

/* Custom cursor */
.cursor {
    width: 30px;
    height: 30px;
    border: 3px solid #FFFFFF;
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1000;
    background-color: transparent;
}

/* Logo-Listen */
.logo-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
}

.logo-list img {
    max-height: 32px;
    width: auto;
}

@media (max-width: 767px) {
    .logo-list {
        justify-content: center;
        gap: 20px; /* Abstand zwischen den Zeilen auf Mobilgeräten */
    }
    .logo-list .logo-item {
        flex: 0 1 calc(50% - 20px);
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .logo-list .logo-item:nth-child(odd):last-child {
        flex: 0 1 100%;
        justify-content: center;
    }
    .name {
        font-size: 4rem; /* Kleinere Schriftgröße auf Mobilgeräten */
    }
    .cursor {
        display: none;
    }
}