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

body {
    background-color: black;
    overflow: hidden;

}

.viewport {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.1);
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
}

.star{
    position: absolute;
    background-color: white;
    border-radius: 50%;
    animation: twinkle linear infinite;

}

@keyframes twinkle {
    0%, 100%{
        opacity: 0.8;
    }
    50% {
        opacity: 0.2;
    }
}

@keyframes supernova {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(10);
        opacity: 0;
    }
}

.solar-system {
    position: absolute;
    width: 100%;
    height: 100%;
}

.sun {
    position: absolute;
    background: yellow;
    border-radius: 50%;
    box-shadow: 0 0 20px yellow;
}

.planet {
    position: absolute;
    border-radius: 50%;
    background: gray;
    cursor: pointer;
}
 
.planet-detail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.planet-zoom {
  z-index: 1000;
  transition: 
    transform 2s cubic-bezier(0.4, 0.2, 0.2, 1),
    box-shadow 2s;
  box-shadow: 0 0 80px 40px rgba(255,255,255,0.3);
  position: absolute !important;
}

.back-button {


}

.planet-surface {
    width: 80%;
    height: 80%;
    background: gray;
    border-radius: 10px;
    box-shadow: 00 20px rgba(255,255,255,0.5);
}

.black-hole {
    animation: black-hole-pulse 2s infinite;
}

@keyframes black-hole-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#control-panel
{
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 0 0 0 10px;
    color: white;
}
