.carousel-container {
	overflow: hidden;
	white-space: nowrap;
	background: #fff;
	padding: 8px 0;
	border-radius: 8px;
	border: 1.5px solid #ededed;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	margin-top: 20px;

	opacity: 0;
	transform: translateY(50px);
	transition: opacity 1s ease, transform 1s ease;
}

.carousel-container.visible {
	opacity: 1;
	transform: translateY(0);
}

.carousel-track {
	display: inline-block;
	animation: scroll 50s linear infinite;
}

.carousel-container:hover .carousel-track {
	animation-play-state: paused;
}

.carousel-item {
	display: inline-block;
	width: 180px;
	height: 100px;
	margin: 8px 25px;
	text-align: center;
	cursor: pointer;
	transition: 0.3s ease-in-out;
}

.carousel-item img {
	max-height: 100%;
	max-width: 100%;
	display: inline-block;
	vertical-align: middle;
	object-fit: contain;
}

.carousel-item:hover {
	transform: scale(1.1);
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

@media (max-width: 1024px) {
	.carousel-item {
		width: 150px;
		height: 100px;
		margin: 8px 18px;
	}

	.carousel-item img {
		max-height: 100%;
	}
}

@media (max-width: 600px) {
	.carousel-item {
		width: 120px;
		height: 80px;
		margin: 6px 12px;
	}

	.carousel-item img {
		max-height: 100%;
	}
}
