:root {
    --secondary: #222222;
    --secondary-text: #ffffff;
    --secondary-hover: #252525;
    --secondary-active: #383838;
    --secondary-disabled: #202020;
    --secondary-border: transparent;
    --primary: white;
    --primary-text: black;
    --primary-hover: #f3f3f3;
    --primary-active: #e0e0e0;
    --primary-disabled: #bbbbbb;
    --primary-border: transparent;
    --bg-dark: #0a0a0a;
    --bg-medium: #0f0f0f;
    --bg-light: #141414;
    --text: #ffffff;
    --text-light: #9c9c9c;
    --layout-border: transparent;
    --border-active: #313131;
    --store: #aa71ff;
    --preview: #222222;
    --danger: #f6412d;
    --approve: #57ab5a;
    --rename: #3b82f6;
    --staff: #ee4865;
    --staff-bg: #ee48651a;
    --admin-merge: #b083f0;
    --admin-unlist: #e0823d;
    --gradient-color: #9227cf;
}


/* General reset and base styles */


        body,
        html {
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #f0f0f0;
            scroll-behavior: smooth;
            /* Smooth scrolling */
        }


        /* Header styles */
        header {
            background: #000000;
            color: #fff;
            text-align: center;
            width: 100%;
            /* Header über die gesamte Breite */
            height: 100vh;
            /* Header nimmt 100% der Höhe des Viewports ein */
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 20px 0;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
            /* Box shadow for depth */
        }

        header h1 {
            font-size: 3rem;
            margin-bottom: 10px;
            letter-spacing: 1px;
            /* Letter spacing for emphasis */
        }

        header p {
            font-size: 1.8rem;
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* Section styles */
        .section {
            padding: 120px 20px;
            text-align: center;
            position: relative;
            /* Relative positioning for popups */
        }

        .section:nth-child(even) {
            background: #f8f8f8;
        }

        /* Project styles */
        .project {
            display: flex;
            align-items: center;
            justify-content: space-around;
            max-width: 1080px;
            margin: 0 auto 60px;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
            /* Box shadow for cards */
            border-radius: 20px;
            /* Rounded corners */
            overflow: hidden;
            /* Prevents box-shadow from being clipped */
            transition: transform 0.3s ease-out;
            /* Smooth scale effect */
        }

        .project:hover {
            transform: scale(1.03);
            /* Scale up on hover */
        }

        .project-info {
            width: 100%;
            padding: 30px 20px;
            text-align: center;
            background: #fff;
            border-radius: 20px;
            /* Rounded right corners */
        }

        .project .project-info h3 {
            font-size: 2.5rem;
            margin-bottom: 10px;
        }

        .project .project-info p {
            font-size: 1.6rem;
            line-height: 1.6;
            color: #555;
        }

        /* Team styles */
        .team {
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-wrap: wrap;
            max-width: 1000px;
            margin: 0 auto 80px;
        }

        .team-member {
            text-align: center;
            margin-bottom: 40px;
            width: 68%;
            padding: 20px;
            background: #fff;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
            border-radius: 20px;
            transition: transform 0.3s ease-out;
        }

        .team-member:hover {
            transform: translateY(-10px);
        }

        .team-member p {
            font-size: 1.6rem;
            color: #555;
        }

        .projectAll {
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-wrap: wrap;
            max-width: 1000px;
            margin: 0 auto 80px;
        }

        .projectAll-project {
            text-align: center;
            margin-bottom: 40px;
            width: 68%;
            padding: 20px;
            background: #181818;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
            border-radius: 20px;
            transition: transform 0.3s ease-out;
        }

        .projectAll-project:hover {
            transform: translateY(-10px);
        }

        .projectAll-project p {
            font-size: 1.6rem;
            color: white;
        }

        .contact {
            max-width: 800px;
            margin: 0 auto;
        }

        .contact h2 {
            font-size: 3rem;
            margin-bottom: 30px;
        }

        .contact p {
            font-size: 1.8rem;
            line-height: 1.6;
            color: #555;
            margin-bottom: 40px;
        }

        .contact a {
            display: inline-block;
            font-size: 1.6rem;
            color: #007aff;
            text-decoration: none;
            margin-right: 20px;
            transition: transform 0.3s ease-out;
        }

        .contact a:hover {
            transform: translateY(-3px);
        }

        .divider {
            width: 100%;
            height: 2px;
            background: #ccc;
            margin: 80px 0;
        }

        footer {
            background: #333;
            color: #fff;
            text-align: center;
            padding: 40px 0;
            box-shadow: 0 -8px 16px rgba(0, 0, 0, 0.1);
        }

        footer p {
            font-size: 1rem;
            margin: 0;
        }

        .hidden {
            opacity: 0;
            transform: translateY(20px);
            visibility: hidden;
            transition: opacity 0.5s, visibility 0s linear 0.5s;
        }

        .visible {
            opacity: 1;
            transform: translateY(0);
            visibility: visible;
            transition: opacity 0.5s;
        }

        .startButton {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 100px;
            background-color: #000;
            border-radius: 50%;
            border-color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 100;
            cursor: pointer;
            transition: opacity 0.3s ease-out;
        }

        .startButton a {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 100%;
            text-decoration: none;
            color: #fff;
        }

        .startButton a p {
            margin: 0;
            font-size: 16px;
        }

        .startButton.hidden {
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0s linear 0.3s;
        }

        .startButton.visible {
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease-in, transform 0.3s ease-in;
        }

        .projectButton {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 350px;
            /* Breite des länglichen Buttons */
            height: 65px;
            background-color: #000;
            border-radius: 30px;
            /* Verleiht abgerundete Ecken */
            border-color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 100;
            cursor: pointer;
            transition: opacity 0.3s ease-out;
        }

        .projectButton a {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 100%;
            text-decoration: none;
            color: #fff;
        }

        .projectButton a p {
            margin: 0;
            font-size: 16px;
            /* Größere Schriftgröße für länglichen Button */
        }

        .projectButton.hidden {
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0s linear 0.3s;
        }

        .projectButton.visible {
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease-in, transform 0.3s ease-in;
        }

        /* Add these styles to your CSS */
        /* Overlay for blurring the background */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            /* semi-transparent black background */
            backdrop-filter: blur(10px);
            /* blur effect */
            z-index: 199;
            /* lower than the popup */
            visibility: hidden;
            /* hidden by default */
        }

        .overlay.hidden {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            /* semi-transparent black background */
            backdrop-filter: blur(10px);
            /* blur effect */
            z-index: 199;
            /* lower than the popup */
            visibility: hidden;
            /* hidden by default */
        }

        .overlay.visible {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            /* semi-transparent black background */
            backdrop-filter: blur(10px);
            /* blur effect */
            z-index: 199;
            /* lower than the popup */
            visibility: visible;
            /* hidden by default */
        }

        /* Show the overlay when the popup is visible */
        .projectPopup.visible+.overlay {
            display: block;
        }

        .projectPopup {
            position: fixed;
            bottom: -100%;
            left: 50%;
            transform: translateX(-50%);
            width: 75%;
            height: 85%;
            background-color: #000000;
            border-radius: 40px 40px 0 0;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
            padding: 20px;
            z-index: 200;
            transition: bottom 1s ease-in-out;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            overflow-y: auto;
        }

        ::-webkit-scrollbar {
            width: 1vw;
        }

        .projectPopup.visible {
            bottom: 0;
            transform: translateX(-50%);
            transition: 1s ease-in-out;
            /* ease-in-out für das Einblenden */
        }

        .projectPopup.hidden {
            bottom: -100%;
            /* Position außerhalb des Bildschirms */
            transition: 1s ease-out;
            /* ease-out für das Ausblenden */
        }


        .closeButton {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 24px;
            cursor: pointer;
            transition: top 1s ease-out;
        }

        .projectPopup h1 {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-size: 3rem;
            margin-bottom: 10px;
            letter-spacing: 1px;
            color: white;
        }

        .projectPopup p {
            color: white;
        }

        .projectCloseButton {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 100px;
            background-color: #000;
            border-radius: 50%;
            border-color: white;
            border: 2px solid gray;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 201;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease-out, visibility 0s linear 0.3s;
        }

        .projectCloseButton a {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 100%;
            text-decoration: none;
            color: #fff;
        }

        .projectCloseButton a p {
            margin: 0;
            font-size: 16px;
        }

        .projectCloseButton.hidden {
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0s linear 0.3s;
        }

        .projectCloseButton.visible {
            opacity: 1;
            visibility: visible;
            transition: opacity 0.3s ease-in;
        }

        .separator {
            height: 2px;
            background-color: #000000;
            margin: 20px 0;
        }

        /* From Uiverse.io by Spacious74 */
        .outer {
            width: 300px;
            height: 250px;
            border-radius: 10px;
            padding: 1px;
            background: radial-gradient(circle 230px at 0% 0%, #ffffff, #0c0d0d);
            position: relative;
        }

        .dot {
            width: 5px;
            aspect-ratio: 1;
            position: absolute;
            background-color: #fff;
            box-shadow: 0 0 10px #ffffff;
            border-radius: 100px;
            z-index: 2;
            right: 10%;
            top: 10%;
            animation: moveDot 6s linear infinite;
        }

        @keyframes moveDot {
            0%,
            100% {
                top: 10%;
                right: 10%;
            }
            25% {
                top: 10%;
                right: calc(100% - 35px);
            }
            50% {
                top: calc(100% - 30px);
                right: calc(100% - 35px);
            }
            75% {
                top: calc(100% - 30px);
                right: 10%;
            }
        }

        .card {
            z-index: 1;
            width: 100%;
            height: 100%;
            border-radius: 9px;
            border: solid 1px #202222;
            background-size: 20px 20px;
            background: radial-gradient(circle 280px at 0% 0%, #444444, #0c0d0d);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            flex-direction: column;
            color: #fff;
        }
        .ray {
            width: 220px;
            height: 45px;
            border-radius: 100px;
            position: absolute;
            background-color: #c7c7c7;
            opacity: 0.4;
            box-shadow: 0 0 50px #fff;
            filter: blur(10px);
            transform-origin: 10%;
            top: 0%;
            left: 0;
            transform: rotate(40deg);
        }

        .card .text {
            font-weight: bolder;
            font-size: 4rem;
            background: linear-gradient(45deg, #000000 4%, #fff, #000);
            background-clip: text;
            color: transparent;
        }

        .line {
            width: 100%;
            height: 1px;
            position: absolute;
            background-color: #2c2c2c;
        }
        .topl {
            top: 10%;
            background: linear-gradient(90deg, #888888 30%, #1d1f1f 70%);
        }
        .bottoml {
            bottom: 10%;
        }
        .leftl {
            left: 10%;
            width: 1px;
            height: 100%;
            background: linear-gradient(180deg, #747474 30%, #222424 70%);
        }
        .rightl {
            right: 10%;
            width: 1px;
            height: 100%;
        }
        .user-box {
            position: fixed;
            top: 15px;
            right: 15px;
            background: rgb(0, 0, 0);
            color: white;
            padding: 10px 20px;
            border-radius: 10px;
            font-weight: bold;
            font-size: 16px;
            box-shadow: 0 4px 6px rgb(0, 0, 0);
            z-index: 2;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .user-img {
            width: 2rem;
            height: 2rem;
            max-width: 50px;
            max-height: 50px;
            border-radius: 50%;
            overflow: hidden;
            object-fit: cover;
            object-position: center;
            border: solid 2px var(--primary);
        }

.projects-header {
    height: 100vh;
    background: linear-gradient(to bottom right, #000000, #1a1a1a);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.animated-title {
    font-size: 4rem;
    animation: fadeSlideIn 1.2s ease-in-out forwards;
    opacity: 0;
}

.animated-sub {
    font-size: 1.8rem;
    margin-top: 1rem;
    animation: fadeSlideIn 1.6s ease-in-out forwards;
    opacity: 0;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    width: 360px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    opacity:0;
    transform:translateY(50px);
    transition:all .8s cubic-bezier(.25,1,.5,1);
}

/* wird per JS hinzugefügt, sobald die Karte sichtbar wird */
.project-card.visible{
    opacity:1;
    transform:translateY(0);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
}

.project-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #eee;
}

.project-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.project-content h3 {
    margin: 0 0 10px;
    font-size: 1.6rem;
}

.project-content p {
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
}

.tech-stack {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
    background: #eee;
    padding: 5px 10px;
    border-radius: 8px;
    display: inline-block;
    align-self: flex-start;
}

.project-link {
    margin-top: 15px;
    background: #007aff;
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s ease;
}

.project-link:hover {
    background: #005fc1;
}

.projects-footer {
    background-color: #111;
    color: white;
    padding: 30px;
    text-align: center;
    font-size: 1rem;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.1);
}



        