@font-face {
    font-family: "comfortaa";
    src: url("../../fon/comfortaa.woff") format('woff');
}

@font-face {
    font-family: "comfortaa";
    font-weight: bold;
    src: url("../../fon/comfortaa-b.woff") format('woff');
}

@font-face {
    font-family: "k2d";
    src: url("../../fon/k2d.woff") format('woff');
}

@font-face {
    font-family: "k2d";
    font-weight: bold;
    src: url("../../fon/k2d-b.woff") format('woff');
}

@font-face {
    font-family: "k2d";
    font-style: italic;
    src: url("../../fon/k2d-i.woff") format('woff');
}

@font-face {
    font-family: "k2d";
    font-weight: bold;
    font-style: italic;
    src: url("../../fon/k2d-bi.woff") format('woff');
}

* {
	box-sizing: border-box;
	line-height: 1.42;
}

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	font-family: "comfortaa", Arial;
	overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {font-family: "k2d"}

.mobile {
	display: none;
}

.web {
	display: block;
}

.utama {
	position: relative;
	width: 100%;
	height: 100%;
	color: white;
	background: #C33764;
	background: linear-gradient(45deg, #C33764 0%, #1D2671 100%); 
	overflow-y: auto;
}

header {
	text-align: center;
	padding: 2em 10px 10px;
}

#judul {
	margin-top: 0;
	font-size: 1.8rem;
}

#desk {
	margin-bottom: 0.6rem;
}

nav ul {
	text-align: center;
	padding-left: 0;
}

nav li {
	display: inline-block;
	list-style: none;
	border-radius: 20px;
	border: 2px white solid;
	padding: 12px 14px;
	margin-right: 10px;
	cursor: pointer;
	margin-bottom: 12px;
}

nav li.aktif {
	color: #4E65FF;
	background-color: white;
	font-weight: bold;
}

#s-kalender {
	text-align: center;
}

#h-kalender {
	font-family: "k2d", Arial;
	font-size: 1.5em;
	font-weight: bold;
	margin-bottom: 20px;
}

#k-kalender {
	display: inline-block;
	width: 100%;
	max-width: 1000px;
	border: rgba(255, 255, 255, 0.8) 1px solid;
	border-radius: 10px;
	overflow: hidden;
	position: relative;
}

#p-kalender {
	position: absolute;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	top: 50%;
	width: 600px;
	height: 300px;
	border-radius: 10px;
	padding: 10px;
	border: white 2px solid;
	background-color: #29539b;
	background-image: linear-gradient(315deg, #29539b 0%, #1e3b70 74%);
	transition: transform 0.3s;
	transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
}

#p-kalender h1 {
	margin: 6px;
	font-size: 1.4rem;
}

#p-klos {
	background-color: #feae96;
	background-image: linear-gradient(315deg, #feae96 0%, #fe0944 74%);
	padding: 8px 12px;
	border-radius: 20px;
	text-transform: uppercase;
	width: 100px;
	position: absolute;
	bottom: 10px;
	right: 10px;
	cursor: pointer;
}

#p-klos:hover {
	box-shadow: 0 0 4px hotpink;
}

#d-kalender {
	padding: 10px;
	display: flex;
	justify-content: center;
}

.d-kalender {
	margin: 10px;
	width: 120px;
	height: 80px;
	border-radius: 10px;
	font-family: "k2d", Arial;
	font-size: 1.2rem;
	line-height: 1.5;
	padding: 10px;
	background-color: #50d8d7;
	background-image: linear-gradient(316deg, #50d8d7 0%, #923993 74%);
}

#d-kalender a {
	text-decoration: none;
	color: inherit;
}

#kalender {
	width: 100%;
	border-collapse: collapse;
	padding: 10px;
	margin-left: auto;
	margin-right: auto;
	user-select: none;
	-webkit-user-select: none;
}

#kalender thead {
	background: rgb(255,255,255);
	background: linear-gradient(270deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.15) 100%); 
}

#kalender th {
	width: calc(100%/7);
	height: 40px;
}

#kalender td {
	height: 60px;
	font-size: 1.2rem;
	border: rgba(255, 255, 255, 0.4) 1px solid;
	position: relative;
	transition: text-shadow 0.3s;
}

#kalender td:hover {
	text-shadow: 0 0 8px white;
}

#hariini {
	position: relative;
	display: inline-block;
	width: 24px;
	overflow: visible;
	text-align: center;
}

#hariini:after {
	content: "";
	position: absolute;
	width: 36px;
	height: 36px;
	border-radius: 20px;
	border: 2px solid rgba(255,255,255,0.4);
	background: rgba(255,255,255,0.2);
	left: -8px;
	top: -10px;
}

.tgl-event {
	cursor: pointer;
}

.tgl-event-bendera {
	position: absolute;
	top: 0;
	right: 0;
	width: 0;
	height: 0;
	border-top: 40px solid #D79111;
	border-left: 40px solid transparent;
	transition: border-top-color 0.3s;
}

.tgl-event:hover .tgl-event-bendera {
	border-top-color: #86CC11;
}

.tgl-event-bendera span {
	font-size: 0.9rem;
	position: absolute;
	color: white;
	top: -36px;
	right: 4px;
}

.nav-kalender {
	display: inline-block;
	margin-right: 10px;
	cursor: pointer;
	padding: 0 10px;
	user-select: none;
	-webkit-user-select: none;
}

.s-permainan {
	margin: 0 auto;
	width: 100%;
	max-width: 1000px;
	padding: 0 16px;
}

.s-permainan-flex {
	display: flex;
	flex-wrap: wrap;
}

.game-entri {
	text-align: center;
	width: 25%;
	padding: 20px;
}

.game-entri a {
	text-decoration: none;
}

.game-statis-gambar {
	border-radius: 40px;
	width: 160px;
	height: 160px;
	border: 4px #02baf2 solid;
	margin: 0 auto;
	display: block;
	background-position: center center;
	background-size: cover;
}

.game-entri h2 {
	color: white;
	text-decoration: none;
	margin: 10px 6px;
	font-size: 1.4rem;
	text-align: center;
}

.game-kosong {
	border: 2px white solid;
	border-radius: 40px;
	padding: 30px;
	margin: 20px auto;
	text-align: center;
}

.game-kosong h2 {
	margin-top: 8px;
}

.kartu-event {
	background-color: #29539b;
	background-image: linear-gradient(315deg, #29539b 0%, #1e3b70 74%);
	color: white;
	border-radius: 10px;
	margin-top: 24px;
	box-shadow: 0px 2px 6px #333;
}

.kartu-event h1 {
	padding: 12px 20px;
	margin: 0;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
}

.kartu-event h2 {
	font-size: 1.1rem;
	font-family: 'comfortaa';
	background-color: #60dfcd;
	background-image: linear-gradient(0deg, #60dfcd 20%, #1e9afe 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-align: center;
}

.kartu-daftar {display: none;}

.isi-kartu {
	max-height: 236px;
	overflow-x: hidden;
	overflow-y: auto;
}

.kartu-daftar ul {
	padding: 0px 20px 12px;
	padding-left: 0;
	list-style: none;
	display: flex;
	flex-flow: wrap;
	justify-content: center;
}

.kartu-daftar li {
	width: 80px;
	height: 80px;
	margin: 8px;
}

.daftar-isi-kartu {
	border-radius: 10px;
	text-align: center;
	line-height: 80px;
	font-size: 1.2rem;
	background-color: #60dfcd;
	background-image: linear-gradient(315deg, #60dfcd 0%, #1e9afe 74%);
	color: white;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
}

.kartu-daftar a {
	text-decoration: none;
}

.badge {
	background-color: aliceblue;
	display: inline-block;
	padding: 4px;
	border-radius: 4px;
	font-family: 'comfortaa', Arial;
	font-size: 0.9rem;
	vertical-align: top;
	margin-top: 4px;
	margin-left: 10px;
	color: #29539b;
}

footer {
	margin-top: 30px;
	padding: 6px 10px;
	text-align: right;
	opacity: 0.8;
	font-size: 0.8rem;
}

footer a {
	display: inline-block;
	padding-top: 4px;
	color: inherit;
}

.tombol-info {
	text-align: center;
	border-radius: 50%;
	box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
	width: 20px;
	height: 20px;
	line-height: 20px;
	color: white;
	background-color: #9921e8;
	background-image: linear-gradient(315deg, #9921e8 0%, #5f72be 74%);
	display: inline-block;
	margin-left: 6px;
	right: 20px;
	vertical-align: top;
	top: 20px;
	font-size: 1rem;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
}

.popup-tombol {
	display: none !important;
}

@media screen and (max-width: 800px), screen and (max-height: 660px) {
	.mobile {display: block;}
	.web {display: none;}
	#sisi-kanan {width: 100%;}

	#judul {font-size: 1.5rem;}
	#desk {font-size: 0.9rem;}

	nav li {padding: 8px 10px; font-size: 0.9rem;}

	nav ul {margin-top: 8px; margin-bottom: 12px;}

	#iklan-web ins {display: none;}
	#iklan-mobile ins {display: block;}

	#sisi-kanan footer {
		position: relative;
		color: #999;
		width: 100%;
		text-align: right;
		margin-top: 20px;
	}

	.nav-kalender {
		font-size: 1.2rem;
	}

	.kartu-event h1 {
		font-size: 1.2rem;
	}

	.kartu-event h2 {
		font-size: 1rem;
	}

	.daftar-isi-kartu {
		font-size: 1rem;
		max-width: 70px;
		height: 70px;
		line-height: 70px;
	}

	#p-kalender h1 {
		font-size: 1.2rem;
	}

	.d-kalender {
		width: 100px;
		height: 60px;
		font-size: 1rem;
		line-height: 1.2;
	}

	header {
		padding-top: 1.4em;
	}

	footer {
		font-size: 0.65rem;
	}
}

@media screen and (max-width: 800px) {
	#p-kalender {
		width: 400px;
	}

	.tgl-event-bendera {
		border-top: 32px solid #D79111;
		border-left: 32px solid transparent;
	}

	.tgl-event-bendera span {
		font-size: 0.75rem;
		top: -27px;
		right: 3px;
	}

	p {
		font-size: 0.9rem;
	}

	.game-kosong {
		padding: 20px;
	}

	.game-entri h2, .game-kosong h2 {
		font-size: 1.2rem;
	}

	.game-entri {
		text-align: center;
		width: 50%;
		padding: 10px;
	}

	.game-gambar {
		border-radius: 40px;
		width: 140px;
		height: 140px;
	}
}