/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* start */
@import url('https://fonts.googleapis.com/css?family=PT+Sans');
@import url('https://fonts.googleapis.com/css?family=Ubuntu');
@import url('https://fonts.googleapis.com/css?family=Berkshire+Swash');
body{
	font-family: 'Ubuntu', sans-serif;
}
header{
	height: 50vw;
	font-family: 'PT Sans', sans-serif;
	position: relative;
	background-color: rgba(255,255,255,.5);
}
header h1{
	padding-top: 12.5vw;
	text-align: center;
	font-size: 25vw;
}
header h2{
	padding-left: 9vw;
	font-size: 10vw;
}
.slide{
	position: absolute;
	top: 0px;
	bottom: 0px;
	width: 100%;
	z-index: -5;
	background-size: cover !important;
	background-position: center !important;
	transition: opacity 3s;
}
#secondheader{
	overflow: hidden;
	position: sticky;
	top: 0px;
	height: 0px;
	background-color: white;
	padding-left: 9vw;
	font-size: 40px;
	padding-top: 10px;
	color: grey;
	transition: height 1s, padding-top 1s;
}
nav{
	position: sticky;
	top: 0px;
	border-top: solid grey 1px;
	border-bottom: solid grey 1px;
	padding: 0px 9vw;
	background-color: white;
	transition: top 1s;
}
nav ul{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}
nav li{
	flex-grow: 1;
	flex-shrink: 0;
	flex-basis: 175px;
	height: 60px;
	background: white;
	text-align: center;
	font-size: 40px;
	position: relative;
	overflow: hidden;
}
#menu{
	display: none;
	height: 0px;
}
@media (max-width: 760px){
	nav li{
		flex-basis: 400px;
		display: hidden;
		height: 0px;
		transition: height 1s;
	}
	#menu{
		display: block;
		height: 60px;
	}
	nav:hover li{
		display: block;
		height: 60px;
		transition: height 1s;
	}
	nav:hover #menu{
		height: 0px;
	}
}
nav a{
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	text-decoration: none;
	padding-top: 10px;
	color: grey;
	background: rgba(255,255,255,0);
	transition: background 1s;
}
nav a:hover{
	background: lightgrey;
	transition: background .3s;
}
.big{
	font-family: 'Berkshire Swash', cursive;
	font-size: 15vw;
	text-align: center;
	margin: 50px 0px;
	display: block;
		transition: font-size 1s;
}
.underline{
	text-decoration: underline;
}
@media (min-width: 800px){
	.big{
		font-size: 119px;
		transition: font-size 1s;
	}
}
section{
	max-width: 800px;
	margin: auto;
	padding: 30px 9vw;
	font-size: 30px;
	text-align: justify;
}
section p:not(:first-child){
	padding-top: 30px;
	line-height: 40px;
}
section ul{
	padding-top: 15px;
	line-height: 40px;
}
section li{
	padding-bottom: 5px;
	line-height: 40px;
	list-style-image: url('/img/coche.svg');
	list-style-position: outside;
}
section img{
	display: block;
	margin: 30px auto 0px auto;
	max-width: 100%;
	max-height: calc(100vh - 120px);
	border: solid grey 2px;	
}
section a{
	color: inherit;
}
section a:hover{
	color: inherit;
    text-decoration-style: double;
}
.interimg{
	height: calc((100vh - 120px) / 3*2);
	width: 100vw;
	background-size: cover !important;
	background-position: center !important;
    background-attachment: fixed !important;
}
#video{
	margin-top: 30px;
}
footer{
	margin-top: 15px;
	font-size: 20px;
	padding: 15px 9vw 15px 9vw;
	background-color: #F2F2F2;
	border-top: solid grey 1px;
	color: grey;
}
footer p:not(:first-child){
	padding-top: 20px;
	line-height: 30px;
}
footer a{
	text-decoration: none;
	color: inherit;
}
footer a:hover{
	text-decoration: underline;
}



















