@charset "utf-8";


html, body {
margin: 0;
}

body {
min-height: 100vh;
padding-top: 15em;
box-sizing: border-box;
background: url('../images/background.webp') center top no-repeat;
background-size: cover;
}

#head {
display: grid;
grid-template-columns: 6em auto;
grid-template-rows: 6em;
column-gap: 2em;
align-items: start;
}

img {
display: block;
height: 6em;
}

h1 {
margin: 0;
padding: 0;
color: #555;
font-size: 1.3em;
font-weight: 400;
text-align: left;
}

#dlogin {
margin: auto;
/*margin-top: 15em;*/
padding: 2em;
background-color: #fff;
width: 32em;
font-family: inherit;
font-weight: normal;
text-align: left;
border-radius: 0.3em;
-webkit-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.5);
        box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.5);
}

#dlogin.anime {
margin-top: 1em;
opacity: 0;
animation: introLogin 0.5s ease-out forwards;
animation-delay: 0.5s;
}


@keyframes introLogin {
to {
	margin-top: 0em;
	opacity: 1;
	}
}


#envoi {
display: grid;
grid-template-columns: 50% 50%;
grid-template-rows: 3em;
column-gap: 1em;
}

#envoi > div {
line-height: 3em;
}

p {
margin-top: 3em;
margin-bottom: 3em;
}

p#lost {
margin: 1em 0;
}

p#lost a {
color: #333;
}

#dlogin span {
display: block;
}

input[type="text"], input[type="password"] {
border: none;
border-bottom: 1px solid #999999;
}

button[type="submit"] {
margin-top: 0;
}



@media only screen and (max-width: 1170px) {

	img {
	margin: 0 auto 1em auto;
	}

	h1 {
	margin-bottom: 2em;
	}

	#dlogin {
	width: 70%;
	margin-top: 4em;
	}

	button[type='submit'] {
	width: 100%;
	height: 4em;
	font-weight: 500;
	}


}

