.mm-survey {
    margin-top: 75px;
    margin-bottom: 50px;
}

.mm-survey-container {
    width: 100%;
    min-height: 600px;
    background: #fafafa;
}

.mm-survey-results-container {
    width: 100%;
    min-height: 600px;
    background: #fafafa;
}

.mm-survey-page {
    display: none;
    font-family: 'DM Sans', sans-serif;
    font-weight: 100;
    padding: 40px;
}

.mm-survey-page.active {
    display: block;
}

.mm-survey-controller {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    background: linear-gradient(90deg, rgba(168, 17, 88, 1) 42%, rgba(2, 81, 151, 1) 100%);
    padding: 12px 14px;
}

.mm-survey-results-controller {
    position: relative;
    height: 60px;
    background: rgb(168, 17, 88);
    background: linear-gradient(90deg, rgba(168, 17, 88, 1) 42%, rgba(2, 81, 151, 1) 100%);
    padding: 12px 14px;
}

.mm-title {
    display: flex;
    align-items: center;
}

.mm-title a {
    text-decoration: none;
}

.logo-anaesthesio {
    width: 3em;
    height: 3em;
    margin: 20px 20px -50px 0;
    float: right;
}

#customInput {
    width: 22%;
}

.mm-title p {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    font-weight: 100;
    margin: 0 auto;
}

.mm-back-btn {
    display: inline-block;
    position: relative;
}

.mm-prev-btn,
.mm-next-btn,
.mm-finish-btn {
    display: inline-block;
    position: relative;
}

.mm-next-btn {
    opacity: 0.25;
}

.mm-finish-btn {
    display: none;
}

.mm-finish-btn button {
    background: #3DD2AF !important;
    color: #fff;
}

.mm-survey-controller button {
    background: #fff;
    border: none;
    padding: 8px 18px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    color: #025197;
}

.mm-finish-btn button {
    color: #fff;
}

.mm-survey-results-controller button {
    background: #fff;
    border: none;
    padding: 8px 18px;
}

.mm-survey-progress {
    width: 100%;
    height: 30px;
    background: #f5f5f5;
    overflow: hidden;
}

.mm-progress {
    transition: width 0.5s ease-in-out;
}

.mm-survey-progress-bar {
    height: 30px;
    width: 0%;
    background: rgb(168, 17, 88);
    background: linear-gradient(90deg, rgba(168, 17, 88, 1) 42%, rgba(2, 81, 151, 1) 100%);
}

.mm-survey-q {
    list-style-type: none;
    padding: 0px;
}

.mm-survey-q li {
    display: block;
    /*padding: 20px 0px;*/
    margin-bottom: 10px;
    width: 100%;
    background: #fff;
}

.mm-survey-q li input {
    width: 100%;
}

.mm-survery-content label {
    width: 100%;
    padding: 10px 10px;
    margin: 0px !important;
}

.mm-survery-content label:hover {
    cursor: pointer;
}

.mm-survey-question {
    min-height: 100px;
}

.mm-survey-question p {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 40px;
    color: #025197;
}

.mm-survery-content label p {
    display: inline-block;
    position: relative;
    top: 2px;
    left: 5px;
    margin: 0px;
}

input[type="radio"] {
    display: none;
}

input[type="radio"]+label {
    color: #025197;
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    font-size: 16px;
}

input[type="radio"]+label span {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 2px 4px 0 0;
    vertical-align: middle;
    cursor: pointer;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

input[type="radio"]+label span {
    border: 2px solid #025197;
    background: transparent;
}

input[type="radio"]:checked+label span {
    border: transparent;
    background-color: #A81158;
}

input[type="radio"]+label span,
input[type="radio"]:checked+label span {
    -webkit-transition: background-color 0.20s ease-in-out;
    -o-transition: background-color 0.20s ease-in-out;
    -moz-transition: background-color 0.20s ease-in-out;
    transition: background-color 0.20s ease-in-out;
}

.mm-survey-item {
    background: #fff;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(33, 33, 33, 0.15);
    border-radius: 0px 0px 4px 4px;
}

.mm-prev-btn button:focus,
.mm-next-btn button:focus,
.mm-finish-btn button:focus {
    outline: none;
    border: none;
}

.mm-survey.okay .mm-next-btn {
    display: inline-block;
    opacity: 1;
}

.mm-finish-btn.active {
    display: inline-block;
}

.mm-survey-results {
    display: none;
}

.mm-survey-results-score {
    margin: 0px;
    padding: 0px;
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
    font-size: 80px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    letter-spacing: -6px;
}

.mm-survey-results-list {
    list-style-type: none;
    padding: 0px 15px;
    margin: 0px;
}

.mm-survey-results-item {
    color: #fff;
    margin-top: 10px;
    padding: 15px 15px 15px 0px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
}

.mm-survey-results-item.correct {
    background: linear-gradient(to left, #4CB8C4, #3CD3AD);
}

.mm-survey-results-item.incorrect {
    background: linear-gradient(to left, #d33c62, #dc1144);
}

.mm-item-number {
    height: 40px;
    position: relative;
    padding: 17px;
    background: #333;
    color: #fff;
}

.mm-item-info {
    float: right;
}

.custom-value-container {
    display: flex;
    align-items: center;
}

.custom-value-container label,
.custom-value-container input[type="text"] {
    margin-right: 10px;
}

.custom-value-input {
    flex-grow: 1;
}

#snackbar {
    visibility: hidden;
    min-width: 250px;
    background-color: rgba(2, 81, 151, 0.9);
    /* Dunkler, leicht durchsichtiger Hintergrund */
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
    box-shadow: 0 4px 8px rgba(2, 81, 151, 0.2);
    /* Leichter Schatten */
    transform: translateX(-50%);
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

#response-no,
#response-yes {
    display: flex;
    align-items: center;
    /* Zentriert die Elemente vertikal */
    justify-content: center;
    /* Zentriert die Elemente horizontal */
    margin-top: 50px;
    /* Fügt Abstand nach der Frage hinzu */
}

#response-no p,
#response-yes p {
    font-size: 1.5em;
    color: #025197;
    font-weight: 300;
}

#response-no img,
#response-yes img {
    margin-right: 20px;
    /* Fügt Abstand zwischen Bild und Text hinzu */
}

#eva {
    width: 150px;
    /* Setzt die Breite des Bildes */
    height: 150px;
    /* Setzt die Höhe des Bildes */
    border-radius: 50%;
    /* Macht das Bild kreisförmig */
    object-fit: fill;
    /* Sorgt dafür, dass das Bild den Container ohne Verzerrung ausfüllt */
}

.contact-box {
    display: flex;
    justify-content: center;
}

.success-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    /* Oder die gewünschte Höhe des Containers */
    text-align: center;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 50px;
}

.success-container .verlosung,
.verlosung_after {
    color: #025197;
    font-family: "DM Sans";
    font-size: 1.2em;
    margin-top: 15px;
}

.success-message {
    font-size: 2em;
    /* Anpassen nach Bedarf */
    font-weight: bold;
    color: #025197;
    font-family: "DM Sans";
    margin-bottom: 20px;
    /* Abstand zwischen Text und Bild */
    animation: fadeIn 2s;
    margin-top: 100px;
}

.success-image {
    width: 150px;
    /* Breite des Bildes */
    height: 150px;
    /* Höhe des Bildes */
    animation: scaleIn 2s infinite alternate;

}

.modal-header {
    color: #fff;
}

.modal {
    font-family: "DM Sans";
    color: #025197;
}

#giveaway_btn, #data_btn {
    background-color: #025197;
    float: right;
}

#progress-text {
    position: absolute;
    top: 50%;
    /* Zentriert den Text vertikal */
    transform: translateY(-50%);
    /* Hält den Text in der Mitte vertikal */
    color: #fff;
    font-weight: bold;
    margin-left: 20px;
}

.current-question-display {
    font-size: 16px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: bold;
    font-family: 'DM Sans';
    margin-left: 15px;
}

#current-question-number {
    margin-left: 1.6em;
}

ul {
    list-style-type: none;
    /* Keine Aufzählungszeichen */
    padding: 0;
    /* Kein Padding */
    margin: 0;
    /* Kein Margin */
    margin-top: 10px;
    text-align: center;
    /* Zentrierte Textausrichtung */
}

ul li {
    margin-bottom: 10px;
    /* Abstand zwischen den Listenelementen */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}




/****    R E S P O N S I V E   D E S I G N    ****/

/* CSS-Regeln für Geräte mit einer maximalen Breite von 480px */
@media only screen and (max-width: 480px) {

    /* Stellen Sie sicher, dass das Logo richtig skaliert wird */
    .logo-anaesthesio {
        margin-right: 20px;
        margin-bottom: 5px;
        margin-top: 20px;
    }

    .custom-value-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .custom-value-container label {
        display: block;
        /* Setzt das Label auf die volle Breite */
    }

    .custom-value-container label span {
        display: inline;
        /* Setzt den Radio-Button neben den Text */
    }

    .custom-value-container label p {
        display: inline;
        /* Setzt den Text neben den Radio-Button */
        margin-left: 5px;
        /* Fügt einen kleinen Abstand zwischen Radio-Button und Text hinzu */
    }

    .custom-value-container .custom-value-input {
        width: 100%;
        /* Setzt die Breite des Textfelds auf 100% */
    }

    #customInput {
        width: auto;
    }

    .mm-title p {
        font-size: 12px;
    }

    .mm-survey-item label {
        display: flex;
        align-items: center;
        /* Vertikal zentrieren */
    }

    .mm-survey-item label span {
        margin-right: 10px;
        /* Etwas Abstand zwischen dem Radio-Button und dem Text */
    }

    .mm-survey-item label p {
        margin: 0;
        /* Entfernt standardmäßige Margin */
        flex: 1;
        /* Erlaubt dem Paragraphen, den verfügbaren Platz zu füllen */
        white-space: normal;
        /* Erlaubt Zeilenumbrüche im Text */
    }

    .success-container {
        padding-bottom: 50px;
    }
}

@media only screen and (max-width: 375px) {

    .mm-survey-controller button {
        font-size: 0.8em;
        /* Reduce font size */
    }

    .mm-title p {
        text-transform: uppercase;
        letter-spacing: 0.2em;
        font-weight: 100;
        margin: 0 auto;
    }

    .contact-box {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
}