@font-face {
	font-family: "MangaFont";
	src: url("../fonts/mangat.ttf") format("truetype");
}

body {
	font-family: "MangaFont", Arial, sans-serif;
	text-align: center;
	background-color: #f4f4f9;
	margin: 0;
	padding: 0;
}

header {
	background-color: #388e3c;
	color: white;
	padding: 20px 0;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
	max-width: 1000px;
	margin: 0 auto;
}

h1 {
	font-size: 2.5rem;
	margin-bottom: 10px;
}

p {
	font-size: 1rem;
}

a.github-link {
	display: inline-block;
	margin-top: 10px;
	font-size: 1rem;
	color: white;
	text-decoration: none;
	padding: 10px 15px;
	background-color: #2c6e2f;
	border-radius: 5px;
	box-shadow: 0 3px 7px rgba(0, 0, 0, 0.2);
	transition:
		background-color 0.3s,
		transform 0.3s;
}

a.github-link:hover {
	background-color: #4caf50;
	transform: scale(1.05);
}

.container {
	padding: 40px 20px;
}

.actions {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 1rem;
}

#translateButton {
	margin-bottom: 2rem;
}

#downloadButton {
	margin-bottom: 2rem;
}

#downloadButton a {
	text-decoration: none;
	color: white;
}

input[type="file"] {
	margin: 20px 0;
	padding: 12px;
	border: 2px solid #388e3c;
	border-radius: 8px;
	background-color: #fff;
	cursor: pointer;
	transition:
		border-color 0.3s,
		transform 0.3s;
}

input[type="file"]:hover {
	border-color: #4caf50;
}

button {
	padding: 12px 24px;
	background-color: #388e3c;
	color: white;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 16px;
	transition:
		background-color 0.3s,
		transform 0.3s;
}

button:hover {
	background-color: #4caf50;
	transform: scale(1.05);
}

.spinner {
	border: 16px solid #f3f3f3;
	border-top: 16px solid #388e3c;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 2s linear infinite;
	margin: 20px auto;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.images-container {
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
	gap: 20px;
	max-width: 1200px;
	margin: 0 auto;
}

.image-wrapper {
	width: 45%;
	background-color: #fff;
	padding: 10px;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.image-wrapper h3 {
	margin-bottom: 12px;
	font-size: 1.5rem;
	color: #333;
}

#fileInput::file-selector-button {
	padding: 12px 24px;
	background-color: #388e3c;
	color: white;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition:
		background-color 0.3s,
		transform 0.3s;
}

#fileInput::file-selector-button:hover {
	background-color: #4caf50;
	transform: scale(1.05);
}

select {
	padding: 12px 24px;
	border: 2px solid #388e3c;
	border-radius: 8px;
	background-color: #fff;
	color: #333;
	font-size: 16px;
	cursor: pointer;
	transition:
		border-color 0.3s,
		box-shadow 0.3s,
		transform 0.3s;
	margin: 20px 0;
	outline: none;
	font-family: "MangaFont", Arial, sans-serif;
}

select:focus,
select:hover {
	border-color: #4caf50;
	box-shadow: 0 2px 8px rgba(76, 175, 80, 0.15);
	transform: scale(1.02);
}
