h2{
	font-family: sans-serif;
	font-weight: normal;
}

/* ==========================
   SLIDER
========================== */

.malasngoding-slider {
	border: 4px solid #063e9d;
	position: relative;
	overflow: hidden;
	background: #efefef;
	margin: 20px auto;
	width: 80%;
	height: 450px;
}

.isi-slider {
	display: flex;
	width: 300%; /* 3 gambar */
	height: 100%;
	position: relative;

	animation-name: slider;
	animation-duration: 12s;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
}

.isi-slider:hover {
	-webkit-animation-play-state: paused;
	-moz-animation-play-state: paused;
	-o-animation-play-state: paused;
	animation-play-state: paused;
}

.isi-slider img {
	width: 33.333333%;
	height: 100%;

	flex-shrink: 0;

	/* tampilkan gambar utuh */
	object-fit: contain;
	object-position: center center;

	background: #efefef;

	display: block;
}

/* ==========================
   HOVER EFFECT
========================== */

.malasngoding-slider:after {
	font-size: 150px;
	position: absolute;
	z-index: 12;
	color: rgba(255,255,255,0);
	left: 300px;
	top: 80px;

	-webkit-transition: 1s all ease-in-out;
	-moz-transition: 1s all ease-in-out;
	transition: 1s all ease-in-out;
}

.malasngoding-slider:hover:after {
	color: rgba(255,255,255,0.6);
}

/* ==========================
   ANIMATION
========================== */

@-webkit-keyframes slider {

	0%, 30% {
		transform: translateX(0%);
	}

	33%, 63% {
		transform: translateX(-33.333333%);
	}

	66%, 96% {
		transform: translateX(-66.666666%);
	}

	100% {
		transform: translateX(0%);
	}
}

@-moz-keyframes slider {

	0%, 30% {
		transform: translateX(0%);
	}

	33%, 63% {
		transform: translateX(-33.333333%);
	}

	66%, 96% {
		transform: translateX(-66.666666%);
	}

	100% {
		transform: translateX(0%);
	}
}

@keyframes slider {

	0%, 30% {
		transform: translateX(0%);
	}

	33%, 63% {
		transform: translateX(-33.333333%);
	}

	66%, 96% {
		transform: translateX(-66.666666%);
	}

	100% {
		transform: translateX(0%);
	}
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 768px) {

	.malasngoding-slider {
		width: 95%;
		height: 250px;
	}
}