/**
 * @file
 * Views Vanilla JavaScript 3D Carousel.
 *
 * Filename:     vvjc.css
 * Website:      https://www.flashwebcenter.com
 * Developer:    Alaa Haddad https://www.alaahaddad.com.
 */

/* 3d_carousel */
.vvj-carousel .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.vvj-carousel,
.vvj-carousel * {
  box-sizing: border-box;
}

.vvj-carousel,
.vvj-carousel .view-content {
  width: 100%;
  min-width: 100%;
  display: block !important;
}

.vvjc {
  display: grid;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 1s ease-in 0.4s forwards;
}

.vvjc > .vvjc-inner {
  max-height: 38.125rem;
  perspective: calc(var(--perspective, 640) * 1px);
  position: relative;
  width: 100%;
  z-index: 0;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.vvjc .vvjc-items {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  transform-style: preserve-3d;
  transition: transform 1s;
}

.vvjc .vvjc-items > .vvjc-item {
  max-width: 71.875rem;
  max-height: 34.375rem;
  position: absolute;
  transform-style: preserve-3d;
  width: calc(100% - 24px);
  top: 0;
  left: 12px;
  right: 12px;
  transition: transform 1s ease, opacity 1s ease;
  overflow-y: auto;
}

.vvjc .vvjc-nav {
  min-height: 3rem;
  width: 100%;
}

.vvjc .vvjc-nav .display-0 {
  display: none;
}

.vvjc .vvjc-items > .vvjc-item a {
  height: auto;
}

.vvjc-nav button svg {
  height: 2.5rem;
  width: 2.5rem;
  fill: gray;
}

.vvjc.height-large-100 > .vvjc-inner,
.vvjc.height-large-100 > .vvjc-inner > .vvjc-items {
  height: 7.25rem;
}

.vvjc.height-large-100 > .vvjc-inner > .vvjc-items > .vvjc-item {
  height: 6.25rem;
}

.vvjc.height-large-150 > .vvjc-inner,
.vvjc.height-large-150 > .vvjc-inner > .vvjc-items {
  height: 10.375rem;
}

.vvjc.height-large-150 > .vvjc-inner > .vvjc-items > .vvjc-item {
  height: 9.375rem;
}

.vvjc.height-large-200 > .vvjc-inner,
.vvjc.height-large-200 > .vvjc-inner > .vvjc-items {
  height: 13.5rem;
}

.vvjc.height-large-200 > .vvjc-inner > .vvjc-items > .vvjc-item {
  height: 12.5rem;
}

.vvjc.height-large-250 > .vvjc-inner,
.vvjc.height-large-250 > .vvjc-inner > .vvjc-items {
  height: 16.625rem;
}

.vvjc.height-large-250 > .vvjc-inner > .vvjc-items > .vvjc-item {
  height: 15.625rem;
}

.vvjc.height-large-300 > .vvjc-inner,
.vvjc.height-large-300 > .vvjc-inner > .vvjc-items {
  height: 19.75rem;
}

.vvjc.height-large-300 > .vvjc-inner > .vvjc-items > .vvjc-item {
  height: 18.75rem;
}

.vvjc.height-large-350 > .vvjc-inner,
.vvjc.height-large-350 > .vvjc-inner > .vvjc-items {
  height: 22.875rem;
}

.vvjc.height-large-350 > .vvjc-inner > .vvjc-items > .vvjc-item {
  height: 21.875rem;
}

.vvjc.height-large-400 > .vvjc-inner,
.vvjc.height-large-400 > .vvjc-inner > .vvjc-items {
  height: 26rem;
}

.vvjc.height-large-400 > .vvjc-inner > .vvjc-items > .vvjc-item {
  height: 25rem;
}

.vvjc.height-large-450 > .vvjc-inner,
.vvjc.height-large-450 > .vvjc-inner > .vvjc-items {
  height: 29.125rem;
}

.vvjc.height-large-450 > .vvjc-inner > .vvjc-items > .vvjc-item {
  height: 28.125rem;
}

.vvjc.height-large-500 > .vvjc-inner,
.vvjc.height-large-500 > .vvjc-inner > .vvjc-items {
  height: 32.25rem;
}

.vvjc.height-large-500 > .vvjc-inner > .vvjc-items > .vvjc-item {
  height: 31.25rem;
}

.vvjc.height-large-550 > .vvjc-inner,
.vvjc.height-large-550 > .vvjc-inner > .vvjc-items {
  height: 35.375rem;
}

.vvjc.height-large-550 > .vvjc-inner > .vvjc-items > .vvjc-item {
  height: 34.375rem;
}

.vvjc > .vvjc-inner.max-width-300 {
  max-width: 300px;
  perspective: calc(var(--perspective, 360) * 1px);
}

.vvjc > .vvjc-inner.max-width-400 {
  max-width: 400px;
  perspective: calc(var(--perspective, 400) * 1px);
}

.vvjc > .vvjc-inner.max-width-500 {
  max-width: 500px;
  perspective: calc(var(--perspective, 520) * 1px);
}

.vvjc > .vvjc-inner.max-width-600 {
  max-width: 600px;
  perspective: calc(var(--perspective, 640) * 1px);
}

.vvjc > .vvjc-inner.max-width-700 {
  max-width: 700px;
  perspective: calc(var(--perspective, 780) * 1px);
}

.vvjc > .vvjc-inner.max-width-800 {
  max-width: 800px;
  perspective: calc(var(--perspective, 900) * 1px);
}

.vvjc > .vvjc-inner.max-width-900 {
  max-width: 900px;
  perspective: calc(var(--perspective, 1100) * 1px);
}

.vvjc > .vvjc-inner.max-width-1000 {
  max-width: 1000px !important;
  perspective: calc(var(--perspective, 1200) * 1px);
}

.vvjc .vvjc-item,
.vvjc .vvjc-item:not(.active) * {
  cursor: default;
  pointer-events: none;
}

.vvjc .vvjc-item.active a,
.vvjc .vvjc-item.active button {
  cursor: pointer;
  pointer-events: auto;
}

.vvjc .vvjc-nav .next-arrow,
.vvjc .vvjc-nav .prev-arrow {
  font-size: 1.5rem;
}

.vvjc .vvjc-nav .vvjc-nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 16px;
  transition: all 0.3s ease;
}

.vvjc .vvjc-nav > .time-in-seconds {
  opacity: 0;
  height: 0;
  padding: 0;
  margin: 0;
  width: 0;
  font-size: 0.5rem;
  line-height: 0;
}
.current-slide-number {
  padding-left: 0;
  padding-right: 0;
}
.vvjc .vvjc-nav button {
  opacity: 1;
  visibility: visible;
  padding: 6px 0;
  font-size: 1.125rem;
  margin: 0;
  min-width: 2rem;
  min-height: 2rem;
  font-weight: normal;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0.8;
}

.button.prev-arrow,
.button.next-arrow {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

.button.prev-arrow.vvjc-hidden,
.button.next-arrow.vvjc-hidden {
  opacity: 0;
  transform: translateX(-20px);
  visibility: hidden;
  pointer-events: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }

}

.vvjc .vvjc-nav span.current-slide-number {
  min-width: 2.5rem;
  min-height: 2.5rem;
  font-size: 0.875rem;
  font-weight: normal;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  position: relative;
  transform-origin: center;
  transition: transform 0.6s ease;
}

.vvjc .vvjc-nav span.current-slide-number .number {
  display: block;
}

.vvjc .vvjc-nav span.current-slide-number.rotating {
  animation: flip 1s ease forwards;
}

@keyframes flip {
  0% {
    transform: rotateY(0deg);
  }

  100% {
    transform: rotateY(180deg);
  }

}
