:root {
	font-size: 24px;
	font-family: 'Google Sans', sans-serif;

	--primary: #0b57d0;
	--primary-container: #d3e3fd;
	--on-primary: #ffffff;
	--on-primary-container: #041e49;
	--inverse-primary: #a8c7fa;

	--secondary: #00639b;
	--secondary-container: #c2e7ff;
	--on-secondary: #ffffff;
	--on-secondary-container: #001d35;
}

#app {
	display: flex;
	flex-basis: 50% 50%;
	gap: 2em;
	padding: 2rem;
}

#plate {
	position: relative;
	flex-grow: 1;
	min-width: 9in;
	min-height: 9in;
	max-width: 9in;
	max-height: 9in;
	overflow: hidden;
	border: 2px dashed #aaa;
	border-radius: 1em;
	text-align: center;
	padding: 1em;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

#google-logo {
	position: absolute;
	width: 4em;
}

#who-link {
	position: absolute;
	right: 1em;
	font-size: 1em;
	line-height: 1;
	color: #aaa;
}

#plate-text {
	line-height: normal;
}

#name {
	font-size: 3.5em;
	margin-block-start: 1.2em;
}

#title {
	font-size: 1.5em;
	margin-block: 0.8em 1.2em;
}

#plate-image {
	flex-grow: 1;
	min-height: 40%;
	object-fit: contain;
}

#options-wrapper {
	flex-grow: 1;
	display: grid;
	align-items: start;
	align-content: space-between;
	justify-content: center;
}

#options :is(h1, h2) {
	margin: 0;
}

#radioButtonGrid {
	margin-block: 1em 0.25em;
	max-width: 14em;
}

input[type='radio'] {
	display: none;
}

input[type='radio'] + label {
	background-image: url('');
	background-size: cover;
	border: 3px solid white;
	outline: 3px solid transparent;
	border-radius: 8px;
	height: 3em;
	width: 3em;
	display: inline-block;
	padding: 0;
	margin: 4px;
}

input[type='radio']:checked + label {
	outline-color: #4285f4;
}

#url {
	display: block;
}

input[type='url'] {
	font-size: 16px;
	background-color: white;
	color: black;
	height: 3em;
	width: 75%;
	border: 3px solid black;
	font-family: 'Google Sans';
	border-radius: 1.5em;
	margin-top: 3em;
	display: block;
	margin-block: 0.5em 2em;
	padding: 1em;
	text-align: center;
}

button {
	font-size: 16px;
	background-color: black;
	color: white;
	height: 3em;
	width: 75%;
	border: 0;
	font-family: 'Google Sans';
	border-radius: 1.5em;
	margin-top: 3em;
	display: block;
	margin-block: 0.4em;
}

a {
	border-bottom: 4px solid #4285f477;
	justify-self: flex-start;
}

a:hover {
	border-bottom: 4px solid #4285f4;
	justify-self: flex-start;
}
