#atinn-preloader {
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff9e;
    backdrop-filter: blur(10px);
}
/* تمام صفحه را می‌پوشاند و محتوا را وسط‌چین می‌کند */
.preloader {
  position: fixed;
  flex-direction: row-reverse;
  display: flex;
  justify-content: center; /* افقی وسط */
  align-items: center;     /* عمودی وسط */
  background: #ffffff;     /* رنگ پس‌زمینه (اختیاری) */
  z-index: 9999;           /* همیشه روی همه عناصر */
}
.preloader img {
  display: block;
  margin: 0 0px;
  max-height: 70px;
  height: auto;
  width: auto;
  object-fit: contain;
}
.preloader-loading {
  width: 80px !important;
  max-width: 50px !important;
    transform: scaleX(0.95); /* 0.8 یعنی 80٪ عرض اصلی */
  transform-origin: center;
}


@keyframes slideX {
    0% {
        transform: scaleX(1) scaleY(1);
    }
    25% {
        transform: scaleX(0) scaleY(1);
    }
    50% {
        transform: scaleX(1) scaleY(1);
    }
    75% {
        transform: scaleX(1) scaleY(0);
    }
    100% {
        transform: scaleX(1) scaleY(1);
    }
}

#atinn-preloader img {
    /*max-width: 150px;*/
    height: auto;
}

#atinn-preloader .rotate {
    animation: spin 1.5s linear infinite;
    margin-top: -135px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

body.loaded #atinn-preloader {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#atinn-preloader p {
    font-size: 16px;
    font-weight: 600;
    color: #464648de;
    font-family: "IRANYekanX", Sans-serif;
} 