.swiper_modal_portfolio {
  opacity: 0;
  visibility: hidden;
}

.swiper_modal_portfolio.showModal {
  opacity: 1;
  visibility: visible;
}

@-webkit-keyframes intro-animation {
  100% {
    opacity: 1;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
}
@keyframes intro-animation {
  100% {
    opacity: 1;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
}

body {
  color: var(--color-two);
  /* font-weight: 600 !important; */
  background: #ffffff;
}

.portfolio__img img {
  filter: grayscale(1);
  transition: 0.5s;
}

.portfolio__img:hover img {
  filter: grayscale(0);
}

.btn-design {
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  cursor: pointer;
  /* height: 2.5rem; */
  user-select: none;
  position: relative;
  padding: 0 0.75rem;
  overflow: hidden;
  border-radius: calc(infinity * 1px);
  z-index: 1;
}

.btn-design::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  left: 0;
  transform: translateY(100%);
  background: var(--theme-zinc-800);
  border-radius: 50% 50% 0 0;
  transition: transform 0.5s cubic-bezier(0.5, 1, 0.89, 1),
    border-radius 0.5s cubic-bezier(0.5, 1, 0.89, 1);
  z-index: -1;
}

.btn-design:hover::after {
  border-radius: 0;
  transform: translateY(0);
  transition-duration: 0.5s, 0.9s;
}

.btn-design:hover {
  transform: scaleX(1.02);
  transition: transform 0.6s cubic-bezier(0.34, 5.56, 0.64, 1);
}

.btn-design-text {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.5, 1, 0.89, 1);
  position: relative;
  z-index: 2;
  min-height: 2rem;
}

.btn-design-text::before {
  content: attr(data-text);
  position: absolute;
  bottom: 0%;
  left: 0;
  right: 0;
  transform: translateY(100%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.btn-design:hover .btn-design-text {
  transform: translateY(-100%);
}

.filter-design-down {
  -webkit-mask-image: url(../../images/portfolio/curve-bottom2.svg);
  mask-image: url(../../images/portfolio/curve-bottom2.svg);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  mask-size: 100% 100%;
  padding: 0.25rem 2.9rem;
}

.filter-design-up {
  -webkit-mask-image: url(../../images/portfolio/curve-top1.svg);
  mask-image: url(../../images/portfolio/curve-top1.svg);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  mask-size: 100% 100%;
  padding: 0.25rem 2.9rem;
}

.portfolio_body {
  background-color: var(--h);
  position: relative;
  transform-style: preserve-3d;
  perspective: 18vw;
  width: 100%;
  overflow: hidden;
}

.arian_portfolio_video {
  /* aspect-ratio: 4 / 3; */
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 0.75rem;
  opacity: 0;
  transition: opacity 0.5s ease;
  width: 100%;
  height: 100%;
}

.arian_portfolio_design::after {
  content: "";
  position: absolute;
  background-image: linear-gradient(to top, var(--h) 16%, transparent);
  inset: 0;
  z-index: 2;
  transition: 0.5s cubic-bezier(0.5, 1, 0.89, 1);
}

.page_arian_portfolio:hover .arian_portfolio_design::after,
.arian_portfolio:hover .arian_portfolio_design::after {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.portfolio_spicail {
  background: var(--h);
}

.portfolio_address {
  background-image: linear-gradient(to bottom, #e0e0e0, #fff);
}

.portfolio_group_design {
  background-image: url(../../images/portfolio/mask-header.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 15rem;
  height: 4rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-0.5px);
  top: 0;
  z-index: 2;
  display: flex;
  align-items: start;
  justify-content: center;
}

.portfolio_group_design_bottom {
  background-color: var(--color-zinc-800);
  -webkit-mask-image: url(../../images/portfolio/mask-breadcrumb.svg);
  mask-image: url(../../images/portfolio/mask-breadcrumb.svg);
  width: 10.7rem;
  height: 3rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-0.5px);
  top: 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  z-index: -1;
  display: flex;
  align-items: end;
  justify-content: center;
}

.portfolio_design_active::before {
  transform: translateX(-50%) translateY(-0.5px);
  top: 90%;
}

.portfolio_design_active::after {
  transform: translateX(-50%) translateY(-0.5px) scaleY(-1);
  bottom: 90%;
}

.portfolio_badg_design {
  position: absolute;
  left: -2px;
  width: 10%;
  height: 25%;
  top: 50%;
  transform: translateY(-50%) scaleX(-1);
  background-position: left;
  transform-origin: left;
  transition: 0.5s cubic-bezier(0.5, 1, 0.89, 1);
  z-index: 100;
}

.arian_portfolio:hover .portfolio_badg_design {
  transform: rotateY(0deg) translateY(-50%);
  width: 6%;
}

.active_button::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  width: 80%;
  height: 5px;
  border-radius: 0.75rem;
  background-color: var(--theme-gold);
}

.nav-tabs .active_button::after {
  display: none;
}

.nav-tabs .active_button.active::after {
  display: block;
}

.portfolio_bottom_design {
  background-color: var(--h);
}

.arian_portfolio_img {
  background-position: top;
  background-repeat: no-repeat;
  transition: background-position 7s ease;
  background-size: cover;
}

.page_arian_portfolio:hover .arian_portfolio_img,
.arian_portfolio:hover .arian_portfolio_img {
  background-position: bottom;
  transition: background-position 7s ease;
}

.page_arian_portfolio {
  background-color: var(--h);
}

.page_portfolio_body {
  position: relative;
  transform-style: preserve-3d;
  perspective: 18vw;
  width: 100%;
  overflow: hidden;
}

.page_portfolio_tools {
  /* position: absolute; */
  /* top: 2em; */
  /* inset-inline-start: -2em; */
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-thumb {
  width: 1.5em;
  height: 1.5em;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  cursor: pointer;
  pointer-events: none;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 4px #1900ff5c;
  border: 5px solid #121212;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-thumb::before {
  content: "";
  position: absolute;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  background-color: red;
}

.scroll-range {
  width: 100%;
  position: relative;
  opacity: 0;
  position: absolute;
  inset: 0;
  -webkit-writing-mode: vertical-lr;
  -ms-writing-mode: tb-lr;
  writing-mode: vertical-lr;
  direction: ltr;
  z-index: 3;
  cursor: pointer;
}

.scroll-range:active + .scroll-thumb {
  transform: scale(1.05) translateX(-50%);
  box-shadow: 0 4px 7px #1900ff7a;
}

.scrollbar-hidden {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scrollbar-hidden::-webkit-scrollbar {
  display: none;
}

.filter-design-right {
  width: 2em;
  height: 20em;
  padding: 4.2rem 0;
  position: relative;
  -webkit-mask-image: url(../../images/portfolio/scrollbar-curve.svg);
  mask-image: url(../../images/portfolio/scrollbar-curve.svg);
  background: linear-gradient(to right, #fff, #dddce5);
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: center;
  /* margin-top: -3.8rem; */
}

.page_portfolio_tools_range::before {
  content: "";
  background-color: #d1cfe5;
  width: 0.7rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 1rem;
  height: 100%;
}

.swiper_arian_portfolio {
  z-index: 1;
}

.swiper_arian_portfolio_body {
  overflow-y: auto;
  height: 100%;
  border-radius: 1rem;
  border: 1px solid #050033;
  border-bottom: none;
  box-shadow: inset 0 0 15px hsl(0deg 0% 0% / 25%);
}
.swiper_portfolio_img {
  width: 100%;
  background: #fefefe;
  z-index: -1;
  position: relative;
}

.swiper-modal-switch .swiper-switch-mobile,
.swiper-modal-switch .swiper-switch-desktop {
  transition: 1.3s var(--ease2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 9999px;
  border-width: 1px;
  color: #ffffff;
  width: 2.5rem;
  height: 2.5rem;
}

.swiper-modal-switch button::before {
  content: "";
  background-color: #fff;
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: -1;
  transform: scaleY(0);
  transition: 1s cubic-bezier(0.62, 0.05, 0.01, 0.99);
  pointer-events: none;
}

.swiper-modal-switch button.active {
  color: #121212;
  pointer-events: none;
}

.swiper-modal-switch button.active::before {
  transform: scaleY(1);
}

.swiper-switch-desktop::before {
  transform-origin: bottom;
}

.swiper-switch-mobile::before {
  transform-origin: top;
}

.swiper-wrapper-container {
  margin: 0 auto;
  transition: width 0.4s ease;
}
.swiper-wrapper-container {
  width: 20em;
}

@media (width >= 40rem /*sm*/) {
  .swiper-wrapper-container {
    width: 30em;
  }

  .swiper-wrapper-container.mobile-size {
    width: 30em;
  }
}

@media (width > 48rem) {
  .swiper-wrapper-container.desktop-size {
    width: 50em;
  }
}
@media (width > 64rem) {
  .swiper-wrapper-container.desktop-size {
    width: 60em;
  }
}

@media (width > 80rem) {
  .swiper-wrapper-container.desktop-size {
    width: 70em;
  }
}

.see_project.btn-design::after {
  background-color: #121212;
}

.see_project:hover .btn-design-text::before {
  color: #fff;
}

/* tab */
.tab-content__pane {
  display: none;
}
.tab-content__pane.show {
  display: block;
}
/* tab */
