* {
    font-family: 'Inter', sans-serif;
}

.font-code {
    font-family: 'Fira Code', monospace;
}

.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.tech-gradient {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #581c87 100%);
}

.glass-effect {
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(75, 85, 99, 0.3);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.floating-animation {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.code-animation {
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid transparent;
}

.skill-tag {
    background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
    border: 1px solid #6b7280;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-color: #6366f1;
}

.pdf-container {
    /* Rand und Hintergrund sind primĆĀ¤r fĆĀ¼r den Platzhalter sichtbar,
       kĆĀ¶nnen entfernt/angepasst werden, wenn das iframe den Look bestimmen soll */
    /* border: 1px solid #4b5563; */
    /* border-radius: 6px; */
    /* background: #1f2937; */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Wichtig, damit das iframe selbst nicht scrollt, sondern der Parent (.flex-grow > div) */
}

.pdf-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    /* Verhindert potenziellen Leerraum unter dem iframe */
}

.project-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: scale(1.02);
    background: rgba(55, 65, 81, 0.9);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background: linear-gradient(45deg, #374151, #4b5563);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 14px;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-nav {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: #6366f1;
}

.terminal-window {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.terminal-header {
    background: #161b22;
    padding: 8px 16px;
    border-bottom: 1px solid #30363d;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.dot-red {
    background: #ff5f56;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #27ca3f;
}

.code-line {
    color: #c9d1d9;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    line-height: 1.6;
}

.syntax-keyword {
    color: #ff7b72;
}

.syntax-string {
    color: #a5d6ff;
}

.syntax-comment {
    color: #8b949e;
}

.syntax-function {
    color: #d2a8ff;
}


/* PDF Modal Styling */

#pdfModal {
    z-index: 9999 !important;
    /* HĆ¶chster z-index fĆ¼r das Modal */
    padding-top: 5rem !important;
    /* Abstand zur Navbar */
}


/* Verbesserte Modal Animation */

.modal-fade-in {
    animation: modalFadeIn 0.3s ease-in-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive Anpassungen */

@media (max-width: 768px) {
    #pdfModal {
        padding-top: 4rem !important;
    }
}

@media (max-width: 480px) {
    #pdfModal {
        padding-top: 3.5rem !important;
    }
}