* {
    box-sizing: border-box;
}

body {
    margin: 0;
    width: 100%;
    height: 100%;
    position: relative;
}

body {
    /* background: linear-gradient(rgb(90, 116, 49), rgb(45, 112, 112)); */
    align-items: center;
    display: flex;
    flex-direction: column;
    font-family: system-ui;
    height: 100vh;
    margin: 0;
    text-align: center;
    width: 100vw;
}

#mainframe {
    border: none;
    height: 100%;
    width: 100%;
}

.watermark {
    bottom: 6px;
    opacity: 0.6;
    pointer-events: none;
    position: absolute;
    right: 6px;
    width: 120px;
    z-index: 10000;
}

.invisible {
    visibility: hidden;
}

.impressum-button {
    background-color: rgba(255, 255, 255, 0.6);
    bottom: 0px;
    color: rgb(25, 25, 25);
    cursor: pointer;
    font-size: 0.8em;
    left: 0px;
    padding: 6px;
    position: absolute;
    z-index: 1000;
}

.impressum-pane {
    align-items: center;
    backdrop-filter: blur(2px);
    background-color: rgba(255, 255, 255, 0.6);
    bottom: 0;
    display: flex;
    flex-direction: column;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.impressum-container {
    background-color: rgba(255, 255, 255, 0.6);
    color: rgb(25, 25, 25);
    margin: 50px;
    max-width: 800px;
    overflow-y: auto;
    padding: 50px;
}

.impressum-close-button {
    background: -webkit-linear-gradient(-45deg, transparent 0%, transparent 46%, rgb(25, 25, 25) 46%, rgb(25, 25, 25) 56%, transparent 56%, transparent 100%),
        -webkit-linear-gradient(45deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 46%, rgb(25, 25, 25) 46%, rgb(25, 25, 25) 56%, rgb(255, 255, 255) 56%, rgb(255, 255, 255) 100%);
    border-color: rgb(255, 255, 255);
    border-radius: 50%;
    border-style: solid;
    border-width: 5px;
    cursor: pointer;
    height: 30px;
    line-height: 30px;
    opacity: 0.6;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 30px;
}

@media (prefers-color-scheme: dark) {
    .impressum-button {
        background-color: rgba(25, 25, 25, 0.6);
        color: rgb(230, 230, 230);
    }

    .impressum-pane {
        background-color: rgba(25, 25, 25, 0.6);
    }

    .impressum-container {
        background-color: rgba(25, 25, 25, 0.6);
        color: rgb(230, 230, 230);
    }

    .impressum-close-button {
        background: -webkit-linear-gradient(-45deg, transparent 0%, transparent 46%, white 46%, white 56%, transparent 56%, transparent 100%),
            -webkit-linear-gradient(45deg, rgb(25, 25, 25) 0%, rgb(25, 25, 25) 46%, white 46%, white 56%, rgb(25, 25, 25) 56%, rgb(25, 25, 25) 100%);
        border-color: rgb(25, 25, 25);
    }

    .watermark {
        content: url("media/logo\ ilmenau.live\ schrift-weiß\ hintergrund-transparent350.png");
    }
}