/* ...existing code... */

/* Grundlegender Reset für alle Elemente */
* { box-sizing: border-box; }

/* Basis-Styling für den gesamten Body */
body {
    min-width: 320px;
    margin: 0;
    background-color: rgb(26, 26, 32);
}

/* Container, der die komplette Karte zentriert */
.card_list {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    margin-top: 100px;
    padding: 0 20px 40px;
    padding-bottom: 900px;
    font-family: Arial, Helvetica, sans-serif;
}

/* Hauptkarte mit dunklem Hintergrund und Rahmen */
.card{
    width: fit-content;
    max-width: 100%;
    padding: 50px;
    text-align: center;
    background-color: rgb(26, 26, 32);
    border: 2px solid #490dee;
    border-radius: 15px;
    box-shadow: 0 0 12px 9px rgba(0, 0, 0, .73);
}

/* Profilbild als runder Avatar */
.profilbild {
    display: block;
    width: 200px;
    height: 200px;
    margin: 0 auto 26px;
    object-fit: cover;
    border: 3px solid #4175ec;
    border-radius: 50%;
    box-shadow: 0 0 12px 9px rgba(6, 90, 199, .45);
    transition: transform .2s ease;
}

/* Hover-Effekt für das Profilbild */
.profilbild:hover {
    transform: scale(1.05);
    box-shadow: 0 0 6px 4.5px rgba(20, 218, 253, .493);
}

/* Titel-Stil für den Namen */
h1 {
    margin: 0 0 14px;
    color: white;
    transition: transform .2s ease;
}

/* Hover-Effekt für den Namen */
h1:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px #70FDED;
}

/* Textabschnitt für Beschreibung und Info */
.info {
    color: white;
    line-height: 25px;
    font-size: large;
    transition: transform .2s ease;
}

/* Hover-Effekt für Informations-Text */
.info:hover {
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(112, 253, 237, .5);
}

/* Hervorhebung in blauer Farbe */
b {
    color: #4575e4;
}

/* Container für die Fähigkeiten/Skills */
.kann_list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Einzelnes Skill-Tag */
.kann {
    margin: 0 20px 20px;
    padding: 5px 10px;
    color: white;
    border: 2px solid #6162643f;
    border-radius: 10px;
    font-size: large;
}

/* Container für alle Link-Buttons */
.buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 490px;
    margin: 0 auto;
}

/* Allgemeiner Button-Stil für Links */
.button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 150px;
    padding: 10px;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 10px;
    font-size: medium;
    font-weight: 650;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

/* Text innerhalb des Buttons */
.button_text {
    color: white;
    text-decoration: none;
}

/* Hover-Effekt für Buttons */
.button:hover {
    transform: scale(1.05);
}

/* GitHub Button */
.git {
    background: #2603e9;
}

.git:hover {
    box-shadow: 0 0 12px 4px rgba(0, 68, 255, .55);
}

/* Discord Button */
.dis {
    background: #29a7f0;
}

.dis:hover {
    box-shadow: 0 0 12px 4px rgba(20, 218, 253, .45);
}

/* TikTok Button */
.tiktok {
    background: #e903b7;
}

.tiktok:hover {
    box-shadow: 0 0 12px 4px rgba(253, 20, 164, .45);
}

/* YouTube Button */
.youtube {
    background: #ff0000;
}

.youtube:hover {
    box-shadow: 0 0 12px 4px rgba(255, 0, 0, .55);
}

/* Discord Board Button */
.disboard {
    background: #5865f2;
}

.disboard:hover {
    box-shadow: 0 0 12px 4px rgba(88, 101, 242, .55);
}

/* Twitch Button */
.twitch {
    background: #9146ff;
}

.twitch:hover {
    box-shadow: 0 0 12px 4px rgba(145, 70, 255, .55);
}

/* Spotify Button */
.spotify {
    background-color: #1db954;
}

.spotify:hover {
    box-shadow: 0 0 12px 4px rgba(29, 185, 84, .55);
}

/* Responsive Design für kleine Mobilgeräte */
@media (max-width: 520px) {
    .card_list {
        margin-top: 30px;
        padding: 0 12px 30px;
    }

    .card {
        width: 100%;
        padding: 30px 18px;
    }

    .profilbild {
        width: 160px;
        height: 160px;
    }

    .info {
        font-size: medium;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .kann {
        margin-inline: 5px;
        font-size: medium;
    }

    .desktop-only {
        display: none;
    }
}