@import "normalize.css";

html {
	height: 100%;
}

body {
	min-height: 100%;
	color: #000;
	text-align: right;
	font-size: clamp(14px, 1.1vw, 16px);
	padding: 20px;
	padding-top: 25px;
	font-family: "Open Sans", sans-serif;
	display: flex;
	align-items: flex-end;
	flex-direction: column;
	background: url("../images/460985.jpg") top center no-repeat;
	background-size: cover;
	backdrop-filter: grayscale(1);
}

/*body.is-submit {
	backdrop-filter: blur(20px) grayscale(1) brightness(1.25);
}*/

body * {
	margin: 0;
	line-height: 1.4;
}

::placeholder {
	opacity: 0.51;
	font-style: italic;
	color: #000;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

h1 {
	font-size: clamp(20px, 7vw, 36px);
	margin-bottom: 32px;
        font-weight: normal;
}

a {
	color: #000;
	text-decoration: none;
}

p {
	margin-bottom: 20px;
}

form p {
	display: flex;
	justify-content: flex-end;
}

form {
	margin-bottom: 20px;
	display: flex;
	flex-direction: column;
	width: 600px;
	max-width: 100%;
	font-size: 1.125em;
}

/*body.is-submit */
form:first-of-type:not(:last-of-type) {
	display: none;
}

form strong {
	margin-left: 0.2em;
	white-space: nowrap;
}

input {
	height: 1.4em;
	border: none;
	background: none;
	appearance: none;
	text-align: right;
	outline: none;
	align-self: flex-end;
}

input[type="text"] {
	flex: 1;
	padding-right: 0.3em;
}

input[name="user"] {

}

input[type="submit"] {
	/*background: #0496a5;*/
	background: #333;
	transition: all 200ms ease-in-out;
	color: #fff;
	border-radius: 6px;
	height: 1.85em;
	padding: 0 0.8em;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	font-size: 0.833em;
}

.success + form input[type="submit"] {
	background: seagreen;
}

.success + form input[type="submit"]:hover {
	background: #1e7b47;
}

input[type="submit"]:hover {
	background: #000;
}

.backlink {
	display: inline-block;
	opacity: 0.21;
	font-size: 0.9em;
}

.backlink:hover {
	text-decoration: underline;
}

.success {
	color: seagreen;
	margin-bottom: 32px;
	font-size: 1.125em;
}

.error {
	color: darkred;
	font-size: 1.125em;
}

.error em {
	color: seagreen;
	font-style: normal;
}

footer {
	margin-top: auto;
	background: #222;
	margin-bottom: -20px;
	margin-right: -20px;
	padding: 0.5em 1em;
	color: #fff;
	border-top-left-radius: 3px;
	display: flex;
	align-items: center;
}

footer ul {
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: row;
	gap: 0.1em;
}

@media (min-width: 782px) {
	footer li:not(:last-child)::after {
		content: "·";
		margin: 0 0.3em 0 0.35em;
	}
}

@media (max-width: 999px) {
	footer {
		margin-left: -20px;
		white-space: nowrap;
	}
}

@media (max-width: 781px) {
	footer ul {
		flex-direction: column;
	}
}

footer a,
footer span {
	color: #fff;
	font-size: 0.9em;
}

footer span a {
	font-size: 1em;
}

footer a:hover,
footer a.is-active {
	text-decoration: underline;
}

section {
	position: absolute;
	left: 50px;
	top: 50px;
	width: 600px;
	max-width: 90vw;
	bottom: 50px;
	background: #333;
	color: #fff;
	text-align: left;
	padding: 30px;
}

section.is-visible {
	display: block !important;
}

section h2 {
	margin-bottom: 1rem;
}

section hr {
	margin: 1.5rem auto;
}
