.item p {
    font-size: 30px;
    font-weight: bold;
    font-style: italic;
    color: yellow;
}

.scrolling-container {
     width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background-color: #f0f0f0; /* Add background color */
    padding: 20px; /* Optional: add padding for better spacing */
    border-radius: 50px; /* Optional: add rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: add box shadow */
}

.scrolling-content {
    display: inline-block;
    animation: scroll 30s linear infinite;
}

.item {
    display: inline-block;
    width: 400px;
    margin: 0 10px;
    text-align: center;
    position: relative;
}

.item img {
    width: 100%;
    height: auto;
    max-height: 300px; /* Adjust image height as needed */
    display: block;
    border-radius: 10%;
}

.text {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
