/* Allgemeine Einstellungen */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: white;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    z-index: 0;
}

/* Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: -1;
}

/* Glow Effekt */
.glow {
    color: rgb(2, 2, 2);
    font-size: 1rem;
    animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes pulse-glow {
    0% {
        text-shadow: 0 0 5px rgb(89, 82, 230), 0 0 10px rgb(6, 5, 105);
    }

    30% {
        text-shadow: 0 0 15px rgb(89, 82, 230), 0 0 30px rgba(111, 118, 174, 0.927);
    }

    50% {
        text-shadow: 0 0 5px rgb(89, 82, 230), 0 0 10px rgba(111, 118, 174, 0.927);
    }
}

/* GitHub Name */
.github-name {
    margin-top: 20px;
    padding: 10px;
    text-align: center;
    width: 100%;
}

/* Persönliches GIF */
.personality-gif {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.personality-gif1 {
    width: 100%;
    max-width: 100px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Portfolio Header */
header {
    text-align: center;
    padding: 40px;
    background: rgba(0, 33, 71, 0.8);
    color: white;
    border-radius: 10px;
}

/* Profil-Icon-Stil */
.icon {
    color: #555;
    margin-right: 8px;
}

/* Profilbild */
.profile-image {
    width: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Bildcontainer */
.image-wrapper {
    flex-shrink: 0;
}

/* Persönliche Daten Format */
.text-wrapper p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0.5rem 0;
}

/* Karten */
.card {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    /* transition: transform 0.3s ease-in-out; */
}

/* .card:hover {
    transform: scale(1.05);
} */

/* Skill Icons */
.skill-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

.skill-image:hover {
    transform: scale(1.1);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 30px;
    padding: 10px;
    background: #000;
    color: white;
    border-radius: 0 0 10px 10px;
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 992px) {
    header {
        padding: 30px;
    }

    .profile-image {
        width: 180px;
    }

    .skill-image {
        width: 50px;
        height: 50px;
    }

    .text-wrapper {
        margin-left: 0;
    }

    .personality-gif1 {
        max-width: 120px;
    }
}

@media (max-width: 768px) {

    .card.flex-row,
    .card.persönliche-daten {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }

    .image-wrapper {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .profile-image {
        width: 100%;
        max-width: 150px;
        margin: 0 auto;
        display: block;
    }

    .text-wrapper {
        width: 100%;
        padding: 0 10px;
        text-align: left;
    }

    .row.text-center>div {
        margin-bottom: 20px;
    }

    /* ❌ Wichtig: NICHT umbrechen, Layout bleibt nebeneinander */
    /* .text-wrapper p {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin: 0.4rem 0;
        font-size: 0.95rem;
    } */
}

@media (max-width: 576px) {
    header h1 {
        font-size: 1rem;
    }

    header p {
        font-size: 1rem;
    }

    .glow {
        font-size: 0.9rem;
    }

    .skill-image {
        width: 45px;
        height: 45px;
    }

    .card {
        padding: 15px;
    }

    .text-wrapper p {
        font-size: 0.85rem;
    }

    .profile-image {
        max-width: 120px;
    }

    .persönliche-daten h3 {
        font-size: 1.2rem;
        text-align: center;
        width: 100%;
    }
}