* { box-sizing: border-box;
}

html,body{
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	color: #FFF;
	background: #002A48;
	font-family: 'Barlow', sans-serif;
	font-weight: 300;
	font-size: 20px;
}

#wrapper{
	display: flex;
	flex-direction: row;	
  min-height: 100vh;
}

#main-content{
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 30px;
}

#content{
	width: 80%;
}

h1{
	font-family: 'Barlow', sans-serif;
	color: #FFF;
	font-size: 3.5vw;
	font-weight: 700;
	margin: 20px 0;
}

h3{
	font-size: 1.6vw;
	font-weight: 700;
	color: #009DE0;
}

a{
	color: #FFF;
	text-decoration: none;
}

p{
	font-size: 1.2vw;
	margin: 10px 0 20px 0;
}

ul{
	margin: 0 0 30px 0;
	padding: 0;
}

ul li{
	font-size: 1.4vw;
	list-style: none;
}

ul li:before{
	content: url('media/check.svg'); 
	display:inline-block; 
	height:1em; 
	width:1em; 
	margin-right: 10px;
}

.logo{
	max-width: 40%;
}

form{
	padding: 0;
	margin: 0;
	text-align: left !important;
}

form p{
	font-size: 1.0vw;	
}

input[type=email]{
	border: 0 !important;
	font-size: 1.5vw !important;
	border-radius: 3px !important;
	height: 60px !important;
	width: 60% !important;
	padding: 0 !important;
	margin: 0 !important;
	margin-right: 5px !important;
	padding-left: 15px !important;
}

input[type=submit]{
	border: 0 !important;
	font-size: 1.5vw !important;
	font-weight: 700 !important;
	border-radius: 3px !important;
	height: 60px !important;
	width: 30% !important;	
	padding: 0 !important;
	margin: 0 !important;
	/* background: #ff9200 !important; */
	background: -webkit-linear-gradient(#ffbb00 0%, #ff9200 100%);
	color: #FFF;
}

input[type=submit]:hover{
	/* background: #009DE0 !important; */
	background: -webkit-linear-gradient(#00aeff 0%, #0085ff 100%);
	cursor: pointer !important;
}

#social a{
	display: inline-block;
	border: 2px solid #FFF;
	border-radius: 3px;
	font-size: 1.0vw;
	font-weight: 300;
	padding: 1vw 0.7vw 1vw 2.7vw;
	position: relative;
	margin-right: 1vw;
	margin-bottom: 1vw;
}

#social a:hover{
	background: #009DE0;
	border-color: #009DE0;
}

#social a:before{
	content: url('media/facebook.svg');
	display:inline-block; 
	height:1.3em; 
	width:1.3em; 
	margin-right: 5px;
	line-height: 150%;
	position: absolute;
	top: 0.9vw;
	left: 1vw;
}

#social .wa-send:before{
	content: url('media/whatsapp.svg');
}

#social .email-send:before{
	content: url('media/envelope.svg');
}

#credits{
	display: block;  
	width: 200px;
	height: 100px;
	background: url('media/fuerteventura-surf-car.svg') no-repeat;
	background-size: contain;
	margin: 30px auto;	
}

#media-content{
	width: 100%;
	min-height: 100vh;
	position: relative;
}

#video-content{ 
	position: absolute;
  z-index: 0;
  background-size: 100% 100%;
  top: 0px;
  left: 0px; /* fixed to left. Replace it by right if you want.*/
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  
}


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

	html,body{
		overflow: inherit;
		font-size: 40px;
		background: rgba(0, 42, 72, 0.70);
	}
	
	#wrapper{
		flex-direction: column-reverse;	
	}
		
	.logo{
		max-width: 60%;
	}

	h1{
		font-size: 7vw;
	}
	
	h3{
		font-size: 4.3vw;
	}
	
	p{
		font-size: 2.6vw;
	}
	
	
	ul li{
		font-size: 3.8vw;
	}

	input[type=email]{
		font-size: 5vw !important;
		width: 100% !important;
		margin-right: 0 !important;
		margin-bottom: 2vw !important;
		text-align: center !important;
	}

	input[type=submit]{
		font-size: 5vw !important;
		width: 100% !important;
	}

	#social a{
		display: block;
		font-size: 4.5vw;
		padding: 2vw 2vw 2vw 12vw;
		margin-bottom: 2vw;
}

	#social a:before{
		top: 1.5vw;
		left: 3vw;
	}

	#media-content{ 
		overflow: hidden;
		position: fixed;
		top:0;
		z-index: -1;
	}

	#video-content{ 
	}
	
}

