/* BODY */
body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: sans-serif;
    background-color: #111;
    color: white;
    position: relative;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* LIGHT MODE */
body.light {
    background-color: #f5f5f5;
    color: black;
}

/* CONTAINER */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
    margin-top: -500px;
}

/* AVATAR */
.avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: block;
}

/* NAME */
.fett {
    font-weight: bold;
    font-size: 40px;
    margin: 0;
}

/* ICON CONTAINER */
.uwu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 320px;
}

/* ICON BOX */
.uwu a {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #222;
    border-radius: 12px;
    position: relative;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* ICON */
.uwu a img {
    width: 30px;
    height: 30px;
    transition: transform 0.2s ease;
}

/* ICON HOVER */
.uwu a:hover {
    background-color: #333;
    transform: scale(1.05);
}

/* DARK MODE BUTTON */
.dark-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 15px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background-color: #222;
    color: white;
    transition: background-color 0.5s ease, color 0.5s ease;
}

body.light .dark-toggle {
    background-color: #ddd;
    color: black;
}

/* POPUPS */
.popup {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #222;
    padding: 15px;
    border-radius: 12px;
    min-width: 250px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    z-index: 1000;
    transition: background-color 0.5s ease, color 0.5s ease;
    text-align: center;
}

.popup a {
    text-decoration: none;
    color: white;
    padding: 5px;
    border-radius: 6px;
    background-color: #333;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.popup a:hover {
    background-color: #555;
}

.popup button {
    align-self: center;
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

/* BUTTON “Mehr über mich” - nur Text */
.mehr-über-mich {
    all: unset;
    color: inherit;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mehr-über-mich:hover {
    color: #40E0D0;
}

/* LIGHT MODE Anpassung für Popups */
body.light .popup {
    background-color: #f0f0f0;
    color: black;
}

body.light .popup a {
    background-color: #ddd;
    color: black;
}

body.light .popup a:hover {
    background-color: #bbb;
}

body.light .popup button,
body.light .mehr-über-mich {
    color: black;
}

/* FOOTER */
.footer {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-family: sans-serif;
    font-size: 14px;
    color: white;
    flex-wrap: wrap;
    text-align: center;
}

.footer a,
.footer button.mehr-über-mich {
    color: inherit;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer a:hover,
.footer button.mehr-über-mich:hover {
    color: #40E0D0;
}

body.light .footer {
    color: black;
}

/* HIDDEN */
.hidden {
    display: none;
}
