* {
	box-sizing: border-box;
}
body {
	font-family: system-ui, sans-serif;
	background: #222;
	color: #eee;
	margin: 0;
	padding: 0;
}
h1 {
	font-size: 22px;
	color: #ddd;
}
h1 span {
	font-size: 18px;
	color: #ccc;
	font-weight: 400;
}
h2 {
	margin-top: 40px;
}
hr {
	border-color: #222;
	margin: 0;
}
p {
	line-height: 1.5;
	font-size: 18px;
	color: #ddd;
	text-align: justify;
}
a {
	color: skyblue;
}
a:focus-visible {
	outline: 3px solid highlight;
}
#imagePreview {
  max-width: 100%;
  max-height: 400px;
}
.form-group {
  margin: 0 0 20px;
}
#outputDetails {
  margin-top: 20px;
}
#downloadButton {
	display: flex;
	justify-content: center;
	align-items: center;
  margin-top: 20px;
	padding: 16px 20px;
	font-size: 16px;
	cursor: pointer;
	background: deepskyblue;
	border: none;
	color: #000;
	border-radius: 5px;
}
#downloadButton:hover {
	background: lightskyblue;
}
#downloadButton svg {
	width: 20px;
	height: 20px;
}
#downloadButton:focus-visible {
	outline: 3px solid highlight;
}
label {
	display: block;
	margin-bottom: 8px;
}
input[type="file"],
select {
	font-size: 16px;
}
input[type="text"],
input[type="number"] {
	display: block;
	width: 100%;
	background: #555;
	color: #eee;
	padding: 8px 16px;
	border-radius: 5px;
	border: none;
	font-size: 16px;
}
.button-group {
  display: flex;
  gap: 10px;
}
.button-group input[type="radio"] {
	display: none;
}
.radio-button {
  display: inline-block;
  background-color: #444;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.radio-button input {
  display: none;
}
.radio-button:hover {
  background-color: #555;
}
input[type="file"] {
	display: none;
}
label[for="imageInput"] {
	background: #444;
	padding: 16px;
	border-radius: 8px;
	text-align: center;
	cursor: pointer;
}
label[for="imageInput"]:hover {
	background: #555;
}
label[for="imageInput"] svg {
	width: 40px;
	height: 40px;
}
/*#qualitySection {
	display: flex;
	justify-content: space-between;
	align-items: center;
}*/
label[for="quality"] {
	width: unset;
}
input#quality {
	width: unset;
}
input[type="radio"]:checked + label {
  background-color: #666;
  color: #fff;
}
.layout-header {
	background: #111;
}
@media (min-width:900px) {
	.layout-header {
		display: grid;
		grid-template-columns: 400px 1fr;
	}
	.layout-main {
		display: grid;
		grid-template-columns: 400px 1fr;
	}
}
@media (min-width:1100px) {
	.output {
		display: grid;
		grid-template-columns: 1fr 400px;
	}
}
.logo,
.sidebar,
.preview,
.details {
	padding: 30px;
}
.header {
	padding: 0 30px;
}
.logo a {
	color: #fff;
	text-decoration: none;
	font-size: 20px;
	font-weight: 700;
}
.sidebar {
	background: #111;
}
