* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #000;
    color: #fff;
    overflow: hidden;
}

.slide {
    width: 100vw;
    height: 100vh;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.slide.active {
    display: flex;
    animation: fadeIn 0.5s ease-in;
}

.slide-title {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3em;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    z-index: 100;
    text-align: center;
}

.slide-info {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    z-index: 100;
    text-align: center;
    max-width: 90%;
}

.earth-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 2s cubic-bezier(0.4, 0.0, 0.2, 1);
    will-change: transform;
}

.zoom-out {
    animation: zoomOut 2s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}

.zoom-in {
    animation: zoomIn 2s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}

@keyframes zoomOut {
    from {
        transform: scale(2);
    }
    to {
        transform: scale(1);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
    }
    to {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.navigation {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    display: flex;
    gap: 20px;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 15px 30px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.space-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at center, #0a0a1a 0%, #000000 100%);
}

.space-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(1px 1px at 15% 15%, white, transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    opacity: 0.6;
}

.celestial-body-container{
    position: absolute;
    transform: translate(-50%,-50%);
    transition: all 1.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    will-change: width, height, left, top;
}

.celestial-body {
    border-radius: 50%;
    position: absolute;
    height: 100%;
    width: 100%;
}

.earth {
    background: radial-gradient(circle at 30% 30%, #4a90e2, #2c5aa0, #1a3a6e);
    box-shadow: 
        inset -20px -20px 40px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(74, 144, 226, 0.4);
	background-image: url(/images/earth.png);
	background-position: center;
	background-size: 100% 100%;
}

.celestial-body.moon {
    background: radial-gradient(circle at 35% 35%, #c0c0c0, #8a8a8a, #5a5a5a);
    box-shadow: 
        inset -10px -10px 20px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(192, 192, 192, 0.3);
}

.celestial-body.sun {
    background: radial-gradient(circle at 30% 30%, #fff5b1, #ffdd44, #ff9900);
    box-shadow: 
        inset -30px -30px 60px rgba(0, 0, 0, 0.3),
        0 0 80px rgba(255, 200, 0, 0.6),
        0 0 120px rgba(255, 153, 0, 0.4);
}

.celestial-body.mercury {
    background: radial-gradient(circle at 35% 35%, #b8b8b8, #8c8c8c, #5a5a5a);
    box-shadow: 
        inset -5px -5px 10px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(180, 180, 180, 0.3);
}

.celestial-body.venus {
    background: radial-gradient(circle at 30% 30%, #ffd89b, #e8b961, #c99746);
    box-shadow: 
        inset -10px -10px 20px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(232, 185, 97, 0.4);
}

.celestial-body.mars {
    background: radial-gradient(circle at 30% 30%, #e27b58, #c1440e, #8b3103);
    box-shadow: 
        inset -10px -10px 20px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(226, 123, 88, 0.4);
}

.celestial-body.jupiter {
    background: 
        repeating-linear-gradient(
            0deg,
            #c88b5c 0%,
            #d4a574 20%,
            #b87850 40%,
            #e0b68a 60%,
            #c88b5c 80%
        );
    box-shadow: 
        inset -30px -30px 60px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(200, 139, 92, 0.4);
}

.celestial-body.saturn {
    background: radial-gradient(circle at 30% 30%, #f4d79e, #ddb975, #c9a961);
    box-shadow: 
        inset -25px -25px 50px rgba(0, 0, 0, 0.4),
        0 0 45px rgba(221, 185, 117, 0.4);
}

.celestial-body.uranus {
    background: radial-gradient(circle at 30% 30%, #a8d8ea, #7cb8d1, #4a9bb5);
    box-shadow: 
        inset -20px -20px 40px rgba(0, 0, 0, 0.4),
        0 0 35px rgba(124, 184, 209, 0.4);
}

.celestial-body.neptune {
    background: radial-gradient(circle at 30% 30%, #5b7dbf, #3d5a9e, #2a4280);
    box-shadow: 
        inset -20px -20px 40px rgba(0, 0, 0, 0.5),
        0 0 35px rgba(91, 125, 191, 0.4);
}

.celestial-body.proximaCentauri {
    background: radial-gradient(circle at 30% 30%, #ff6b4a, #e84a2a, #c43015);
    box-shadow: 
        inset -20px -20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(255, 107, 74, 0.5),
        0 0 100px rgba(228, 74, 42, 0.3);
}

.celestial-body.voyager1, .celestial-body.voyager2 {
    background: radial-gradient(circle at center, #ffffff, #aaaaaa);
    box-shadow: 
        0 0 8px rgba(255, 255, 255, 0.8),
        0 0 15px rgba(255, 255, 255, 0.4);
}

.celestial-canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.celestial-label {
    position: absolute;
    color: white;
    font-size: 0.9em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    transform: translate(-50%, 0);
    transition: all 1.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    pointer-events: none;
    top: 100%;
    left: 50%;
    text-align: center;
}

.slide-counter {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.7);
    z-index: 200;
}

.text-holder{
    max-width: 900px;
    text-align: center;
    padding: 40px;
}

.bible-verse{
    font-size: 2.5em;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.bible-reference{
    font-size: 1.8em;
    margin-top: 40px;
    opacity: 0.8;
}

.center-text{
    justify-content: center;
    align-items: center;
    display: flex;
}

.center-text img{
    max-width: 80%;
}

.speaker-notes{
    display: none;
}

.speaker-notes.visible {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 600px;
    max-height: 800px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 14px;
    line-height: 1.4;
    z-index: 300;
    overflow-y: auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.speaker-notes.visible::before {
    content: '📝 Speaker Notes';
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: #4a90e2;
}

.speaker-notes p, blockquote{
    margin-bottom: 1.5em;
    margin-top: 1.5em;
}

#cesiumContainer{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: none;
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s;
}

#cesiumContainer .cesium-viewer-bottom{
    display: none;
}
