@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Rock+3D&display=swap');

* {
	box-sizing: border-box;
}

::selection {
	background-color: hsla(34, 100%, 50%, 0.6667);
	color: white;
}

html,
body {
	margin: 0;
	padding: 0;
	background: #222;
	color: white;
	font-family: 'Open Sans', sans-serif;
}

h1 {
	font-family: 'Rock 3D', cursive;
	font-size: 3rem;
	text-transform: uppercase;
	margin: 0 0 1rem 0;
}
p {
	margin: 0 0 1rem 0;
}

body {
	display: flex;
	justify-content: flex-start;
	align-items: flex-end;
	min-height: 100vh;
	padding: 8% 16%;
	background: linear-gradient(-42deg, hsla(266, 92%, 29%, 0.66), hsla(34, 100%, 50%, 0.96)),
		url('/revolt.jpg');
}

main {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-direction: column;
}

main header {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	height: 20%;
}

main section {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	height: 80%;
}

input[type='text'],
input[type='submit'] {
	min-width: 300px;
	margin-bottom: 1rem;
	padding: 0.5rem 1rem;
	transition: all ease 125ms;
}

input {
	outline: none;
}

input[type='text'] {
	border: 2px dashed hsla(0, 0%, 100%, 0.5);
	border-bottom-color: #420690;
	border-radius: 4px;
	background-color: transparent;
	color: hsla(0, 0%, 100%, 0.66);
}
input[type='text']:focus-visible {
	border-color: hsla(0, 0%, 100%, 0.8);
	border-bottom-color: #420690;
	color: hsla(0, 0%, 100%, 1);
}

input[type='submit'] {
	background-color: #420690;
	border: none;
	border-radius: 4px;
	font-family: 'Rock 3D', cursive;
	font-size: 2rem;
	text-transform: uppercase;
	color: white;
	cursor: pointer;
	opacity: 0.9;
	filter: drop-shadow(0 4px 2px hsla(0deg, 0%, 0%, 0.3));
	translate: 0 3px;
	transition: all ease-out 200ms;
}
input[type='submit']:hover {
	opacity: 1;
	filter: drop-shadow(0 7px 2px hsla(0deg, 0%, 0%, 0.15));
	translate: 0 0;
}
input[type='submit']:active {
	filter: drop-shadow(0 4.5px 2px hsla(0deg, 0%, 0%, 0.2));
	translate: 0 1.5px;
}

a[href],
a[href]:visited,
a[href]:active {
	color: white;
	transition: color ease 100ms;
}

a[href]:hover {
	color: #ff9000;
}
