:root {
    --headerandfooterBackroundlinear: linear-gradient(0deg, #fdcc0d, #ff8635 41.67%);

    --borderwhitestandard: 2px solid white;
    --whiteStandard: white;
    --blackStandard: black;
    --darkGris: #333;



    --fonts-family-monts500: "Monts500";
    --fonts-family-poppins500: "Poppins500";
    --fonts-family-roboto500: "Roboto500";

    --textdeconone: text-decoration: none;
    --paddingheaderfooterabstand: 30px 0;

}

@font-face {
    font-family: 'Roboto500';
    src: url('/assets/fonts/Roboto-Medium.woff2') format('woff2'),
        url('/assets/fonts/Roboto-Medium.woff') format('woff'),
        url('/assets/fonts/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Poppins500';
    src: url('/assets/fonts/Poppins-Medium.woff2') format('woff2'),

        url('/assets/fonts/Poppins-Medium.woff') format('woff'),

        url('/assets/fonts/Poppins-Medium.ttf') format('truetype');

    font-weight: 400;
    font-style: normal;
}


@font-face {
    font-family: 'Monts500';
    src: url('/assets/fonts/Montserrat-Medium.woff2') format('woff2'),

        url('/assets/fonts/Montserrat-Medium.woff') format('woff'),

        url('/assets/fonts/Montserrat-Medium.ttf') format('truetype');

    font-weight: 400;
    font-style: normal;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body,
html {
    box-sizing: border-box;
    width: 100%;
    font-size: 16px;
    height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(270deg, #ffbe57, #ffeb99);
}

/* Global */
.display_flex_standard {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrapper_container {
    width: 100%;
    max-width: 1960px;
    height: auto;
}

header {
    border: 2px solid blue;
    background: var(--headerandfooterBackroundlinear);
    width: 100%;
    height: auto;
    flex-direction: column;
    padding: var(--paddingheaderfooterabstand);
}

.nav_title_expat {
    font-size: 24px;
    font-family: var(--fonts-family-poppins500);
    text-align: center;
    font-weight: bold;
    padding: 50px 50px 0
}

.inside_header_container {
    width: 100%;
    max-width: 80%;
    height: auto;
    display: flex;
    align-items: flex-start;

}

.img_logo_container {
    width: 100%;
    max-width: 38%;
    min-width: 200px;
    margin-right: 20px;
}

.logo {
    width: 100%;
    min-width: 200px;
}

.language_text_selection {
    font-family: var(--fonts-family-poppins500);
}

.header_nav_langue_status_container {
    height: auto;
    width: 100%;
    flex-direction: column;
    gap: 5px;
}

.menue_language_ul {
    gap: 30px;
    width: 100%;
    max-width: 630px;
    border-radius: 20px;
    background-color: #fff;
    padding: 17px 16px;
    flex-wrap: wrap;
    transition: all 0.3s ease-in-out;
    list-style: none;
}

.text_style_nav {
    text-decoration: var(--textdeconone);
    font-size: 18px;
    font-family: var(--fonts-family-poppins500);
    color: var(--darkGris);
}

/* Nav Burger Menu */


.toggle_button {
    /*    position: absolute; */
    /*     top: 25px;
    right: 25px; */
    margin-top: 10px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 23px;
}

.toggle_button .bar {
    height: 4px;
    width: 100%;
    background-color: var(--whiteStandard);
    border: 100%;
}

.user-email-box,
.status-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    font-family: var(--fonts-family-roboto500);
}

/* .name_output{
    display: block;
} */

@media(max-width:750px) {
    .menue_language_ul {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .toggle_button {
        display: flex;
    }

    .text_style_nav {
        text-align: center;
    }

    .menue_language_ul.active {
        display: flex;
    }
}

.inside_header_container_two {
    border-radius: 20px;
    margin-top: 50px;
    border: 3px solid yellow;
    width: 100%;
    max-width: 80%;
    height: 300px;
    display: flex;
    align-items: center;
    background-image: url('../assets/img/BackgroundHeader.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 300px;
    flex-direction: column;
    gap: 30px;
}

.login_btn_container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
    align-items: flex-end;

}

.login_btn_index {
    width: 100%;
    max-height: 50px;
    max-width: 190px;
    margin-right: 1%;
    text-decoration: var(--textdeconone);
    background-color: #FCCC0D;
    font-size: 20px;
    font-family: var(--fonts-family-monts500);
    font-weight: 600;
    letter-spacing: 1.56px;
    border-radius: 50px;
    border: var(--borderwhitestandard);
    padding: 1%;

}

/* Nav prinzipa */
.navi_header_unten {
    width: 100%;
    max-width: 500px;
}

.navi_header_unten ul {

    flex-wrap: wrap;
    display: flex;
    margin-bottom: 12px;
    list-style: none;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 800%;
    border-radius: 30px;


}

.navi_header_unten ul a {
    text-decoration: none;
    font-family: var(--fonts-family-monts500);
    font-size: 1.5rem;
    color: var(--darkGris);
    background-color: #13EFE0;
    padding: 8px;
    border: var(--borderwhitestandard);
    border-radius: 30px;
    width: 100%;
}

.search_field {
    display: flex;
    gap: 5px;
    width: 100%;
    max-width: 400px;
}

.search_subtitle {
    font-size: 24px;
    font-family: var(--fonts-family-monts500);
}

.text_input_field {
    width: 100%;
    max-width: 340px;
    border-radius: 20px;
    padding: 5px 10px 5px 10px;
    font-size: 1.2rem;
}



/* Main */
.main {
    width: 100%;
    max-width: 80%;
}

.q-and-a{
    margin-bottom: 20px;
    font-family: var(--fonts-family-poppins500);
    font-size: 48px;
   text-align: center;
 
}

.warning_loggin {
    color: red;
    display: none;
    text-align: center;
    margin-top: 20px;
    font-family: var(--fonts-family-poppins500);
    font-size: 24px;
}

.qa-container {
    width: 100%;
    max-width: 1200px;

    padding: 10px;
    font-family: var(--fonts-family-roboto500);
}

.question-block {
    margin-top: 60px;
    background: rgba(255, 68, 0, 0.486);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.question-header {
    border-left: 4px solid #007acc;
    padding-left: 15px;
    margin-bottom: 15px;
}

.subtile_text {
    font-family: var(--fonts-family-roboto500);
    font-size: 32px;
    text-align: center;
}

.author-name {
    font-weight: bold;
    color: #007acc;
    display: block;
    margin-bottom: 5px;
}

.question-text {
    font-size: 18px;
    margin: 0;
    color: #333;
}

.answers {
    margin-top: 15px;
    padding-left: 10px;
    border-left: 2px solid #ccc;
}

.answer {
    margin-bottom: 15px;
}

.answer-author {
    font-weight: 600;
    color: #444;
    font-size: 15px;
}

.answer-text {
    margin: 3px 0 0 0;
    color: #333;
}

.answer-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

textarea {
    width: 100%;
    height: 80px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
    resize: vertical;
}

button {
    align-self: flex-start;
    padding: 8px 20px;
    background-color: #ce9120;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #005fa3;
}

/* Footer Grundlayout */
/* Footer */
#footer {
    width: 95%;
    background: var(--headerandfooterBackroundlinear);
    font-family: var(--fonts-family-poppins500), sans-serif;
    font-size: 24px;
    color: #000;
    padding: var(--paddingheaderfooterabstand);
}

.footer_content {
    background-color: #FFEB99;
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
    border-radius: 12px;
    padding: var(--paddingheaderfooterabstand);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
    padding: 0 30px;
}


/* Alle Links im Footer */
.footer_content a {
    color: #000;
    text-decoration: none;
    margin: 0 8px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer_content a:hover {
    color: #444;
}

/* Layout für Link-Gruppen */
.footer_links,
.footer_legal,
.footer_social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.footer_contact {
    text-align: center;
    word-break: break-all;
}


/* Kontakt- und Copyright-Bereich */
.footer_contact p,
.footer_copy p {
    margin: 4px 0;
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
}


/* Links in Kontaktbereich */
.footer_contact a {
    text-decoration: underline;
    color: #000;
    transition: color 0.3s ease;
}

.footer_contact a:hover {
    color: #444;
}

@media(max-width:750px) {
    .menue_language_ul {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }


    .text_style_nav {
        text-align: center;
    }

    .menue_language_ul.active {
        display: flex;
    }

    .inside_header_container {
        flex-direction: column;
    }
}

@media(max-width:500px) {
    .navi_header_unten ul {
        gap: 30px;
    }

    .login_btn_container {
        width: 100%;
        display: flex;   
        justify-content: center;
        align-items: flex-end;
        margin-top: 30px;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .inside_header_container_two {
        padding: 0 30px;
        height: 400px
    }

}

@media(max-width:390px) {
    .inside_header_container_two {
        padding: 0 30px;
        height: 435px
    }

    .search_subtitle {
        color: var(--whiteStandard);
        text-align: center;
        font-weight: 800;
    }
}


/* End cookie banner */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* dunkler Hintergrund */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Stellen sicher, dass das Overlay über allem anderen liegt */
}

/* CAPTCHA Bereich */
.captcha-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.captcha-header {
    font-size: 18px;
    margin-bottom: 10px;
}

.captcha-question {
    font-size: 16px;
    margin-bottom: 10px;
}

.captcha-answer {
    padding: 8px;
    margin-bottom: 10px;
    font-size: 16px;
    width: 100px;
}

.captcha-submit {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.captcha-submit:hover {
    background-color: #45a049;
}

.captcha-error-message {
    color: red;
    margin-top: 10px;
}

