* {
	font-family: 'Fredoka One';
	font-weight: normal;
}
html {
	background-color: #f9f9f9;
	background-position: center center;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
}
body {
	margin: 0;
}
header {
	display: flex;
		flex-direction: row;
		justify-content: space-around;
		align-items: center;
	background-color: #f9f9f9;
	margin: 0;
	width: 100%;
}
header img {
	transform: scale(0.7);
}
h2 {
	color: white;
	text-align: center;
	margin-bottom: 6%;
	font-size: xx-large;
}
main {
	display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	width: 50%;
	margin-top: 7%;
	margin-left: auto;
	margin-right: auto;
}
main div {
	display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	border-radius: 10px;
	width: 100%;
	padding: 3% 1% 3% 1%;
}
main div * {
	margin-top: 2%;
	margin-bottom: 2%;
}
p {
	font-size: larger;
	color: white;
	text-align: center;
}
p, small {
	font-family: 'Quicksand';
	font-weight: normal;
}
code {
	font-size: x-large;
	color: #ff5326;
	max-width: 90%;
	word-wrap: anywhere;
}
p, code {
	text-align: center;
}
a {
	color: #5c0b44;
}
a, button {
	background-color: white;
	border: 3px solid white;
	border-radius: 50px;
	text-decoration: none;
	padding-top: 2%;
	padding-bottom: 2%;
	padding-left: 5%;
	padding-right: 5%;
	color: #5c0b44;
}
a:hover, button:hover {
	border-color: #5c0b44;
	box-shadow: 0 0 5px black;
}
button {
	font-size: medium;
}
form {
	display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	width: 60%;
	margin-top: 10%;
	margin-left: auto;
	margin-right: auto;
	padding: 1%;
	color: #5c0b44;
	font-size: x-large;
}
form div {
	display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: flex-end;
		gap: 1%;
	width: 40%;
	margin-bottom: 1%;
}
form section {
	display: flex;
		flex-direction: row;
		align-items: center;
	border: 1px solid #5c0b44;
	border-radius: 25px;
	margin-left: 2%;
	padding: 5px;
	width: 60%;
}
form input {
	font-family: 'Quicksand';
	font-size: medium;
	margin-left: 5%;
	background-color: #f9f9f9;
}
form input:focus {
	outline: none;
}
form input#btn {
	font-family: 'Fredoka One';
	width: 20%;
	margin-top: 1%;
	background-color: #5c0b44;
	color: white;
	border: none;
	border-radius: 25px;
	padding: 1%;
}
form input#btn:hover {
	box-shadow: 0 0 5px black;
}
form input#time {
	/* text-align: right; */
}
form section label {
	font-family: 'Quicksand';
	font-size: medium;
	margin-right: 5%;
}
form div section input {
	border: none;
	width: 100%;
}
.err * {
	color: #d4012e;
	font-size: xx-large;
	margin-top: 15%;
}
.ok * {
	margin-bottom: 3%;
}
.ok p {
	font-family: 'Fredoka One';
	color: #5c0b44;
	font-size: x-large;
}
.ok a {
	border-color: #5c0b44;
	margin-top: 5%;
}
.ok code {
	margin-top: 5%;
}
.ok button {
	color: white;
	background-color: #5c0b44;
	border: none;
}
.pwd code {
	font-size: xx-large;
}
.warn, .pwd {
	border: 1px solid rgb(255 255 255 / 50%);
	border-radius: 25px;
	background: rgb(255 255 255 / 15%);
}
.warn p, .pwd p {
	max-width: 80%;
}

@media screen and (width <= 1680px) {
	form div {
		width: 50%;
	}
}

@media screen and (width <= 1100px) {
	main {
		width: 65%;
	}
	form {
		width: 85%;
	}
}

@media screen and (width <= 680px) {
	main {
		width: 80%;
	}
	form {
		width: 100%;
	}
	form div {
		width: 75%;
	}
}

@media screen and (width <= 480px) {
	h1 {
		display: none;
	}
}
