.mycarousel {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 400px;
    position: relative;
    background-color: rgba(6, 18, 31, 0.9);
}

.items {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    user-select: none;
}

.items .item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 200px;
    border-radius: 1rem;
    background-color: #fff;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    overflow: hidden;
    transition: all 400ms ease-in-out;
    z-index: -1;
    display: flex;
    flex-direction: column;
    text-align: start !important;
}
.items .item .profile-icon{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3rem;
    width: 3rem;
    border-radius: 1.5rem;
}

.myoverflow{
    font-size: 0.9rem;
    width : 100%;
    overflow:hidden;
    margin: auto;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* .item .item-icon {
    width: 100%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    background-color: transparent;
}

.item .item-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background-color: rgba(200, 200, 200, 0.2);
    color: #555;
    border-radius: 1.5rem;
    z-index: -1;
    transition: background-color 0.3s, height 0.5s;
} */

/* .item:hover .item-icon::before {
    background-color: rgba(200, 200, 200, 0.8);
}

.item.active .item-icon::before {
    height: 100%;
    background-image: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark), rgb(151, 17, 19));
}

.item .item-icon i {
    transition: transform 0.3s;
}

.item.active .item-icon i {
    transform: scaleX(1.3) scaleY(1.3);
} */

/* .item .item-title {
    padding-top: 10px;
    font-size: 1.2rem;
    font-weight: 500;
}
.item.active .item-title {
    font-size: 1.5rem;
    font-weight: 700;
} */

/* .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
} */

.item.active {
    opacity: 1;
    color: var(--color-secondary-text);
    /* color: var(--color-primary); */
    z-index: 99;
    /* box-shadow: 0px 0px 50px -35px rgba(0, 0, 0, 0.75); */
    box-shadow: 0px 0px 75px -35px rgba(0, 0, 0, 1);
}

.item.prev {
    z-index: 2;
    opacity: 0.25;
    transform: translate(-170%, -50%);
}

.item.next {
    z-index: 2;
    opacity: 0.25;
    transform: translate(70%, -50%);
}

.mycarousel .button {
    position: absolute;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 25px;
    font-size: 32px;
    color: #fff;
    text-align: center;
    opacity: 0.74;
    background-color: rgba(0, 0, 0, 1);
    transition: all 300ms ease-in-out;
    top: calc(50% - 25px);
}
@media (max-width: 1199.98px) {
    .mycarousel .button {
        top: calc(90% - 25px);
    }
}

.mycarousel .button:hover {
    opacity: 1;
}

.mycarousel .button.button-left {
    left: 30px;
}

.mycarousel .button.button-right {
    right: 30px;
}

.item.prevprev {
    z-index: 2;
    opacity: 0.25;
    transform: translate(-280%, -50%);
}

.item.nextnext {
    z-index: 2;
    opacity: 0.25;
    transform: translate(180%, -50%);
}


/* /////////////////// */

#z-index-carrousel .carrousel-item{
    z-index: 1;
    opacity: 0.8;
    scale: 1;
    transition: all 800ms ease;
}

/* #z-index-carrousel .carrousel-item.z-index-0{
    z-index: 5 !important;
    transition: all 2s ease;
}
#z-index-carrousel .carrousel-item.z-index-1{
    z-index: 6 !important;
    transition: all 1s linear;
} */
#z-index-carrousel .carrousel-item.z-index-front{
    z-index: 7 !important;
    opacity: 1 !important;
    scale: 1.1 !important;
    transition: all 800ms ease;
}
