/* Globale Variablen – Dark Theme als Standard */
:root {
    --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.25;
    --color-text: #eee;
    --accent-purple: #5c22c7;
    --bg-container: rgba(20, 20, 20, 0.9);
    --background: #000;
    --heading-color: #ddd;
    --subheading-color: #9a9a9a;
    --container-subheading-size: 1.1rem;
}

/* Overrides fürs Light Theme*/
[data-theme="light"] {
    --color-text: #333;
    --accent-purple: #7341d5;
    --bg-container: rgba(255, 255, 255, 0.95);
    --background: #fff;
    --heading-color: #222;
    --subheading-color: #667;
    --container-subheading-size: 1.1rem;
}

/* Grundlegendes */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: var(--font-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background: var(--background);
    overflow: hidden;
}

/* Typografie */
h1 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--heading-color);
    margin: 0.5em 0 0.2em 0;
}

/* Job Description */
.container h1+p {
    color: var(--subheading-color);
    margin: 0.4em 0 1.3em 0;
    font-size: var(--container-subheading-size);
}

p {
    margin: 0.6em 0;
}

/* Standard: Dark Theme */
.lp-link {
    color: #9a9a9a;
    /* Graue Schrift */
    text-decoration: none;
    position: relative;
    font-weight: 500;
    font-size: 1.15rem;
    line-height: 1.25rem;
}

.lp-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 4px;
    background-color: var(--accent-purple);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.lp-link:hover::after {
    transform: scaleX(1);
}

/* Overrides für Light Theme */
[data-theme="light"] .lp-link {
    color: var(--accent-purple);
    text-decoration: none;
}

.location {
    color: #bbb;
}

[data-theme="light"] .location {
    color: #555555;
}

/* Button als Kontakt-Link */
.contact {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 24px;
    background-color: var(--accent-purple);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.contact:hover {
    background-color: #5712b1;
}

/* Hintergrund-Video */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.background-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    border: none;
}

/* Container */
.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-container);
    max-width: 400px;
    width: 90%;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Profilbild */
.profile-img img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

/* Responsive Anpassung */
@media only screen and (max-width: 768px) {
    .container {
        width: 80%;
        padding: 20px;
    }

    .lp-link {
        color: var(--accent-purple);
    }
}

.blink-icon {
    display: inline-block;
    margin-right: 2px;
    /* näher am Text */
    transform: translateY(-3px);
    /* ein bisschen höher */
    animation: blink-icon 1.5s infinite;
}

@keyframes blink-icon {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(-2px) translateY(-3px);
    }

    50% {
        opacity: 1;
        transform: translateX(0) translateY(-3px);
    }
}