.content-slider {
  position: relative;
  width: 100%;
  height: 720px;
}

.slider {
    display: block;
    list-style-type: disc;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}

.item {
  display: list-item;
  width: 200px;
  height: 300px;
  list-style-type: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  background-position: center;
  background-size: cover;
  border-radius: 20px;
  box-shadow: 0 20px 30px rgba(255,255,255,0.3) inset;
  transition: transform 0.1s, left 0.75s, top 0.75s, width 0.75s, height 0.75s;
}

.item:nth-child(1),
.item:nth-child(2) {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
}

.item:nth-child(3) { left: 72%; }
.item:nth-child(4) { left: calc(72% + 220px); }
.item:nth-child(5) { left: calc(72% + 440px); }
.item:nth-child(6) { left: calc(72% + 660px); opacity: 0; }

.content-item {
  width: min(30vw,400px);
  position: absolute;
  top: 50%;
  left: 3rem;
  transform: translateY(-50%);
  font: 400 0.85rem helvetica,sans-serif;
  color: white;
  text-shadow: 0 3px 8px rgba(0,0,0,0.5);
  opacity: 0;
  display: none;
  background: rgba(0,0,0,0.5);
  border-radius: 8px;
  padding: 20px;
}

.content-item .title {
  font-family: 'Montserrat', sans-serif;
  color: var(--secondary-color);
  text-transform: uppercase;
}

.content-item .description {
  font-family: 'Roboto', sans-serif;
  color: var(--terciary-color);
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  font-size: 0.8rem;
  text-align: justify;
}

.content-item button {
  width: fit-content;
  background-color: rgba(0,0,0,0.1);
  color: white;
  border: 2px solid white;
  border-radius: 0.25rem;
  padding: 0.75rem;
  cursor: pointer;
}


.item:nth-of-type(2) .content-item {
  display: block;
  animation: show 0.75s ease-in-out 0.3s forwards;
}

@keyframes show {
  0% {
    filter: blur(5px);
    transform: translateY(calc(-50% + 75px));
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}
.nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  user-select: none;
}

.nav .btn {
  background-color: rgba(27,27,27,0.8);
  color: var(--light-gray-color);
  border: 2px solid var(--light-gray-color);
  margin: 0 0.25rem;
  padding: 0.75rem;
  border-radius: 50%;
  cursor: pointer;
}

.nav .btn:hover {
  background-color: rgba(255,219,77,0.8);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

@media (width > 900px) and (width < 1600px) {
  .item {
    transform: translate(-50%, -50%);
    width: 160px;
    height: 220px;
  }
  
}

@media (width > 650px) and (width < 900px) {
  .content-item .title        { font-size: 1rem; }
  .content-item .description  { font-size: 0.7rem; }
  .content-item button        { font-size: 0.7rem; }

  .item {
    width: 160px;
    height: 270px;
  }
  .item:nth-child(3) { left: 50%; }
  .item:nth-child(4) { left: calc(50% + 170px); }
  .item:nth-child(5) { left: calc(50% + 340px); }
  .item:nth-child(6) { left: calc(50% + 510px); opacity: 0; }
}

@media (width < 650px) {
  .content-item .title        { font-size: 0.9rem; }
  .content-item .description  { font-size: 0.65rem; }
  .content-item button        { font-size: 0.7rem; }

  .item {
    display: none;
    width: 130px;
    height: 220px;
  }
  .item:nth-child(3) { left: 50%; }
  .item:nth-child(4) { left: calc(50% + 140px); }
  .item:nth-child(5) { left: calc(50% + 280px); }
  .item:nth-child(6) { left: calc(50% + 420px); opacity: 0; }
}