/* 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;
}
a {
	text-decoration: none;
}

a:hover {
	cursor: default;
}
/* 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;
}


/* Keyframes */

@keyframes fade_out {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

@keyframes fade_in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes to_white {
	from {
		opacity: .5;
	}
	to {
		opacity: 1;
	}
}

@keyframes to_alpha {
	from {
		opacity: 1;
	}
	to {
		opacity: .5;
	}
}

/* Fonts */

@font-face {
	font-family: Cantarell;
	scr: url('fonts/Cantarell-Regular');
}

/*My Code*/

header {
	text-align: center;
	width: 100%;
}

header a img {
	height: 35px;
	margin: 20px auto 0;
}

header ul li {
	display: inline-block;
	margin: 15px 20px 20px;
}

header ul li a {
	color: #171717;
	font-family: Cantarell;
	font-size: 18px;
}

main .banner_back, main .banner {
	height: calc(100vh - 111px);
	width: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

main .banner {
	background-image: url('images/banner/0.jpg');
}

main .banner_back {
	background-image: url('images/banner/1.jpg');
}

main p {
	color: white;
	font-family: Cantarell;
	font-weight: 800;
	font-size: 30px;
	text-align: center;
	line-height: 40px;
	position: absolute;
	left: 40px;
	right: 40px;
	top: calc(50vh + (111px / 2) - 30px  );
}

main p.belakang, main p.tengah {
	opacity: 0;
}

main ul {
	display: block;
	text-align: center;
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100vh - 25px);
}

main ul li {
	display: inline-block;
	margin: 0 3px;
	width: 8px;
	height: 8px;
	background-color: white;
	opacity: .5;
	border-radius: 50%;
}

main ul li:nth-child(1) {
	opacity: 1;
}

main .banner {
	margin-top: calc( (100vh - 111px) * (-1) );
}

footer {
	background-color: #171717;
	color: white;
	height: 40px;
}

footer p {
	line-height: 40px;
	text-align: center;
	font-size: 12px;
	font-family: Cantarell;
}

@media only screen and (min-width: 1024px) {
	header {
		text-align: left;
	}
	header a img {
		float: left;
		margin: 20px 0 20px 40px;
	}

	header ul {
		display: inline-block;
		float: right;
		margin-right: 20px;
	}

	header ul li {
		margin: 0px 20px 0px;
		line-height: 70px;
	}

	header::after {
		display: table;
		content: '';
		clear: both;
	}

	main .banner_back, main .banner {
		height: calc(100vh - 75px);
	}

	main .banner {
		margin-top: calc( (100vh - 75px) * (-1) );
	}

	main p {
		line-height: 60px;
		font-size: 50px;
		top: calc(50vh + (75px / 2) - 30px );
		left: 200px;
		right: 200px;
	}
	
	footer p {
	}
}












