
#carousel_manual {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    margin-top: -10rem;
    z-index: 2;
}

.carousel-track {
    display: flex;
    align-items: center;
    transition: transform 0.6s ease;
}

#carousel_manual img {
    width: 30%;
    height: auto;
    opacity: 0.6;
    transform: scale(0.8);
    transition: transform 0.6s ease, opacity 0.6s ease;
    pointer-events: none;

    border: 2px solid black;
    border-radius: 10px;
    box-sizing: border-box;
}

#carousel_manual img.active {
    width: 40%;
    opacity: 1;
    transform: scale(1);
}

/* pulsanti */
#carousel_manual button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 10;
}

#carousel_manual .prev {
    left: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid black;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;}
#carousel_manual .next {
    right: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid black;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;}

#carousel_manual button:hover {
    background-color: rgba(255, 255, 255, 1);
}
