:root {
    --pinkdunkel:  #FF3889;
    --pinkdunkelhover:#903ca3;
    --dunkelpink:  #6f2d7e;
    --pinkhell: #FF87B7;
    --grautopbar: #CFCFCF;
    --graudunkel: #646464;
    --pink-weiß: #FFDDEB;

    --gobal-radius: 8px;

    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #5c5c5a75;
    --dark-gray: #212529;
    --black: #000000;

    --primary-color: #0044cc;
    --secondary-color: #f4f4f4;
    --hover-color: #ffcc00;
    --transition-time: 0.3s;

    font-family: 'Kanit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body { 
    margin: 0;
    padding: 0;
    background-color: var(--light-gray)
}

header {
    display: flex;
    flex-direction:column-reverse;
    margin: 0px;
    padding: 30px;
    min-height: 150px;
    text-align: center;
    font-size: 3em;
    font-family: 'Wallpoet';
    color: var(--balck);
}


a{
    text-decoration: none;
    color:#4a3e8b;
}

a:hover{
    text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: black; /* Dunkler Hintergrund für Dark Mode */
        color: white; /* Helle Textfarbe */
    }

    footer{
        color: white;
        background-color: black;
    }

    .footer-links ul li a {
        color: white;
    }

    .footer-contact a{
        color: white;
    }

    .choice_button{
        background-color: rgb(0, 0, 0);
    }

    .container{
        background-color: rgb(103, 103, 103);
    }

    .infotext{
        color:#d2d2d2;
    }

    .imgLabel{
        background-color: #d3a0b5;
    }
    
    .bar {
        background-color: #fff;
    }

    .imgLabeltest{
        color: rgb(255, 255, 255);
    }
    
    .content-section {
        color: rgb(255, 255, 255);
    }    

    .backButton {
        background-color: rgba(255, 253, 253, 0.179);
        color: white;
    }    

}


@media (prefers-color-scheme: light) {

    .footer-links ul li a {
        color: rgb(0, 0, 0);
    }

    .footer-contact a{
        color: rgb(0, 0, 0);
    }
    .choice_button{
        background-color: rgb(255, 255, 255);
    }

    .container{
        background-color: rgb(166, 166, 166);
    }

    .infotext{
        color:#646464;
    }

    .imgLabel{
        background-color: var(--pink-weiß);
    }
    
    
    .bar {
        background-color: #000000;
    }

    .boxContentRework {
        background-color: rgba(20, 19, 19, 0.345);
    }

    .imgLabeltest{
        color: rgb(0, 0, 0);
    }
    
    .content-section {
        color: rgb(0, 0, 0);
    }    

    .backButton {
        background-color: rgba(0, 0, 0, 0.179);
        color: rgb(0, 0, 0);
    }    

}



@media (max-width: 1430px) {
    .footer-container-impressum {
      flex-direction: column; /* Elemente untereinander auflisten */
      align-items: center;
    }
}




@media (hover: hover) and (pointer: fine) {
    .choice_button:hover {
        background-color: #ba7baf; 
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    }

    .box:hover{
        background-color: #332565;
    }

}



/*

@media (min-width: 1530px) {
    .boxContent { 
        grid-template-columns: 1fr 1fr 1fr;
    }
}  

@media (max-width: 1530px) {
    .boxContent { 
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1110px) {
    .boxContent { 
        grid-template-columns: 1fr;
    }
}

*/

.boxContentfürIMG {
    margin: 60px;
    margin: 40px;
    min-height: 780px;
    gap: 12px;
    padding: 15px;
    text-align: center;
    display: flex;
    position: relative;
    z-index: 0;
    max-height: 100vh; /* Maximale Höhe auf die Bildschirmhöhe begrenzt */
    overflow: scroll;
}



.boxContentRework {
    background-color: rgba(20, 19, 19, 0.345);
    border: 50px;
    margin: 60px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px;
    text-align: center;
}


.infoContent {
    margin: 60px;
    min-height: 800px;
    gap: 12px;
    padding: 15px;
    text-align: left;
    font-size: 160%;
}


/* =====================
   NAVIGATIONSLEISTE
   ===================== */

nav ol{
    margin: 0%;
    text-align: right;
    size: 20%;
    font-size: 55%;
    white-space: nowrap;
    gap: 30px;
    padding: 0;
}

nav li{
    display: inline-table;
    border-radius: 5px;
    border: var(--grautopbar);
    white-space: nowrap;
    position: relative;
}

nav li a{
    text-decoration: none;
    color: var(--balck);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;;
    display: block;
    padding: 12px;
}

.linkNaN{
    text-decoration: none;
    color: var(--balck);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;;
    display: block;
    padding: 12px;
    cursor: default;
}

nav li a:hover{
    text-decoration: underline;
}

.menu{
    top: 5%;
    right: 5%;
    display: flex;
    justify-content:flex-end;
}


.menu-toggle {
    display: grid;
    grid-template-columns: 1fr;
    cursor: pointer;
    justify-content:flex-end;
    z-index: 5;
    position: absolute;
    min-height: 59px;
}


.bar {
    height: 6px;
    width: 59px;
    transform-origin: center;
}

.bar.one{
    transform-origin: center;
}

.bar.three{
    transform-origin: center;
}


.x{
    display: flex;
    align-items: center;
    justify-content: center;
}

.container{
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.logo{
    padding: 12px;
    text-align: left;
    width: 65vw;
    height: auto;
    white-space: nowrap;
}

.logoA{
    text-align: left;
    width: 420px;
    height: auto;
    white-space: nowrap;

}

.navLinks{
    display: flex;
    /*transform: translateX(100%);*/
    font-size: 2vw;
    z-index: 0;
    background-color: #ff3888;
    width: 100%;
    padding-top: 20px;
}

.navigation{
    margin-right: 7vw;
}

/* Dropdown */
.dropdown {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    z-index: 10;
    animation: fadeIn 0.25s ease-in-out;
    font-size: 1.5vw;
}

.dropdown li {
    display: block;
}

.dropdown li a {
    color: rgb(0, 0, 0);
    padding: 0px 10px;
    display: block;
    transition: background var(--transition-time);
}

#parteienüberblick:hover ~ #parteienüberblick_dropdown{
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}




nav ol li:hover .dropdown {
    animation: fadeIn 0.3s ease-in-out;
    display: block;
}

.menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

span{
    display: none;
}




@media (hover: hover) and (pointer: fine) {
    .navLinks {
        display: flex;
        position: fixed;
        flex-direction: row-reverse;
        top: -100%;
        right: 0;
        font-size: 4vw;
        z-index: 3;
        transition: top 0.3s ease-in-out;
    }

    .active{
        top: 0;
    }
    
}


@media (hover: none), (pointer: coarse) {
    .navLinks {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: -100vh;
        right: 0;
        height: 100vh;
        z-index: 100;
        font-size: 230%;
        transition: top 0.3s ease-in-out;
        text-align: center;
        background-color: #ff3888e7;
    }

    .navigation{
        margin-right: 0;
    }

    .active{
        top: 0;
    }
    
    nav li{
        display: block;
        margin-bottom: 4vh;
    }

    nav ol{
        text-align: center;
        height: 100%;
    }

    span{
        display: inline;
        text-align: center;
        color:#bab8b8; 
    }

    .navigation{
        height: 70%;
    }

    .dropdown {
        display: none;
        flex-direction: column;
        position: relative;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        overflow: hidden;
        z-index: 10;
        animation: fadeIn 0.25s ease-in-out;
        font-size: 4vw;
    }

    .menu-toggle{
        z-index: 100;
    }



}


@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


@keyframes slideClose {
    from {
        transform: translateX(-10%);
    }
    to{
        transform: translateX(100%);
    }
}

.headlines{
    display: grid;
    align-items:start;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
}

.headline{
    align-items: center;
    justify-content: center;
}

.headlines h1{
    margin: 0;
    font-size: 100%;
    text-align: center;
}

.headlines a img{
    width: 70%;
}

/* =====================
   BOXEN
   ===================== */

.boxContent { /*Das ist das eigentliche Layout für die Boxen */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vw;
    margin: 0;
    overflow: hidden;
}



.box-container {
    margin-top: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.box {
    background-color: #2d215a;
    color: white;
    border-radius: 5vw;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 220%; 
    animation-fill-mode: forwards;
    flex-direction: column;
    font-weight: bold;
    background-color: #2d215a;
    color: white;
    border-radius: 5vw;
    position: absolute; /* Ermöglicht das Übereinanderstapeln der Boxen */
    width: 80%; /* Passen Sie die Breite an */
    transition: transform 0.8s ease, opacity 0.8s ease; /* Glatte Übergänge */
    border-radius: 10px;
}

.concealed {
    opacity: 0;
    transform: rotateX(90deg) translateY(3vw);
}

.current {
    transform: rotateX(0deg);
    opacity: 1;
    z-index: 2;
}

.previous {
    transform: rotateX(15deg) translateY(-20vw);
    opacity: 0.5;
    z-index: 1;
    pointer-events: none; /* Verhindert Klicks */
    user-select: none; /* Verhindert Textauswahl */
    filter: blur(3px);
}

.next {
    transform: rotateX(-15deg) translateY(22vw);
    opacity: 0.5;
    z-index: 1;
    pointer-events: none; /* Verhindert Klicks */
    user-select: none; /* Verhindert Textauswahl */
    filter: blur(3px);
}




.upperBox{
    display: flex;
    justify-content: space-between;;
    width: 100%;
    padding: 2%;
    font-size: 2.3vw;
}

.number{
    margin-left: 0;
    font-size: 1.9vw;
}

.number.rework{
    margin: 10px;
}

.question{
    max-width: 90%;
    margin: 0 auto;
}

.lowerBox{
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
}

.navigationHandy{
    display: none;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    padding: 2%;
    font-size: 2.3vw;
}


.Handy{
    margin:auto;
}

.skip{
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6vw;
}

.skip:hover{
    cursor: pointer;
    transform: scale(1.2);
}

.innerButton{
    all: unset;
    cursor: pointer;
    font-size: 86%;
    padding-left: 3vw;
    padding-right: 3vw;
}

.innerButton img{
    width: 4vw;
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.1s, box-shadow 0.1s;
}


.innerButton img:hover{
    cursor: pointer;
    transform: scale(1.2);
}

.innerLabel{
    display: flex;
    padding-top: 4%;
    align-items: center;
    font-size: 2.3vw;
    gap: 10px;
    border-radius: 50%;
}

.tooltip {
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: center;
}

.fragezeichen{
    width: 2.4vw;
    height: auto;
    margin-top: 0; /* Entferne den oberen Rand */
    align-self: center; /* Zentriere das Fragezeichen vertikal */
    position: relative;
}

@media (hover: hover) and (pointer: fine) {
    .fragezeichen:hover{
        background-color: #ba7baf;
        border-radius: 50%;
    }
    
    
    .tooltip:hover .speech-bubble {
        display: block;
    }
}




.tooltip {
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: center;
    align-items: center; /* Zentriert das Fragezeichen und die Sprechblase horizontal */
}

.speech-bubble {
    display: none; 
    width: 30vw;
    background-color: #f0f0f0;
    border-radius: 1vw;
    position: absolute;
    bottom: 100%; /* Positioniert die Sprechblase über dem Fragezeichen */
    left: 100%;
    transform: translateX(-50%);
    z-index: 10;   
    margin-bottom: 10px;
    padding: 0.1vw;
    font-size: 1.3vw;
    color: #000;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -0.5vw;
    left: 45%; /* Verschiebt die Zacke weiter nach rechts */
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #f0f0f0 transparent transparent;
}

.innerBox{
    padding-top: 2%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start; 
    gap: 20px;
    border: 20px;
    border-color: #009de0;
}

.selected{
    border-radius: 4px;
    background-color: #ba7baf;
    transform: scale(1.2);
}



.boxContainer{
    padding-top: 2%;
    flex-direction: column;
}

.boxRework {
    height: 5vw;
    font-size: 2vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top: rgb(255, 255, 255) solid 2px;
    height: auto;
}

.setting-tool{
    width: 2.4vw;
    padding-left: 0.4vw;
    cursor: pointer;
}

.setting-tool:hover{
    transform: scale(0.8);
}

.selectBox{
    display: none;
}

.innerBoxRework {
    display: none;
    justify-content: center; /* Zentriere Buttons */
    align-items: center; /* Vertikale Zentrierung */
    gap: 20px; /* Abstand zwischen den Buttons */
    padding: 20px;
    border: 1px solid transparent; /* Unsichtbarer Rand */
    border-radius: 5px;
    margin: 40px;
    pointer-events: none; /* Interaktionen deaktivieren */
    height: 4vw; 
}

.questionBox > input:checked ~ .innerBoxRework{
    display: flex;
}

.innerButtonRework{
    all: unset;
    cursor: pointer;
    font-size: 86%;
    padding-left: 3vw;
    padding-right: 3vw;
}

.innerButtonRework img{
    width: 4vw;
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.1s, box-shadow 0.1s;
}

.innerButtonRework img:hover{
    cursor: pointer;
    transform: scale(1.2);
}

.questionBox{
    
    padding: 1vw;
}


.boximg{
    height: auto;
    width: 100%;
    z-index: 1;
}

.editButton{
    all: unset;
    font-size: 1.5vw; /* Lesbare Schriftgröße */
    background-color: #222729;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.1s, color 0.1s;
}

.editButton:hover{
    transform: scale(1.1);
}

.editButton:active{
    transform: scale(0.9);
}


.imgLabel{
    position: absolute; /* Immer an derselben Position im Viewport */
    top: 50%; /* Zentriert vertikal */
    left: 50%; /* Zentriert horizontal */
    transform: translate(-50%, -50%); /* Exakte Zentrierung */
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    font-size: large;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Schlagschatten */
    z-index: 1000; /* Sicherstellen, dass der Hinweis ganz oben angezeigt wird */
}



.imgLabeltest{
    font-size: 2vw;
}


/* =====================
   TEXT AUF WEBSEITE
   ===================== */

.headline{
    padding-left: 40px;
    padding-right: 40px;
    
}

h2{
    font-size: 300%;
}

.infotext{
    margin: 40px;
    text-align: center;
    font-size: 2vw;
}




.sidesloagen{
    text-align: center;
    color: var(--pinkdunkel);;
    margin-bottom: 20px;
    font-size: 400%;
}

.sidesloagen2 {
    text-align: right;
    color: var(--pinkhell);
    margin-bottom: 5px;
    margin-top: 5px;
    font-size: 2.3vw;
}

footer {
    /*background-color: var(--black);*/
    border-top: 2px solid pink;
    padding: 20px;
    font-family: Arial, sans-serif;
    margin-top: 200px;
    flex-shrink: 0;
}

.footer-container {
    display: flex;
    justify-content:center; /* Platz zwischen den Hauptsektionen */
    align-items: flex-start; /* Elemente oben ausrichten */
    gap: 12%; /* Reduzierter Abstand zwischen den Hauptsektionen (horizontal) */
}

.footer-container-impressum {
    display: flex;
    justify-content: space-between; /* Platz zwischen den Hauptsektionen */
    align-items: flex-start; /* Elemente oben ausrichten */
    gap: 3%; /* Reduzierter Abstand zwischen den Hauptsektionen (horizontal) */
    flex-wrap: wrap;
}


.footer-logo {
    flex: 0 0 auto; /* Fixiert die Breite der Logo-Sektion */
}

.footer-contact {
    text-align: center; /* Fixiert die Breite der Logo-Sektion */
    
}

.footer-issues {
    text-align: center; /* Fixiert die Breite der Logo-Sektion */
}

.logo-img {
    width: 5vw;
    height: auto;
}

.footer-links ul {
    list-style-type: none; /* Entfernt Aufzählungszeichen */
    padding: 0;
    margin: 0;
    text-align: center;
}

.footer-links ul li {
    margin-bottom: 0.25vw; /* Vertikaler Abstand zwischen den Links bleibt gleich */
}

.footer-links ul li a {
    text-decoration: none;
    font-size: 1.3vw;
}

.footer-links ul li a:hover {
    text-decoration: underline;
}

.footer-link-impressum ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    text-align: center;
}

.footer-links-impressum ul li {
    margin-bottom: 5px; 
    list-style-type: none;
    padding-left: 0;
}

.footer-links-impressum ul li a {
    text-decoration: none;
    font-size: 16px;
    color:#87b5e3;
}

.footer-links-impressum ul li a:hover {
    text-decoration: underline;
}

.footer-contact{
    font-size: 1.3vw;
    flex: 0 0 auto; /* Fixiert die Breite */
    text-align: left;
    
}

.footer-contact ul{
    list-style-type: none; /* Entfernt Aufzählungszeichen */
    padding: 0;
    margin: 0;
    text-align: center;
}

.footer-contact ul li{
    margin-bottom: 5px;
}


.footer-issues {
    font-size: 1.3vw;
    /*flex: 0 0 auto;  Fixiert die Breite */
    text-align: center;
    
}

.footer-contact a,
.footer-issues a {
    text-decoration: none;
}

.footer-contact a:hover,
.footer-issues a:hover {
    text-decoration: underline;
}


/* =====================
   ÜBER UNS
   ===================== */

.infoContent{
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}
.article-container {
    max-width: 80%;
    margin: 20px auto;
    padding: 20px;
    background-color: #412f81;
    color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 1.3vw;
}
.article-header {
    text-align: center;
    margin-bottom: 20px;
}
.article-header h1 {
    margin: 0;
    font-size: 2.6vw;
}
.article-header h2 {
    margin: 0;
    font-size: 1.5vw;
    font-weight: normal;
    color: #d1c4e9;
}
.article-section {
    margin-bottom: 20px;
}
.article-section h3 {
    font-size: 2.5vw;
    border-bottom: 2px solid #d1c4e9;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.arcticle-section.last{
    border-top: 2px solid #d1c4e9;
}
.article-section ul {
    list-style-type: disc;
    margin-left: 20px;
}
.article-section ul li {
    margin-bottom: 10px;
}

.article-section img {
    border-radius: 5px;
    display: block;
    margin: 0 auto;
    width: 50%;
}

.article-link {
    color: #d1c4e9;
    text-decoration: underline;
    font-weight: bold;
}
.article-link:hover {
    text-decoration: underline;
}
.highlight-box {
    background-color: #574a9c;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
}




.choice{
    justify-content: center;
    align-items: center;
    display: flex;
    grid-template-columns: 1fr 1fr ;
    text-align: right;
}

.choice_button{
    padding: 5px 10px;
    border: 3px solid var(--pinkdunkel);
    border-radius: 5px;
    color: var(--pinkdunkel);
    font-size: 1em;
    cursor: pointer;
    margin-left: 100px;
    width: 140px;
    text-align: center;
}

.choice_button:hover {
    background-color: #ba7baf; 
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.choice_button:active {
    background-color: #850073; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Schatten verringern */
    transform: scale(0.98); /* Kleiner Effekt beim Drücken */
}

.impressum{
    margin-top: 50px;
}


.submitButton{
    display: none;
    position: absolute;
    opacity: 0;
}

.auswertungHeadline{
    text-align: center;
    color: var(--pinkdunkel);
    font-size: 400%;
    margin-top: 15px;
}


@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
        
    }
}
.partie-right a {
    text-decoration: none;
    margin-top: 10px;
    font-size: 1.8vw;
    font-style: italic;
    color: #ffffff;
}


.partie {
    background-color: rgb(65, 69, 65);
    width: 90%;
    margin: 20px auto;
    height: auto;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    padding: 20px;
}

.partie.gruene {
    background-color: #1e9c2c; 
    display: none;
}

.partie.spd {
    background-color: #db0019; 
    display: none;
}


.partie.fdp {
    background-color: #f7e501; 
    color: #000000;
    display: none;
}

.partie.cdu {
    background-color: #51b7c3; 
    display: none;
}

.partie.afd {
    background-color: #009de0; 
    display: none;
}

.partie.linke {
    background-color: #dd0612; 
    display: none;
}

.partie.freiewaehler {
    background-color: #edab4e; 
    display: none;
}

.partie.bsw {
    background-color: #6a0dad; 
    display: none;
}



.partie.demo {
    height: 300px;
}

.partie.demo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    animation: shimmer 2s infinite linear;
}
@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
        
    }
}


.partie-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.imgBox {
    width:25vw;
}

.partieIMG {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.progress-bar {
    background-color: #ffffff;
    border-radius: 5px;
    height: 20px;
    width: 80%;
    margin-top: 10px;
    position: relative; /* Wichtig für das positionierte Kind-Element */
    overflow: hidden;
    box-sizing: border-box;
    font-size: 1.2vw;
}

.progress {
    background-color: rgb(0, 0, 0);
    height: 100%;
    border-radius: 5px 0 0 5px;
    text-align: center;
    color: white;
    font-weight: bold;
    line-height: 20px;
    position: relative; /* Setzt den Kontext für das ::after-Pseudo-Element */
}

.progress-bar:hover .hint{
    opacity: 0;
}   




.hint {
    opacity: 1; /* Unsichtbar standardmäßig */
    font-size: 1.2vw;
    position: absolute; /* Positioniert relativ zur .progress */
    top: 100%; /* Direkt unter der Leiste */
    left: 50%;
    transform: translateX(-50%);
    background-color: #009de0; /* Hintergrundfarbe */
    color: white; /* Textfarbe */
    padding: 5px 10px;
    border-radius: 5px;
    transition: opacity 0.3s ease-in-out; /* Weicher Übergang */
    white-space: nowrap; /* Kein Zeilenumbruch */
    z-index: 10;
}




.partie-right {
    padding-left: 20px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.partie-right h2 {
    margin-top: 0;
    font-size: 2vw;
    margin-bottom: 10px;
    text-align: left;
    text-align: center;
    text-decoration:wavy;
}

.partie-right ul {
    padding: 0;
    list-style: none;
    grid-template-columns: 1fr;
    gap: 10px;
    font-size: 1.5vw;
}

.lists{
    display: flex;
    flex-direction: column;
    gap: 2vw;
}

.partie-right ul li {
    margin-bottom: 5px;
    display: inline;
}

.partie-right ul li:not(:last-child)::after {
    content: ", "; /* Komma nach jedem Element außer dem letzten */
}
 
.partie-right b {
 font-size: 1.4vw;
}

.auswertungContent{
    margin: 60px;
    margin: 40px;
    min-height: 780px;
    gap: 20px;
    padding: 15px;
    text-align: center;
    display: flex;
    position: relative;
    flex-direction: column;
}


.hidden {
    display: none;
}

.visible {
    display: grid; /* Sichtbar */
}


.list-group{
    font-size: 4vw;
}

/* =====================
   PARTEIENÜBERSICHT
   ===================== */
.container-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.party-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fffbfb;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 250px; /* Einheitliche Höhe */
}
.party-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.party-logo {
    max-width: 90%;
    max-height: 90%;
    margin: 10px auto;
}

.overview-headline{
    text-align: center;
    color: var(--pinkdunkel);
    font-size: 400%;
    margin-top: 15px;
}



/* =====================
    PARTEI
   ===================== */

.info-box {
    border-radius: 15px;
    padding: 20px;
    width: 90%; /* Set width to auto to fit content */
    margin: 20px auto;
    color: white;
    font-family: Arial, sans-serif;
    /*box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);*/
    height: auto;
}


.info-header{
    display: flex;
    align-items: center;
    padding: 20px;
    color: white;
    border-radius: 15px;
    margin: 20px;
}

.info-header img {
    width: 20vw;
    height: auto;
    margin-right: 20px;
    background-color: rgba(255, 255, 255, 0.559);
}


.general-info h3 {
    margin-top: 0;
}

.content-section {
    margin: 20px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.headline-overview h4 {
    margin-bottom: 10px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
    font-size: 2vw;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.source {
    color: #4a3e8b;
}

.back {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}


.backButton:hover {
    background-color: #372f6f;
    color: white;
}

.back a {
    text-decoration: none;
}





.info-header.gruene {
    background-color: #4caf50;
}

.info-header.spd {
    background-color: #e3000f;
}

.info-header.cdu {
    background-color: #51b7c3;
}

.info-header.afd {
    background-color: #009de0;
}

.info-header.linke {
    background-color: #dd0612;
}

.info-header.freiewaehler {
    background-color: #edab4e;
}

.info-header.fdp {
    background-color: #f7e501;
    color: #000000;
}

.info-header.bsw {
    background-color: #6A0DAD;
}




.content-section.gruene {
    border: 5px solid #4caf50;
}

.content-section.spd {
    border: 5px solid #e3000f;
}

.content-section.cdu {
    border: 5px solid #51b7c3;
}

.content-section.afd {
    border: 5px solid #009de0;
}

.content-section.linke {
    border: 5px solid #dd0612;
}

.content-section.freiewaehler {
    border: 5px solid #edab4e;
}

.content-section.fdp {
    border: 5px solid #f7e501;
}

.content-section.bsw {
    border: 5px solid #6A0DAD;
}

  .main-topics ul {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 1.4vw;
  }


  
  .main-topics li {
    margin-bottom: 12px;
    line-height: 1.5;
  }
  
  .main-topics li strong{
    font-size: 1.6vw;
  }

  .implementation-section {
    display: flex;
    flex-direction: column;
    flex: 1;
    background-color: rgba(0, 0, 0, 0.2); 
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 50px;
    text-align: center;
    color: white;
    margin-top: 55px;
  }


  .right-section {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 50px;
    text-align: center;
  }

  .progress-info{
    display: flex;
    justify-content: space-around;
    width: 100%;
  }
  
  .implementation-section h4 {
    font-size: 2vw;
    margin-bottom: 35px;
    margin-top: 10px;
  }
  
  .progress-barOverview {
    display: inline;
    background-color: black;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    width: 80%;
    margin-bottom: 20px;
    font-size: 1.5vw;	
  }
  
  .progressOverwiew {
    background-color: white;
    height: 100%;
    text-align: center;
    line-height: 20px;
    color: black;
    font-weight: bold;
  }

  
  .backButton {
    border: none;
    padding: 20px 60px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.3vw;
    margin-top: 20px;
  }
  
  .backButton:hover {
    background-color: #333;
  }

.backButton:active {
    background-color: #000;
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
  

.burger-wrapper {
    cursor: pointer;
    }
    #meny {
      width: 50rem;
      height: 2rem;
      position: absolute;
      right: 0;
      transition-timing-function: cubic-bezier(10,2,3,1);
      margin-top: 1rem;
      transform: translateX(50rem);
      top: 0;
      z-index: 0;
      transition: 0.5s;
      font-size: 1.9vw;
    }
    
    #menyAvPaa {
      display: none;
    }
    
    #menyAvPaa:checked ~ #meny {
      transform: translateX(-5rem);
    }
    
    #burger {
      position: absolute;
      cursor: pointer;
      width: 3rem;
      height: 3rem;
      right: 2rem;
      top: 3rem;
      display: flex;
      justify-content: space-between;
      flex-direction: column;
      background-color: #000000;
      z-index: 2;
    }
    
    #burger::after {
      content: "";
      position: absolute;
      width: 3rem;
      height: 3rem;
      top: 0rem;
      right: -2rem;
      background-color: #000000;
      z-index: 1;
    }
    
    #burger > div {
      height: 4px;
      background-color: #ffffff;
      transition: 0.5s;
      z-index: 999;
    }
    
    #menyAvPaa:checked ~ #burger > div {
    background-color: #ffffff;
    }
    
    #menyAvPaa:checked ~ #burge {
      background-color: #ffffff;
    }
    
    #menyAvPaa:checked ~ #burger > div:nth-child(1) {
      transform: translateY(20px) rotate(45deg);
    }
    #menyAvPaa:checked ~ #burger > div:nth-child(2) {
      opacity: 0;
    }
    #menyAvPaa:checked ~ #burger > div:nth-child(3) {
      transform: translateY(-20px) rotate(-45deg);
    }
    #meny > ul {
      display: flex;
      justify-content: space-around;
      align-items: center;
      height: 100%;
    }



/* =====================
    Quiz
   ===================== */
   
   .container-quiz {
    max-width: 80vw;
    margin: 40px auto;
    background: #412f81;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    padding: 30px;
    color: #fff;
  }
  .title {
    text-align: center;
    color: #ff87b7;
    font-size: 3vw;
    margin-bottom: 20px;
  }
  .question-quiz {
    font-size: 1.2vw;
    margin-bottom: 20px;
    color: #f5f6fa;
  }
  .answers button {
    display: block;
    margin: 10px 0;
    padding: 12px;
    width: 100%;
    border: none;
    border-radius: 8px;
    background: #332566;
    color: white;
    font-size: 1.2vw;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .answers button:hover {
    background: #ff87b7;
  }
  .explanation {
    margin-top: 15px;
    padding: 15px;
    border-left: 5px solid #ff87b7;
    background: #1b1b2f;
    display: none;
    color: #dcdde1;
    font-size: 0.95vw;
  }
  .navigation-quiz {
    margin-top: 30px;
    text-align: center;
  }
  .next-button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: #ff87b7;
    color: rgb(255, 255, 255);
    font-size: 1vw;
    cursor: pointer;
    transition: background 0.3s;
  }
  .next-button:hover {
    background: rgb(128, 8, 136)
  }


    @media (max-width: 1300px) {

        .current {
            transform: rotateX(0deg);
            opacity: 1;
            z-index: 2;
        }
        
        .previous {
            transform: rotateX(15deg) translateY(-20vw);
            opacity: 0;
        }
        
        .next {
            transform: rotateX(-15deg) translateY(22vw);
            opacity: 0;
        }
        
        .infotext {
            font-size: 3vw;
        }
    
        .box-container {
            position: relative;
            perspective: 800px; /* Optional: Reduziere Perspektive für kleinere Bildschirme */
            width: 100%;
            height: 200vw; /* Erlaubt dynamische Höhe */
        }
    
        .box {
            width: 90%; /* Box auf kleinere Breite anpassen */
            height: auto;
            font-size: 120%; /* Schriftgröße reduzieren */
            padding: 10px; /* Optional: Polsterung hinzufügen */
        }
    
        .upperBox {
            font-size: 3vw; /* Verkleinere die Schriftgröße */
            padding: 4%; /* Mehr Abstand innen */
            justify-content: center;
        }
    
        .number {
            font-size: 2.5vw; /* Schriftgröße reduzieren */
            margin-left: 0; /* Gleicher Abstand für kleinere Bildschirme */
        }
    
        .question {
            font-size: 3vw; /* Schriftgröße anpassen */
        }
    
        .skip {
            font-size: 2.5vw; /* Verkleinere die Schrift */
        }
    
        .innerButton {
            font-size: 70%; /* Schriftgröße der Buttons anpassen */
            padding: 2vw; /* Weniger Padding */
        }
    
        .innerButton img {
            width: 9vw; /* Vergrößere die Bilder für Touch-Geräte */
            height: auto;
        }
    
        .innerLabel {
            font-size: 2.5vw; /* Verkleinere die Schrift */
            gap: 5px; /* Kleinere Lücken */
        }
    
        .fragezeichen {
            width: 5vw; /* Größe für Fragezeichen anpassen */
            height: auto;
        }
    
        .speech-bubble {
            font-size: 1.4vw; /* Kleinere Schriftgröße */
            padding: 2%; /* Mehr Innenabstand */
            bottom: 120%; /* Position über dem Fragezeichen */
        }
    
        .speech-bubble::after {
            border-width: 8px 8px 0; /* Größe des Pfeils anpassen */
        }
    

    }

@media (max-width: 1000px) {
    .current {
        transform: rotateX(0deg);
        opacity: 1;
        z-index: 2;
    }
    
    .previous {
        transform: rotateX(15deg) translateY(-20vw);
        opacity: 0;
    }
    
    .next {
        transform: rotateX(-15deg) translateY(22vw);
        opacity: 0;
    }
    
    


    .infotext{
        font-size: 3vw;
    }

    .box-container {
        position: relative;
        perspective: 800px; /* Optional: Reduziere Perspektive für kleinere Bildschirme */
        width: 100%;
        height: 200vw; /* Erlaubt dynamische Höhe */
    }

    .box {
        width: 90%; /* Box auf kleinere Breite anpassen */
        height: auto;
        font-size: 120%; /* Schriftgröße reduzieren */
        padding: 10px; /* Optional: Polsterung hinzufügen */
    }

    .upperBox {
        font-size: 3vw; /* Verkleinere die Schriftgröße */
        padding: 4%; /* Mehr Abstand innen */
        justify-content: center;
    }

    .lowerBox {
        grid-template-columns: 1fr; /* Spaltenverhältnis anpassen */
    }


    .number {
        font-size: 2.5vw; /* Schriftgröße reduzieren */
        margin-left: 0; /* Gleicher Abstand für kleinere Bildschirme */
    }

    .question {
        font-size: 3.1vw; /* Schriftgröße anpassen */
    }



    .skip {
       /* border: white solid;*/
       display: none;
        font-size: 2.7vw; /* Verkleinere die Schrift */
    }

    .skip.rework {
        /* border: white solid;*/
        display: block;
         font-size: 2.7vw; /* Verkleinere die Schrift */
     }

    .innerButton {
        font-size: 70%; /* Schriftgröße der Buttons anpassen */
        padding: 2vw; /* Weniger Padding */
    }

    .innerButton img {
        width: 9vw; /* Vergrößere die Bilder für Touch-Geräte */
        height: auto;
    }

    .innerLabel {
        font-size: 2.5vw; /* Verkleinere die Schrift */
        gap: 5px; /* Kleinere Lücken */
    }

    .fragezeichen {
        width: 5vw; /* Größe für Fragezeichen anpassen */
        height: auto;
    }

    .speech-bubble {
        font-size: 2vw; /* Kleinere Schriftgröße */
        padding: 2%; /* Mehr Innenabstand */
        bottom: 120%; /* Position über dem Fragezeichen */
    }

    .speech-bubble::after {
        border-width: 8px 8px 0; /* Größe des Pfeils anpassen */
    }

    .innerBox {
        flex-direction: row; /* Halte die Daumen in einer Zeile */
        gap: 10px; /* Geringerer Abstand zwischen Daumen */
    }

    .Handy{
        display: block;
    }

    .navigationHandy{
        display: flex;
    }


    .partie-right h2 {
        margin-top: 0;
        font-size: 3vw;
        margin-bottom: 10px;
        text-align: left;
        text-align: center;
        text-decoration:wavy;
    }
    
    .partie-right ul {
        padding: 0;
        list-style: none;
        grid-template-columns: 1fr;
        gap: 10px;
        font-size: 2vw;
    }

    .innerBox {
        flex-direction: row; /* Halte die Daumen in einer Zeile */
        gap: 10px; /* Geringerer Abstand zwischen Daumen */
    }

    .container-overview {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }


    .boxRework {
        font-size: 2.5vw; /* Schriftgröße für BoxRework anpassen */
        padding: 10px; /* Optional: Polsterung hinzufügen */
    }

    .innerBoxRework {
        font-size: 2.5vw; /* Schriftgröße für innerBoxRework anpassen */
        padding: 10px; /* Optional: Polsterung hinzufügen */
    }

    .headline {
        font-size: 3vw; /* Schriftgröße für Überschriften anpassen */
    }

    .article-header h1 {
        font-size: 4vw; /* Schriftgröße für Artikelüberschriften anpassen */
    }

    .article-header h2 {
        font-size: 3vw; /* Schriftgröße für Artikelunterüberschriften anpassen */
    }

    .article-section h3 {
        font-size: 2.5vw; /* Schriftgröße für Artikelabschnittsüberschriften anpassen */
    }

    .article-section ul li {
        font-size: 2vw; /* Schriftgröße für Listenpunkte anpassen */
    }

    .highlight-box {
        font-size: 2vw; /* Schriftgröße für Highlight-Boxen anpassen */
    }

    .choice_button {
        font-size: 2vw; /* Schriftgröße für Auswahlknöpfe anpassen */
    }

    .footer-container {
        font-size: 2vw; /* Schriftgröße für Fußzeilentext anpassen */
    }
    .partie-right b {
        font-size: 1.4vw;
    }

    .title {
        font-size: 4.5vw;
      }
    .question-quiz {
        font-size: 2vw;
    }

    .explanation {
        font-size: 2vw;
    }

    .answers button {
        font-size: 2vw;
    }

    .next-button {
        font-size: 2vw;
    }
}

