
/* General Settings */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.galaxy {
    position: relative;
    width: 100%;
    height: 100%;
    background: url('galaxy.png') no-repeat center center/cover;
    overflow: hidden;
}

/* Shooting Stars */
.shooting-stars span {
    position: absolute;
    width: 2px;
    height: 150px;
    background: linear-gradient(to bottom, white, transparent);
    transform: rotate(-45deg);
    animation: shoot 6s infinite ease-in-out;
    opacity: 0;
}

.shooting-stars span:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.shooting-stars span:nth-child(2) {
    top: 30%;
    left: 60%;
    animation-delay: 3s;
}

.shooting-stars span:nth-child(3) {
    top: 50%;
    left: 80%;
    animation-delay: 6s;
}

.shooting-stars span:nth-child(4) {
    top: 70%;
    left: 40%;
    animation-delay: 9s;
}

.shooting-stars span:nth-child(5) {
    top: 80%;
    left: 10%;
    animation-delay: 12s;
}

@keyframes shoot {
    0% {
        transform: translate(0, 0) rotate(-45deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(300px, 300px) rotate(-45deg);
        opacity: 0;
    }
}

/* Star Twinkles */
.star-twinkle span {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.5);
    animation: twinkle 4s infinite ease-in-out;
    opacity: 0.8;
}

.star-twinkle span:nth-child(1) {
    top: 15%;
    left: 25%;
    animation-delay: 1s;
}

.star-twinkle span:nth-child(2) {
    top: 45%;
    left: 55%;
    animation-delay: 2s;
}

.star-twinkle span:nth-child(3) {
    top: 65%;
    left: 75%;
    animation-delay: 3s;
}

.star-twinkle span:nth-child(4) {
    top: 25%;
    left: 70%;
    animation-delay: 4s;
}

.star-twinkle span:nth-child(5) {
    top: 75%;
    left: 30%;
    animation-delay: 5s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.3);
    }
}

/* Center Logo */
.sun-eclipse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.bobgo-logo {
    width: 500px;
    height: 500px;
}

/* Text */
.text {
    position: absolute;
    bottom: 10%;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@media screen and (max-width: 768px) {
    .sun-eclipse {
        top: 40%; /* Logonun biraz yukarı çıkmasını sağlar */
    }

    .text {
        bottom: 20%; /* Yazıyı biraz yukarı çeker */
        font-size: 1.8rem; /* Yazı boyutunu küçült */
    }

    .bobgo-logo {
        width: 400px; /* Logoyu mobil için küçült */
        height: 400px;
    }
}
