:root
{
	--choice_bg: #847e87;
	--hover_gray: #38373b;
	--grid_background: #847e8790;
	--choice_border: #444444;
    --checked_bg: #4b3861;
}

#bg_box {
	min-width: 50%;
    max-width: 90%;
    border-radius: 10px;
    background-color: var(--grid_background);
    margin: 0 auto;
    box-shadow: 0px 0px 50px green;
    margin-top: 1%;
    min-height: 80vh; /* Mindestens 80% der Bildschirmhöhe */
    height: auto; /* Automatische Höhe, um den Inhalt zu umschließen */
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    overflow: visible;
}

h2 {
    font-size: large;
}

#bg_box > .calc_box {
    /* width: 100%; */
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.input_box {
    margin: 10px;
}

input[type="text"] {
    background-color: var(--checked_bg);
    border: 2px solid var(--choice_border);
    color: white; 
    padding: 8px;
    border-radius: 5px;
    margin: 5px;
}

input[type="text"]::placeholder {
    color: var(--choice_bg); 
    opacity: 1; 
}

.output_box span {
    float: none !important;
    display: inline;
}

#bg_box > .space {
    height: 50px;
}

.space2
{
	height: 10px;
}

@media (orientation: landscape) {
    #bg_box {
        min-height: auto; 
        height: auto; 
    }
}
/* @media (width < 1300px) {
    #bg_box {
        min-height: 80vh; 
        width: 90%;
    }

    h2 {
        font-size: 45px; 
    }

    input[type="text"] {
        font-size: 30px; 
        padding: 14px;
        max-width: 100%; 
    }

    .output_box {
        font-size: 40px;
    }
} */