* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	font-family: 'Roboto';
}
html {
	height: 100%;
}

body {
	display: grid;
	position: relative;
	grid-template-rows: 85px 1fr;
	height: 100%;
    background: linear-gradient(to right, rgb(0, 166, 255), rgb(117, 208, 255));
	color: white;
	overflow: hidden;
}

.login-form-div {
	position: absolute;
    width: 213px;
    padding: 15px;
	box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
	z-index: 9999;
	top: 97px;
	transform: translateX(calc(100vw + 10px));
	transition: transform 250ms ease-in-out;
}

.login-form-div.visible {
	transform: translateX(calc(100vw - 225px));
}

.login-input {
	margin-bottom: 8px;
}

.login-form-div form button {
	width: 100%;
}

header {
	position: relative;
	display: flex;
	justify-content: space-between;
	padding: 12px;
	transition: all 500ms ease-in-out;
	text-shadow: 2px 2px rgba(0, 0, 0, 0.64);
	height: 85px;
}

header .logo {
	transition: all 500ms ease-in-out;
	font-size: 3em;
}

header:hover .logo {
	transform: translateY(5px);
}

header:hover {
	height: 90px;
}

header .login {
	cursor: pointer;
	margin-top: 22px;
}

header .login:hover {
	color: black;
}

main {
    display: flex;
	justify-content: center;
	align-items: center;
}

a {
	color: white;
	text-decoration: none;
}

.form-div {
	padding: 25px;
	text-align: center;
	transition: all 500ms ease-in-out;
}

.form-div:hover, header:hover {
	box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

.form-div:hover {
	transform: translateY(5px);
}

.form-div form {
	margin-bottom: 10px;
}

input, button {
	border: none;
	padding:12px;
}

.form-div form input[type="text"] {
	width: 450px;
}

p.short-url {
	width: 100%;
	height: 45px;
	padding: 12px;
	border: 1px transparent solid;
	transition: border 500ms ease-in-out;
}

p.short-url.error {
	border: 1px red solid;
	color: red;
}

p.short-url.success {
	border: 1px white solid;
}

button {
	width: 70px;
	cursor: pointer;
	background: rgba(61, 143, 187, .5);
	transition: background 200ms ease-in-out;
}

button:hover {
	background: rgba(61, 143, 187, 1);
}

form div {
	position: absolute;
	right: 0px;
	bottom: 20px;
	z-index: 999;
}

@media screen and (max-width: 414px) {
	.form-div {
		padding: 15px;
	}
	
	.form-div form input[type="text"] {
		width: 240px;
	}
	
	header {
		padding: 20px;
	}
}

@media screen and (max-width: 320px) {
	.form-div form input[type="text"] {
		width: 175px;
	}
}

select,
textarea,
input.text,
input[type="text"],
input[type="password"],
input[type="button"],
button,
input[type="submit"],
.input-checkbox {
-webkit-appearance: none;
border-radius: 0;
}