 
.work__article{
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--slate-600);
  margin-bottom: 1rem;
}

.work__description-content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.work__description{
  font-size: var(--p);
  max-width: 95%;
  text-align: justify;
}


.carousel {
    position: relative;
    width: 100%;
    max-width: 650px;
    /* height: 300px; */
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.carousel-item .slide-image {
    width: 100%;
    max-width: 650px;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    border: none;
    top: 0;
    left: 100%;
}

.carousel-item.active {
    left: 0;
    transition: all 0.3s ease-out;
}

.carousel-item div {
    height: 100%;
}

















/* xs */
/* @media (min-width:475px) {} */

/* sm */
@media (min-width:640px) {
  .work__description {
    max-width: 90%;
  }
}

/* md */
/* @media (min-width:768px) {} */

/* lg */
@media (min-width:1024px) {
  .work__article{
    grid-template-columns: repeat(2,1fr);
  }
    .work__description {
    max-width: 85%;
  }

  .work__article:nth-child(even){
    direction: rtl;
  }
  .work__article:nth-child(even)> *{
    direction: ltr;
  }
}  

/* xl */
@media (min-width:1280px) {
    .work__description {
    max-width: 80%;
  }
}

/* 2xl */
@media (min-width:1536px) {
  .work__description {
    max-width: 75%;
  }
}






