*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: sans-serif;
}

input{
	display: none;
}

.container{
	width: 100%;
	text-align: center;
}

h1{
	font-weight: normal;
	font-size: 35px;
	position: relative;
	margin: 40px 0;
}

h1::before{
	content: '';
	position: absolute;
	width: 100px;
	height: 3px;
	background-color: crimson;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	animation: animate 4s linear infinite;
}

@keyframes animate{
	0%{
		width: 100px;
	}
	50%{
		width: 200px;
	}
	100%{
		width: 100px;
	}
}

.top-content{
	background-color: rgb(243, 243, 243);
	width: 90%;
	margin: 0 auto 20px auto;
	height: 60px;
	display: flex;
	align-items: center;
	border-radius: 5px;
	box-shadow: 3px 3px 5px lightgray;
}

h3{
	height: 100%;
	background-color: rgb(221, 221, 221);
	line-height: 60px;
	padding: 0 50px;
	color: white;
}

label{
	display: inline-block;
	height: 100%;
	margin: 0 10px;
	line-height: 60px;
	font-size: 15px;
	color: gray;
	cursor: pointer;
	transition: color .5s;
}

label:hover{
	color: black;
}

.photo-gallery{
	width: 90%;
	margin: auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 20px;
}

.pic{
	position: relative;
	height: 230px;
	border-radius: 10px;
	box-shadow: 3px 3px 5px lightgray;
	cursor: pointer;
	transition: .5s;
}

.pic img{
	width: 100%;
	height: 100%;
	border-radius: 10px;
	transition: .5ps;
}

.pic::before{
	content: "Galeri Handayani";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	font-size: 22px;
	font-weight: bold;
	width: 100%;
	margin-top: -100px;
	opacity: 0;
	transition: .3s;
	transition-delay: .2s;
	z-index: 1;
}

.pic:after{
	content: "";
	position: absolute;
	width: 100%;
	bottom: 0;
	left: 0;
	border-radius: 10px;
	height: 0;
	background-color: rgba(0, 0, 0, .4);
	transition: .3s;
}

.pic:hover::after{
	height: 100%;
}

.pic:hover::before{
	margin-top: 0;
	opacity: 1;
}

#check1:checked ~ .container .photo-gallery .pic{
	opacity: 1;
	transform: scale(1);
	position: relative;
	transition: .5s;
}

/* Program Satu Tahun atau pst */
#check2:checked ~ .container .photo-gallery .pst{
	transform: scale(1);
	opacity: 1;
	position: relative;
}
#check2:checked ~ .container .photo-gallery .ap,
#check2:checked ~ .container .photo-gallery .dg,
#check2:checked ~ .container .photo-gallery .bi,
#check2:checked ~ .container .photo-gallery .menja,
#check2:checked ~ .container .photo-gallery .menge,
#check2:checked ~ .container .photo-gallery .calis,
#check2:checked ~ .container .photo-gallery .prak{
	opacity: 0;
	transform: scale(0);
	position: absolute;
	transition: 0s;
}


/* Aplikasi Perkantoran atau ap */
#check3:checked ~ .container .photo-gallery .ap{
	transform: scale(1);
	opacity: 1;
	position: relative;
}
#check3:checked ~ .container .photo-gallery .pst,
#check3:checked ~ .container .photo-gallery .dg,
#check3:checked ~ .container .photo-gallery .bi,
#check3:checked ~ .container .photo-gallery .menja,
#check3:checked ~ .container .photo-gallery .menge,
#check3:checked ~ .container .photo-gallery .calis,
#check3:checked ~ .container .photo-gallery .prak{
	opacity: 0;
	transform: scale(0);
	position: absolute;
	transition: 0s;
}


/* Desain Grafis atau dg */
#check4:checked ~ .container .photo-gallery .dg{
	transform: scale(1);
	opacity: 1;
	position: relative;
}
#check4:checked ~ .container .photo-gallery .ap,
#check4:checked ~ .container .photo-gallery .pst,
#check4:checked ~ .container .photo-gallery .bi,
#check4:checked ~ .container .photo-gallery .menja,
#check4:checked ~ .container .photo-gallery .menge,
#check4:checked ~ .container .photo-gallery .calis,
#check4:checked ~ .container .photo-gallery .prak{
	opacity: 0;
	transform: scale(0);
	position: absolute;
	transition: 0s;
}


/* Bahasa Inggris atau bi */
#check5:checked ~ .container .photo-gallery .bi{
	transform: scale(1);
	opacity: 1;
	position: relative;
}
#check5:checked ~ .container .photo-gallery .ap,
#check5:checked ~ .container .photo-gallery .dg,
#check5:checked ~ .container .photo-gallery .pst,
#check5:checked ~ .container .photo-gallery .menja,
#check5:checked ~ .container .photo-gallery .menge,
#check5:checked ~ .container .photo-gallery .calis,
#check5:checked ~ .container .photo-gallery .prak{
	opacity: 0;
	transform: scale(0);
	position: absolute;
	transition: 0s;
}


/* Menjahit atau menja */
#check6:checked ~ .container .photo-gallery .menja{
	transform: scale(1);
	opacity: 1;
	position: relative;
}
#check6:checked ~ .container .photo-gallery .ap,
#check6:checked ~ .container .photo-gallery .dg,
#check6:checked ~ .container .photo-gallery .bi,
#check6:checked ~ .container .photo-gallery .pst,
#check6:checked ~ .container .photo-gallery .menge,
#check6:checked ~ .container .photo-gallery .calis,
#check6:checked ~ .container .photo-gallery .prak{
	opacity: 0;
	transform: scale(0);
	position: absolute;
	transition: 0s;
}


/* Mengemudi atau menge */
#check7:checked ~ .container .photo-gallery .menge{
	transform: scale(1);
	opacity: 1;
	position: relative;
}
#check7:checked ~ .container .photo-gallery .ap,
#check7:checked ~ .container .photo-gallery .dg,
#check7:checked ~ .container .photo-gallery .bi,
#check7:checked ~ .container .photo-gallery .menja,
#check7:checked ~ .container .photo-gallery .pst,
#check7:checked ~ .container .photo-gallery .calis,
#check7:checked ~ .container .photo-gallery .prak{
	opacity: 0;
	transform: scale(0);
	position: absolute;
	transition: 0s;
}



/* Calistung atau calis */
#check8:checked ~ .container .photo-gallery .calis{
	transform: scale(1);
	opacity: 1;
	position: relative;
}
#check8:checked ~ .container .photo-gallery .ap,
#check8:checked ~ .container .photo-gallery .dg,
#check8:checked ~ .container .photo-gallery .bi,
#check8:checked ~ .container .photo-gallery .menja,
#check8:checked ~ .container .photo-gallery .menge,
#check8:checked ~ .container .photo-gallery .pst,
#check8:checked ~ .container .photo-gallery .prak{
	opacity: 0;
	transform: scale(0);
	position: absolute;
	transition: 0s;
}


/* Prakerin atau prak */
#check9:checked ~ .container .photo-gallery .prak{
	transform: scale(1);
	opacity: 1;
	position: relative;
}
#check9:checked ~ .container .photo-gallery .ap,
#check9:checked ~ .container .photo-gallery .dg,
#check9:checked ~ .container .photo-gallery .bi,
#check9:checked ~ .container .photo-gallery .menja,
#check9:checked ~ .container .photo-gallery .menge,
#check9:checked ~ .container .photo-gallery .pst,
#check9:checked ~ .container .photo-gallery .calis{
	opacity: 0;
	transform: scale(0);
	position: absolute;
	transition: 0s;
}