body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden; /* Verhindert horizontalen Scroll */
    display: flex;
    justify-content: center; /* Zentriert den Inhalt */
    align-items: center;
    background: #F7F4E8;
}

.containerTrees {
    display: flex;
    width: 100vw;
    max-width: 100%; /* Verhindert einen horizontalen Scrollbalken */
    min-height: 100vh;
    align-items: flex-end; /* Ausrichtung der Bäume am unteren Rand */
}

.sidebarTrees {
    flex-grow: 1;
    position: relative; /* Erlaubt absolute Positionierung der Baum-Bilder */
    min-width: 50px; /* Minimalbreite der Seitenbereiche, um Überlappung zu vermeiden */
}

.content {
    width: 600px; /* Festgelegte Breite für den mittleren Inhalt */
    text-align: center; /* Zentriert den Text im Inhaltsbereich */
    z-index: 1;
}

.scroll-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-origin: center;
    transition: all 0.5s ease-in-out;
}

.about {
    max-width:550px;
    margin-top:10vh;
    padding-bottom:20vh;
    text-align:left;
}

.tree {
    position: absolute;
    bottom: 0;
    height: 100vh; /* Festgelegte Höhe der Bäume */
}

.left .tree {
    right: 0; /* Baum in der linken Spalte an den rechten Rand */
}

.right .tree {
    left: 0; /* Baum in der rechten Spalte an den linken Rand */
}

.kreisbaum {
    max-width: 180px;
    margin-bottom: 1vh;
}

.logo {
    max-width: 500px;
    margin-bottom: 1vh;
    margin-top:25vh;
}

.change {
    width: 260px;
    padding-left: 70px;
    padding-right: 70px;
    margin-bottom: 5vh;
}


.planterLink {
    text-decoration: none;
    color: black;
    font-size: 20px;
    border: none;
    background: transparent;
    padding:10px;
}
    .planterLink img {
        max-width: 200px;
    }

    .planterLink:hover {
      /*  background: #4F8C4A;*/
        color: white;
    }
.planterLink {
    transition: transform 0.2s ease-in-out; /* Sanfte Animation */
}

    .planterLink:hover {
        transform: translateY(-5px); /* Leicht nach oben bewegen */
    }


footer {
    margin-top: auto;
    text-align: center;
    font-size: 14px;
    color: #666;
    padding: 10px;
}

.footer-text {
    margin: 0;
    padding: 10px;
    font-family: sans-serif;
}

.version {
    position: fixed;
    bottom: 0px;
    right: 20px;
    color: lightgrey;
}

.centeredContent {
    position:fixed;
    top:0px;
    left:0px;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    height: 100vh; /* Full viewport height */
    width: 100vw; /* Full viewport width */
}

.badgeWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.55); /* Skaliert das Badge auf 70% der Originalgröße */
    transform-origin: center; /* Skaliert relativ zur Mitte */
}



@media (max-width: 1100px) {
    .kreisbaum {
        max-width: 80px;
    }

    .logo {
        max-width: 220px;
    }

    .change {
        max-width: 176px;
    }

    .logoIndex {
        max-width: 220px;
    }

    .changeIndex {
        max-width: 176px;
    }

    .planterLink {
        font-size: 22px;
    }
    .content {
        width: 200px;
    }

    .footer-text {
        text-align: center;
        font-size: smaller;
        padding: initial;
        margin-bottom:25%;
    }
}

.tree {
    opacity: 0;
    transition: opacity 3s ease-in;
}

    .tree.loaded {
        opacity: 1;
    }

.center-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.coming {
    max-width: 15%;
    min-width:150px;
    height: auto;
    margin-bottom: 80px; /* Optional: Abstand zwischen den Elementen */
}

.logoIndex {
    max-width: 30%;
    min-width: 250px;
    height: auto;
    margin-bottom: 10px; /* Optional: Abstand zwischen den Elementen */
}

.changeIndex {
    max-width: 30%;
    min-width:200px;
    height: auto;
    margin-bottom: 80px; /* Optional: Abstand zwischen den Elementen */
}

.signUp img {
    max-width: 50%;
    min-width: 200px;
    height: auto;
    margin-bottom: 70px; /* Optional: Abstand zwischen den Elementen */
}

.complexitreeLogoForest {
    max-height: 45px;
    margin: 5px;
    position: absolute;
    left: 5px;
    max-width: 20vw;
}

.complexitreeLogoXCT {
    max-height: 40px;
    margin: 5px;
    position: absolute;
    left: 0px;
    max-width: 20vw;
    padding:5px;
    border: 2px solid white;
}

.forestLogo {
    max-height: 36px;
    margin: 5px;
    position: absolute;
    right: 45px;
    max-width: 20vw;
}

.userLogin {
    max-height: 40px;
    margin: 5px;
    position: absolute;
    right: 5px;
    max-width: 20vw;
    max-height: 15px;
    background: #D89D56;
    padding: 5px;
    border-radius: 2px;
    cursor: pointer;
}

.changesLogo {
    max-height: 16px;
    max-width: 40vw;
}

#ForestButtons{
    position:absolute;
    right: 5px;
    margin: 5px;
}

    #ForestButtons button {
        background: #D89D56;
        border: 0px;
        padding: 3px;
        cursor: pointer;
    }
