html {
	box-sizing: border-box;
}

*, :before, :after {
	box-sizing: inherit;
}

.column {
	float: left;
	width: 33.3%;
	margin-bottom: 16px;
	padding: 0 8px;
}

@media screen and (max-width: 650px) {
	.column {
		width: 100%;
		display: block;
	}
}

.card {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.container {
	padding: 0 16px;
}

.container::after, .row::after {
	content: "";
	clear: both;
	display: table;
}

.title {
	color: grey;
}

.button {
	border: none;
	outline: 0;
	display: inline-block;
	padding: 8px;
	color: white;
	background-color: #000;
	text-align: center;
	cursor: pointer;
	width: 100%;
}

.button:hover {
	background-color: #555;
}

div.gallery {
	border: 1px solid #ccc;
}

div.gallery:hover {
	border: 1px solid #777;
}

div.gallery img {
	width: 100%;
	height: auto;
}

div.desc {
	padding: 15px;
	text-align: center;
	height: 400px;
}

* {
	box-sizing: border-box;
}

.responsive {
	padding: 0 6px;
	float: left;
	width: 24.99999%;
}

@media only screen and (max-width: 700px) {
	.responsive {
		width: 49.99999%;
		margin: 6px 0;
	}
}

@media only screen and (max-width: 500px) {
	.responsive {
		width: 100%;
	}
}

.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

.news-container {
	position: relative;
	font-family: "Roboto", sans-serif;
	box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.3);
	overflow: hidden;
/* Hide overflowing content */
}

.news-container .title {
	position: absolute;
	background: black;
	height: 100%;
	display: flex;
	align-items: center;
	padding: 0 24px;
	color: white;
	font-weight: bold;
	z-index: 200;
	left: 0;
/* Positioning the title to the left */
}

.news-container ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	animation: scroll 15s infinite linear;
/* Apply animation directly to  element */
}

.news-container ul li {
	white-space: nowrap;
	padding: 10px 24px;
	color: #494949;
}

/* Pause the animation on hover */
.news-container:hover ul {
	animation-play-state: paused;
}

@keyframes scroll {
	from {
		transform: translateX(100%);
	}
	
	to {
		transform: translateX(-100%);
	/* Adjust to -100% to ensure continuous scrolling */
	}
}