/* page styles */
.ax-hidden {
  visibility: hidden;
  position: absolute;
}

/* crsl styles */
.crsl {
  --crsl-height: 400px;
  --crsl-width: 1000px;
  --crsl-item-height: 70%;
  /* --crsl-item-height: 250px; */
  /* --crsl-item-width: 100%; */
  /* height: 250px; */

  /* width: 100%; */
}

.crsl-container {
  /* align-items: center; */
  margin-top: -50px;
  display: flex;
  min-height: var(--crsl-height);
  margin: 0 auto;
  max-width: var(--crsl-width);
  position: relative;
}

.crsl-item {
  height: var(--crsl-item-height);
  opacity: 0;
  position: absolute;
  transform: translateX(-50%);
  transition: all 0.3s ease-in-out;
  width: var(--crsl-item-width);
  z-index: 0;
  /* border: 2px solid black; */
  border-radius: 10px;
}

.crsl-item-1 {
  left: 15%;
  opacity: 0.4;
}

.crsl-item-2,
.crsl-item-4 {
  height: calc(var(--crsl-item-height) * 1.5);
  opacity: 1;
  width: calc(var(--crsl-item-width) * 1.5);
  z-index: 1;
}

.crsl-item-2 {
  left: 30%;
}

.crsl-item-3 {
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 0 60px rgba(255, 255, 255, 0.45), 0 0 110px rgba(255, 255, 255, 0.25), 0 0 100px rgba(255, 255, 255, 0.1);
  height: calc(var(--crsl-item-height) * 2);
  opacity: 1;
  left: 50%;
  width: calc(var(--crsl-item-width) * 2);
  z-index: 2;
}

.crsl-item-4 {
  left: 70%;
}

.crsl-item-5 {
  left: 85%;
  opacity: 0.4;
}

.crsl-controls {
  display: flex;
  justify-content: center;
  margin-top: 185px;
  margin-bottom: 65px;
}

/* crsl button styles */
.crsl-control {  
  background-color: transparent;
  border: 2px solid;
  border-radius: 4px;
  color: #aaa;
  cursor: pointer;
  height: 22px;
  margin: 0 20px;
  position: relative;
  transform: scale(1.5);
  transition: transform 0.5s ease-out;
  /* width: 22px; */
}

.crsl-control:hover {
  transform: scale(1.3);
}

/* previous button */
.crsl-control-previous::after,
.crsl-control-previous::before {
  box-sizing: border-box; 
  content: '';
  display: block;
  height: 8px;
  position: absolute;
  top: 5px
}
.crsl-control-previous::before {
  background: currentColor;
  border-radius: 2px;
  right: 11px;
  width: 2px;
}
.crsl-control-previous::after {
  border-bottom: 4px solid transparent;
  border-right: 5px solid;
  border-top: 4px solid transparent;
  right: 5px;
  width: 0;
}

/* next button */
.crsl-control-next::after,
.crsl-control-next::before {
  box-sizing: border-box;
  content: "";
  display: block;
  height: 8px;
  position: absolute;
  top: 5px
}
.crsl-control-next::before {
  background: currentColor;
  border-radius: 2px;
  left: 11px;
  width: 2px;
}
.crsl-control-next::after {
  border-bottom: 4px solid transparent;
  border-left: 5px solid;
  border-top: 4px solid transparent;
  left: 5px;
  width: 0;
}

/* play button */
.crsl-control-play::before {
  border-bottom: 5px solid transparent;
  border-left: 6px solid;
  border-top: 5px solid transparent;
  box-sizing: border-box;
  content: "";
  display: block;
  height: 10px;
  position: absolute;
  left: 7px;
  top: 4px;
  width: 0;
}

/* pause button */
.crsl-control-play.playing::before {
  border-bottom: 0;
  border-left: 2px solid;
  border-right: 2px solid;
  border-top: 0;
  box-sizing: border-box;
  content: "";
  display: block;
  height: 6px;
  position: absolute;
  left: 6px;
  top: 6px; 
  width: 6px;
}

/* add button */
.crsl-control-add::after,
.crsl-control-add::before {
  background: currentColor;
  border-radius: 5px;
  box-sizing: border-box;
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  left: 4px;
  top: 8px;
  width: 10px;
}
.crsl-control-add::after {
  height: 10px;
  left: 8px;
  top: 4px;
  width: 2px;
}