/* navbar user */
.nav-right li {
	cursor: pointer;
}
.nav-right li img {
	margin: auto 0 !important;
	vertical-align: middle;
}
.nav-right li p {
	color: var(--white-light);
	font-size: 0.9em;
	font-weight: 300;
	font-family: var(--primary-font);
	margin: auto 12px;
}
.nav-right li:hover p {
	color: var(--gray-light);
}
.menu-user {
	position: absolute;
	right: 50px;
	top: 80px;
	display: flex;
	background: var(--bg);
	border-radius: 8px;
	box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.25);
	display: none;
}
.left-user-menu {
	background: var(--bg);
	padding: 15px 0 15px 15px;
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
}
.left-user-menu ul li {
	color: var(--white-light);
}

.right-user-menu {
	padding: 15px 15px 15px 0;
}
.right-user-menu a {
	color: var(--white-light);
	font-weight: 400;
	margin-left: 0;
	padding-left: 5px;
	padding-right: 0;
}
.menu-user li {
	padding: 10px;
}
.right-user-menu li:hover {
	background: var(--purple-light-hover);
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}
.menu-user::before {
	content: '';
	position: absolute;
	top: -20px;
	right: 15px;
	border: 10px solid;
	border-color: transparent transparent var(--bg) transparent;
}
.user.active .menu-user {
	display: flex;
}
.flex {
	display: flex;
}
.container {
	padding: 4%;
}
/* End Nacbar User */

/* filter */
#filter {
	padding: 4% 4% 0;
	max-width: 1440px;
	margin: auto;
}
#filter select {
	padding: 8px 20px;
}
#filter div {
	justify-content: space-between;
}
.filter-option {
	background-color: var(--gray-lightfull);
	justify-content: end;
	border-radius: 3px;
	margin-top: 6px;
}

.filter-option p {
	margin: auto;
	padding: 10px;
	font-size: 14px;
	border: none;
	color: #4f4f4f;
}

.filter-option select {
	border: none;
	width: 200px;
	border-radius: 0 3px 3px 0;
}

#filter button {
	padding: 8px 25px;
	background: var(--purple-normal);
	color: var(--white-light);
	border: none;
	cursor: pointer;
}
#filter button:hover {
	background: var(--purple-normal-hover);
}

#filter .flex {
	flex-flow: row wrap;
}

/* Card Challenge */
#challenge {
	max-width: 1440px;
	padding: 0 4%;
	margin: auto;
}
.body-challenge {
	flex-wrap: wrap;
	justify-content: space-between;
}
.card-challenge {
	background: var(--bg-section);
	width: 650px;
	margin-top: 40px;
	color: var(--white-light);
	padding: 2%;
	cursor: pointer;
	display: none;
	box-shadow: 0 4px 4px 0 var(--bg-section), 0 3px 10px 0 var(--bg-section);
}
.card-challenge:hover {
	background: #150a2e;
	box-shadow: none;
}
.header-card {
	justify-content: space-between;
	margin: 0 0 20px;
}
.header-card h4 {
	font-size: 18px;
}
.header-card p {
	font-size: 12px;
	font-weight: 300;
	padding: 2px 10px;
	margin: auto 0;
}
.mudah {
	background: #70ad72;
	border-radius: 4px;
	border: 1px solid var(--white-light);
}
.sedang {
	background: var(--purple-light);
	border-radius: 4px;
	border: 1px solid var(--white-light);
}
.sulit {
	background: #d8616d;
	border-radius: 4px;
	border: 1px solid var(--white-light);
}
.mid-card {
	justify-content: start;
	margin: 40px 0;
}
.mid-card p {
	margin-right: 15px;
	font-size: 14px;
	font-weight: 300;
}
.footer-card {
	justify-content: space-between;
	margin: 20px 0 0;
}
.footer-card p {
	font-size: 14px;
	font-weight: 300;
}
.tag {
	background: var(--bg);
	padding: 2px 12px;
}

#pagination {
	max-width: 1440px;
	margin: auto;
	padding: 0 4%;
	margin-top: 50px;
}

#pagination .flex {
	justify-content: space-between;
	color: var(--white-light);
}
.hal h4 {
	font-size: 14px;
	margin: auto;
	margin-right: 10px;
	font-weight: 500;
}
.hal p {
	background: var(--white-light);
	color: var(--purple-normal);
	border: 1px solid var(--purple-normal);
	border-radius: 50%;
	width: 40px;
	height: 40px;
	padding: 9px;
	text-align: center;
	cursor: pointer;
	margin-right: 5px;
	font-size: 12px;
	transition: 0.3s;
}
.hal p:hover {
	background: var(--purple-light);
	color: var(--white-light);
}
.circle-hal {
	background: var(--purple-normal) !important;
	color: var(--white-light) !important;
}
.seeall {
	background: var(--purple-normal);
	margin: auto 0;
	padding: 10px 14px;
	border-radius: 25px;
	cursor: pointer;
	transition: 0.3s;
}
.seeall:hover {
	background: var(--purple-normal-hover);
}
.seeall h4 {
	font-weight: 500;
	font-size: 14px;
}

/* Pertanyaan Baru */
#pertanyaan {
	text-align: center;
	color: var(--white-light);
	margin: 4%;
}
.card-question {
	background: var(--bg-section);
	width: 60%;
	margin: auto;
	padding: 25px 30px;
	text-align: start;
	border-radius: 12px;
}
.card-question h1 {
	text-align: center;
	font-size: 28px;
	font-weight: 500;
}
.card-question div label,
.card-question div input,
.card-question div textarea,
.card-question div select {
	width: 100%;
	display: block;
	font-size: 16px;
}
.card-question div label {
	margin: 20px 0 6px;
}
.judul input,
.deskripsi textarea,
.kategori select {
	font-size: 14px !important;
	padding: 8px 12px;
	border: none;
	border-radius: 3px;
	background: var(--white-light);
}
.deskripsi textarea {
	height: 100px;
}
.judul input:focus,
.deskripsi textarea:focus,
.kategori select:focus {
	border: none;
	box-shadow: none;
	outline: none;
}
small {
	font-size: 11px;
	color: var(--gray-lightfull);
}
.card-question button {
	width: 100%;
	margin: 30px 0 20px;
	height: 40px;
	cursor: pointer;
	background: var(--purple-normal);
	color: var(--white-light);
	border: none;
	outline: none;
	box-shadow: none;
	border-radius: 20px;
	font-size: 16px;
	transition: 0.3s;
}
.card-question button:hover {
	background: var(--purple-normal-hover);
}
.penjelasan-aturan p {
	font-size: 12px;
	font-weight: 300;
}
.red {
	color: #ff959e;
}
.blue {
	text-decoration: underline;
	color: var(--purple-light);
	cursor: pointer;
}
::placeholder {
	color: var(--grey);
	font-family: 'Poppins';
	font-weight: 400;
}

/* modal */
#modal {
	position: absolute;
	width: 50%;
	background: var(--bg-section);
	z-index: 1002;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	color: var(--white-light);
	display: none;
}
.modal-header {
	font-size: 16px;
	padding: 20px;
	justify-content: space-between;
}
.modal-footer {
	font-size: 14px;
	padding: 20px;
}
.modal-footer a {
	color: var(--purple-light);
}
.modal-footer a:hover {
	color: var(--purple-light-hover);
}
.bx-x {
	cursor: pointer;
	color: var(--white-light);
	border: 0px;
	font-size: 24px;
}
.bx-x:hover {
	color: var(--gray-light);
}
#bg {
	opacity: 0.8;
	position: absolute;
	display: none;
	position: fixed;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background-color: #000;
	z-index: 1001;
	opacity: 0.8;
}
hr {
	border: 1px solid var(--bg);
}
.input {
	width: 100%;
	margin-top: 40px;
	justify-content: space-between;
}

.input-left {
	width: 80%;
}
.flag-tag {
	background: var(--gray-lightfull);
	border: none;
	font-size: 12px;
	padding: 6px 10px;
	color: var(--purple-dark);
	border-radius: 3px 0 0 3px;
}
.input-left input {
	border: none;
	width: 100%;
	padding: 0 10px;
	border-radius: 0 3px 3px 0;
}
.input-left input:focus {
	box-shadow: 0px 0px 8px 0px var(--purple-light);
	outline: none;
}
.input-right button {
	width: 100px;
	border: none;
	padding: 6px 10px;
	cursor: pointer;
	background: var(--purple-normal);
	color: var(--white-light);
	border-radius: 3px;
}
.input-right button:hover {
	background: var(--purple-normal-hover);
}

@media only screen and (max-width: 1411px) {
	.card-challenge {
		width: 48%;
	}
}

@media only screen and (max-width: 900px) {
	.user {
		flex-direction: row-reverse;
		justify-content: start;
		padding-left: 20px;
	}
	.menu-user {
		right: 150px;
		top: 280px;
	}
	.right-user-menu a {
		margin: 0;
		padding: 1.4px 0;
		text-align: start;
	}

	.card-challenge {
		width: 100%;
		margin-top: 20px;
	}
}

@media only screen and (max-width: 600px) {
	#filter button,
	.filter-option {
		width: 100%;
	}
	.filter-option select {
		width: 70%;
	}
	#filter button {
		margin: 10px 0;
	}
	.pagination {
		flex-direction: column;
	}
	.hal {
		margin: auto;
	}
	.seeall {
		width: 50%;
		margin: auto;
		text-align: center;
		margin-top: 20px;
	}

	.header-card h4 {
		font-size: 14px;
	}
	.seeall h4,
	.header-card p,
	.mid-card p,
	.footer-card p {
		font-size: 12px;
	}
	.hal p {
		width: 35px;
		height: 35px;
	}
	.mid-card {
		margin: 20px 0;
	}
	.card-challenge {
		padding: 15px 10px;
		margin-top: 10px;
	}

	.card-question {
		width: 90%;
	}
}

@media only screen and (max-width: 320px) {
	.menu-user {
		right: 80px;
		top: 280px;
	}
	.menu-user li {
		padding: 4px;
	}
	.hal p,
	.header-card p,
	.mid-card p,
	.footer-card p {
		font-size: 10px;
	}
	.hal p {
		width: 30px;
		height: 30px;
	}
	.header-card h4 {
		font-size: 12px;
	}
}
