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

/* 3d_carousel */
.vvjc,
.vvjc * {
  box-sizing: border-box;
}

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

.vvjc > .vvjc-inner {
  max-height: 38.125rem;
  perspective: 40rem;
  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, opacity 1s;
}

.vvjc .vvjc-nav {
  min-height: 48px;
  width: 100%;
}

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

.vvjc.height-large-100 > .vvjc-inner,
.vvjc.height-large-100 > .vvjc-inner > .vvjc-items {
  height: 10rem; /* 160px / 16px */
}

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

.vvjc.height-large-150 > .vvjc-inner,
.vvjc.height-large-150 > .vvjc-inner > .vvjc-items {
  height: 13.125rem; /* 210px / 16px */
}

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

.vvjc.height-large-200 > .vvjc-inner,
.vvjc.height-large-200 > .vvjc-inner > .vvjc-items {
  height: 16.25rem; /* 260px / 16px */
}

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

.vvjc.height-large-250 > .vvjc-inner,
.vvjc.height-large-250 > .vvjc-inner > .vvjc-items {
  height: 19.375rem; /* 310px / 16px */
}

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

.vvjc.height-large-300 > .vvjc-inner,
.vvjc.height-large-300 > .vvjc-inner > .vvjc-items {
  height: 22.5rem; /* 360px / 16px */
}

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

.vvjc.height-large-350 > .vvjc-inner,
.vvjc.height-large-350 > .vvjc-inner > .vvjc-items {
  height: 25.625rem; /* 410px / 16px */
}

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

.vvjc.height-large-400 > .vvjc-inner,
.vvjc.height-large-400 > .vvjc-inner > .vvjc-items {
  height: 28.75rem; /* 460px / 16px */
}

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

.vvjc.height-large-450 > .vvjc-inner,
.vvjc.height-large-450 > .vvjc-inner > .vvjc-items {
  height: 31.875rem; /* 510px / 16px */
}

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

.vvjc.height-large-500 > .vvjc-inner,
.vvjc.height-large-500 > .vvjc-inner > .vvjc-items {
  height: 35rem; /* 560px / 16px */
}

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

.vvjc.height-large-550 > .vvjc-inner,
.vvjc.height-large-550 > .vvjc-inner > .vvjc-items {
  height: 38.125rem; /* 610px / 16px */
}

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

.vvjc > .vvjc-inner.max-width-300 {
  max-width: 18.75rem;
  perspective: 22rem;
}

.vvjc > .vvjc-inner.max-width-400 {
  max-width: 25rem;
  perspective: 24rem;
}

.vvjc > .vvjc-inner.max-width-500 {
  max-width: 31.25rem;
  perspective: 26rem;
}

.vvjc > .vvjc-inner.max-width-600 {
  max-width: 37.5rem;
  perspective: 28rem;
}

.vvjc > .vvjc-inner.max-width-700 {
  max-width: 43.75rem;
  perspective: 30rem;
}

.vvjc > .vvjc-inner.max-width-800 {
  max-width: 50rem;
  perspective: 32rem;
}

.vvjc > .vvjc-inner.max-width-900 {
  max-width: 56.25rem;
  perspective: 34rem;
}

.vvjc > .vvjc-inner.max-width-1000 {
  max-width: 62.5rem !important;
  perspective: 40rem;
}

.vvjc .vvjc-item:hover * {
  cursor: default;
  pointer-events: none;
}

.vvjc .vvjc-item.active:hover a {
  cursor: pointer;
  pointer-events: initial;
}

.vvjc .vvjc-nav .next-arrow,
.vvjc .vvjc-nav .prev-arrow {
  font-size: 24px;
}

.vvjc .vvjc-nav .vvjc-nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 12px;
}

.vvjc .vvjc-nav > .time-in-seconds {
  opacity: 0;
  height: 0;
  padding: 0;
  margin: 0;
  width: 0;
  font-size: 8px;
  line-height: 0;
}

.vvjc .vvjc-nav .button {
  transition: opacity 0.5s, visibility 0.5s;
  opacity: 1;
  visibility: visible;
  padding: 12px;
  font-size: 18px;
  margin: 0;
}

.vvjc .vvjc-nav .button,
.vvjc .vvjc-nav .current-slide-number {
  min-width: 48px;
  min-height: 48px;
  font-weight: normal;
  transition: width 0.2s ease-in-out;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vvjc .vvjc-nav .current-slide-number {
  font-size: 14px;
  cursor: default;
}

.vvjc .vvjc-nav .next-arrow.hidden,
.vvjc .vvjc-nav .prev-arrow.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0s 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }

}
