:root {
    --time : 0.2s;
}

.fixed-line, .fixed-line-hover {
  width: 400px;
  height: 2px;
  border-radius: 4px;
  margin-left: auto; 
  margin-right: auto;
  left: 0;
  right: 0;
  position: absolute;
}

.circular-slider, .fixed-line, .fixed-line-hover {
  cursor: e-resize;
}

.fixed-line {
  bottom: 90px;
  z-index: 0;
  background: black;
}

.fixed-line-hover {
  background: black;
  opacity: 0;
  z-index: 1;
  transition: opacity 750ms ease, background 500ms ease;
}

.fixed-line-hover:hover {
  opacity: 1;
  background: #d1d1d1e3;
}

.wrapper {
    height:100vh;
    overflow:hidden;
    background-color:#f5f5f5;
    perspective: 800px;
    background: linear-gradient(135deg, #f3f3ff 0%,#5D687445 100%);
}

.circular-slider {
    position: relative;
    width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.card {
    position: absolute;
    background-color:#fff;
    border-radius:16px;
    box-shadow:
    0 3px 6px rgba(0,0,0,.2),
    0 8px 16px rgba(0,0,0,.15);
    backface-visibility: hidden;
    transform-style: preserve-3d;
    perspective:800px;
    width: 20rem;
    height: 20rem;
}

.card .content {
    font-size: 1.3rem;
    padding: 20px 15px;
    direction: rtl;
    box-sizing: border-box;
    width :100%;
    height:100%;
    color:#666;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align:center;
    position:absolute;
    transform-style: preserve-3d;
    transform:translateZ(2rem) rotateY(0deg);
    filter:drop-shadow(0px 0px 4px rgba(0,0,0,.2));
    color:#fff;
}

.card:nth-child(1) {
    background:linear-gradient(135deg, #CE9FFC 0%,#7367F0 100%);
}

.card:nth-child(6) {
    background:linear-gradient(135deg, #c3ec52aa 0%,#0ba29daa 100%);
}

.card:nth-child(3) {
    background:linear-gradient(135deg, #0FF0B388 0%,#036ED988 100%);
}

.card:nth-child(4) {
    background:linear-gradient(135deg, #fcdf8a 0%,#f38381 100%);
}

.card:nth-child(5) {
    background:linear-gradient(135deg, #fad961aa 0%,#f76b1caa 100%);
}

.card:nth-child(2) {
    background:linear-gradient(135deg, #f02fc2cc 0%,#6094eacc 100%);
}