body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: Arial, sans-serif;
    position: relative;
    overflow: hidden;
}

/* UNSCHÄRFER HINTERGRUND */
.bg {
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    background-image: url("img/profilbild.png"); /* <-- WICHTIGER PFAD */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(12px);
    transform: scale(1.1);   /* gegen hässliche Kanten */
    z-index: -1;             /* hinter dem Inhalt */
}

.box {
    width: 800px;
    padding: 20px;
    background-color: #0000008a;
    border-radius: 60px;
    border: 2px solid #444;
    font-size: 12px;
    display: flex;
    flex-direction: column; /* Buttons untereinander */
    align-items: center;
    gap: 10px; 
    fill: rgb(255, 255, 255);
    box-shadow: 0 0 30px 5px rgba(0, 0, 0, 0.7); /* Glow */
}

.btn {
    width: 20px;       /* feste Breite */
    height: 20px;       /* feste Höhe */
    padding: 5px 5px;
    margin-right: 350px;
    border-radius: 9px;
    background-color: rgba(255, 255, 255, 0.568);
    filter: brightness(0) invert(1);
}

.profilbild {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff; /* optionaler Rahmen */
    box-shadow: 0 0 20px 5px rgba(162, 0, 255, 0.7); /* Glow */
    transition: 0.3s ease;
}

h1 {
    color: white;
    margin: 0;
    padding: 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7); /* x, y, Blur, Farbe */
}

h2 {
    
    font-size: 18px;
    color: white;
    margin: 0;
    padding: 0;
    letter-spacing: 4px;
}

h3 {
    color: white;
    margin: 0;
    padding: 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7); /* x, y, Blur, Farbe */
}

.socials {
    width: 500px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: space-between;  /* linke Gruppe – rechte Gruppe */

    padding: 0 20px;
    margin-top: 20px;

    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7); /* Glow */
    color: white;
    text-decoration: none; /* Unterstrich weg */
}


.label {
    margin-left: 0px; /* optional für bessere Zentrierung */
    font-size: 18px;
}

.username {
    margin-right: 0px; /* optional für bessere Zentrierung */
    font-size: 18px;
}

.left {
    display: flex;
    align-items: center;
    gap: 12px;    /* Abstand zwischen Icon und Instagram */
}

.icon {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
}


.footer {
    bottom: 20px;        /* Abstand zum unteren Rand */
    width: 100%;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;

    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;

    text-decoration: none;
    transition: 0.2s;
} 

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: 0.2s;
}

.impressum-btn {
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

@media (max-width: 600px) {

    body {
        overflow-x: hidden; /* Kein horizontales Scrollen */
        padding: 20px;
    }

    .box {
        width: 120%;
        max-width: 600px;
        padding: 10px;
        border-radius: 60px;
        font-size: 14px;
    }

    .profilbild {
        width: 120px;
        height: 120px;
    }

    h1 {
        font-size: 24px;
        text-align: center;
    }

    h2 {
        font-size: 14px;
        text-align: center;
    }

    .socials {
        width: 100%;
        height: 55px;
        padding: 0 15px;
        margin-top: 15px;
        font-size: 16px;
    }

    .label, 
    .username {
        font-size: 16px;
    }

    .icon {
        width: 24px;
        height: 24px;
    }

    .footer {
        font-size: 12px;
        text-align: center;
    }

    .impressum-btn {
        font-size: 14px;
        gap: 6px;
    }
}

@media (max-width: 1920px) and (max-height: 1080px) {

    /* NUR den Inhalt skalieren */
    .box {
        transform: scale(0.8);
        transform-origin: center;
    }

}