@media (prefers-color-scheme: light) {
    :root {
        --primary: #006699;
        --secondary: #231f20;
        --light: #ffffff;
        --dark: #231f20;
        --success: #198754;
        --info: #0dcaf0;
        --warning: #ffc107;
        --danger: #dc3545;

        --sidebar-color: #006699;
        --sidebar-text-color: #231f20;

        --sidebar-button-color: #cceeff;
        --sidebar-button-hover-color: #01a9ff;

        --button-color: #cceeff;
        --button-text: #231f20;

        --button-hover-color: #01a9ff;
        --button-hover-text: #231f20;
        
        --editor-menu-color: rgba(230, 230, 255, 0.8);
        --editor-menu-text: #231f20;

        --editor-textarea-color: rgba(255, 255, 255, 0.7);
        --editor-textarea-text: rgba(0, 0, 0, 0.7);

        --parallax-transparent: transparent;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary: #006699;
        --secondary: #231f20;
        --light: #ffffff;
        --dark: #231f20;
        --success: #198754;
        --info: #0dcaf0;
        --warning: #ffc107;
        --danger: #dc3545;


        --sidebar-color: #006699;
        --sidebar-text-color: #ffffff;
        --sidebar-button-color: #002233;
        --sidebar-button-hover-color: #231f20;

        --button-color: #002233;
        --button-hover-color: #231f20;
        --button-text: #ffffff;
        --button-hover-text: #ffffff;

        --editor-menu-color: rgba(0, 34, 51, 0.8);
        --editor-menu-text: #cceeff;
        
        --editor-textarea-color: #231f20;
        --editor-textarea-text: #65ccff;

        --viewer-menu-color: rgba(0, 34, 51, 0.8);
        --viewer-menu-text: #cceeff;

        --viewer-textarea-color: #231f20;
        --viewer-textarea-text: #65ccff;

        --parallax-transparent: rgba(0, 0, 0, 0.2)
    }
}

/* Scrollbar Chrome*/
html::-webkit-scrollbar { 
    display: none;
}
body {
    -ms-overflow-style: none;  /* IE / Edge */
    scrollbar-width: none;  /* Firefox */
}

a {
    text-decoration: none;
    color: var(--sidebar-text-color);
}

a:hover {
    text-decoration: none;
    color: var(--sidebar-text-color);
}

/* Sidetoolbar */
.logo-sidebar {
    text-align: center;
}
.logo-sidebar .logo-img {
    width: 50%;
}
.logo-sidebar h3 {
    color: var(--sidebar-text-color);
}


.login-sidebar {
    color: var(--sidebar-text-color);
    padding: 10px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 5px;
}

.login-form label {
    margin-bottom: 3px;
    text-align: left;
}

.login-form input {
    padding: 3px;
    border: none;
    border-radius: 4px;
}

.login-form .login-form-button {
    padding: 10px;
    background-color: var(--sidebar-button-color);
    color: var(--sidebar-text-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.login-form button:hover {
    background-color: var(--sidebar-button-hover-color);
}


.link-primary {
    text-decoration: none;
}
.link-primary:hover {
    text-decoration: none;
}

/* Normal */
@media screen and (min-width: 580px) {

    #heading {
        position: absolute;
        top: 4vh;
        justify-content: center;
        height: 8vh;
    }

    #teamContainer {
        position: absolute;
        top: 60vh;
        width: 60%;
        height: 50vh;
        backdrop-filter: blur(20vh);
        border-radius: 5vh;
        border: 0px, 0px, 0px 0px;
    }
}


.zoom {
    transition: transform .4s; /* Animation */
}

.zoom:hover {
    transform: scale(1.08); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

.saturate-on-hover {
    transition: .4s; /* Animation */
    filter: grayscale(80%);
}

.saturate-on-hover:hover {
    filter: grayscale(0%); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

.bg-white-transparent { background-color: rgb(255 255 255 / 0.8); }

#signinButton {
    margin-top: 10px;
    height: 100%;
    width: 100%;
    border: 0px;
    border-radius: 10px;
}

#registerButton {
    margin-top: 5px;
    height: 100%;
    width: 100%;
    border: 0px;
    border-radius: 10px;
}

#signoutButton {
    margin-top: 10px;
    height: 100%;
    width: 100%;
    border: 0px;
    border-radius: 10px;
}

#loginStandalone {
    min-width: 50vw;
}

#analysebackground {
    background-color: #6699cc;
    width: 100%;
    height: 100%;
}

#frameinnen {
    width: 100%;
    height: 100%;
}


.small-statistic {
    width: 100%;
    height: 80%;
}

.large-statistic {
    width: 100%;
    height: 50%;
    margin-top: 2vh;
    overflow:hidden;
}



.shadowAnim {
    transition: 0.4s;
    box-shadow: 5px 5px 5px #006699;
}

.shadowAnim:hover {
    box-shadow: 10px 10px 5px #006699;
}

.logo-shadow {
    filter:
    drop-shadow(20px 20px 20px grey)
}


.animShadow {
    animation-name: shadowAnim;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}




#turn1 {
    transform: translate(0px, -20px);
    animation-name: turnAnimation1;
    transform-origin: 50% 50%;
    animation-duration: 10s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

#turn2 {
    transform: translate(0px, 5px);
    transform-origin: 50% 50%;
    animation-name: turnAnimation2;
    animation-duration: 10s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}




#pathAnimated {
    stroke-dasharray: 20;
    animation: dash 200s linear forwards infinite;
}


@media screen and (min-width: 768px) {

    .team-abschnitt {
        display: flex;
        flex-direction: column;
    }

    .team-subabschnitt {
        display: flex;
        min-height: 230px;
    }

    .effect {
        margin-right: 50px;
        position: relative;
        transition: 0.5s;
        width: 250px;
        max-width: 250px;
        min-width: 250px;
    }
    .effect img {
        position: absolute;
        width: 100%;
        transition: 0.5s;
        border-radius: 2vh; 
        border: 0px;
    }

    .effect:hover .a2 {
        transform: translate(-10px, -10px);
        opacity: 0;
        filter:blur(2px);
    }
    .effect:hover .a3 {
        transform: translate(0px, 0px);
        opacity: 1;
    }
    .effect:hover .a1 {
        transform: translate(10px, 10px);
        opacity: 0.4;
        filter:blur(2px);
    }
}


#vorteile-titel {
    margin-top: 3rem !important;
}


/* Mobile */
@media screen and (max-width: 768px) {

    .jump-text {
        padding-top: 50px;
    }

    .team-section {
        min-height: 230vh;
    }

    .team-abschnitt {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .team-subabschnitt {
        display: flex;
        flex-direction: column;
        min-height: 230px;
    }

    .effect {
        margin-top: 50px;
        position: relative;
        transition: 0.5s;
        width: 100%;
        height: 170px;
    }
    .effect img {
        position: absolute;
        max-width: 100%;
        max-height: 100%;
        transition: 0.5s;
        border-radius: 2vh;
        border: 0px;
        left:50%;
        transform:translateX(-50%);
    }

    .effect:hover .a2 {
        transform: translate(-55%, -10px);
        opacity: 0.4;
        filter:blur(10px);
    }
    .effect:hover .a3 {
        transform: translate(-50%, 0px);
        opacity: 1;
    }
    .effect:hover .a1 {
        transform: translate(-45%, 10px);
        opacity: 0.4;
        filter:blur(10px);
    }

}


.jump-text span {
    position: relative;
    display: inline-block;
    animation: bounce 10.0s ease infinite;
}
.jump-text span:nth-child(2){
    animation-delay:0.1s;
}
.jump-text span:nth-child(3){
    animation-delay:0.2s;
}
.jump-text span:nth-child(4){
    animation-delay:0.3s;
}
.jump-text span:nth-child(5){
    animation-delay:0.4s;
}
.jump-text span:nth-child(6){
    animation-delay:0.5s;
}
.jump-text span:nth-child(7){
    animation-delay:0.6s;
}
.jump-text span:nth-child(8){
    animation-delay:0.7s;
}
.jump-text span:nth-child(9){
    animation-delay:0.8s;
}
.jump-text span:nth-child(10){
    animation-delay:0.9s;
}
.jump-text span:nth-child(11){
    animation-delay:1.0s;
}


/* EDITOR */
.editor-button {
    margin-top: 5px;
    padding: 5px 10px 5px 10px;
    height: 100%;
    background-color: var(--button-color);
    color: var(--button-text);
    border: 0px;
    border-radius: 5px;
}

.editor-button:hover {
    background-color: var(--button-hover-color);
    color: var(--button-hover-text);
}


.swal-button {
    background-color: var(--button-color);
    color: var(--button-text);
}

.swal-button:not([disabled]):hover {
    background-color:var(--button-hover-color);
    color: var(--button-hover-text);
}


/* Animationen */

@keyframes shadowAnim {
    0% {
        filter: drop-shadow(4px 4px 1px #173748);
    }

    50% {
        filter: drop-shadow(8px 4px 5px #231f20);
    }

    100% {
        filter: drop-shadow(4px 4px 1px #173748);
    }
}

@keyframes turnAnimation1 {
    0% {
        transform: translate(0px, -10px) rotate(0deg);
    }
    100% {
        transform: translate(0px, -10px) rotate(360deg);
    }
}

@keyframes turnAnimation2 {
    0% {
        transform: translate(0px, 5px) rotate(0deg);
    }
    100% {
        transform: translate(0px, 5px) rotate(-360deg);
    }
}

@keyframes dash {
    from {
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dashoffset: 1000;
    }

    to {
        stroke-dashoffset: 0;
    }
    
}

@keyframes bounce {
    84%{
        top: 0px;
    }
    80%{
        top: -15px;
    }
    76% {
        top: 0px;
    }
    0%{
        top: 0px;
    }
}