
/* Layout darf nicht clippen */
.main,
.form-container,
.texte {
    overflow: visible;
}

/* Earth Wrapper */
.earth-viewer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Canvas korrekt skalieren */
#earth-container canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* EARTH CONTAINER */
#earth-container {
  width: 100%;
  max-width: var(--earth-max-width);
  height: var(--earth-height);
}

/* Earth-spezifischer Container */
.form-container.earth {

    width: 100%;
    max-width: var(--website-width);
    margin: 0 auto;
    padding: 15px;
    box-sizing: border-box;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
}

/* Earth Canvas Container */
#earth-container {
    width: 100%;
    height: 80vh;
    position: relative;
}

/* Three.js Canvas Fix */
#earth-container canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}


#loading-screen {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.85);

    display: flex;

    justify-content: center;

    align-items: center;

    z-index: 100;
}

.loading-container {

    width: 400px;
}

.loading-bar-bg {

    width: 100%;

    height: 20px;

    background: #222;

    border-radius: 10px;

    overflow: hidden;
}

#loading-bar {

    width: 0%;

    height: 100%;

    background: #00ff88;

    transition: width 0.2s;
}

#loading-text {

    margin-top: 10px;

    color: white;

    text-align: center;
}


.start-container {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    gap: 15px;
}

.start-container h2,
.start-container p {

    color: white;

    margin: 0;
}