/* styles.css */

@font-face {
  font-family: vazir;
  font-style: normal;
  font-weight: 200;
  src: url("./Vazirmatn-Regular.ttf") format("truetype");
}

body {
  font-family: vazir, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  z-index: 0;
  background-color: #08a444;
  color: #fff;
  text-align: center;
  padding: 10px;
  position: relative;
}

.item-box {
  border: 1px solid #9f004f;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.2s ease-in-out;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Box shadow here */
}

.item-box:hover {
  transform: scale(1.05);
}

.item-box img {
      border-radius: 10px;
      margin-bottom:10px;
  width: 100%;
  height: 100%;
}

.item-box {
  width: 100%;
  aspect-ratio: 3/2;
}

model-viewer {
  z-index: 100;
  margin-top: 0px;
  background-color: rgb(20, 39, 209);
  height: 10vh;
}

.pageSpinner {
  display: none;
  bottom: 0;
  position: fixed;
  height: 12px;
  border: 1px solid #fff;
  overflow: hidden;
  z-index: 1000;
}
.pageSpinner::after {
  content: "";
  width: 40%;
  height: 100%;
  background: #9f004f;
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  animation: animloader 2s linear infinite;
}

@keyframes animloader {
  0% {
    left: 0;
    transform: translateX(-100%);
  }
  100% {
    left: 100%;
    transform: translateX(0%);
  }
}
