@import url('https://fonts.googleapis.com/css2?family=Hind:wght@600&family=Poppins:wght@300;400;500;600;700;800&display=swap');
/* CSS3 for Gallery01 */
* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
	user-select: none;
}
input {
	display: none;
}
.container {
	width: 100%;
	text-align: center;
}
h1 {
	font-weight: normal;
	font-size: 36px;
	font-weight: 600;
	position: relative;
	margin: 8px 0;
}

.top-content {
	background-color: rgb(243, 243, 243);
	width: 90%;
	margin: 0 auto 25px auto;
	height: 40px;
	display: flex;
	border-radius: 5px;
	box-shadow: 3px 3px 5px lightgray;
}

.option {
	width: 100%;
}

h3 {
	height: 100%;
	background-color: rgb(221, 221, 221);
	line-height: 40px;
	padding: 0 15px;
	font-size: 16px;
	color: white;
}

label {
	display: inline-block;
	height: 100%;
	margin: 0 15px;
	line-height: 40px;
	font-size: 14px;
	font-weight: 500;
	color: rgba(128, 128, 128, 0.815);
	cursor: pointer;
	transition: color .5s;
}

label:hover {
	color: black;
}

.photo-gallery {
	width: 90%;
	margin: auto;
	padding-bottom: 20px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.pic {
	display: flex;
	flex-direction: row;
	/* position: relative; */
	/* height: 230px; */
	/* height: auto; */
	/* border-radius: 8px; */
	/* height: min-content; */
	/* background:  red; */
	cursor: pointer;
	transition: .5s;
	align-content: space-between;
	overflow: hidden;
}

.pic img {
	box-shadow: 1px 1px 3px 1px lightgray;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
	border-radius: 8px;
	transition: .5s;
}

.pic img:hover {
	filter: grayscale(100%);
	transform: scale(1.05);
}

#check1:checked ~ .container .photo-gallery .pic {
	opacity: 1;
	transform: scale(1);
	position: relative;
	transition: .5s;
}

#check2:checked ~ .container .photo-gallery .family {
	opacity: 1;
	transform: scale(1);
	position: relative;
}

#check2:checked ~ .container .photo-gallery .green,
#check2:checked ~ .container .photo-gallery .child,
#check2:checked ~ .container .photo-gallery .place,
#check2:checked~.container .photo-gallery .bior,
#check2:checked~.container .photo-gallery .tele {
	opacity: 0;
	transform: scale(0);
	position: absolute;
	transition: 0s;
}

#check3:checked ~ .container .photo-gallery .child {
	opacity: 1;
	transform: scale(1);
	position: relative;
}
#check3:checked ~ .container .photo-gallery .green,
#check3:checked ~ .container .photo-gallery .family,
#check3:checked ~ .container .photo-gallery .place,
#check3:checked~.container .photo-gallery .bior,
#check3:checked~.container .photo-gallery .tele {
	opacity: 0;
	transform: scale(0);
	position: absolute;
	transition: 0s;
}

#check4:checked ~ .container .photo-gallery .place {
	opacity: 1;
	transform: scale(1);
	position: relative;
}

#check4:checked ~ .container .photo-gallery .family,
#check4:checked ~ .container .photo-gallery .child,
#check4:checked ~ .container .photo-gallery .green,
#check4:checked~.container .photo-gallery .bior,
#check4:checked~.container .photo-gallery .tele {
	opacity: 0;
	transform: scale(0);
	position: absolute;
	transition: 0s;
}

#check5:checked ~ .container .photo-gallery .green {
	opacity: 1;
	transform: scale(1);
	position: relative;
}

#check5:checked ~ .container .photo-gallery .place,
#check5:checked ~ .container .photo-gallery .family,
#check5:checked ~ .container .photo-gallery .child,
#check5:checked~.container .photo-gallery .bior,
#check5:checked~.container .photo-gallery .tele {
	opacity: 0;
	transform: scale(0);
	position: absolute;
	transition: 0s;
}

#check6:checked~.container .photo-gallery .bior {
	opacity: 1;
	transform: scale(1);
	position: relative;
}

#check6:checked~.container .photo-gallery .place,
#check6:checked~.container .photo-gallery .family,
#check6:checked~.container .photo-gallery .child,
#check6:checked~.container .photo-gallery .green,
#check6:checked~.container .photo-gallery .tele {
	opacity: 0;
	transform: scale(0);
	position: absolute;
	transition: 0s;
}

#check7:checked~.container .photo-gallery .tele {
	opacity: 1;
	transform: scale(1);
	position: relative;
}

#check7:checked~.container .photo-gallery .place,
#check7:checked~.container .photo-gallery .family,
#check7:checked~.container .photo-gallery .child,
#check7:checked~.container .photo-gallery .green,
#check7:checked~.container .photo-gallery .bior {
	opacity: 0;
	transform: scale(0);
	position: absolute;
	transition: 0s;
}

@media screen and (max-width:800px) {
	.photo-gallery {
		display: flex;
		flex-direction: column;
	}
	.top-content {
		display: flex;
		flex-direction: column;
		height: fit-content;
		align-items: center;
		border-radius: 5px;
		box-shadow: 3px 3px 5px lightgray;
	}
	label {
		height: 100%;
		margin: 0 5px;
		line-height: 40px;
		font-size: 13px;
		font-weight: 300;
	}
}