@import url('https://fonts.googleapis.com/css2?family=Short+Stack&display=swap');
body {
	max-width: 800px;
	margin: 5rem auto;
	padding: 0 1.5rem;
	font-family: 'Short Stack', cursive;
	font-size: 1.4rem;
	line-height: 1.5;
}

h1, h2, h3 {
	color: #3c3c3c;
	margin-bottom: 0;
}
ul li {
	margin-bottom: 0.5em;
}
ul li small {
	color: #555;
	font-size: 0.6em;
	display: block;
}
header {
	display: grid;
	grid-template-columns: auto auto;
	align-items: center;
}
header h1 {
	margin: 0;
}
.display-block {
	display: block;
}
.badge {
	display: inline-block;
	padding: 0;
	font-size: 0.4em;
	border-radius: 10px;
	color: white;
	position: relative;
	top: -0.5em;
}
.badge-green {
	background-color: #4CAF50;
}
.badge-yellow {
	background-color: #FF9800;
}
.alert {
	background-color: #333;
	color: white;
	border-radius: 10px;
	margin-bottom: 1em;
}
.alert-success {
	background-color: #4CAF50;
}
.alert-error {
	background-color: #f44336;
}

footer #note {
	font-size: 0.8em;
	margin-bottom: 1em;
}
footer small {
	display: block;
	color: #555;
	font-size: 0.6em;
	text-align: center;
}

#contact-form {
	max-width: 600px;
	border-radius: 10px;
	padding: 1.5em;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#website-group {
	margin-bottom: 0;
	display: none;
}
#form-buttons {
	display: flex;
	gap: 1em;
	justify-content: space-between;
	margin-bottom: 0;
}
dialog::backdrop {
	backdrop-filter: blur(5px);
}

/* Uncomment this to blur .redactable elements */

/* .redactable {
	filter: blur(15px);
	padding: 0 0.25em;
	user-select: none;
} */

/* Overriding some DoodleCSS styles */
.doodle a {
	font-weight: normal;
}
.doodle input[type="text"], .doodle input[type="email"], .doodle input[type="password"] {
	width: 100%;
}
.doodle textarea {
	width: 100%;
	height: 300px;
	resize: none;
}
.doodle .input-group {
	margin-bottom: 1em;
}
.doodle button:hover {
	opacity: 0.9;
	cursor: pointer;
}
.doodle button[type="submit"] {
	background-color: #4CAF50;
	color: white;
	border-radius: 10px;
}
.doodle button.button-muted {
	background-color: #e0e0e0;
	color: #555;
	border-radius: 10px;
}
/* Mobile */
@media (max-width: 600px) {
	body {
		margin: 1rem;
		font-size: 1.2rem;
	}
	.badge {
		margin-left: 0.6em;
	}
	/* We resize the dialog a little so it doesnt look weird */
	#contact-form {
		width: 90%;
	}
	.doodle textarea {
		height: 200px;
	}
}