body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Tahoma', sans-serif;
    background-color: #435650;
    transition: background 0.4s ease;
    background-size: cover;          
    background-position: center;      
    background-repeat: no-repeat;     
    background-attachment: fixed;     
}

.main-container {
    position: relative; 
    display: flex;
    align-items: center; 
    justify-content: center;
    width: 100%;
}

 .textbox {
    position: relative;
    background-color: rgba(29, 38, 37, 0.78); 
    color: #d9e9d3;                         
    padding: 30px;
    border: 1px solid #101010;
    border-radius: 4px;
    width: 55%;
    min-width: 55%;                  
    min-height: 60vh;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: center;
    overflow-y: auto;
    box-sizing: border-box;
}
.textbox h2, .textbox p {
    position: relative;                     /* Erlaubt die Nutzung von z-index für Text */
    z-index: 2;                             
}


.pixeldesintegration {
    position: absolute;
    bottom: 0;                              
    left: 50%;                              
    transform: translateX(-50%);            
    width: 100%;                            
    max-width: 100%;                        
    height: auto;                           
    opacity: 0.49;
    z-index: 1;
    pointer-events: none;                   
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 10;
    padding: 0;
    position: absolute;
    top: 0;
    left: calc(77.5% + 20px);
}

.nav-btn {
    font-family: 'Garamond', serif;
    font-weight: bold; 
    font-size: 1.2rem;
    background-color: rgba(8, 12, 14, 0.5);
    color: #d9e9d3;
    border: 1px solid #000000;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 1px;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap; /*Verhindert den Zeilenumbruch*/
}

.nav-btn:hover {
    background-color: rgba(217, 233, 211, 0.2);
}
.nav-btn.active {
    background-color: #d9e9d3;
    color: #080c0e;
}

/* Logik für das Ein- und Ausblenden der Texte */
.content-view {
    display: none;
}
.content-view.active {
    display: block; 
}

/* Container für die Background-Buttons am unteren Rand */
.bg-controls {
    position: fixed;       
    bottom: 40px;
    left: 50%;              
    transform: translateX(-50%); 
    display: flex;         
    flex-direction: row;                  
}
.bg-btn-custom {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: block;
    }
.bg-btn-custom img {
    width: 35px;
    height: 35px;
    transition: transform 0.2s ease;
}
.bg-btn-custom img:hover {
    transform: scale(1.1); /* Kleiner Hover-Effekt */
}


