@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
 
*,
html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	/* render fonts correctly on mac */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	position: relative; /* allow menu to grab whole screen */
	color: #fff;
	background: #2a636a url(images/background-texture.jpg) no-repeat 50% 50%;
	background-size: cover;
	background-attachment: fixed;
	font-family: Roboto, Arial, sans-serif;
	font-weight: 400;
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	box-sizing: border-box;
	height: 100vh;
}

svg, img { display: block; width: 100%; height: auto; z-index:2; position: relative;}

.mobile { width: 90%; margin: 0 auto; max-width: 550px; }
.desktop { display: none; max-width: 1200px; margin: 0 auto; position: relative;}

.caption {
	padding: 30px;
	background-color: rgba(82,49,78,0.6);
	z-index:1;
	display: block;
	margin-bottom: 40px; 
}

.logo { padding: 0 30px; }
.logo img { max-width: 550px; margin-bottom: 30px; }

.caption h2 { margin:0; padding:0; font-size: 18px; line-height:1.2;}
.caption ul { margin-bottom:0; padding-left: 1em;}
.caption li { font-size: 16px; line-height: 1.3; margin-bottom: 0.75em;}
.caption li:last-child { margin-bottom:0;}
.welcome { color:#fbdb3b;}
h1 {
	width: 90%;
	max-width: 450px;
	max-height: 140px; 
	text-align: left;
	text-indent: -99999px;
	overflow: hidden;
	/*aspect-ratio: 907 / 278;*/
	padding-bottom: 15%;
	background: transparent url(images/pfs-de-logo.png) no-repeat 50% 50%; background-size: contain;
	
}


header, .caption-holder {
	width: 100%;
	max-width: 1400px;
	margin: 30px auto;
	position: relative;
}

.caption-holder { margin:0 auto; }

@media all and (min-width: 700px){
/*	header {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-gap: 40px;
		
	}
*/
}

footer {
	display: block;
	width:100%;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	height: 150px;
	margin-top: 10px;
	
	background: transparent url(images/power-to-the-pupils.png) no-repeat 50% 50%;
	background-size: contain;
}



@media all and (orientation: landscape) {
	footer { 
		background-position: 100% 100%;
		margin-top: -50px;
		height: 175px; 
	}
}
/**
*  
*   PORTRAIT / MOBILE / DEVICE
*
**/


@media only screen and (orientation: portrait) {
	.desktop { display: none;}
	.mobile { display: block;}	
	
}

/* Portrait iPhone 4/4S*/
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
	.desktop { display: none;}
	.mobile { display: block;}
  
  }
  
 /* Portrait iPhone 5, 5S, 5C and 5SE */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
	 .desktop { display: none;}
	.mobile { display: block;}
	
}
 
 /* Portrait iPhone 6, 6S, 7 and 8 */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) { 
	.desktop { display: none;}
	.mobile { display: block;}
	
}

/* Portrait iPhone 6+, 7+ and 8+ */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) { 
	.desktop { display: none;}
	.mobile { display: block;}
	
}

/* Portrait  iPhone X */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) { 
	.desktop { display: none;}
	.mobile { display: block;}
	
}

/* Portrait iPad*/
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {
	.desktop { display: none;}
	.mobile { display: block;}
	
}

/* Portrait iPad Pro 10.5 */
@media only screen 
  and (min-device-width: 834px) 
  and (max-device-width: 834px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 2) {
	.desktop { display: none;}
	.mobile { display: block;}
}

/* Portrait iPad Pro 12.9 */
@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 2) {
	.desktop { display: none;}
	.mobile { display: block;}
}



/**
*  
*   LANDSCAPE  MOBILE  DEVICE / DESKTOP
*
**/

@media only screen and (orientation: landscape) {
	.desktop { display: block; }
	.mobile { display: none; }
	

}

@media only screen and (min-width: 1040px) {
	.desktop { display: block; }
	
	.mobile { display: none; }
	.caption { 
		position: absolute;
		width: 29%;
		left: 25px;
		max-width: 460px;
	}
	.caption li { font-size: 14px;}

	/*.caption {
		padding: 30px;
		position: absolute;
		top: 100px;
		right:0;
		width: 35%;
		background-color: rgba(82,49,78,0.6);
		z-index:1;
	}
*/
	
	
	
}

/* Landscape  iPhone 4 and 4S*/
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
	.desktop { display: block;}
	.mobile { display: none;}
		header { grid-template-columns: 1fr;}

}


/* Landscape iPhone 5, 5S, 5C and 5SE */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
	.desktop { display: block;}
	.mobile { display: none;}
		header { grid-template-columns: 1fr;}

}

/* Landscape  iPhone 6, 6S, 7 and 8 */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) { 
	.desktop { display: block;}
	.mobile { display: none;}
		header { grid-template-columns: 1fr;}

}

/* Landscape  iPhone 6+, 7+ and 8+ */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 
	.desktop { display: block;}
	.mobile { display: none;}
		header { grid-template-columns: 1fr;}

}


/* Landscape  iPhone X */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 
	.desktop { display: block;}
	.mobile { display: none;}
		header { grid-template-columns: 1fr;}

}


/* Landscape  iPad 1, 2, Mini and Air */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {
	.desktop { display: block;}
	.mobile { display: none;}
		header { grid-template-columns: 1fr 1fr;}

}

/* Landscape  iPad 3, 4 and Pro 9.7" */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 2) {
	.desktop { display: block;}
	.mobile { display: none;}
	header { grid-template-columns: 1fr 1fr;}
}


/* Landscape  iPad Pro 10.5" */
@media only screen 
  and (min-device-width: 1112px) 
  and (max-device-width: 1112px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 2) {
	.desktop { display: block;}
	.mobile { display: none;}
	header { grid-template-columns: 1fr 1fr;}
}


/* Landscape iPad Pro 12.9" */
@media only screen 
  and (min-device-width: 1366px) 
  and (max-device-width: 1366px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 2) {
	.desktop { display: block;}
	.mobile { display: none;}
	header { grid-template-columns: 1fr 1fr;}
}
