@keyframes letters-loading {
  0%,
    75%,
    100% {
    opacity: 0;
    transform: rotateY(-90deg);
  }

  25%,
    50% {
    opacity: 1;
    transform: rotateY(0deg);
  }
}

/*font-style*/

@font-face {
  font-style: normal;
  font-display: swap;
  font-family: YekanBakh;
  src: url(../../fonts/YekanBakh-VF.woff2) format("woff2");
}

@font-face {
  font-family: "vazir";
  src: url("../../fonts/Vazir/Vazir-Thin.eot");
  src: url("../../fonts/Vazir/Vazir-Thin.woff2?#iefix")
      format("embedded-opentype"),
    url("../../fonts/Vazir/Vazir-Thin.woff2") format("woff2"),
    url("../../fonts/Vazir/Vazir-Thin.woff") format("woff"),
    url("../../fonts/Vazir/Vazir-Thin.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "pinar";
  src: url("../../fonts/pinar/Pinar-Regular.woff2") format("woff2"),
    url("../../fonts/pinar/Pinar-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "pinar";
  src: url("../../fonts/pinar/Pinar-Bold.woff2") format("woff2"),
    url("../../fonts/pinar/Pinar-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "iransans";
  src: url("../../fonts/iransans/IRANSansX-Regular.woff") format("woff"),
    url("../../fonts/iransans/IRANSansX-bold.woff") format("woff"),
    url("../../fonts/iransans/IRANSansXV.woff2") format("woff");
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "YekanBakh", "iransans", sans-serif;
  direction: rtl;
}

* {
  scrollbar-color: var(--theme-primary-700) transparent !important; /* Firefox */
}

*::-webkit-scrollbar {
  width: 0.25rem;
  height: 0rem;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--theme-primary-700);
  border-radius: 1rem;
  border: 2px solid transparent;
  background-clip: content-box;
}

*::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 1rem;
}

.aHover:hover::before {
  opacity: 1;
}

.fixed_top {
  background-color: #ffffff;
  padding-top: 0;
  padding-bottom: 0;

  box-shadow: 0 0 #0000, 0 0 #0000, 0 13px 35px -12px rgba(35, 35, 35, 0.1);
}

/*bgSmall*/
.bgSmall::before {
  display: block;
  width: 1.5rem;
  height: 1rem;
  content: "";
  background-image: url("../../images/background/bg-5.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.5;
}

/*bgSmall*/

/*header*/
.hoverEffect a:hover {
  transition: color 200ms;
  color: var(--theme-gold);
}

/*header*/

.design:before {
  content: "";
  position: absolute;
  top: 0;
  right: -40px;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--theme-gold);
  -webkit-mask-image: linear-gradient(
    270deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 20%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    270deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 20%,
    rgba(0, 0, 0, 0) 100%
  );
}

.design ul {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.webArticlesImg::before {
  display: block;
  content: "";
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff url("../../images/background/roundbadge.png") no-repeat
    center center;
  background-size: 2rem;
  opacity: 0;
  z-index: 2;
  transition: 0.5s;
}

.webArticlesImg::after {
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  background-image: url("../../images/background/texture.jpg");
  background-repeat: repeat;
  animation: MoveAfter 100s infinite linear;
  -webkit-animation: MoveAfter 100s infinite linear;
  -moz-animation: MoveAfter 100s infinite linear;
  -o-animation: MoveAfter 100s infinite linear;
  opacity: 0;
  z-index: 1;
}

.webArticles:hover .webArticlesImg::after,
.webArticles:hover .webArticlesImg::before {
  opacity: 1;
}

.webArticles:hover h3 {
  color: var(--theme-gold);
}

.webArticles span {
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--theme-gold);
  transition: 0.5s;
}

.webArticles:hover span {
  width: 4rem;
}

@-moz-keyframes MoveAfter {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 800px 0;
  }
}

@-o-keyframes MoveAfter {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 800px 0;
  }
}

@keyframes MoveAfter {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 800px 0;
  }
}

/*section-six*/

/*AllSection-side*/

.arrowDown {
  -webkit-animation: arrowDown infinite 3s 5s;
  -moz-animation: arrowDown infinite 3s 5s;
  -o-animation: arrowDown infinite 3s 5s;
  animation: arrowDown infinite 3s 5s;
}

@-webkit-keyframes arrowDown {
  20% {
    -webkit-transform: translateY(-7px);
    transform: translateY(-7px);
  }

  50% {
    -webkit-transform: translateY(7px);
    transform: translateY(7px);
  }

  80% {
    -webkit-transform: translateY(-7px);
    transform: translateY(-7px);
  }
}

@-moz-keyframes arrowDown {
  20% {
    -moz-transform: translateY(-7px);
    transform: translateY(-7px);
  }

  50% {
    -moz-transform: translateY(7px);
    transform: translateY(7px);
  }

  80% {
    -moz-transform: translateY(-7px);
    transform: translateY(-7px);
  }
}

@-o-keyframes arrowDown {
  20% {
    -o-transform: translateY(-7px);
    transform: translateY(-7px);
  }

  50% {
    -o-transform: translateY(7px);
    transform: translateY(7px);
  }

  80% {
    -o-transform: translateY(-7px);
    transform: translateY(-7px);
  }
}

@keyframes arrowDown {
  20% {
    -webkit-transform: translateY(-7px);
    -moz-transform: translateY(-7px);
    -o-transform: translateY(-7px);
    transform: translateY(-7px);
  }

  50% {
    -webkit-transform: translateY(7px);
    -moz-transform: translateY(7px);
    -o-transform: translateY(7px);
    transform: translateY(7px);
  }

  80% {
    -webkit-transform: translateY(-7px);
    -moz-transform: translateY(-7px);
    -o-transform: translateY(-7px);
    transform: translateY(-7px);
  }
}

/*AllSection-side*/

.bg_blur {
  backdrop-filter: blur(3px);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

.line_design_gold::after {
  content: "";
  background-image: url("../../images/background/bg-10.png");
  background-position: center;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
  background-size: cover;
  height: 40px;
  width: 50%;
}

/*hoverHeader*/

.design-logo {
  position: absolute;
}

/*footer*/

/*socialMedia*/
.socialMedia a::after {
  content: "";
  position: absolute;
  width: 90%;
  height: 1px;
  bottom: 0;
  left: 5%;
  background: -moz-linear-gradient(
    90deg,
    rgba(188, 137, 113, 0) 5%,
    rgba(188, 137, 113, 1) 50%,
    rgba(188, 137, 113, 0) 95%
  );
  background: -webkit-linear-gradient(
    90deg,
    rgba(188, 137, 113, 0) 5%,
    rgba(188, 137, 113, 1) 50%,
    rgba(188, 137, 113, 0) 95%
  );
  background: linear-gradient(
    90deg,
    rgba(188, 137, 113, 0) 5%,
    rgba(188, 137, 113, 1) 50%,
    rgba(188, 137, 113, 0) 95%
  );
  z-index: 10;
}
.socialMedia li a {
  transition: 0.35s ease;
}

.socialMedia li:hover a {
  transform: translateY(-10px);
  transition: 0.35s ease;
}
.socialMedia li:hover a::after {
  transform: scale(2);
  transition: 0.35s ease;
}
/*socialMedia*/


/*animateWeb*/

.cd-section.visible .backgroundSection .showX > * {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.cd-section.visible .backgroundSection .showY > * {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.cd-section.visible .backgroundSection .showY > *:nth-child(1) {
  transition-delay: 2.5s;
}

.cd-section.visible .backgroundSection .showY > *:nth-child(2) {
  transition-delay: 2.7s;
}

.cd-section.visible .backgroundSection .showY > *:nth-child(3) {
  transition-delay: 2.9s;
}
.cd-section.visible .backgroundSection .showY > *:nth-child(4) {
  transition-delay: 3.1s;
}
.cd-section.visible .backgroundSection .showY > *:nth-child(5) {
  transition-delay: 3.3s;
}
.cd-section.visible .backgroundSection .showY > *:nth-child(6) {
  transition-delay: 3.5s;
}
.cd-section.visible .backgroundSection .showY > *:nth-child(7) {
  transition-delay: 3.7s;
}
.cd-section.visible .backgroundSection .showY > *:nth-child(8) {
  transition-delay: 3.9s;
}
.cd-section.visible .backgroundSection .showY > *:nth-child(9) {
  transition-delay: 4.1s;
}
.cd-section.visible .backgroundSection .showY > *:nth-child(10) {
  transition-delay: 4.3s;
}

/**/
.cd-section.visible .backgroundSection .showX > *:nth-child(1) {
  transition-delay: 1s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(2) {
  transition-delay: 1.5s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(3) {
  transition-delay: 1.8s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(4) {
  transition-delay: 2s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(5) {
  transition-delay: 2.2s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(6) {
  transition-delay: 2.4s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(7) {
  transition-delay: 2.6s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(8) {
  transition-delay: 2.8s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(9) {
  transition-delay: 3s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(10) {
  transition-delay: 3.2s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(11) {
  transition-delay: 3.4s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(12) {
  transition-delay: 3.6s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(13) {
  transition-delay: 3.8s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(14) {
  transition-delay: 4s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(15) {
  transition-delay: 4.2s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(16) {
  transition-delay: 4.4s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(17) {
  transition-delay: 4.6s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(18) {
  transition-delay: 4.8s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(19) {
  transition-delay: 5s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(20) {
  transition-delay: 5.2s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(21) {
  transition-delay: 5.4s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(22) {
  transition-delay: 5.6s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(23) {
  transition-delay: 5.8s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(24) {
  transition-delay: 6s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(25) {
  transition-delay: 6.2s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(26) {
  transition-delay: 6.4s;
}

.cd-section.visible .backgroundSection .showX > *:nth-child(26) {
  transition-delay: 6.6s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(27) {
  transition-delay: 6.8s;
}
.cd-section.visible .backgroundSection .showX > *:nth-child(28) {
  transition-delay: 7s;
}

@media only screen and (min-width: 64rem) {
  .cd-section .backgroundSection .showX > * {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-500px);
    -webkit-transition: all 2s;
    -o-transition: all 2s;
    -moz-transition: all 2s;
    transition: all 2s;
  }
  .cd-section .backgroundSection .showY > * {
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    -webkit-transition: all 2.5s;
    -o-transition: all 2.5s;
    -moz-transition: all 2.5s;
    transition: all 2.5s;
  }
}
/*animateWeb*/



@media (width >= 64rem /* 1024px */) {
  .contain {
    width: 85% !important;
    margin: 0 auto;
  }
}
@media (width >= 80rem /* 1280px */) {
  .contain {
    width: 75% !important;
    margin: 0 auto;
  }
}


/* loading */
.loading_before_design::before{
  content: attr(data-text-preloader);
  animation: letters-loading 4s infinite;
  color: var(--theme-primary-700);
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  transition-delay: 0.2s;
  
}
/* loading */



.bubbles_wrap {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow: hidden;
    pointer-events: none
}

@-webkit-keyframes animateBubble {
    0% {
        margin-top: 20%
    }

    to {
        margin-top: -30%
    }
}

@-moz-keyframes animateBubble {
    0% {
        margin-top: 20%
    }

    to {
        margin-top: -30%
    }
}

@keyframes animateBubble {
    0% {
        margin-top: 20%
    }

    to {
        margin-top: -30%
    }
}

@-webkit-keyframes sideWays {
    0% {
        margin-left: 0
    }

    to {
        margin-left: 25px
    }
}

@-moz-keyframes sideWays {
    0% {
        margin-left: 0
    }

    to {
        margin-left: 25px
    }
}

@keyframes sideWays {
    0% {
        margin-left: 0
    }

    to {
        margin-left: 25px
    }
}

.x1 {
    -webkit-animation: animateBubble 15s linear infinite,sideWays 2s ease-in-out infinite alternate;
    animation: animateBubble 15s linear infinite,sideWays 2s ease-in-out infinite alternate;
    left: 6%;
    top: 45%;
    background: #ffb739
}

.x2 {
    -webkit-animation: animateBubble 10s linear infinite,sideWays 4s ease-in-out infinite alternate;
    animation: animateBubble 10s linear infinite,sideWays 4s ease-in-out infinite alternate;
    left: 5%;
    top: 80%;
    background: #fc4fdd
}

.x3 {
    -webkit-animation: animateBubble 18s linear infinite,sideWays 2s ease-in-out infinite alternate;
    animation: animateBubble 18s linear infinite,sideWays 2s ease-in-out infinite alternate;
    left: 10%;
    top: 40%;
    background: #5ed5cb
}

.x4 {
    -webkit-animation: animateBubble 12s linear infinite,sideWays 3s ease-in-out infinite alternate;
    animation: animateBubble 12s linear infinite,sideWays 3s ease-in-out infinite alternate;
    left: 20%;
    top: 0;
    background: #3de4a3
}

.x5 {
    -webkit-animation: animateBubble 19s linear infinite,sideWays 4s ease-in-out infinite alternate;
    animation: animateBubble 19s linear infinite,sideWays 4s ease-in-out infinite alternate;
    left: 30%;
    top: 50%;
    background: #fc4fb1
}

.x6 {
    -webkit-animation: animateBubble 11s linear infinite,sideWays 2s ease-in-out infinite alternate;
    animation: animateBubble 11s linear infinite,sideWays 2s ease-in-out infinite alternate;
    left: 50%;
    top: 0;
    background: #2c4aff
}

.x7 {
    -webkit-animation: animateBubble 10s linear infinite,sideWays 2s ease-in-out infinite alternate;
    animation: animateBubble 10s linear infinite,sideWays 2s ease-in-out infinite alternate;
    left: 65%;
    top: 70%;
    background: #ffb739
}

.x8 {
    -webkit-animation: animateBubble 12s linear infinite,sideWays 3s ease-in-out infinite alternate;
    animation: animateBubble 12s linear infinite,sideWays 3s ease-in-out infinite alternate;
    left: 80%;
    top: 10%;
    background: #8f3de4
}

.x9 {
    -webkit-animation: animateBubble 19s linear infinite,sideWays 4s ease-in-out infinite alternate;
    animation: animateBubble 19s linear infinite,sideWays 4s ease-in-out infinite alternate;
    left: 90%;
    top: 50%;
    background: #fff339
}

.x10 {
    -webkit-animation: animateBubble 16s linear infinite,sideWays 2s ease-in-out infinite alternate;
    animation: animateBubble 16s linear infinite,sideWays 2s ease-in-out infinite alternate;
    left: 80%;
    top: 80%;
    background: #fc4f4f
}

.bubble {
    border-radius: 50%;
    box-shadow: none;
    height: 5px;
    position: absolute;
    width: 5px
}
