:root{
    --head-bottom-color: rgb(82, 82, 82);
    --quicklinks-color: rgba(126, 126, 126, 0.705);
    --main-color: rgb(187, 187, 187);
    --links-color: rgb(65, 65, 65);
    --links-hover-color: rgba(65, 65, 65, 0.500);
    --whitetext-color: white;
    --maintext-color: black;
    --article-color: rgba(255, 255, 255, 0.800);
    --button-backgroud-color: rgb(53, 53, 53);
    --button-text-color: rgba(163, 163, 163, 0.658);

    --brigness-login-logo-img: brightness(2);
    --brigness-login-logo-img-hover: brightness(100);

    --login-logo-hover: rgba(22, 22, 22, 0.812);
}

.darkmode {
    --head-bottom-color: rgb(28, 28, 28);
    --quicklinks-color: rgba(63, 58, 58, 0.705);
    --main-color: rgb(44, 44, 44);
    --links-color: rgb(198, 188, 188);
    --links-hover-color: rgba(158, 155, 155, 0.5);
    --whitetext-color: white;
    --maintext-color: white;
    --article-color: rgba(24, 23, 23, 0.8);
    --button-backgroud-color: rgb(197, 192, 192);
    --button-text-color: rgba(25, 24, 24, 0.658);

    --brigness-login-logo-img: brightness(100);
    --brigness-login-logo-img-hover: brightness(2);

    --login-logo-hover: rgba(255, 255, 255, 0.614);
}

@media only screen and (max-width: 450px) {
    .much {
        height: 110px;
        overflow-y: auto;
        overflow-x: hidden;
    }
}

@media only screen and (max-width: 860px) {
    .headline {
        margin-top: 0px;
        margin-bottom: 0px;
        padding-bottom: 2px !important;
    }

    .loginLogoDiv {
        margin: 0px !important;
        margin-bottom: 10px !important;
    }

    .header {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        height: 80px;
        width: 80px;
        padding: 10px;
    }

    .quicklinks {
        flex-direction: column;
        align-items: center;
    }

    .quicklinks a {
        margin-bottom: 10px;
        margin-right: 0 !important;
    }

    .article {
        width: 90%;
        margin: 20px auto;
    }

    .footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-direction: column-reverse;
    }

    .footer h3 {
        margin-bottom: 10px;
        margin-left: 0px !important;
    }

    .footer a {
        margin-right: 0;
        margin-bottom: 10px;
        margin: 0px !important;
    }

    .darkmodebutton {
        margin-left: 0;
        width: 100%;
        padding: 10px;
    }

    .overlaycard {
        width: 90%;
        height: auto;
        padding-bottom: 50px;
    }

    .overlaycardbutton {
        width: 80%;
    }

    .version {
        padding: 20px;
    }

    .darkmodebutton {
        position: static !important;
        visibility: visible !important;
        margin: 0px !important;
    }

    .labeldarkmode {
        position: absolute;
        visibility: hidden;
    }
}

.header {
    background-color: var(--head-bottom-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.loginLogoDiv {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 5px;
    margin-right: 10px;
    border-radius: 1em;
    user-select: none;
}

.loginLogoDiv label {
    color: var(--whitetext-color);
}

.loginLogoDiv img {
    width: 64px;
    height: 64px;
    filter: var(--brigness-login-logo-img);
}

.loginLogoDiv label:hover {
    color: rgba(255, 255, 255, 0.614);
}

.loginLogoDiv img:hover {
    filter: var(--brigness-login-logo-img-hover);
}

.loginLogoDiv:hover {
    background-color: #242424;
}

body {
    font-size: 16px;
    margin: 0px;
    background-color: var(--main-color);
}

.headline {
    color: var(--whitetext-color);
    padding: 20px;
}

.quicklinks {
    align-items: center;
    background-color: var(--quicklinks-color);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
}

.quicklinks a {
    font-size: 1em;
    text-decoration: none;
    color: var(--links-color);
    margin-right: 50px;
}

.quicklinks a:hover {
    color: var(--links-hover-color);
    cursor: pointer;
}

.article {
    background-color: var(--article-color);
    width: 70%;
    margin-left: 50px;
    margin-top: 50px;
}

.articleheadline {
    padding:20px;
    color: var(--maintext-color);
}

.articletext {
    font-size: 1em;
    padding: 0px 20px;
    color: var(--maintext-color);
}

.readmore {
    padding: 10px;
    justify-content: end;
    display: flex;
    padding-right: 20px;
}

.readmorebutton {
    font-size: 1em;
    color: var(--links-color);
    text-decoration: none;
}

.readmorebutton:hover {
    color: var(--links-hover-color);
}

.overlay {
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    bottom: 0px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.overlaycard {
    color: var(--maintext-color);
    width: 60%;
    height: 60%;
    background-color: var(--article-color);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    padding-bottom: 100px;
    align-items: center;
    padding: 20px;
}

.version {
    padding: 0px 20px;
}

.versionnr {
    color: red;
    font-size: 50pxpx;
}

.overlaycardbutton {
    background-color: var(--button-backgroud-color);
    color: var(--button-text-color);
    margin: 10px 16px;
    width: 100px;
    padding: 8px 16px;
    font-size: 1em;
    font-weight: 600;
    border-radius: 2px;
    cursor: pointer;
    box-shadow: 2px 0px 8px rgba(0, 0, 0, 0.432);
    border: unset;
}

.overlaycardbutton:hover {
   color: var(--button-backgroud-color);
    background-color: var(--button-text-color);
}

.footer {
    background-color: var(--quicklinks-color);
    color: var(--maintext-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}

.footer a {
    text-decoration: none;
    color: var(--links-color);
    padding: 10px;
    margin-right: 30px;
}

.footer a:hover {
    background-color: var(--links-hover-color);
}

.footer h3 {
    font-size: 1em;
    padding: 20x;
    margin-left: 30px;
}

table {
    border-collapse: collapse;
    width: 100%;
}

.tableheadline {
    font-weight: bold;
    font-size: 1.2em;
}

.darkmodebutton {
    color: var(--button-text-color);
    background-color: var(--button-backgroud-color);
    border: none;
    margin-left: 200px;
    height: auto;
    width: auto;
    position: absolute;
    visibility: hidden;
}

.darkmodebutton:hover {
    background-color: var(--button-text-color);
    color: var(--button-backgroud-color);
}

.labeldarkmode {
    width: 100px;
    height: 40px;
    display: block;
    background-color: white;
    border-radius: 200px;
    box-shadow: inset 0px 5px 15px rgba(0, 0, 0, 0.4), inset 0px -5px 15px rgba(255, 255, 255, 0.4);
    transition: 0.3s;
}

.labeldarkmode:after {
    content: "";
    width: 30px;
    height: 30px;
    position: absolute;
    top: 145px;
    right: 115px;
    background: linear-gradient(180deg, #ffcc89, #d8860b);
    border-radius: 180px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.inputdarkmode {
    width: 0px;
    height: 0px;
    visibility: hidden;
}

.inputdarkmode:checked + .labeldarkmode {
    background: #242424;
}

.inputdarkmode:checked + .labeldarkmode:after {
    right: 50px;
    transform: translateX(-20%);
    background: linear-gradient(180deg, #777, #3a3a3a);
}

.labeldarkmode:active:after {
    width: 20px;
}

/* .inputchangelog {
    position: relative;
    visibility: hidden;
}

.labelchangelog {
    color: rgb(137, 137, 137);
    padding: 5px;
    user-select: none;
    font-weight: bold;
    width: 100px;
} */

.changelogbuttons {
    display: flex;
}

.changelogNotShowButton {
    background-color: var(--button-backgroud-color);
    color: var(--button-text-color);
    margin: 10px 16px;
    width: fit-content;
    padding: 8px 16px;
    font-size: 1em;
    font-weight: 600;
    border-radius: 2px;
    cursor: pointer;
    box-shadow: 2px 0px 8px rgba(0, 0, 0, 0.432);
    border: unset;
}

.changelogNotShowButton:hover {
    color: var(--button-backgroud-color);
    background-color: var(--button-text-color);
}

.changelogNotShowButtonActive {
    background-color: green;
    color: #e6f0ff;
}

.changelogNotShowButtonActive:hover {
    background-color: rgb(0, 100, 0);
    color: #242424;
}

.moreinfo {
    cursor: pointer;
    user-select: none;
}

/*.headImg img {
    max-width: 500px;
    height: auto;
}*/