*{
	padding: 0;
	margin: 0;
	font-family: Arial, serif;
}

#starts
{
	background: url(../pict/crsh.jpg);
	background-size: cover;
	background-attachment: fixed;
	background-color: white;
}

#ttl
{
	padding: 20px;
	font-size: 50px;
	color: #5E5D39;
}

#time
{
	display: flex;
	padding: 20px;
	font-size: 15px;
	justify-content: flex-end;
}

body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100vh;

}

img {
	width: 80px;
}

header, footer {
	height: 5vh;
	padding: 20px 80px;
	box-shadow: 0 -1px 20px 1px #5E5D39;

}

header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

main {
	display: flex;
	flex-direction:column;
	padding: 20px 50px;
	height: 90vh;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

form {
	padding: 20px 20px;
	max-width: 350px;
	min-width: 200px;
	width: 30vh;
	height: 120px;
	box-shadow: 0 10px 10px 5px #5E5D39;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items:center;
	justify-content: space-around;
	border-radius: 10px;
}

form div {
	position: relative;
	width:95%;
	padding-top: 5px;
}

form input {
	margin: 0 5px;
	height: 28px;
	width:95%;
	border-radius: .25em;
	border: 2px solid #5E5D39;
}


.butt {
	height: 30px;
	width:96%;
	color: white;
	font-size: 20px;
	background-color: #5E5D39;
}

.butt:active {
    transform: scale(0.98);
    box-shadow: 3px 2px 10px 1px black;
}

footer {
	display: flex;
	align-items: end;
}

footer div {
	width: 33.3%;
}

footer > div > nav {
	display: flex;
	justify-content: center;
}

nav {
	display: flex;
	gap: 20px;
}

nav a {
	color: #000000;
	text-decoration: none;
	transition: .3s;
}

nav a:hover {
	font-weight: bold;
	color: #686868;
}

.nav-ng {
	display: flex;
	gap: 1px;
}

@media all and (max-width: 700px) {

	header, footer {
		flex-direction: column;
		justify-content: center;
		padding: 20px 0;
	}

	footer div {
	    display: inline-flex;
	    justify-content: center;
		}

}

@media all and (max-width: 400px) {

	header, footer {
		align-items: center;
		padding: 10px 0;
		height: 20vh;
	}

	main {
		height: 60vh;
	}

	form {
		padding: 5px 5px;
		max-width: 375px;
		width: 30%;
		}
}

}
