body {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	margin: 0;
	padding-left: 2rem;
	padding-right: 2rem;

	background-image: url("../background-mars.webp");
}

main {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: antiquewhite;
	padding: 1rem;
}

main > * {
	margin: 0.5em;
}

p {
	max-width: 60ch;
}

#parts {
	background-color: unset;
	display: grid;
	grid-gap: 10px;
	max-width: 80ch;

	grid-template-columns: 1fr 1fr;
}

@media only screen and (max-width: 500px) {
	#parts {
		display: flex;
		flex-direction: column;
	}
}

#parts div {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: grey;
	text-align: center;
}

#parts div p {
	margin: 6px;
}

#parts div div {
	min-height: 60px;
}

#parts div div img {
	max-width: 100%;
	max-height: 100%;
}

form {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 50ch;
}

form > * {
	margin: 0.2rem;
}

label :is(p, input) {
	box-sizing: border-box;
	margin: 0;
}

label p {
	padding: 3px;
}

label input {
	width: 100%;
}

.alert {
	padding: 15px;
	margin-bottom: 20px;
	border: 1px solid transparent;
	border-radius: 4px;
}

.alert-danger {
	color: #a94442;
	background-color: #f2dede;
	border-color: #ebccd1;
}

.alert-success {
	color: #3c763d;
	background-color: #dff0d8;
	border-color: #d6e9c6;
}
