@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    color: #fff;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.profile-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 50px 30px;
    width: 380px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.profile-container:hover {
    transform: translateY(-5px);
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    padding: 5px;
}

.name {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.projects-button-container {
    margin: 25px 0;
}

.projects-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.projects-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    font-size: 20px;
}

.social-link:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.telegram:hover {
    background: #0088cc;
}

.discord:hover {
    background: #5865F2;
}

.github:hover {
    background: #333;
}

.email:hover {
    background: #ea4335;
}

/* Medienabfragen für Responsivität */
@media (max-width: 480px) {
    .profile-container {
        width: 90%;
        padding: 30px 20px;
    }
    
    .profile-pic {
        width: 120px;
        height: 120px;
    }
    
    .name {
        font-size: 24px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .projects-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Animation für die Icons */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.social-link:active {
    animation: pulse 0.3s ease;
}
