@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(180deg, #000d1a, #001f33);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.star {
    position: absolute;
    border-radius: 50%;
    background: white;
    opacity: 0.8;
    animation: twinkle 1.5s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 20%, 100% { opacity: 0.8; }
    10%, 30% { opacity: 0.4; }
}

@keyframes starAnimation {
    0% { background-position: 0 0; }
    100% { background-position: 100% 100%; }
}

.controls {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

button {
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, border 0.3s;
}

button:hover {
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

#zoom-value {
    color: white;
    font-size: 18px;
}

#toggle-animation {
    font-size: 16px;
    background-color: white;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#toggle-animation:hover {
    background-color: lightgray;
}
