/* General Styling */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
    background-color: #1e2a35;
    color: #f5f5f5;
    margin: 0;
    padding: 20px;
    text-align: center;
    perspective: 1000px;
}

h1 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #ffcc00;
    text-shadow: 2px 2px 5px #000;
}

p {
    font-size: 1em;
    margin-bottom: 20px;
}

.planet {
    width: 80%;
    max-width: 300px;
    margin: 15px;
    perspective: 1000px;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.planet:hover {
    transform: rotateY(20deg) rotateX(10deg) scale(1.05);
}

.planet-content {
    padding: 20px;
    border-radius: 10px;
    background-color: #334455;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s;
    transform-style: preserve-3d;
}

h2 {
    color: #ffcc00;
    margin-bottom: 10px;
}

.weather, .temperature {
    font-size: 1.2em;
}

.planet-content:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.3s;
}

.planet:hover .planet-content:after {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}
