/* Astronaut Animation - ONLY for the image, no other changes */
#top-banner::before {
    content: '';
    position: absolute;
    top: 50px;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('/custom_design/t5lslfw.png');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 48%;
    z-index: 1;
    animation: astronautFloat 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes astronautFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-8px) rotate(1deg); 
    }
    50% { 
        transform: translateY(-12px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-6px) rotate(-1deg); 
    }
}

/* Responsive sizing for astronaut only - smaller and mobile optimized */
@media (max-width: 1024px) {
    #top-banner::before {
        background-size: 35%;
    }
}

@media (max-width: 768px) {
    #top-banner::before {
        background-size: 30%;
        top: 100px;
        opacity: 0.9;
    }
}

@media (max-width: 600px) {
    #top-banner::before {
        background-size: 45%;
        top: 150px;
        opacity: 0.8;
    }
}

@media (max-width: 480px) {
    #top-banner::before {
        background-size: 40%;
        top: 200px;
        opacity: 0.7;
    }
}

@media (max-width: 360px) {
    #top-banner::before {
        background-size: 45%;
        top: 250px;
        opacity: 0.6;
    }
}

/* Disable animation for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    #top-banner::before {
        animation: none;
    }
}