

.slider {
    flex-grow: 1;
    height: 100%;
    position: relative;

}

.slide-wrap{
    position: absolute;
    top: 50%;
    left: 5rem;
    height: fit-content;
    transform: translateY(-50%);
}

.slide-item{
    position: relative;
    border-radius: 1rem;
    height: calc(var(--w) + 2rem);
    width: var(--w);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0;
    margin-right: 1rem;
    cursor: pointer;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    font-size: 1.1rem;
    /* display: flex;
    flex-direction: column;
    align-items: flex-end; */
}


@keyframes slide-fadeOut {
    0% {
        opacity: 1;
        font-size: 1.1rem;
    }
    100% {
        opacity: 0;
        width: 0;
        height: 0;
        margin-right: 0;
        font-size: 0rem;
    }
    
}

@keyframes slide-fadeIn {
    0% {
        opacity: 0;
        width: 0;
        height: 0;
        margin-right: 0;
        font-size: 0rem;
    }
    100% {
        opacity: 1;
        margin-right: 1rem;
        width: var(--w);
        height: calc(var(--w) + 6rem);
        font-size: 1.1rem;
    }
}

.slide-item-fade-out {
    animation-name: slide-fadeOut;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
   
}

.slide-item-fade-in {
    animation-name: slide-fadeIn;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.slide-item img {
    width:100%;
    height: 100%;
    border-radius: inherit;
}

.slide-item.active {
    transition-delay: .2s;
    height: calc(var(--w) + 6rem);
    transition: all 0.5s ease-out;
}

.scale-1 {
    transition-delay: .2s;
    height: 15rem;
}

.slide-items{
    
}

.title-wrap{
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
    position: absolute;
    width: 100%;
    height: 20%;
    bottom: 0;
    left: 0;
    font-weight: 500;
    padding: .5rem .7rem ;
    box-shadow: 0 0 15px rgba(0, 0, 0,0.3);
    background-color: rgba(0, 0, 0, 0.5);
    background: rgb(0,0,0);
    background: linear-gradient(90deg, rgba(0,0,0,0.1175420168067223) 0%, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 100%);
    /* box-shadow: 0 0 15px rgba(0, 0, 0,0.3);
    background-color: rgba(0, 0, 0, 0.5); */
    overflow: hidden;
    display:flex;
    align-items:center;
}

.card-text{
    color: #fff;
}

.slider__btns{
    position: absolute;
    bottom: 15%;
    left:45%;
    display: flex;
    gap: 5rem;

}
.slider__btns button {
    transform: scale(3);
    outline:none;
    border-radius:100%;
    cursor:pointer;
    border: none;
    background-color: transparent;
}

.slider__btns button {
    color: var(--main-color);
}

.slider__btns button:hover i{
    transition: .3s ease-in-out;
    transform: scale(1.5);
}