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

body {
	font-family: sans-serif;
	background-color: #f1f1f1;
	overflow-x: hidden;
}

.button-container {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: max-content;
	justify-content: center;
	align-items: center;
	gap: 16px;
	margin: 30px auto;
	font-size: 1.1rem;
}

.button-container a {
	text-decoration: none;
	color: #444;
	padding: 12px 20px;
	border: 4px solid #ddd;
	border-radius: 12px;
	background-color: white;
	box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.06);
	opacity: 0.6;
	display: inline-block;
	transition: all 0.6s ease-in-out;
}

.button-container a:hover {
	opacity: 1;
	transform: scale(1.05);
	box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.1);
	border-color: #cc181e;
}

.main-content {
	display: grid;
	grid-template-rows: auto auto auto;
	row-gap: 40px;
	padding-bottom: 120px;
}

.article-container {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: flex-start;
	gap: 24px;
	padding: 10px 20px 60px;
	margin-top: 0px;
	overflow-x: auto;
	flex-wrap: nowrap;
}

.article-button {
	width: 300px;
	height: 60px;
	margin-top: 40px;
	background-color: white;
	border: 4px solid #ddd;
	border-radius: 12px;
	padding: 12px;
	color: #333;
	opacity: 0.6;
	box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.06);
	transition: all 0.6s ease-in-out;
	display: flex;
	flex-direction: column;
	white-space: nowrap;
	overflow: hidden;
	text-decoration: none;
	flex-shrink: 0;
}

.article-button:hover {
	width: auto;
	min-width: 300px;
	max-width: 400px;
	height: 260px;
	opacity: 1;
	padding: 20px;
	overflow-y: auto;
	white-space: normal;
	z-index: 1;
	box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.12);
	border-color: #cc181e;
}

.article-button h3 {
	font-size: 1rem;
	margin-bottom: 10px;
	transition: all 0.6s ease-in-out;
}

.article-button:hover h3 {
	font-size: 1.3rem;
}

.article-button p {
	font-size: 0.85rem;
	line-height: 1.4;
	opacity: 0;
	max-height: 0;
	transition: all 0.6s ease-in-out;
	overflow: hidden;
}

.article-button:hover p {
	opacity: 1;
	max-height: 200px;
	overflow-y: auto;
}

.form-section {
	margin-top: 20px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.form-section label {
	font-size: 1.1rem;
	color: #444;
}

.form-section input {
	padding: 12px 20px;
	font-size: 1rem;
	border: 4px solid #ddd;
	border-radius: 12px;
	background-color: white;
	box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.06);
	opacity: 0.6;
	text-align: center;
	margin-bottom: 0px;
	transition: all 0.3s ease-in-out;
	cursor: text;
}

.form-section input:hover {
	opacity: 1;
	transform: scale(1.05);
	border-color: #cc181e;
	box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.1);
}

.form-section input:active {
	transform: scale(0.97);
	background-color: #f8d7da;
	box-shadow: inset 2px 2px 6px rgba(0, 0, 0, 0.08);
}

.video-container {
	position: fixed;
	bottom: 100px;
	left: 0;
	width: 100%;
	height: 240px;
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none;
	z-index: 5;
	background-color: transparent;
}

.scroll-track {
	display: flex;
	gap: 16px;
	padding-left: 50vw;
	padding-right: 50vw;
	margin-left: -50vw;
	pointer-events: auto;
}

.video-frame {
	width: 400px;
	height: 225px;
	background-color: #fff;
	border: 4px solid #ddd;
	border-radius: 12px;
	box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.06);
	opacity: 0.4;
	transition: all 0.6s ease-in-out;
	flex-shrink: 0;
	pointer-events: auto;
	position: relative;
}

.video-frame:hover {
	transform: scale(1.6);
	opacity: 1;
	z-index: 10;
	border-color: #cc181e;
	box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.12);
	margin-left: 60px;
	margin-right: 60px;
}

.video-frame iframe {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	border: none;
}

@media (max-width: 768px) {
	.main-content {
		display: grid;
		grid-template-rows: auto auto auto;
		row-gap: 40px;
		padding-bottom: 120px;
	}

	.article-container {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
		overflow: visible;
	}

	.article-button {
		width: 90%;
		max-width: 280px;
		padding: 16px;
		margin-top: 24px;
		height: auto;
		opacity: 1;
		white-space: normal;
		max-height: 400px;
		overflow-y: auto;
	}

	.article-button h3 {
		font-size: 1rem;
	}

	.article-button p {
		opacity: 1;
		max-height: none;
		overflow: visible;
		font-size: 0.85rem;
		line-height: 1.4;
	}

	.video-container {
		display: flex;
		position: relative;
		bottom: auto;
		height: auto;
		padding: 20px 0;
		margin: 0 auto;
		overflow-x: auto;
		z-index: 1;
	}

	.scroll-track {
		display: flex;
		gap: 16px;
		transform: none;
	}

	.video-frame {
		width: 240px;
		height: 135px;
		opacity: 1;
	}

	.video-frame:hover {
		transform: scale(1.1);
		margin-left: 30px;
		margin-right: 30px;
	}

	.video-frame iframe {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}
