:root {
    --primary: #e31e24;
    ;
    --secondary: #530508;
    ;
    --bg-dark: #121212;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    transition: 0.4s ease;
}

body.dark {
    background: var(--bg-dark);
}

h1 {
    margin-bottom: 5px;
}

p {
    margin-top: 5px;
}

.container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 30px;
    width: 90%;
    max-width: 400px;
    border-radius: 0;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease forwards;
    color: white;
    margin: 50px 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile {
    margin-bottom: 40px;
}

.profile img {
    background-color: #ffffff;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin-bottom: 15px;
    padding: 10px;
}

.link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    background: #ffffff;
    color: #333;
    padding: 14px;
    margin: 12px 0;
    border-radius: 0;
    font-weight: bold;
    transition: 0.3s;
}

.link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

body.dark .link {
    background: #1f1f1f;
    color: #ffffff;
}

body.dark .link.event {
    color: #333;
}

.legal-links {
    margin-top: 20px;
    font-size: 13px;
}

.legal-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
    opacity: 0.8;
    transition: 0.3s;
}

.legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.toggle {
    margin-top: 15px;
    cursor: pointer;
    font-size: 13px;
    opacity: 0.8;
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }

    .link {
        padding: 16px;
        font-size: 16px;
    }
}

.d112-flame {
    content: url("https://www.design112.de/linktree/assets/img/Flamme-schwarz_design112-GmbH.webp");
}

.event {
    background-color: #fff042 !important;
}