@font-face {
  font-family: "myIranYekan";
  font-weight: normal;
  src: url("../../fonts/iranyekan/ttf/iranyekanwebregular.ttf")
      format("truetype"),
    url("../../fonts/iranyekan/woff/iranyekanwebregular.woff") format("woff");
}

@font-face {
  font-family: "myIranYekan";
  font-weight: bold;
  src: url("../../fonts/iranyekan/ttf/iranyekanwebbold.ttf") format("truetype"),
    url("../../fonts/iranyekan/woff/iranyekanwebbold.woff") format("woff");
}

@font-face {
  font-family: "myPinar";
  font-weight: normal;
  src: url("../../fonts/pinar/Pinar-Regular.ttf") format("truetype"),
    url("../../fonts/pinar/Pinar-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "myPinar";
  font-weight: bold;
  src: url("../../fonts/pinar/Pinar-Bold.ttf") format("truetype"),
    url("../../fonts/pinar/Pinar-Bold.woff2") format("woff2");
}
@keyframes animate-contact {
  0% {
    transform: rotate(0deg);
  }
  5% {
    transform: rotate(-10deg);
  }
  10% {
    transform: rotate(5deg);
  }
  15% {
    transform: rotate(-10deg);
  }
  20% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-10deg);
  }
  30% {
    transform: rotate(5deg);
  }
  35% {
    transform: rotate(-10deg);
  }
  40% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(0deg);
  }
}
@keyframes links-nav {
  0% {
    transform: rotate(-4deg);
  }
  30% {
    transform: rotate(4deg);
  }
  60% {
    transform: rotate(-4deg);
  }
  90% {
    transform: rotate(4deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
body,
html {
  font-family: "myIranYekan", sans-serif;
  direction: rtl;
  scroll-behavior: smooth;
}
@media (width >= 64rem) {
  .contain {
    max-width: 90%;
    margin: 0 auto;
  }
}

::-webkit-scrollbar {
  width: 12px;
  height: 6px;
}

::-webkit-scrollbar-track {
}

::-webkit-scrollbar-thumb {
  background-color: var(--color-theme-primary);
  border-radius: 10px;
}
.links-nav li a {
  transition: color 0.2s;
  display: inline-block;
}
.links-nav li a:hover {
  animation: links-nav 0.5s 1;
  color: #185e58;
}
.animate-contact {
  animation: animate-contact 1.75s infinite;
}
.gradient-header {
  background: #116b64;
  background: linear-gradient(
    90deg,
    rgba(17, 107, 100, 1) 0%,
    rgba(41, 41, 41, 1) 24%,
    rgba(17, 107, 100, 1) 50%,
    rgba(41, 41, 41, 1) 73%,
    rgba(17, 107, 100, 1) 95%
  );
}
.style-button1 {
  --color: rgb(255, 255, 255);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.5s;
  z-index: 1;
  color: white;
}

.style-button1:before {
  content: "";
  position: absolute;
  z-index: -1;
  background: var(--color);
  height: 150px;
  width: 200px;
  border-radius: 50%;
}

.style-button1:hover {
  color: var(--color-theme-primary);
  transform: scale(1.05);
}

.style-button1:before {
  top: 100%;
  left: 100%;
  transition: all 0.7s;
}

.style-button1:hover:before {
  top: -30px;
  left: -30px;
}

.style-button1:active:before {
  background: rgb(46, 154, 145);
  transition: background 0s;
}

.style-button2,
.style-button3 {
  position: relative;
  transition: all 0.3s ease;
  z-index: 1;
}

.style-button2::before,
.style-button3::before {
  content: "";
  transition: 0.5s all ease;
  position: absolute;
  top: 0;
  left: 50%;
  right: 50%;
  bottom: 0;
  opacity: 0;
  border-radius: 70px;
  z-index: -1;
}
.style-button2::before {
  background-color: var(--color-theme-third-primary);
}
.style-button3::before {
  background-color: #fff;
}
.style-button2:hover p {
  color: white;
}
.style-button2 div {
  transition: all 1s;
}
.style-button2:hover div {
  background-color: var(--color-theme-primary);
}
.style-button2:hover::before,
.style-button2:focus::before,
.style-button3:hover::before,
.style-button3:focus::before {
  transition: 0.5s all ease;
  left: 0;
  right: 0;
  opacity: 1;
}

.style-button2:active,
.style-button3:active {
  transform: scale(0.9);
}
.bg-footer {
  background-image: url(../../image/index/bg-footer.png);
  background-color: var(--color-theme-third-primary);
  background-size: 800px;
  background-position: center bottom;
  background-repeat: no-repeat;
}
.button-up {
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.animation-button-up {
  transform: translateY(-35px);
  opacity: 1;
}
.border-scoop {
  @supports (corner-shape: squircle) {
    border-radius: 20px;
    corner-shape: scoop;
  }
}
.border-bevel {
  @supports (corner-shape: squircle) {
    border-radius: 20px;
    corner-shape: bevel;
  }
}
.bevel:hover {
  @supports (corner-shape: squircle) {
    border-radius: 20px;
    corner-shape: bevel;
  }
}
.border-notch {
  @supports (corner-shape: squircle) {
    border-radius: 20px;
    corner-shape: notch;
  }
}
.border-squircle {
  @supports (corner-shape: squircle) {
    border-radius: 80px;
    corner-shape: squircle;
  }
}
