html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    --bottm-height: 50px;
}

.mainFrame {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.playerFrame {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: absolute;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
    transition: height 0.5s ease;
    z-index: 1;
}

    .playerFrame.show {
        opacity: 1;
    }

    .playerFrame.withBottom {
        height: calc(100% - var(--bottm-height));
    }

.overlayFrame {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: absolute;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
    pointer-events: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media only screen and (max-width: 800px) {
    /* Desktop-Stile erzwingen */
    body {
        width: 1024px;
        zoom: 1;
    }
}

    .overlayFrame.show {
        opacity: 1;
    }

.bottomFrame {
    width: 100%;
    height: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    overflow: hidden;
    transition: height 0.5s ease;
    background-color: rgba(49, 51, 59, 1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    z-index: 3;
    display: flex;
    flex-flow: row;
    border-top: 2px solid rgba(148, 193, 30, 0.75);
}

    .bottomFrame * button {
        height: 100%;
        background-color: transparent;
        border: 0;
        font-size: 30px;
        color: antiquewhite;
    }

.bottomFrame .leftActions 
{
    margin-left: 30px;
}
    .bottomFrame .timerFrame {
        display: flex;
        align-items: center;
        margin-left: 5px;
        font-size: 24px;
    }
    .bottomFrame .timerFrame .time {
        font-size: 24px;
        color: antiquewhite;
    }
    .bottomFrame .rightActions {
        margin-left: auto;
        margin-right: 30px;
    }

    .bottomFrame.show {
        height: var(--bottm-height);
    }


.centerFrame {
    height: 20%;
    /*width: 20%;*/
    aspect-ratio: 1/1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.25s ease;
    background-color: rgba(49, 51, 59, 1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 3;
    pointer-events: none;
    color: antiquewhite;
}

    .centerFrame.show {
        opacity: 1;
    }

    .centerFrame .topic {
        height: 25%;
        background-color: rgba(255, 255, 255, 0.1);
        display: flex;
        border-bottom: 2px solid rgba(148, 193, 30, 0.75);
        font-weight: normal;
        font-size: 1rem;
        text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
        color: rgba(255, 255, 255, 0.9);
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 5px;
        box-sizing: border-box;
        pointer-events: none;
    }

    .centerFrame .startButton {
        pointer-events: auto;
        aspect-ratio: 1 / 1;
        border: 0;
        background-color: transparent;
    }

        .centerFrame .startButton .material-icons {
            color: rgba(148, 193, 30, 0.75);
            font-size: 8rem;
        }

        .centerFrame .buttonFrame {
            height: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .centerFrame .buttonFrame button {
            aspect-ratio: 1 / 1;
            width: 2rem;
            pointer-events: auto;
            background-color: transparent;
            display: flex;
            justify-content: center;
            align-items: center;
        }

    .centerFrame .loadingImage {
        height: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
    }

        .centerFrame .loadingImage img {
            max-height: 100%;
            max-width: 100%;
            object-fit: cover;
            aspect-ratio: 1/1;
        }

    .centerFrame .bottom {
        height: 25%;
        background-color: rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-weight: normal;
        font-size: 1rem;
        text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
        color: rgba(255, 255, 255, 0.9);
        padding: 5px;
        box-sizing: border-box;
        pointer-events: none;
    }
/*
.timerFrame {
    height: 2.5rem;
    aspect-ratio: 1/1;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    opacity: 0;
    transition: opacity 0.25s ease;
    background-color: rgba(49, 51, 59, 0.5);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: normal;
    font-size: 1.2rem;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.9);
    z-index: 3;
    pointer-events: none;
    border-bottom: 2px solid rgba(148, 193, 30, 0.75);
}

    .timerFrame.show {
        opacity: 1;
    }

    .timerFrame .time {
        width: 5rem;
    }

    .timerFrame .time.red {
        border-bottom: 2px solid rgba(255, 0, 0, 0.75);
    }

    .timerFrame .actions {
        display: flex;
    }

        .timerFrame .actions button {
            width: 2rem;
            aspect-ratio: 1/1;
            pointer-events: auto;
            background-color: transparent;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        */
#vagonFrame {
    width: 100%;
    height: 100%;
    border: none;
}
