html {
	font-size: 24px;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-content: center;
	width: 100%;
}

button {
	font-size: 24px;
}

body {
	width: 70%;
	max-width: 800px;
}

/* Use a media query to add a breakpoint at 800px: */
@media screen and (max-width: 800px) {
  body {
    width: 100%;
  }
}

input[type="file"] {
    display: none;
}

.custom-file-upload {
	display: inline-block;
	cursor: pointer;
}

.custom-file-upload button {
	pointer-events: none;
}

.output-area {
	display: flex;
	flex-wrap: nowrap;
	flex-direction: column;
	justify-content: start;
	gap: 1rem;
	padding-top: 1rem;
}


.image-block{
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-center;
	align-items: center;
	background-color: #f1f1f1;
	padding: 1rem;
	
	border: solid;
	border-color: gray;
	border-width: 4px;
	border-radius: 1rem;
}

.image-block > div {
	text-align: center;
	-webkit-box-flex: 1;
	-moz-box-flex: 1;
	box-flex: 1;
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto; 
}

.image-media {
	max-inline-size: 100%;
}

.image-media > img {
	max-width:100%;
	max-height:100%;
}


.image-controls {
	max-inline-size: 100%;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
}

.download-buttons  {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-around;
	align-items: center;
	gap: 2rem;
}

.download-buttons > a {
	color: black;
	font-family: sans-serif;
	text-decoration: none;
	padding: 0.5em;
	background-color: #e9e9ed;
	border: solid;
	border-color: gray;
	border-width: 1px;
	border-radius: 0.3rem;
}

.file-upload-section {
	/* todo */
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	text-align: center;
	background-color: #00aaaa33;
	padding: 0.5rem;
}

.detection-settings {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	text-align: center;
	background-color: #68e37a44;
	padding: 0.5rem;
}

.detection-settings > button {
	width: 100%;
	height: 3rem;
}

.threshold-settings {
	width: 100%;
	padding-top: 0.5rem;
	height: 3rem;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
}

.threshold-settings > button {
	width: 100%;
	height: 100%;
}