body.focus-active > *:not(#subchartContainer) {
    filter: grayscale(50%);
    transition: 10s ease;
}

#chart-container {
    flex: 1;
    margin: 150px auto;
    width:  500px;
    height: 400px;
    position: relative;
}

#mainChart {
    width: 100% !important;
    height: 100% !important;
}

#subchartContainer {
    position: fixed;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 1000;

    width: 400px;
    height: 400px;

    opacity: 0;
    transition: all 0.25s ease;
    pointer-events: none;
    color: lightgreen;
    color: lightcoral;

}

#subchartContainer.visible {
    opacity: 1;
    transform: translate(100%, -100%) scale(1);
}


.header {
    margin-top: 80px;
    font-family: "Anton", sans-serif;
}

.mainheader {
    font-size: 70px;
}

.subheader {
    padding-top: 40px;
    font-style: italic;
}

.centering {
    width: fit-content;
    margin: 0 auto;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.logo {
    width: 200px;
    cursor: pointer;
    z-index: -1;
    object-fit: cover;
    /*margin-top: 40px;*/
}

.logo--alt {
    position: fixed;
    bottom: 10px;
    right: 20px;

    width: 50px;
    height: 50px;
}

.navbar {
    align-items: center;
    margin-top: -180px;
}

hr {
    border: none;
    height: 1px;
    background-color: #bbb;
    padding-top: -20px;
}

.footer {
    background-color: rgba(255, 245, 224, 0.5);
}

.footer-button {
   font-size: 14px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    margin-left: 30px;
    margin-right: 30px;
    padding: 20px;
    text-align: center;
    border: none;
    transition: 0.3s;
    background-color: rgba(255, 245, 224, 0.5);
    color: black;
    border-radius: 30px;
}
.footer-button:hover {
    background-color: black;
    color: white;
}

.footer-button:active {
    background-color: white;
    color: black;
}

.info-container {
    max-width: 500px;
    margin: 100px auto;
    padding: 24px;

    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.info-content {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    font-size: 12px;
    color: #222;
}

.content-row {
        display: flex;
        gap: 30px;

        align-items: flex-start; /* beide oben ausrichten */
        justify-content: center;

        margin: 40px auto;
        max-width: 1200px;
}

.full-width {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 0.5px;
}

.poll {
    font-family: 'Montserrat', sans-serif;
    width: 1000px;
    margin-top: 50px;
    margin-left: 50px;
    margin-bottom: 30px;
    padding: 24px;
    display: flex;
    gap: 20px;

    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.poll--sideelement {
   height: 20px;
   width: 200px;
   justify-content: center;
   margin-right: 20px;
}

.poll--mainelement {
    width: 800px;
}

.poll--mainelement:hover {
    background-color: black;
    color: white;
}

.poll--text {
 font-weight: bold;
 justify-content: center;
}

.container {
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.link {
    text-decoration: none;
    display: flex;
    color: black;
}

.link:hover {
   color: darkmagenta;
}

.landing-page {
    font-family: 'montserrat', sans-serif;

    background-color: rgba(255, 245, 224, 0.5);
    width: 1300px;
    height: 600px;
    border-radius: 12px;
    margin: 50px auto;
    justify-content: center;

    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    cursor: pointer;
    display: grid;
    place-items: center;
}

.landing-page:hover {
    animation: pulse 3s infinite ease-in-out;
}

.landing-page--header {
    font-size: 90px;
    justify-content: center;
    text-align: center;
    font-weight: bold;
}

.landing-page--subheader {
    font-weight: lighter;
    margin-top: -30px;
    width: 800px;
    font-size: 30px;
    justify-content: center;
    text-align: center;
}

.info {
    font-family: 'montserrat', sans-serif;

    background-color: rgba(255, 245, 224, 0.5);
    width: 600px;
    height: 500px;
    border-radius: 12px;
    margin: 50px 0;
    justify-content: center;

    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    cursor: pointer;
    display: grid;
    place-items: center;
}

.info--text {
    padding: 10px;
    font-size: 17.5px;
    justify-content: center;
}

.info-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
}

.unstyled-list {
    width: fit-content;
    list-style: none;
    text-align: left;
    padding-left: 0;
}

.unstyled-list--element {
    margin-bottom: 10px;
}

.unlisted-list--button {
    font-size: 14px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: 0.3s;
    background-color: rgba(255, 245, 224, 0.5);
    color: black;
    border-radius: 30px;
}

.creator-picture {
    width: 200px;
    height: 200px;
    border-radius: 70%;
    object-fit: cover;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.005);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
