:root {
	--white: 251, 248, 241; /*#fbf8f1; */
	--black: 26, 26, 26; /* #1a1a1a; */
	--yellow: 213, 235, 62; /* #d5eb3e; */
	--red: 252, 65, 48; /* #fc4130; */
	--muted: 152, 152, 152; /* #1a1a1a; */
	--shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	--transition: 240ms cubic-bezier(0.2, 0.9, 0.3, 1);
}

/* Mouse Selection */
::selection {
	background: #000;
	color: #fff;
	text-shadow: none;
}
::-moz-selection {
	/* Code for Firefox */
	background: #000;
	color: #fff;
	text-shadow: none;
}

body {
	background-color: rgb(var(--white));
	color: rgb(var(--black));
	font-family: Sailec, sans-serif;
	font-size: 1rem;
	line-height: 140%;
	
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	
	margin: 0;
	padding: 2em;
	display: flex;
	align-items: center;
	justify-content: center;
}
h1 {
	text-transform: uppercase;
	margin-top: 0;
	margin-bottom: 0;
	font-family: Agrandir, sans-serif;
	font-size: 6rem;
	font-weight: 700;
	line-height: 0.9;
}
h2 {
	text-transform: uppercase;
	margin-top: 0;
	margin-bottom: 0;
	font-family: Agrandir, sans-serif;
	font-size: 4.5rem;
	font-weight: 700;
	line-height: 90%;
}
h3 {
	text-transform: uppercase;
	margin-top: 0;
	margin-bottom: 0;
	font-family: Agrandir, sans-serif;
	font-size: 3.125rem;
	font-weight: 700;
	line-height: 0.95;
}
h4 {
	text-transform: uppercase;
	margin-top: 0;
	margin-bottom: 0;
	font-family: Agrandir, sans-serif;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 0.9;
}
h5 {
	text-transform: uppercase;
	margin-top: 0;
	margin-bottom: 0;
	font-family: Agrandir, sans-serif;
	font-size: 1.375rem;
	font-weight: 900;
	line-height: 0.95;
}
h6 {
	color: rgb(var(--black));
	text-transform: uppercase;
	margin-top: 0;
	margin-bottom: 0;
	font-family: Agrandir, sans-serif;
	font-size: 0.75rem;
	font-weight: 900;
	line-height: 1;
}
p {
	margin-bottom: 0;
	font-family: Sailec, sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 140%;
}
a {
	color: rgb(var(--black));
	text-decoration: none;
}
ul {
	margin-top: 0;
	margin-bottom: 10px;
	padding-left: 40px;
}
ol {
	margin-top: 0;
	margin-bottom: 0;
	padding-left: 2.5rem;
}
li {
	font-size: 1rem;
	line-height: 150%;
}
strong {
	font-weight: 700;
}
em {
	font-style: italic;
}
blockquote {
	border: 0 rgb(var(--black));
	margin-bottom: 0;
	padding: 0;
	font-size: 1.5rem;
	line-height: 130%;
}
input {
	color: rgb(var(--black));
	border: 2px solid rgb(var(--black));
	background-color: rgb(var(--white));
	vertical-align: middle;
	width: 100%;
	height: 38px;
	/* margin-bottom: 10px; */
	padding: 8px 12px;
	font-size: 1em;
	line-height: 1.42857;
	display: block;
}
input::placeholder {
	color: rgb(var(--muted));
}
input:focus {
	border-color: rgb(var(--yellow));
	outline: 0;
}
input[disabled],
input[readonly],
fieldset[disabled] input {
	cursor: not-allowed;
	background-color: rgb(var(--white));
}
textarea {
	color: rgb(var(--black));
	height: auto;
	resize: none;
}

.form-input-field {
	border: 2px solid rgb(var(--black));
	background-color: rgb(var(--white));
	border-radius: 1.875rem;
	min-height: 2.5rem;
	/* margin-bottom: 0.5rem; */
	padding: 0 1rem 0;
	line-height: 1.2;

	background-position: center right 0.6em;
	background-repeat: no-repeat;
	background-size: 1.2em 1.2em;

	transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.form-input-field:focus {
	border-color: rgb(var(--yellow));
	box-shadow: 0 8px 20px rgba(var(--yellow), 0.2);
	outline: 0;
	/* transform:translateY(-2px); */
}
.form-input-field.form-error,
.form-input-field:not(:placeholder-shown):invalid {
	background-image: url("../img/error-32.svg");
}
.form-input-field.form-valid,
.form-input-field:not(:placeholder-shown):valid {
	background-image: url("../img/valid-32.svg");
}
.form-input-field:placeholder-shown {
	background-image: none;
}
.form-input-field.is-text {
	border-radius: 1rem;
	min-height: 10rem;
	padding-top: 0.75rem;
	resize: none;
	background-position: top 0.6em right 0.6em;
}






.form-container {
	width: 100%;
	max-width: 760px;
}

/* logo */
.logo {
	display: block;
	margin: 2em auto;
	/* width: 140px; */
	height: auto;
	padding-bottom: 1em;
}

/* heading */
.header {
	text-align: center;
	margin-bottom: 18px;
}
.header h1 {
	margin: 0;
	font-size: 2em;
	letter-spacing: 0.2px;
}
.header p {
	margin: 6px 0 0;
	color: rgb(var(--muted));
	font-size: 14px;
}

/* form layout */
.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.8em;
	margin-top: 16px;
}
.form-grid .full {
	grid-column: 1 / -1;
}

/* helper text */
.help {
	font-size: 13px;
	color: rgb(var(--muted));
	margin-top: 6px;
}

/* buttons (animated) */
.form-actions {
	display: flex;
	/* gap: 12px; */
	align-items: center;
	margin-top: 18px;
	/* justify-content: space-between; */
	justify-content: center;
}
.btn {
	border: 2px solid rgb(var(--black));
	background-color: rgb(var(--yellow));
	color: rgb(var(--black));
	border-radius: 1.875rem;
	min-height: 2.5rem;
	margin-bottom: 0.5rem;
	padding: 0 1rem 0;
	line-height: 1.2;
	
	transition: transform var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition);
	
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	
	
	text-transform: uppercase;
	font-family: Agrandir, sans-serif;
	font-size: 1em;
	font-weight: 700;
	
	cursor: pointer;
	overflow: visible;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

/* inverted hover state */
.btn:hover {
	background-color: rgb(var(--black));
	color: rgb(var(--yellow));
	border-color: rgb(var(--black));
	transform: translateY(-2px);
}

.submit-btn {
	min-width: 160px;
	text-align: center;
}



/* status messages */
.alert {
	font-size: 14px;
	border-radius: 1.875rem;
	min-height: 2.5rem;
	margin-bottom: 0.5rem;
	padding: 1rem; /* 0 1rem 0; */
	line-height: 1.4;
	/*
	margin-top: 14px;
	padding: 10px 12px;
	border-radius: 8px;
	*/
}
.alert.error {
	background-color: rgba(var(--red), 0.1);
	color: rgb(var(--red));
	border: 1px solid rgba(var(--red), 0.2);
}
.alert.success {
	background-color: rgba(var(--yellow), 0.1);
	color: rgb(var(--yellow));
	border: 1px solid rgba(var(--yellow), 0.2);
}

/* viewer table */
.table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 14px;
}
.table th,
.table td {
	padding: 10px;
	border: 1px solid #eee;
	text-align: left;
	font-size: 14px;
}
.table th {
	background: rgb(var(--yellow));
	font-weight: 700;
}
.table tr:hover {
	background: #fff8d9;
}

/* small screens */
@media (max-width: 720px) {
	.form-grid {
		grid-template-columns: 1fr;
	}
	.actions {
		flex-direction: column-reverse;
		align-items: stretch;
	}
	.btn {
		/* width: 100%; */
		margin-top: 1em;
	}
}
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
