body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: none;
    color: #000;
    overflow: auto;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.background-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: url('fotos/bg_1.HEIC') no-repeat center center;
    background-size: cover;
    filter: blur(2px);
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.navbar {
    margin: 0;
    font-family: W-Museum;
    color: #ffffff;
    position: relative;
    display: flex;
    flex-direction: column;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 20px 50px;
    background-color: #1f1f1f;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mail-btn-wrapper {
    justify-self: end;
}

.logo {
    font-family: Germanic;
    font-size: 45px;
    font-weight: bold;
    color: #ffffff;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
}

nav a:hover {
    border: 4px solid #00ccff;
}

main {
    font-size: 20px;
    font-family: P-Hand;
    font-weight: bold;
    position: relative;
    z-index: 5;
    padding-top: 100px;
    padding-bottom: 60px;
    flex: 1;
}

.intro {
    text-align: center;
    margin-top: 50px;
    font-size: 22px;
}

.ui-designs-btn {
    background-color: #00ccff;
    font-family: P-Hand;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    text-decoration: none;
    display: inline-block;
}

.interactive-elements {
    font-family: P-Hand;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.intro h1, .intro p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.illustration {
    background: url('illustration.png') no-repeat center center;
    background-size: contain;
    height: 300px;
    margin-top: 50px;
}

footer {
    background-color: #1f1f1f;
    padding: 20px 0;
    text-align: center;
    color: #ffffff;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-media {
    margin-bottom: 10px;
}

.social-media a {
    margin: 0 10px;
    display: inline-block;
}

.social-media img {
    width: 24px;
    height: 24px;
}

footer p {
    margin: 0;
    font-size: 14px;
}

@font-face {
    font-family: 'Germanic';
    src: url('fonts/Canterbury.ttf');
}
@font-face {
    font-family: 'O-Sans';
    src: url('fonts/KCOraleSans.otf');
}
@font-face {
    font-family: 'P-Hand';
    src: url('fonts/KCPixelHand.otf');
}
@font-face {
    font-family: 'W-Museum';
    src: url('fonts/KC+Wax+Museum/KCWaxMuseum.otf');
}
@font-face {
    font-family: 'W-MuseumD';
    src: url('fonts/KC+Wax+Museum/KCWaxMuseum-Drip.otf');
}
@font-face {
    font-family: 'B-Shack';
    src: url('fonts/KC+Bubble_Shack/KCBubbleShack.otf');
}
@font-face {
    font-family: 'B-ShackS';
    src: url('fonts/KC+Bubble_Shack/KCBubbleShack-Shine.otf');
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

.projects {
    text-align: center;
    margin-top: 50px;
}

.project-card {
    background-color: #1f1f1f;
    border: 2px solid #ffffff;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px auto;
    max-width: 300px;
    transition: border-color 0.3s ease;
}

.project-card img {
    width: 100%;
    height: auto;
}

.project-info h2, .project-info p {
    color: white;
}

a.project-link {
    text-decoration: none;
    color: inherit;
}

.project-card:hover {
    border-color: #00ccff;
}

.chat-btn {
    position: fixed;
    top: 20px;
    right: 50px;
    background-color: #00cc66;
    font-family: W-Museum;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    text-decoration: none;
    z-index: 9999;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.social-card {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.social-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.2);
}

.social-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.social-card:hover img {
    transform: scale(1.1);
}

.social-card h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.social-card p {
    font-size: 1rem;
    opacity: 0.8;
    color: white;
}

.social-card a, .social-card a:visited, .social-card a:hover, .social-card a:active {
    text-decoration: none;
    color: inherit;
}

.cv-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    line-height: 1.8;
    font-size: 18px;
    font-family: "Roboto", sans-serif;
}

.cv-section h2 {
    font-size: 22px;
    margin-top: 2rem;
    border-bottom: 1px solid #888;
    padding-bottom: 0.5rem;
}

.cv-section p, .cv-section li {
    margin: 0.2rem 0;
}

.cv-section ul {
    padding-left: 1.2rem;
    list-style-type: disc;
}

.blog-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    font-size: 18px;
    line-height: 1.8;
    font-family: "Roboto", sans-serif;
    transition: font-size 0.3s ease;
}

.blog-section h1 {
    text-align: center;
    border-bottom: 2px solid #999;
    padding-bottom: 10px;
    margin-bottom: 30px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.blog-section h2 {
    text-align: center;
    border-bottom: 1.5px solid #bbb;
    padding-bottom: 6px;
    margin-bottom: 20px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.blog-section ul {
    list-style-position: inside;
    padding-left: 0;
    text-align: center;
}

img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 50%;
    height: auto;
}

/* Responsive Anpassungen */
@media (max-width: 600px) {
    header {
        padding: 8px 10px;
        grid-template-columns: auto 1fr auto;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
        .navbar ul {
        flex-direction: column;
        gap: 6px;
        align-items: center;
    }
    .ui-designs-btn {
        padding: 6px 10px;
        font-size: 14px;
        width: auto;
    }
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .chat-btn {
        top: 20px;
        right: 20px;
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .social-grid {
        grid-template-columns: 1fr;
    }
    nav ul {
        gap: 5px;
    }
    .chat-btn {
        right: 10px;
        padding: 6px 12px;
        font-size: 13px;
    }
    .logo {
        font-size: 30px;
    }
    .project-card {
        max-width: 90%;
    }
}
