.filter-wrapper {
	display: flex;
	justify-content: center;
	background: rgba(0, 0, 0, 0.05);
	padding-top: 4.5rem;
}

.filter-box {
	max-width: 65rem;
	width: 100%;
	padding: 0 0.5rem;
	box-sizing: border-box;
}

.filter-form {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	margin-bottom: 0.5rem;
	justify-content: center;
	max-width: 100%;
	padding: 0 1rem; /* memberi ruang di kiri kanan agar tidak mentok */
}

.filter-form button {
	padding: 3px 10px;
}

.filter-form select {
	font-size: 0.8rem;
	width: 100%;
	padding: 0 0 5px;
	box-sizing: border-box;
	cursor: pointer;
	outline: none;
	border: none;
	background: transparent;
	border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.content {
	max-width: 100%;
	margin: auto;
	padding: 20px;
}
.gallery-header {
	text-align: center;
	margin-bottom: 20px;
}
.filters {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}
.video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.2rem;
}
.video-card {
	border: 1px solid #ddd;
	padding: 10px;
	border-radius: 8px;
}
.video-card h3 {
	font-size: 0.8rem;
	font-weight: 500;
	margin: 10px 0 5px;
}
.video-card .label {
	font-size: 12px;
	background: #eee;
	display: inline-block;
	padding: 3px 8px;
	border-radius: 4px;
}
.skeleton {
	background: #eee;
	animation: pulse 1.5s infinite;
}
.skeleton-thumb {
	width: 100%;
	height: 120px;
	background: #ddd;
	margin-bottom: 10px;
	border-radius: 6px;
}
.skeleton-title {
	width: 80%;
	height: 16px;
	background: #ddd;
	margin-bottom: 6px;
}
.skeleton-label {
	width: 50%;
	height: 12px;
	background: #ddd;
	border-radius: 4px;
}
.video-thumb,
.video-frame-wrapper {
	width: 100%;
	aspect-ratio: 16 / 9;
	background-size: cover;
	background-position: center;
	border-radius: 5px;
	overflow: hidden;
	position: relative;
	border: none;
}
.video-frame-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}
.play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 2.5rem;
	color: var(--warna-sekunder);
	opacity: 0.7;
	padding: 0.8rem;
	cursor: pointer;
}
.play-icon:hover {
	opacity: 1;
	font-size: 2.8rem;
}

@keyframes pulse {
	0% {
		background-color: #eee;
	}
	50% {
		background-color: #f5f5f5;
	}
	100% {
		background-color: #eee;
	}
}


@media (max-width: 900px) {
	.filter-form {
		gap: 1rem;
		justify-content: center;
	}

	.filter-box {
		padding: 0 1rem;
	}

    .filter-form select {
	font-size: 1rem;}
	
	.video-grid {
		/*grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));*/
		gap: 1.5rem;
	}

	.video-card {
		padding: 8px;
	}

	.video-card h3 {
		font-size: 0.9rem;
	}

	/*.container,*/
	/*.content {*/
	/*	padding: 10px 1rem;*/
	/*}*/

	.gallery-header h1 {
		font-size: 1.5rem;
	}

	.gallery-header p {
		font-size: 0.9rem;
		color: #999;
	}
	
	.play-icon {
	    font-size: 4rem;
	}
	
	.video-card .label {
	    font-size: 1rem;}
}

/* #greeting {
	margin: 0 8px;
}

#cover {
	display: flex;
}

#theme {
	margin: 30px 10px 0 10px;
	width: 20%;
}

#themetitle {
	font-size: 12px;
}

#themecontent {
	font-size: 12px;
	border-top: none;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	overflow: auto;
}

#video {
	margin: 30px 10px 0 10px;
	width: 100%;
}

#videotitle {
	background: #f46262;
	color: white;
	font-size: 12px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

#videocontent {
	overflow: auto;
	width: 100%;
}

#main_content {
	line-height: 23px;
	text-align: justify;
	margin-left: 20px;
}

#tbl_video td {
	width: 33.3%;
	vertical-align: text-top;
}

.button {
	width: 100%;
	padding: 8px 8px 10px 8px;
	outline: none;
	cursor: pointer;
	font-size: 11px;
	border: none;
	background: #f46262;
	border-radius: 5px;
}

.select {
	font-size: 11px;
	width: 100%;
	padding: 7.5px;
	box-sizing: border-box;
	cursor: pointer;
	outline: none;
	border: 1px solid #ccc;
	background: white;
	border-radius: 5px;
}

.select option {
	background: white;
}

.elementhover:hover {
	color: #f46262;
	cursor: pointer;
}

.div_video {
	margin: 0 20px 40px 20px;
	border: 1px solid #f2f2f2;
	border-radius: 5px;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; //16:9 
	height: 0;
}

.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.text {
	font-size: 11px;
	width: 100%;
	padding: 8.5px;
	box-sizing: border-box;
	cursor: pointer;
	outline: none;
	border: 1px solid #ccc;
	background: white;
	border-radius: 5px;
}

.textarea {
	font-size: 11px;
	width: 100%;
	padding: 8px;
	box-sizing: border-box;
	cursor: pointer;
	outline: none;
	border: 1px solid #ccc;
	background: transparent;
	resize: none;
	height: 100px;
	line-height: 23px;
	text-align: justify;
	border-radius: 5px;
}

.fade {
	animation-name: fade;
	animation-duration: 2s;
}

.cover {
	object-fit: cover;
	object-position: 0 center;
}

::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: #f2f2f2;
}

::-webkit-scrollbar-thumb {
	background: #ccc;
}

::-webkit-scrollbar-thumb:hover {
	background: #ccc;
}

@media screen and (max-width: 900px) {
	#greeting {
		margin: 0;
	}

	#cover,
	#tbl_video td {
		display: block;
		width: 100%;
	}

	#theme {
		margin: 30px 0 0 0;
		width: 100%;
	}

	#video {
		width: 100%;
		margin: 0;
	}

	#videocontent {
		margin-top: 30px;
	}

	#tbl_video {
		width: 100%;
		overflow: hidden;
	}

	.div_video {
		margin: 0 0 30px 0;
	}

	#main_content {
		margin: 20px 0;
	}
} */
