#loader {
    position: fixed;
    inset: 0;
    background: #f2f2f2; 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 0.6s ease forwards;
    animation-delay: 1s;
}



#loader img {
    width: 140px;
    animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(0.96);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0.5;
        transform: scale(0.96);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}
