
.BottomText {
    position: absolute;
    left: var(--offset_left);
    right: var(--offset_right);
    font-size: 1rem;
    color: var(--text_color);
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.BottomText.show {
    opacity: 1;
}

.InfoBox {
    position: absolute;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    color: var(--text_color);
    background-color: var(--background_color);
    padding: 1rem;
    z-index: 10;
    width: 30%;
    max-height: 60%;
    margin-bottom: calc(var(--bottom_frame_height) + 1rem);
    opacity: 0;
    overflow: auto;
    pointer-events: auto;
    font-size: 1rem;
}

.InfoBox.show {
    opacity: 1;
}

.InfoBox .topic {
    text-align: center;
    margin-bottom: 1rem;
    font-size: calc(var(--window_scale) * 1.2em);
}

.InfoBox .info {
    font-size: calc(var(--window_scale) * 1rem);
    text-align: center;
}



.InfoBox .info > * {
    padding: 0.2rem;
}

.InfoBox .info img {
    max-width: 100%;
    height: auto;
}

.TopText {
    left: auto;
    top: 0;
    transform: scaleY(0) scaleX(1);
    transform-origin: top;
    transition: top 2s ease-in-out, opacity 2s ease-in-out, transform 2s ease-in-out;
}

.TopText.show {
    transform: scaleY(1) scaleX(1);
    top: 2%;
}

.BoxLeft {
    left: 0;
    bottom: auto;
    transform: scaleY(1) scaleX(0);
    transform-origin: bottom left;
    transition: left 2s ease-in-out, opacity 2s ease-in-out, transform 2s ease-in-out;
}

.BoxLeft.show {
    transform: scaleY(1) scaleX(1);
    left: 5%;
}

.BoxLeft_topic {
}

.BoxLeft_info {
}

.BoxRight {
    right: 0;
    bottom: auto;
    transform: scaleY(1) scaleX(0);
    transform-origin: bottom right;
    transition: right 2s ease-in-out, opacity 2s ease-in-out, transform 2s ease-in-out;
}

    .BoxRight.show {
        transform: scaleY(1) scaleX(1);
        right: 5%;
    }

.BoxRight_topic {
}

.BoxRight_info {
}

.BoxRight_info > * {
}

.Alert {
    --alert_color: red;
    position: absolute;
    bottom: calc(var(--bottom_frame_height) + 2rem);
    color: var(--alert_color);
    font-size: calc(var(--bottom_frame_height) * 0.8);
    text-align: center;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 0.5rem;
    z-index: 10;
    transition-delay: 2s;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform-origin: center;
    transform: scaleY(0) scaleX(0);
    opacity: 0;
}

.Alert.show {
    transform: scaleY(1) scaleX(1);
    opacity: 1;
}

.list {
    text-align: left;
    padding-left: 1rem;
}





.scrollbarStyle-1 {
    --scrollbar-size: 10px;
    --scrollbar-foreground: rgb(120, 156, 24);
    --scrollbar-foreground-highlight: rgb(148, 193, 30);
    --scrollbar-background: #222;
    scrollbar-color: var(--scrollbar-foreground) var(--scrollbar-background);
    scrollbar-width: var(--scrollbar-size);
}

.scrollbarStyle-1::-webkit-scrollbar {
    width: var(--scrollbar-size);
    height: var(--scrollbar-size);
}

.scrollbarStyle-1::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-foreground);
    box-shadow: 0 0 calc(var(--scrollbar-size) * 0.6) rgba(0, 0, 0, 0.3) inset;
    border-radius: var(--scrollbar-size);
}

    .scrollbarStyle-1::-webkit-scrollbar-thumb:hover {
        background-color: var(--scrollbar-foreground-highlight);
    }

.scrollbarStyle-1::-webkit-scrollbar-track {
    background: var(--scrollbar-background);
    border-radius: var(--scrollbar-size);
    box-shadow: 0 0 calc(var(--scrollbar-size) * 0.6) rgba(0, 0, 0, 0.3) inset;
}

.scrollbarStyle-1::-webkit-scrollbar-corner {
    background: var(--scrollbar-background);
}
