body {
    margin: 0;
    padding: 0;
    overflow: hidden; 
}

#preloader {
    background-color: #480984;

    background-repeat: no-repeat;
    background-position: center center;
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-size: 200px;
    transition: opacity 0.5s ease; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column; 
}
#backreload{
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}
#cat{
    height: 200px;
    width: 200px;

}
.loading-bar {
    width: 60%; 
    max-width: 200px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 5px;
    background-color: #000;
    position: relative;
    overflow: hidden;
    
    
  

}

.loading-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #FF00FF;
    animation: loading 2.2s infinite linear;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}


@media (max-width: 768px) { 
    #preloader {
        background-size: 150px; 
    }

    .loading-bar {
        height: 15px; 
        max-width: 180px;
    }
}

@media (max-width: 480px) { 
    #preloader {
        background-size: 100px;
    }

    .loading-bar {
        height: 10px;
        max-width: 150px;
    }
}
