/* Basic Styling */
body {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: white;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.solar-system {
    position: relative;
    width: 100vh;
    height: 100vh;
}

.sun, .planet {
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transform: translate(-50%, -50%) var(--planet-transform, rotate(0deg)) scale(1); /* Default transformation */
}
.sunshine{
    position: absolute;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: +11;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 0 1000px 10px #ffdd00, 0 0 100px 5px #ff9900;

}
.sun {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: +11;
    transition: transform 0.3s ease-in-out;
border-radius: 50%;} 
.isun{
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: +12;
    transition: transform 0.3s ease-in-out;
    border-radius: 50%;
}


.sun:hover {
    transform: translate(-50%, -50%) var(--planet-transform, rotate(0deg)) scale(2); /* Scale 2x on hover */
}

.planet:hover {
    transform: translate(-50%, -50%) scale(2); /* Scale 2x on hover */
}

.orbit {
    position: absolute;
    border: 0px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 1s ease-out;
}

.mercury-orbit { width: 60px; height: 60px;z-index: +10; }
.venus-orbit { width: 120px; height: 120px;z-index: +8; }
.earth-orbit { width: 180px; height: 180px;z-index: +7; }
.mars-orbit { width: 240px; height: 240px;z-index: +6; }
.jupiter-orbit { width: 480px; height: 480px;z-index: +5; }
.saturn-orbit { width: 650px; height: 650px;z-index: +4; }
.uranus-orbit { width: 800px; height: 800px;z-index: +3; }
.neptune-orbit { width: 1000px; height: 1000px;z-index: +2; }

.planet {
    transform: translate(-50%, 0) scale(var(--planet-scale, 1));
    position: absolute;
    border-radius: 50%;
    top: -0%; /* Align planets at the orbit's top edge */
    transform: translate(-50%, 0);
    transition: transform .3s ease-in-out /* Added transition for size change */
}

.iplanet{
    position: absolute;
    border-radius: 50%;
    --planet-rotation: 0deg; /* Initial value */
    transform: translate(-50%, -50%) rotate(var(--planet-rotation)deg);}

.mercury { width: 8px; height: 8px;}
.imercury{ width: 8px; height: 8px; }
.venus { width: 14px; height: 14px; }
.ivenus { width: 14px; height: 14px; }
.earth { width: 18px; height: 18px; }
.iearth { width: 18px; height: 18px; }
.mars { width: 12px; height: 12px;  }
.imars { width: 12px; height: 12px; }
.jupiter { width: 30px; height: 30px; }
.ijupiter { width: 30px; height: 30px;}
.saturn { width: 26px; height: 26px; }
.isaturn{width: 26px; height: 26px}
.ring {
    position: absolute;
    width: 32px;
    height: 32px;
    border: 4px solid #e8d3a8;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
}

.uranus { width: 22px; height: 22px;  }
.iuranus { width: 22px; height: 22px; }
.neptune { width: 20px; height: 20px;  }
.ineptune { width: 20px; height: 20px; }




/* Tooltip Styling */
.tooltip {
    visibility: hidden;
    width: 240px;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    border-radius: 6px;
    position: absolute;
    z-index: -1000;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.tooltip img {
    width: 50px; /* Increased width of the image */
    height: 50px; /* Increased height of the image */
    border-radius: 50%;
    margin-bottom: 10px;
}

.tooltip p {
    margin: 0;
    font-weight: bold;
}

.tooltip span {
    font-size: 14px;
    padding: 5px;
}


/* Fixed Tooltip Styling */
.fixed-tooltip {
    display: none;
    position: fixed;
    top: 1%;
    right: 10px;
    width: 300px;
    background-color: #333;
    color: #fff;
    text-align: left;
    padding: 15px;
    border-radius: 6px;
    z-index: -10;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: 2s;
}

.fixed-tooltip img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: -50px;
    margin-left: +50px;
}

.fixed-tooltip p {
    margin: 0;
    font-weight: bold;
    margin-bottom: 10px;
}

.fixed-tooltip span {
    font-size: 16px;
    padding: 5px;
    text-align: center;
    font-family: Arial;
}

.content {
    height: 200vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    text-align: center;
    font-size: 80px;
    bottom: 800px;
    position: relative;
    font-family: cursive;
    z-index: -1;
    background: linear-gradient(to right,red,orangered,orange,blue,blueviolet,yellow,greenyellow,green);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    text-align: center;
    font-size: 40px;
    bottom: 800px;
    position: relative;
    font-family: cursive;
    z-index: -1;
    background: linear-gradient(to right, #ef5350, #f48fb1, #7e57c2, #2196f3, #26c6da, #43a047, #eeff41, #f9a825, #ff5722);
   background-clip: text;
  -webkit-text-fill-color: transparent;
}

