body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: #333;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	background-color: #f9f9f9;
}

.main-container {
	background-color: white;
	border-radius: 10px;
	padding: 30px;
	display: flex;
	flex-direction: row;
}

.form-container {
	background-color: white;
	border-radius: 10px;
	padding: 30px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	width: 100%;
}

h1 {
	color: #ff0000;
	text-align: center;
	margin-bottom: 30px;
}

.form-group {
	margin-bottom: 20px;
}

label {
	display: block;
	margin-bottom: 10px;
	font-weight: 600;
}

input[type="text"] {
	width: 100%;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 10px;
	font-size: 16px;
	box-sizing: border-box;
}

button {
	background-color: #ff0000;
	color: white;
	border: none;
	padding: 12px 24px;
	border-radius: 10px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	transition: background-color 0.3s;
}

button:hover {
	background-color: #cc0000;
}

.result {
	margin-top: 30px;
	display: none;
	text-align: center;
}

.thumbnail {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin-bottom: 15px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.download-btn {
	background-color: #4CAF50;
	margin-top: 15px;
}

.download-btn:hover {
	background-color: #45a049;
}

.error {
	color: #ff0000;
	margin-top: 10px;
	display: none;
}

.ad-top {
	margin: 20px 0;
	padding: 15px;
	background-color: #f0f0f0;
	border-radius: 5px;
	text-align: center;
}

.ad-bottom {
	margin: 20px 0;
	padding: 15px;
	background-color: #f0f0f0;
	border-radius: 5px;
	text-align: center;
}

.ad-bottom p {
	margin: 0;
	font-size: 12px;
	color: #666;
}

.ad-side {
	position: sticky;
	/* top: 50%; */
	/* transform: translateY(-50%); */
	width: 300px;
	height: 700px;
	background-color: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 5px;
}

.ad-left {
	/* left: 10px; */
	right: 20px;
}

.ad-right {
	right: 10px;
}

@media (max-width: 1000px) {
	.ad-side {
		display: none;
	}
}

footer {
	margin-top: 40px;
	text-align: center;
	color: #666;
	font-size: 14px;
}