/* STYLES PER PROJECT 1 */
* { 
	box-sizing: border-box;
}

/*  as background with parallax scroll */

body {
	background: #F2F2F2; 
	color: #595959; 
	margin: 10px 0px; /* 0 */
	font-family: system-ui;

	}

#container {
	/* width: 960px;  or use 100% */
	width: 90%;
	max-width: 1440px;
	margin: 0 auto;
	position: relative;
	box-shadow: 0px 0px 10px #000;
	
} 

div.container {
	scroll-behavior: smooth;
	overflow-y: scroll;
	height: 100vh;
	/* option: proximity */
	scroll-snap-type: y mandatory;
}


	

/* NAVIGATION BELOW */

#main_nav {
	display: block;
	background: #222;
	height: 44px;
}
#main_menu {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 480px;
	height: 44px;
	line-height: 44px;
	float: right;
	clear: both;
}
#main_menu li {
	display: inline;
}
#main_menu a {
	display: block;
	text-align: center;
	padding: 0;
	width: 120px;
	height: 44px;
	line-height: 44px;
	background: #222;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: .2em;
	font-size: .8em;
	font-size: .8em;
	font-weight: bold;
	float: left;
}
#main_menu a:hover {
	background: #468;
}

@media screen and (max-width: 480px) {

	#main_nav {
		height: 176px;
	}

	#main_menu {
		width: 100%;
		height: 176px;
	}
	
	#main_menu a {
		width: 100%;
		float: none;
	}

}

/* ABOVE ^ NAVIGATION */




		
/* animated header */
		
header { 
	width: 100%;
	font-family: "Cormorant Unicase", serif;
	height: 80vh;
	background: white 0.9;
		}



		@keyframes fadeAndScale {
			0% {opacity: 1; scale: 1; }
			40%, 100% {opacity: 0; sale: 2; }
		}

		header img { 
			object-fit: cover;
			width: 100%;
			height: 20vh;
			position: absolute;
			inset: 0;
			z-index: -1;
			animation: fadeAndScale 0.1ms linear;
			animation-timeline: scroll();
			animation-range: 0% 50%;
		}
		@keyframes hideMe {
			0% {opacity: 1;}
			100% {opacity: 1;}
		}

		@keyframes getBig {
			0% {font-size: 5vh;}
			100% {font-size: 25vh;}
		}	

		h1 {
			font-size: 25vh;
			text-align: center;
			text-transform: uppercase;
			color: white;
			text-shadow: 1px 1px 10px #262626;
			padding-top: 5vh;
			position: sticky; 					
			width: 100%;
			animation: getBig 2s ease both, hideMe 3s linear both;
		}}

h2 {
	display: block;
	text-align: center;
}

@media screen and (max-width: 480px){
	h1 {font-size: 5vh;}
	
}

section {
	width: 60%;
	margin: 0 auto;
	font-size: 1.2em;
	line-height: 5vh;
}

section p {
	text-indent: 3em;
}
/*
section img.imager {
		display: block;
			max-width: 100%;
		}
*/

/* animated star in gallery */

@keyframes sprite {
	0% {background-position: 0% 0%;}
	100% {background-position: 100% 0%;}
}

@keyframes move {
	0% {transform: translate(0px);}
	100% {transform: translate(90vw);}
}

div.sprite {
	background-image: url("images/animStar.png");
	width: 130px;
	height: 130px;
	animation: sprite 0.75s steps(7) infinite, move 3s linear alternate;
	/* animation: sprite 0.1ms steps(7) 10, move 0.1ms linear both;
	animation-timeline: scroll();
	animation-range 0% 100%; */
	/* position: fixed; */
	position: static;
	bottom: 0px;
	left: 50px;
	}






/* google typeface */

h1 { 
	font-size: 50px;
	font-family: "Syncopate", serif; 
	margin-top: 0;
}

h2 { 
	font-size: 35px; 
	font-family: "Cormorant Unicase", sans-serif; 
}

h3 { 
	font-size: 30px; 
	font-family: "Cormorant Unicase", sans-serif; 
}

em { 
  	font-family: "Cormorant Unicase", serif;
	font-size: 18px;
	display: block;
	text-align: center;
} 

p { 
	font-size: 18px;
	font-family: "PT Sans Narrow", sans-serif; 
	padding-bottom: 85px;
}

figure { 
	display: block;
	text-align: center;


footer { 
	padding: 25px;
	display: block;
	text-align: center;
	font-size: 12px;
	background: black;
	color: white;
	clear: both;
}


.clear {
	both: clear;
}	

