* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-x: hidden;
    position: relative;
    transition: background 0.5s ease, color 0.5s ease;
}

/* Terminal Theme Styles */
.terminal-window.theme-light {
    background: #f5f5f5 !important;
}

.terminal-window.theme-light .terminal-header {
    background: #e0e0e0 !important;
    border-bottom: 1px solid #ccc !important;
}

.terminal-window.theme-light .terminal-body {
    background: #f5f5f5 !important;
    color: #000000 !important;
}

.terminal-window.theme-light .terminal-prompt {
    color: #000000 !important;
}

.terminal-window.theme-light .terminal-input {
    color: #000000 !important;
}

.terminal-window.theme-bright {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #f9ca24, #f0932b) !important;
    background-size: 400% 400% !important;
    animation: gradientShift 10s ease infinite !important;
}

.terminal-window.theme-bright .terminal-header {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px);
}

.terminal-window.theme-bright .terminal-body {
    background: transparent !important;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.terminal-window.theme-colorchange {
    animation: colorChange 5s infinite;
}

.terminal-window.theme-colorchange .terminal-header {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px);
}

.terminal-window.theme-colorchange .terminal-body {
    background: transparent !important;
}

@keyframes colorChange {
    0%   { background: #ff0000; }
    25%  { background: #00ff00; }
    50%  { background: #0000ff; }
    75%  { background: #ffff00; }
    100% { background: #ff00ff; }
}

#matrixCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    display: block;
}

.container {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.header {
    margin-bottom: 3rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.name {
    font-size: 2.5rem;
    font-weight: 600;
    margin-top: 2rem;
    color: #ffffff;
    width: 100%;
}

.profile-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.profile-image-container {
    position: relative;
    width: 250px;
    height: 250px;
    cursor: pointer;
}

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.profile-image.hover-image {
    opacity: 0;
}

.profile-image-container:hover .profile-image.default-image {
    opacity: 0;
}

.profile-image-container:hover .profile-image.hover-image {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.profile-image-container:hover {
    transform: scale(1.05);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-item:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

.social-label {
    font-size: 1rem;
    font-weight: 500;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.social-item:hover .social-icon {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-icon svg {
    width: 100%;
    height: 100%;
    fill: #ffffff;
}

.footer {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .name {
        font-size: 1.8rem;
    }

    .profile-image-container {
        width: 200px;
        height: 200px;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }

    .social-links {
        gap: 1.5rem;
    }

    .social-icon {
        width: 50px;
        height: 50px;
    }
}

/* Animation für Bubbles im Hintergrund */
@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(10px);
    }
}

.bubble-animation {
    animation: float 6s ease-in-out infinite;
}

/* Terminal Styles */
.terminal-trigger {
    cursor: pointer;
}

.terminal-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.terminal-modal.active {
    display: flex;
}

.terminal-window {
    width: 90%;
    max-width: 800px;
    height: 70%;
    max-height: 600px;
    background: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.terminal-header {
    background: #2d2d2d;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #3d3d3d;
}

.terminal-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.terminal-close {
    background: #ff5f57;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.terminal-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #00ff00;
    background: #1e1e1e;
}

.terminal-line {
    margin-bottom: 5px;
    white-space: pre-wrap;
    word-break: break-word;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.terminal-prompt {
    color: #00ff00;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    outline: none;
}

.terminal-output {
    color: #ffffff;
}

.terminal-error {
    color: #ff4444;
}

.terminal-success {
    color: #44ff44;
}

.terminal-info {
    color: #4488ff;
}

.terminal-hacking {
    animation: blink 0.5s infinite, colorShift 2s infinite;
}

.terminal-hacking.red {
    color: #ff0000;
}

.terminal-hacking.green {
    color: #00ff00;
}

.terminal-hacking.blue {
    color: #0088ff;
}

.terminal-hacking.yellow {
    color: #ffff00;
}

.terminal-hacking.cyan {
    color: #00ffff;
}

.terminal-hacking.magenta {
    color: #ff00ff;
}

.terminal-hacking.orange {
    color: #ff8800;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes colorShift {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.terminal-input-line {
    display: none;
}

.terminal-input-line.active {
    display: flex;
}

.typing-effect {
    overflow: hidden;
    border-right: 2px solid #ffffff;
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-cursor 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-cursor {
    from, to { border-color: transparent; }
    50% { border-color: #ffffff; }
}

/* Classes replacing inline styles */
.social-icon.social-icon--img {
    padding: 0;
    overflow: hidden;
}

.social-icon--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.footer-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85em;
}

.footer-pqtls {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.78em;
}
