.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel .item {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel .item.active {
    opacity: 1;
    z-index: 1;
    position: relative;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    background: rgba(25, 25, 25, 0.5);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 2;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}