.survey-form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 84vh;
    font-size: 0.9em;
}

.survey-form-container {
    background: white;
    box-shadow: 0px 0px 20px -10px #606060;
    width: 990px;
    overflow-y: scroll;
    max-height: 78vh;
}

.row {
    display: flex;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
    margin: 1em 0em;
}

.vertical-top {
    align-items: flex-start;
}

.question {
    font-size: 0.9em;
    margin: 0;
    line-height: 1.6em;
}
    
.column-20 {
    width: 20%;
}

.column-30 {
    width: 30%;
}

.column-35 {
    width: 35%;
}

.column-40 {
    width: 40%;
}

.column-50 {
    width: 50%;
}

.column-70 {
    width: 70%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
}

.column-80 {
    width: 70%;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center !important;
}

.font-bold {
    font-weight: bold;
}

.font-italic {
    font-style: italic;
}

input, 
select {
    width: 100%;
}

input[type="checkbox"] {
    width: auto;
}

.progressbar-result {
    width: 100%;
    height: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    margin: 1.5em 0em 0.25em 0em;
    background: linear-gradient(to left, #ff0000, #ffff00, #16c016);
}

.result-auswertung {
    padding: 1em;
    color: #4D4D4D;
    background: #EDEDED;
    text-align: justify;
    margin: 0em 0em 2em 0em;
}

small {
    font-weight: 400;
    font-style: italic;
    line-height: 1.25em;
}

label {
    margin: 0em 0em 1em 0em;
    line-height: 1.5em;
    font-size: 0.9em;
}


button {
    font-family: 'Francois One';
    border: 0px;
    outline: 0px;
    border-radius: 10px;
    padding: 0.5em 2em;
    font-size: 1.1em;
    cursor: pointer;
}

button.secondary,
button.secondary:hover{
    background: #AEAEAE;
    color: white;
}

button.primary {
    background-image: linear-gradient(to bottom, #F96400, #FF2C2C);
    color: white;
}

button a,
a button {
    cursor: pointer;
}

h1 {
    line-height: 1.5em
}

.welcome-screen h1 {
    color: #4A8E32;
    line-height: 1.5em;
    text-transform: uppercase;
}

.welcome-screen button {
    margin-top: 1.5em;
    font-size: 0.8em;
}

.welcome-screen {
    padding: 0em 15em 1em 0em;
}


.progressbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.progress-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background-color: #dcdcdc;
    z-index: 0;
}

.progress-step {
    position: relative;
    z-index: 1;
    background-color: #fff;
    border: 2px solid #dcdcdc;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 25px;
    cursor: pointer;
}

.progress-step::before {
    content: attr(data-step);
    position: absolute;
    bottom: -30px; 
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap; 
    font-size: 14px; 
}

.progress-step.completed::before {
    color: #4CAF50;
    font-weight: bold;
}

.progress-step.progress::before {
    font-weight: bold;
}

.progress-step.completed {
    background: #4CAF50;
    border-color: #4CAF50;
}

.progress-step.completed::after {
    content: '\f00c';
    font-family: "Font Awesome 5 Free"; 
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: #f0f0f0;
    font-size: 14px;
    font-weight: 900;
    top: 50%;
}

input[type="text"], select {
    background: white;
    border: 1px solid #afafaf;
    padding: 0.5em;
    color: #686868;
}


.loading {
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    font-size: 3em;
    color: grey;
}


/* CSS-Animationen definieren */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Die Spinner-Animation auf das <i> Element anwenden */
.loading i {
    animation: spin 1s linear infinite;
}

h1.step-heading {
    line-height: 1.3;
    margin-top: 2em;
    margin-bottom: 0.5em;
    font-size: 2em;
}

.action-buttons {
    margin-top: 3em;
}


.survey-footer {
    font-size: 0.8em;
    color: grey;
    text-align: center;
}

.survey-footer a,
.survey-footer a:hover {
    color: grey;
}

.dsgvo {
    margin-top: 2em;
}

.auswertung-screen h2 {
    margin-top: 2.5em;
}

.auswertung-screen h5 {
    margin-top: 1em;
    margin-bottom: 2.5em;
}

.welcome-screen .fa-check-circle {
    margin-right: 0.5em;
    color: green;
}

.invalid {
    border-color: rgb(161, 25, 25) !important;
    color: rgb(161, 25, 25) !important; /* Textfarbe */
}

.invalid::placeholder { /* Platzhaltertext für input-Elemente */
    color: rgb(161, 25, 25) !important;
}

.invalid:after {
    content: "Dieses Feld ist ein Pflichtfeld"; 
    color: rgb(161, 25, 25) !important;
    font-size: 0.8em;
    margin-top: 5px;
}

.welcome-screen {
    background-image: url(https://wissen.alex-fischer-duesseldorf.de/wp-content/uploads/2024/03/alex-duesseldorf-fischer-top.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-position-x: right;
}

.survey-screen-inner {
    padding: 3em;
}

@media (max-width: 675px) {
    .welcome-screen {
        padding: 0px;
        background-color: white;
        background-image: none;
    }
}

@media (max-width: 500px) {

    .row {
        flex-direction: column;
        align-items: flex-start;
        margin: 2em 0em 0.5em 0em;
    }

    .auswertung-screen .row {
        display: flex;
        justify-content: space-between !important;
        align-items: stretch;
        align-content: space-around;
        flex-direction: row;
    }

    .auswertung-screen .text-right {
        text-align: right;
    }

    .text-right {
        text-align: left;
    }

    .column-20,
    .column-30,
    .column-35,
    .column-40,
    .column-70,
    .column-80 {
        width: 100%;
    }

    button.secondary,
    button.primary {
        width: 100%;
    }

    .welcome-screen h1 {
        line-height: 1.25em;
        font-size: 2.2em;
    }

    .survey-form-container {
        width: 100%;
        max-height: none !important;
    }

    .survey-form-wrapper {
        height: auto;
        font-size: 0.8em;
    }

    .row.action-buttons {
        margin-top: 3em;
        display: flex;
        flex-direction: column-reverse;
    }

    .survey-screen-inner {
        padding: 1em;
        font-size: 0.9em;
    }

    .survey-footer {
        margin-top: 2em;
        font-size: 0.5em;
    }

    .progress-step::before {
        font-size: 10px;
    }

    h1.step-heading {
        font-size: 1.5em;
    }

    .result-text {
        font-size: 0.7em;
    }

    .erstgespraech h3,
    .erstgespraech h5 {
        padding: 0px !important;
    }

    .erstgespraech h3 {
        font-size: 1.7em;
        line-height: 1.5;
    }

    .erstgespraech button {
        white-space: normal;
        font-size: 1.25em;
        line-height: 1.2;
        padding: 0.75em;    
    }


}

.iti {
    width: 100%;
}

.iti__flag {
    margin-right: 8px;
}

input#enployment-status-sonstiges {
    margin-top: 0.75em;
}

.progressbar-wrapper {
    position: relative;
}

img.progress-current-step {
    height: 85px;
    object-fit: contain;
    position: absolute;
    top: -70px;
    right: 50px;
}

.progressbar-wrapper {
    position: relative;
    margin: 4.75em 0em 1em 0em;
}

.result-text {
    font-size: 1em;
}

.auswertung-screen h3 {
    font-size: 1.5em;
    margin: 1.5em 0em 0.75em 0em;
}

.iti__country-list {
    background: white;
    box-shadow: 0px 0px 15px -9px #727272;
} 

#phone {
    padding-left: 87px !important;
}

.erstgespraech h3 {
    line-height: 1.75em;
    padding: 0em 3em;
}

.erstgespraech h5 {
    line-height: 1.5;
    padding: 0em 3em;
    margin: 1em 0em 2em 0em;
}