/* Font */
@font-face{
	font-family: 'BebasNeue';
	src:  url(../fonts/BebasNeue-Regular.woff) format('woff');
}


/* Style Utama*/

body{
	font: 18px/36px 'BebasNeue', 'Arial Narrow', arial, sans-seriff;
	background-color: lightgrey;

}

h1{
	font-size:  80px;
	margin:  50px 0;
	text-align: center;
	text-shadow: 1px 1px 2px white;
}

.container{
	width: 750px;
	background-color: white;
	margin: auto;
	padding: 30px;
	box-shadow: 0 0 3px 3px rgba(0,0,0,.3);
	border-radius: 5px;
}

.gallery li{
	width: 120px;
	height: 120px;
	border-radius: 50%;
	border: 5px solid #666;
	float: left;
	margin-right: 20px;
	position: relative;

}


.gallery li img{
	border-radius: 50%;
}

.gallery li span{
	display: block;
	width: 120px;
	height: 120px;
	background-color: rgba(200,200,200,.5);
	border-radius: 50%;
	position: absolute;
	top: 0;
	text-align: center;
	line-height: 120px;
	color: #333;
	text-shadow: 1px 1px 1px #ddd;
	opacity: 0;
	transition: .3s;
	transform: scale(0) rotate(0deg);
}

.gallery li a:hover span{
	opacity: 1;
	transform: scale(1.0) rotate(360deg);
}

.clear{
	clear: both;
}

/* overlay */

.overlay{
	z-index: 9999;
	transition: 0.8s;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0)
	width:  0;
	height: 0;
	overflow: hidden;
	text-align: center;
	padding: 100px 0;

}


.overlay:target {
	width:  auto;
	height: auto;
	bottom: 0;
	right: 0;
	background-color: rgba(0,0,0,.7)
}

.overlay img{
	max-height: 100%;
	box-shadow: 2px 2px 7px rgba(0, 0, 0, .5);

}

.overlay:target img{
	animation:  fade 1s;

}

.overlay .close{
	position: absolute;
	top: 50;
	left: 50%;
	margin-left: -20px;
	color: white;
	text-decoration: none;
	background-color: black;
	border: 1px solid white;
	line-height: 14px;
	padding: 5px;
	opacity: 0;

}

.overlay:target .close{
	animation:  fade 0.5s 0.5s forwards;
}

.overlay:target .next{
	animation: fade .5s .5s forwards;
}

.overlay:target .prev{
	animation: fade .5s .5s forwards;
}

/* navigasi */
.next, .prev{
	width: 57px;
	height: 57px;
	position: absolute;
	text-indent: -999999999;
	top: 45%;
	opacity: 0;
	
}

.next{
	background-image: url(../img/right.png);
	margin-left: 50px;
}

.prev{
	background-image: url(../img/left.png);
	margin-left: -100px;
}


/* animasi	*/
@keyframes zoomandfade {
	0%{
		transform: scale(0);
		opacity: 0;
	}

	100%{
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes slidedownfade{
	0%{
		opacity: 0;
		margin-top: -20px;
	}

	100%{
		opacity: 1;
		margin-top: 0;
	}
}


@keyframes fade{
	0%{
		opacity: 0;
	}

	100%{
		opacity: 1;
	}
}

















