#collections-carousel {
    width: 100%;
    height: 60vh;
    background: rgb(158, 158, 158);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.carousel-slide {
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s, transform 0.7s;
    opacity: 1;
    background: #fff;
    position: absolute;
}

.carousel-content {
    width: 60%;
    height: auto;
    padding: 0;
    position: absolute;
    display: inline-block;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.65);
    padding: 0.5vw;
    text-align: center;
    border-radius: 18px;
}

.animate-in {
    opacity: 0;
    transform: translateX(100vw);
    animation: slideIn 0.7s forwards;
}

.animate-out {
    opacity: 0;
    transform: translateX(-100vw);
    transition: opacity 0.7s, transform 0.7s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel-content h1 {
    font-size: 1.5rem;
    margin: 0 0;
    padding: 0;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: #66666677;
}

.carousel-content p {
    font-size: 0.8rem;
    padding: 0 0;
    margin: 0 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carousel-content h3 {
    font-size: 0.7rem;
    margin: 0 0;
    padding: 0;
    bottom: 10px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: #66666677;
}

.btn.btn-primary {
    margin-top: 10px;
    background-color: darkorchid;
    color: white;
    padding: 0.3rem 0.4rem;
    border: none;
    border-radius: 0.35rem;
    cursor: pointer;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    #collections-carousel {
        height: 20lvh;
    }

    .carousel-slide {
        height: 40lvh;
    }

    .carousel-content {
        width: 60%;
    }

    .carousel-content h1 {
        font-size: 0.7rem;
    }

    .carousel-content p {
        font-size: 0.5rem;
    }

    .carousel-content h3 {
        font-size: 0.4rem;
    }
}

@media screen and (max-width: 480px) {
    #collections-carousel {
        height: 30lvh;
        width: 100%;
    }

    .carousel-slide {
        height: 30lvh;
    }

    .carousel-image {
        width: 100%;
        height: auto;
    }

    .carousel-content {
        width: 70vw;
        padding: 0.3vw;
    }

    .carousel-content h1 {
        font-size: 1rem;
    }

    .carousel-content p {
        font-size: 0.6rem;
    }

    .carousel-content h3 {
        font-size: 0.5rem;
    }

    .btn.btn-primary {
        padding: 0.2rem 0.3rem;
        margin-bottom: 15px;
    }
}