*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
}
@font-face {
    font-family: "peyda";
    src: url("assets/font/peyda/PeydaWeb-Regular.woff");
}
@font-face {
    font-family: "peyda";
    src: url("assets/font/peyda/peydaWeb-light.woff");
    font-weight: 300;
}
@font-face {
    font-family: "peyda";
    src: url("assets/font/peyda/PeydaWeb-SemiBold.woff");
    font-weight: 500;
}
body{
    font-family: "peyda" !important;
}
.head{
    border: 1px solid #e8e8e8;
    border-radius: 15px;
    width: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.mt-5{
    margin-top: 50px;
}

.d-flex{
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}
.d-col{
    flex-direction: column;
}
.turbo-logo{
    margin-top: 20px;
}
.turbo-logo img{
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 10px;
    
}
.turbo-text h1{
    text-align: center;
    font-size: 16px;
    margin-top: 20px;
    font-weight: 500;
}
.turbo-update p{
    text-align: center;
    font-size: 15px;
    margin-top: 15px;
}

.turbo-version p {
    text-align: center;
    font-size: 15px;
    margin-top: 25px;
    margin-bottom: 33px;
    font-weight: 300;
}
.card-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
}
.card-width{
    width: 948px !important;
    display: flex;
    justify-content: right;
    flex-wrap: wrap;
}

.card{
    display: flex;
    flex-direction: column;
    justify-content: right;
    width: 300px;
    margin: 13px 8px;
}
.card a{
    text-align: center;
    color: #000000b2;
    font-size: 15px;
    margin-top: 10px;
    text-decoration: none;
    font-weight: 500;
}

.card img{
    border-radius: 10px;
    object-fit: cover;
}


/* loading */ 

.loader {
    width: 3em;
    height: 3em;
    margin-top: 30px;
  }
  
  .loader__eye1,
    .loader__eye2,
    .loader__mouth1,
    .loader__mouth2 {
    animation: eye1 3s ease-in-out infinite;
  }
  
  .loader__eye1,
    .loader__eye2 {
    transform-origin: 64px 64px;
  }
  
  .loader__eye2 {
    animation-name: eye2;
  }
  
  .loader__mouth1 {
    animation-name: mouth1;
  }
  
  .loader__mouth2 {
    animation-name: mouth2;
    visibility: hidden;
  }
  
  @media (prefers-color-scheme: dark) {
    :root {
      --bg: hsl(var(--hue), 90%, 10%);
      --fg: hsl(var(--hue), 90%, 90%);
    }
  }
  
  @keyframes eye1 {
    from {
      transform: rotate(-260deg) translate(0, -56px);
    }
  
    50%,
      60% {
      animation-timing-function: cubic-bezier(0.17, 0, 0.58, 1);
      transform: rotate(-40deg) translate(0, -56px) scale(1);
    }
  
    to {
      transform: rotate(225deg) translate(0, -56px) scale(0.35);
    }
  }
  
  @keyframes eye2 {
    from {
      transform: rotate(-260deg) translate(0, -56px);
    }
  
    50% {
      transform: rotate(40deg) translate(0, -56px) rotate(-40deg) scale(1);
    }
  
    52.5% {
      transform: rotate(40deg) translate(0, -56px) rotate(-40deg) scale(1, 0);
    }
  
    55%,
      70% {
      animation-timing-function: cubic-bezier(0, 0, 0.28, 1);
      transform: rotate(40deg) translate(0, -56px) rotate(-40deg) scale(1);
    }
  
    to {
      transform: rotate(150deg) translate(0, -56px) scale(0.4);
    }
  }
  
  @keyframes eyeBlink {
    from,
      25%,
      75%,
      to {
      transform: scaleY(1);
    }
  
    50% {
      transform: scaleY(0);
    }
  }
  
  @keyframes mouth1 {
    from {
      animation-timing-function: ease-in;
      stroke-dasharray: 0 351.86;
      stroke-dashoffset: 0;
    }
  
    25% {
      animation-timing-function: ease-out;
      stroke-dasharray: 175.93 351.86;
      stroke-dashoffset: 0;
    }
  
    50% {
      animation-timing-function: steps(1, start);
      stroke-dasharray: 175.93 351.86;
      stroke-dashoffset: -175.93;
      visibility: visible;
    }
  
    75%,
      to {
      visibility: hidden;
    }
  }
  
  @keyframes mouth2 {
    from {
      animation-timing-function: steps(1, end);
      visibility: hidden;
    }
  
    50% {
      animation-timing-function: ease-in-out;
      visibility: visible;
      stroke-dashoffset: 0;
    }
  
    to {
      stroke-dashoffset: -351.86;
    }
  }
  
  h5{
    text-align: center;
    font-size: 15px;
    color: #000000b2;
    margin-top: 35px;
  }
  




  .card {
    position: relative;
    text-align: center;
  }

  .card img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
  }

  /* استایل اسکلتون */
  .skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e0e0e0;
    overflow: hidden;
    border-radius: 10px;
  }

  .skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent
    );
    animation: shimmer 1.5s infinite;
    border-radius: 10px;
  }

  /* انیمیشن شیمر برای افکت لودینگ */
  @keyframes shimmer {
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(100%);
    }
  }

  /* مخفی کردن اسکلتون وقتی تصویر لود شد */
  .card img.loaded + .skeleton {
    display: none;
  }












  @media (max-width: 992px) {
    .card-width{
        width: 100% !important;
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .card {
        width: 91%;
    }
    .head {
        width: 91%;
    }
}
