/* elemen utama */

* {
	font-family: sans-serif;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
/* akhir elemen utama */


/* elemen pembantu */

body {
	background: greenyellow;
	background: url('./img/bg5.png');
	background-size: cover;
	background-repeat: no-repeat;
}

.header {
	position: relative;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: linear-gradient(to right, ghostwhite, dodgerblue, midnightblue);
	padding: 0 25px;
	transition: 0.3s;
	position: sticky;
	position: -webkit-sticky;
	top: 0;
	z-index: 1;
	opacity: 0.96;
}
/* akhir elemen pembantu */


/* elemen logo */

.logo img {
	display: block;
	width: 100px;
	height: 100px;
	margin-top: -6px;
}
/* akhir elemen logo */


/* elemen menu dan hamburger*/

.navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.menu {
	display: flex;
	justify-content: center;
	flex-direction: row;
	align-items: center;
	z-index: 1;
	transition: 0.5s;
}

.menu li {
	list-style-type: none;
}

.menu li a {
	color: #fff;
	text-decoration: none;
	display: block;
	padding: 40px 25px;
	font-size: 18px;
	line-height: 1;
	transition: 0.3s;
}

.menu li a:hover {
	box-shadow: 0 -5px 0px #fff inset,
	500px 0 0 rgba(255, 255, 255, 0.03) inset;
	padding: 35px 25px 45px 25px;
}

.hamburger {
	position: relative;
	width: 30px;
	height: 4px;
	background: white;
	border-radius: 10px;
	cursor: pointer;
	z-index: 2;
	transition: 0.3s;
}

.hamburger:before,
.hamburger:after {
	content: "";
	position: absolute;
	height: 4px;
	right: 0;
	background: white;
	border-radius: 10px;
	transition: 0.3s;
}

.hamburger:before {
	top: -10px; 
	width: 20px;
}

.hamburger:after {
	top: 10px;
	width: 25px;
}

.toggle-menu {
	position: absolute;
	width: 30px;
	height: 100%;
	z-index: 3;
	cursor: pointer;
	opacity: 0;
}

.hamburger,
.toggle-menu {
	display: none;
}

.navigation input:checked ~ .hamburger {
	background: transparent;
}

.navigation input:checked ~ .hamburger:before {
	top: 0;
	transform: rotate(-45deg);
	width: 30px;
}

.navigation input:checked ~ .hamburger:after {
	top: 0;
	transform: rotate(45deg);
	width: 30px;
}

.navigation input:checked ~ .menu {
	right: 0;
	box-shadow: -20px 0 40px rgba(0, 0, 0, 0.3);
}
/* akhir elemen menu dan hamburger */


/* elemen responsive menu dan hamburger */

@media screen and (max-width: 960px) {
	.hamburger,
	.toggle-menu {
		display: block;
	}
	.header {
		padding: 10px 20px;
	}
	.menu {
		justify-content: start;
		flex-direction: column;
		align-items: center;
		position: fixed;
		top: 0;
		right: -300px;
		background: dodgerblue;
		width: 225px;
		height: 100%;
		padding-top: 65px;
	}
	.menu li {
		width: 100%;
	}
	.menu li a {
		transition: 0.2s all;
		text-decoration: none;
	}
	.menu li a:hover {
		transform: scale(1.08);
	}
	.menu li a,
	.menu li a:hover {
		padding: 30px;
		font-size: 20px;
		box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
	}
}
/* akhir elemen responsive menu dan hamburger */


/* elemen picture */

.items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	padding: 10px 20px;
	grid-column-gap: 20px;
	grid-row-gap: 30px;
	margin-top: 0px;
	margin-bottom: 50px;
}
.item img {
	width: 70%;
	height: 300px;
	object-fit: cover;
	cursor: pointer;
	transition: 0.2s ease;
	border-radius: 100%;
	padding: 50px;
	margin-left: 60px;
}
.item img:hover {
	transform: scale(1.04);
}
.item h2 {
	padding: 5px;
	text-align: center;
}
.item h3 {
	padding: 5px;
	text-align: center;
	font-size: 15px;
	font-weight: bold;
}
.item p .button {
	padding: 8px 31.5px 8px 31.5px;
	border: none;
	outline: none;
	background-color: darkslateblue;
	color: white;
	cursor: pointer;
	border-radius: 4px;
	font-size: 20px;
	display: block;
	margin: 0 auto;
	transition: 0.2s all;
	margin-top: 15px;
	text-decoration: none;
	margin-left: 30%;
	margin-right: 30%;
}
.item p:hover {
	transform: scale(1.08);
}
/* akhir elemen picture */


/* elemen responsive picture */

@media screen and (max-width: 960px){
	.items{
		grid-template-columns: repeat(2, 1fr);
	}
	.item img {
		width: 65%;
		height: 280px;
		margin-left: 78px;
	}
	.item p .button {
		padding: 8px 35px 8px 35px;
}
@media screen and (max-width: 640px){
	.items{
		grid-template-columns: repeat(1, 1fr);
	}
	.item img {
		width: 63%;
		height: 250px;
		margin-left: 78px;
	}
	.item p .button {
		font-size: 18px;
		padding: 8px 31.5px 8px 31.5px;
	}
}
/* akhir elemen responsive picture */


/* elemen responsive menu dan hamburger */

@media screen and (max-width: 640px) {
	.hamburger,
	.toggle-menu {
		display: block;
	}
	.header {
		padding: 10px 20px;
	}
	.menu {
		justify-content: start;
		flex-direction: column;
		align-items: center;
		position: fixed;
		top: 0;
		right: -300px;
		background: dodgerblue;
		width: 175px;
		height: 100%;
		padding-top: 65px;
	}
	.menu li {
		width: 100%;
	}
	.menu li a {
		transition: 0.2s all;
		text-decoration: none;
	}
	.menu li a:hover {
		transform: scale(1.08);
	}
	.menu li a,
	.menu li a:hover {
		padding: 30px;
		font-size: 17px;
		box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
	}
}
/* akhir elemen responsive menu dan hamburger */