/* ---------- MAIN ELEMENTS ---------- */
:root {
	--color-accent: #a8bfa6;
	--color-neutral: #999999;
	--color-neutral-2: #333333;
	--logo-width: 10rem;
	--logo-margin: 0 1rem 1rem 1rem;
}

* {
	margin: 0;
	padding: 0;
	font-family:generica;
	font-weight: normal;
}

html {
	width: 100vw;
	height: 100dvh;
	font-size: 200%;
	overflow: hidden;
	
	background-image: url(../img/Gaia_web_alpha_testeurs.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

body {
	position: relative;
	overflow-x: hidden;
	width: min(1920px, 100%);
	height: 100%;
	margin: 0 auto;
	
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	
	/* outline: 2px solid red; */
	/* outline-offset: -10px; */
}


@media screen and (min-width: 768px) {
	html {
		font-size: 100%;
	}
	
	body {
		flex-flow: row nowrap;
		justify-content: space-between;
		align-items: flex-end;
	}
	
	body:before {
		content:"";
		width: var(--logo-width);
		margin: var(--logo-margin);
	}
}


/* ---------- FONTS ---------- */
@font-face {
	font-family: generica;
	src: url(../fonts/Generica.otf);
	font-weight: normal;
}


/* ---------- STYLING ---------- */
#background-img {
	min-height: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	object-fit: cover;
	z-index: -1;
}

#connexionwrapper {
	background-color: rgba(255, 255, 255, 0.85);
	width: min(calc(100% - 2rem), 40rem);
	padding: 1rem 6rem;
	border-radius: 2rem;
	box-sizing: border-box;
	color: var(--color-neutral);
	text-align: center;
	margin: 1rem 0;
	align-self: center;
	
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	gap: 3rem;
}
#connexionwrapper img {
	max-width: 100%;
}

#connexionwrapper p,
#connexionwrapper form button {
	font-size: 1.6rem;
}
#connexionwrapper form {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	gap: 1rem;
}
#connexionwrapper form * {
	border-radius: 0.5rem;
	padding: 0.2rem 0.5rem;
}
#connexionwrapper form input {
	border: 1px solid var(--color-neutral);
	font-size: 1.2rem;
	color: var(--color-neutral-2);
	width: 70%;
}
#connexionwrapper form button {
	border: none;
	color: white;
	background-color: var(--color-accent);
	width: 80%;
	margin-bottom: 1rem;
}
#connexionwrapper form button:hover {
	cursor: pointer;
	outline: 1px solid var(--color-neutral);
}

#logofooter {
	width: var(--logo-width);
	margin: var(--logo-margin);
}