:root {
    --primary: #00d2ff;
    --bg: rgba(15, 15, 15, 0.95);
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #121212; /* Hintergrund für Kontrast */
    text-align: center;
    display: flex;
    flex-direction: column;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    box-sizing: border-box;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.logo span { color: var(--primary); }

/* Burger Button - Immer sichtbar */
.burger {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.burger .line {
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

/* Fullscreen Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
}

.nav-overlay.open {
    transform: translateY(0);
}

.nav-links {
    list-style: none;
    text-align: center;
}

.nav-links li {
    margin: 25px 0;
    overflow: hidden;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    transition: 0.3s;
    opacity: 0;
    transform: translateY(50px);
}

.nav-overlay.open .nav-links a {
    opacity: 1;
    transform: translateY(0);
    /* Staggered Animation Effekt */
    transition: all 0.5s ease forwards calc(var(--i) * 0.1s + 0.3s);
}

.nav-links a:hover {
    color: var(--primary);
    letter-spacing: 5px;
}

/* Burger Animation zu X */
.burger.active .line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.burger.active .line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}
.burger.active .line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* GALLERY */

:root {
    --radius: 120px; /* Wie groß der Kreis ist */
}

.gallery-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    perspective: 1000px; /* Erzeugt Tiefe */
    margin-top: 50px;
}

.carousel {
    position: relative;
    width: 150px;
    height: 150px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.item {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    overflow: hidden;
    /* Jedes Bild wird um 120 Grad versetzt und nach vorne geschoben */
    transform: rotateY(calc(var(--i) * 120deg)) translateZ(var(--radius));
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    background: #222;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Other */

.h4txt {
    font-family: sans-serif;
    font-weight: bold;
    color: white;
}
.h4txt span {
    color: gold;
}


.whaticdo {
    display: flex;
    flex-direction: row;
    margin: 30px;
    justify-content: center;
}
.whaticdo p {
    color: white;
    font-family: sans-serif;
    font-weight: bold;
}
.whaticdo h3 {
    color: white;
}
#react-div, #python-div, #frontend-div {
    margin: 40px;
}

/*   Style for footer   */


.footer h3 {
    font-family: sans-serif;
    color: white;
    font-weight: bold;
}
.footer h3 a {
    text-decoration: none;
    color: white;
}
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
}
#content {
    flex: 1;
}

.footer h5 {
    font-family: sans-serif;
    color: white;
    font-weight: bold;
}
.footer h5 a {
    text-decoration: none;
    color: white;
}
