/* assets/css/style.css */

/* Base */
.cf3d { position: relative; width: 100%; display: block; }
.cf3d-ring { transform-style: preserve-3d; }
.cf3d-slide { backface-visibility: hidden; }
.cf3d-link { display: inline-block; }

/* Basic design */
.cf3d--basic { padding: 40px 64px; }
.cf3d--basic .cf3d-ring { margin: 0 auto; }
.cf3d--basic .cf3d-slide img {
  display: block;
  width: var(--w, 180px);
  height: auto;
  object-fit: cover;
  -webkit-box-reflect: below 6px linear-gradient(transparent, rgba(0,0,0,.35));
}

/* Arrows */
.cf3d--basic .cf3d-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(255,255,255,.08);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 22px;
  line-height: 44px;
  text-align: center;
  color: #fff;
  backdrop-filter: blur(6px);
  z-index: 5;
}
.cf3d--basic .cf3d-prev { left: 16px; }
.cf3d--basic .cf3d-next { right: 16px; }
.cf3d--basic .cf3d-nav:hover { background: rgba(255,255,255,.18); }
.cf3d--basic .cf3d-nav:focus { outline: 2px solid #00e0ff; outline-offset: 3px; }

/* Responsive paddings */
@media (max-width: 1024px) {
  .cf3d--basic { padding: 32px 48px; }
}
@media (max-width: 640px) {
  .cf3d--basic { padding: 24px 36px; }
}
