* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.carousel-container {
    position: relative;
    
    overflow: hidden;
    display: flex;
    align-items: center;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: calc(100% * 7); /* Define o tamanho com base no número de itens */
}

.carousel-item {
    min-width: 10%; /* Mostra 4 itens de cada vez, ou seja, 100% / 4 = 25% */
    text-align: center;
    padding: 10px;
}

.carousel-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
