@font-face {
  font-family: "amir";
  src: url("fonts/IRANSansX-Black.woff") format("woff");
}

body {
  font-family: "amir";
}

@media only screen and (max-width: 600px) {
  .bd {
    background-image: url("photos/photo_2025-01-21_21-29-21.jpg") !important;
    background-size: cover !important;
  }
}

@media only screen and (max-width: 600px) {
  .im1 {
    height: 300px !important;
    width: 200px !important;
  }
}

@media only screen and (max-width: 600px) {
  .hd1 {
    height: 210px !important;
  }
}

.h1 {
  color: #fab300;
}

@media only screen and (max-width: 600px) {
  .p1 {
    color: #fab300;
  }
}

.p1 {
  color: #fab300;
}

.d {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.d1 {
  height: 200px;
  width: 200px;
  background-color: rgba(255, 255, 255, 0.263);
  border-radius: 40px;
}
.d2 {
  height: 200px;
  width: 200px;
  background-color: rgb(255, 255, 255, 0.263);
  border-radius: 40px;
}
.d3 {
  height: 200px;
  width: 200px;
  background-color: rgb(255, 255, 255, 0.263);
  border-radius: 40px;
}
.d4 {
  height: 200px;
  width: 200px;
  background-color: rgb(255, 255, 255, 0.263);
  border-radius: 40px;
}
.dd {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.d5 {
  height: 200px;
  width: 200px;
  background-color: rgb(255, 255, 255, 0.263);
  border-radius: 40px;
}
.d6 {
  height: 200px;
  width: 200px;
  background-color: rgb(255, 255, 255, 0.263);
  border-radius: 40px;
}
.d7 {
  height: 200px;
  width: 200px;
  background-color: rgb(255, 255, 255, 0.263);
  border-radius: 40px;
}
.d8 {
  height: 200px;
  width: 200px;
  background-color: rgb(255, 255, 255, 0.263);
  border-radius: 40px;
}

@media only screen and (max-width: 600px) {
  .d1 {
    height: 150px !important;
    width: 150px !important;
  }
  .d2 {
    height: 150px !important;
    width: 150px !important;
  }
  .d3 {
    height: 150px !important;
    width: 150px !important;
    margin-top: 10px !important;
  }
  .d4 {
    height: 150px !important;
    width: 150px !important;
    margin-top: 10px !important;
  }
  .d5 {
    height: 150px !important;
    width: 150px !important;
    margin-top: 30px !important;
  }
  .d6 {
    height: 150px !important;
    width: 150px !important;
    margin-top: 30px !important;
  }
  .d7 {
    height: 150px !important;
    width: 150px !important;
    margin-top: 10px !important;
  }
  .d8 {
    height: 150px !important;
    width: 150px !important;
    margin-top: 10px !important;
  }
  .img1 {
    height: 100px !important;
    width: 100px !important;
  }
  .img2 {
    height: 100px !important;
    width: 100px !important;
  }
  .img3 {
    height: 100px !important;
    width: 100px !important;
  }
  .img4 {
    height: 100px !important;
    width: 100px !important;
  }
  .img5 {
    height: 100px !important;
    width: 100px !important;
  }
  .img6 {
    height: 100px !important;
    width: 100px !important;
  }
  .img7 {
    height: 100px !important;
    width: 100px !important;
  }
  .img8 {
    height: 100px !important;
    width: 100px !important;
  }
  .my-custom-button {
    margin-right: 40px !important;
  }
  .my-custom-button2 {
    margin-right: 40px !important;
  }
  .my-custom-button3 {
    margin-right: 40px !important;
  }
  .my-custom-button4 {
    margin-right: 40px !important;
  }
  .my-custom-button5 {
    margin-right: 40px !important;
  }
  .my-custom-button6 {
    margin-right: 40px !important;
  }
  .my-custom-button7 {
    margin-right: 40px !important;
  }
  .my-custom-button8 {
    margin-right: 40px !important;
  }
}

.list {
  display: flex;
  overflow-x: auto;
  margin: 2em;
  padding: 0.5em;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 0.5em;
  scroll-snap-type: x mandatory;
}

.item {
  width: 33%;
  display: flex;
  flex-direction: column;
  padding: 0.5em;
  margin: 0.5em;
  border-radius: 0.25em;
  background-color: rgba(255, 255, 255, 0.2);
  scroll-snap-align: center;
  scroll-margin-inline: 0.5em;
}

.itemimage {
  aspect-ratio: 4/3;
  object-fit: contain;
}

.itemtitle {
  color: #ffffff;
  /* margin-top: 1em; */
  margin-bottom: 0.5em;
  text-align: center;
}
