/* CSS Document */

html{
	font-size: 50px;
}

body{
	margin: 0;
	font-size: 0.4rem;
	text-align: center;
	font-family: Muli, sans-serif;
	color: #282f37;
	font-weight: 300;
}

.left{
	text-align: left;
}

/*
em{
	font-style: normal;
	color: #47df59;
}*/

a{
	text-decoration: none;
	color: inherit;
}

strong{
	font-weight: 900;
	text-transform: uppercase;
}

header{
	height: 14.5rem;
	position: relative;
}

header>div{
	background: #000 no-repeat center;
	background-size: auto 100%;
	height: 100%;
	width: 100%;
	opacity: 0;
	position: absolute;
}

@media(max-width:500px){
	header>div{
		background-position: center!important;
	}
}

header>div>a{
	display: block;
	max-width: 11rem;
	height: 2.5rem;
	background: no-repeat url(m-way-white.svg) center top;
	background-size: contain;
	margin: 0.5rem auto;
}
header>div.b>a{
	background-image: url(m-way-black.svg);
}
header>div.act{
	opacity: 1;
}
header.ani>div{
	transition: opacity ease 3s;
}


header+div{
	position: absolute;
	width: 12rem;
	left: calc(50vw - 12rem / 2);
	top: 14rem;
	height: 10rem;
	box-shadow: 0 0 1rem #000;
	transform: perspective(1rem) rotateX(-0.5deg);
	transform-origin: center top;
}

article{
	position: relative;
	margin: -3rem auto 0;
	max-width: 12rem;
	background: #fff url("bg.jpg") no-repeat center bottom -5.5rem;
	background-size: 100% auto;
	min-height: 10rem;
	box-sizing: border-box;
	padding: 0.5rem 0.5rem 3rem;
}

article[page="home"]{
	background-position: center bottom !important;
	padding: 0.5rem !important;
}
	
h1{
	margin: 0 0 0.5rem 0;
	text-transform: uppercase;
	font-size: 0.9rem;
	line-height: 1.50rem;
	padding: 0 0 0.15rem 0;
	font-weight: 900;
}
h1:after,hr{
	content: '';
	display: block;
	width: 3rem;
	border: 0.01rem solid #282f37;
	margin: 0.35rem auto 0;
}
hr{
	margin-bottom: 0.3rem;
}

p{
	font-size: 0.42rem;
	margin: 0 0.50rem 0.20rem;
}

p em{
	font-style: normal;
	white-space: nowrap;
}

footer{
	margin: auto;
	max-width: 12rem;
	background: #282f37;
	color: #fff;
	position: relative;
	padding: 0.65rem 0;
	font-size: 0.30rem;
}
footer strong{
	font-size: 0.40rem;
	display: block;
	margin: 0 0 0.20rem 0;
}

footer hr{
	border-color: #fff;
	margin: 0.65rem auto;
}

.fa{
	font-family: "Font Awesome 5 Brands";
	height: 0.80rem;
	width: 0.80rem;
	display: inline-block;
	font-size: 0.70rem;
	line-height: 0.80rem;
}

nav{
	color: #fff;
	position: absolute;
	top: 0.50rem;
	right: 0.50rem;
    text-align: right;
	left: calc(100vw - 3rem);
	white-space: nowrap;
	font-size: 0.30rem;
}

nav span,a{
	cursor: pointer;
}


[lang='de'] nav>span:nth-child(1),
[lang='fr'] nav>span:nth-child(2),
[lang='it'] nav>span:nth-child(3){
	color: #47df59;
}

form{
	padding-top: 0.60rem;
	display: block;
	max-width: 6.80rem;
	margin: auto;
}
input[type=text],
input[type=submit],
input[type=email],
select,option{
	display: block;
	width: 100%;
	box-sizing: border-box;
	border: 0.02rem solid #47df59;
	color: #282f37;
	-webkit-appearance:none;
	border-radius: 0;
	background:#fff;
	font-size: 0.40rem;
	font-family: Muli, sans-serif;
	font-weight: 400;
	line-height: 0.90rem;
	height: 0.90rem;
	padding: 0 0.25rem;
	margin: 0 0 0.40rem 0;
}
select,
input::placeholder{
	color: #47df59;
}
select:valid{
	color: #282f37;
}

select {
	background: #fff url("arr.svg") right center no-repeat;
	background-origin: content-box;
	background-size: auto 50%;
}

input[type=submit]{
	text-align: center;
	font-weight: 900;
	color: #fff;
	background: #282f37;
	border-color: #fff;
}
label{
	display: block;
	text-align: left;
	font-size: 0.40rem;
	font-family: Muli, sans-serif;
	font-weight: 400;
	line-height: 0.90rem;
	height: 0.90rem;
	margin: 0 0 0.40rem 0;
	color: #fff;
}
input[type=checkbox]{
	float: left;
	height: 0.40rem;
	width: 0.40rem;
	margin: 0.25rem 0.10rem 0.25rem 0;
	-webkit-appearance:none;
	box-sizing: border-box;
	border: 0.2rem solid #47df59;
	border-radius: 0;
	background: #fff;
	font-size: 0.40rem;
	font-family: Muli, sans-serif;
	font-weight: 900;
	line-height: 0.36rem;
	text-align: center;
	overflow: hidden;
	color: #47df59;
}
input[type=checkbox]:checked:after{
	content: "\2A09";
}

@media(max-width:600px){
	header+div{
		display: none;
	}
	
	article{
		background-position: 0% calc(100% + 45vw);
	}
	h1{
		font-size: 7vw;
	}
}

@media(max-width:800px){
	header>div>a{
		width: calc(100vw - 3rem);
		margin-left:0.50rem;
	}
	header{
		max-height: 80vh;
	}
	
	
}