/* GRUNDLAGEN & TYPOGRAPHIE */
:root {
    /* LIGHT MODE (Standardwerte) */
    --primary-color: #004a7c;
    --accent-color: #74c2e9;
    --text-color: #333;
    --background-color: #f4f7f9;
    --card-background: #ffffff;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    /* WICHTIGE DEFINITIONEN FÜR DIE BOXEN */
    --border-color: #ddd;
    --bg-main: var(--card-background);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* HEADER STYLING */
.header {
    background-color: var(--card-background);
    padding: 20px 5%;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
}

/* SEKTIONEN (CONTAINER) */
.section {
    max-width: 1100px;
    margin: 40px auto;
    padding: 40px;
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.section h2 {
    font-size: 2.2rem;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 25px;
    display: inline-block;
}

/* IDEE SEKTION */
.idea-text {
    font-size: 1.1rem;
    padding-left: 20px;
    border-left: 5px solid var(--accent-color);
}

/* TEAM SEKTION (GRID-LAYOUT) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.team-member {
    background: var(--background-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.2s;
    border-top: 5px solid transparent;
}

.team-member:hover {
    background-color: #e9ecef;
    border-top-color: var(--primary-color);
}

.team-member h3 {
    margin-bottom: 5px;
    color: var(--text-color);
}

.team-member p {
    font-size: 0.95rem;
    color: #6c757d;
    font-style: italic;
}

.captain {
    grid-column: 1 / -1;
    background-color: var(--primary-color);
    color: white;
    padding: 30px;
}

.captain h3,
.captain p {
    color: white;
}

.footer {
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    font-size: 0.85rem;
    color: #6c757d;
    background-color: var(--card-background);
    border-top: 1px solid #ddd;
}


.text-center {
    text-align: center !important;
}



.social-embed-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}


.instagram-embed-wrapper,
.links-embed-wrapper {
    flex-basis: 100%;
    max-width: 450px;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-main);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}


.social-embed-grid h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 15px;
}


@media (min-width: 950px) {

    .instagram-embed-wrapper,
    .links-embed-wrapper {
        flex-basis: calc(50% - 20px);
    }
}



.links-embed-wrapper.additional-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    text-align: left;
}

.additional-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.additional-links li {
    margin-bottom: 15px;
}

.additional-links a {

    font-family: Arial, sans-serif !important;
    font-style: italic !important;
    font-weight: normal !important;

    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.additional-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* --- BUTTON STYLING FÜR LINKS IN DER SOCIAL MEDIA SEKTION --- */

/* Zentriert die Liste im Container und entfernt Standard-Listen-Spacing */
.button-list-container {
    padding: 20px 30px;
    /* Etwas mehr vertikaler und horizontaler Raum */
    justify-content: flex-start;
    /* Stellt sicher, dass das Content-Flexbox-Verhalten erhalten bleibt */
}

.button-list {
    display: flex;
    /* Aktiviert Flexbox für die Liste */
    flex-direction: column;
    /* Stapelt die Listenelemente untereinander */
    gap: 12px;
    /* Abstand zwischen den Buttons */
    width: 100%;
}

.button-list li {
    margin: 0;
    /* Entfernt den vorherigen Margin */
}

.button-link {
    /* Setzt die Display-Eigenschaft, um die vollen Padding- und Margin-Werte zu akzeptieren */
    display: block !important;
    text-align: center;

    /* Button-Design */
    background-color: var(--accent-color);
    /* Helle Hintergrundfarbe */
    color: var(--primary-color) !important;
    /* Dunkle Textfarbe (Wichtig: !important, um vorheriges Styling zu überschreiben) */
    text-decoration: none !important;
    padding: 10px 15px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    /* Schriftart-Korrekturen (Falls sie von .additional-links überschrieben wurden) */
    font-family: 'Roboto', sans-serif !important;
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
    width: 50%;
    height: 45%;
    transition: background-color 0.2s, transform 0.1s;
}

.button-link:hover {
    background-color: #5bb3d6;
    /* Dunklere Farbe beim Hover */
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    /* Kleiner Hover-Effekt */
}

/* Entfernt das alte Link-Styling für die Buttons, das zu Problemen führt */
.additional-links a {
    /* Diese Regeln überschreiben wir jetzt mit .button-link, falls sie noch aktiv sind */
    /* Wir leeren die alten Regeln hier, um Konflikte zu vermeiden */
    font-family: inherit !important;
    font-style: inherit !important;
    color: inherit !important;
}


@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .section {
        margin: 20px 3%;
        padding: 25px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .captain {
        grid-column: auto;
    }
}

#cesiumContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 900px;
}

.VideoClass {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 900px;
}

.ImageClass {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 900px;
}

canvas {
  background-color: white;
}