@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&family=Kaushan+Script&display=swap");
:root {
	--main-color: #7c00fe;
	--main-gradient: linear-gradient(to right, #c266ff, #7c00fe);
	--white-bg: #f7f7ff;
	--dark-bg: #e9e8ff;
	--text-color: #000;
	--pengarang-color: #555;
	--question-color: #c7c7e3;
}
body.active {
	--main-color: #b366ff;
	--main-gradient: linear-gradient(to right, #c266ff, #7c00fe);
	--white-bg: #24204b;
	--dark-bg: #16122b;
	--text-color: #e5e5e7;
	--pengarang-color: #9ea1c3;
	--question-color: #444073;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	list-style: none;
	border: none;
	outline: none;
	text-decoration: none;
}
html {
	width: 100%;
	height: 100%;
	overflow-x: hidden !important;
}
body {
	font-family: "Ubuntu", sans-serif;
	background-color: var(--dark-bg);
	overflow-x: hidden !important;
	width: 100%;
}

/* Navbar */
header {
	min-width: 100%;
	background-color: var(--white-bg);
	padding: 0.1rem 0;
	z-index: 99999;
	height: 60px;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
}
nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: auto;
	max-width: 1150px;
	padding: 0 20px;
	position: relative;
	height: 100%;
	width: 100%;
}
nav ul,
nav .logo {
	display: flex;
	justify-content: center;
	align-items: center;
}
nav ul {
	gap: 4px;
}
nav ul li a {
	display: block;
	padding: 0.6rem 1.2rem;
	border-radius: 30px;
	color: var(--text-color);
}
nav .logo {
	gap: 10px;
}
nav .logo h2 {
	font-family: "Kaushan Script", "Ubuntu", sans-serif;
	font-weight: 500;
	margin-bottom: 4px;
	letter-spacing: 2px;
	color: var(--text-color);
}
nav .logo img {
	width: 3.3rem;
	height: 3.3rem;
}
nav .link {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 4px;
}
nav .link a.login,
nav .link a.daftar {
	border: 1.5px solid var(--main-color);
	display: block;
	padding: 0.6rem 1.2rem;
	border-radius: 30px;
	color: var(--text-color);
	margin-right: 2px;
}
nav .link a.login:hover {
	background: var(--main-gradient);
	color: #fff;
	border: none;
}
nav .link a.daftar {
	border: none;
	background: var(--main-gradient);
	color: #fff;
}
ul.mid-links {
	flex-direction: column;
	position: absolute;
	top: 60px;
	background-color: var(--white-bg);
	width: 100%;
	max-width: 100%;
	padding: 0 0 0.6rem 0;
	gap: 0.6rem;
	visibility: hidden;
}
.hamburger-menu {
	display: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--text-color);
}

/* Dropdown Navbar */
.box-dropdown {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.2rem;
}
.box-dropdown .avatar-dropdown,
.mid-avatar-dropdown {
	position: relative;
}
.box-dropdown .avatar-dropdown .dropbtn,
.mid-avatar-dropdown .mid-dropbtn {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1.5px 10px 1.5px 0;
	border-radius: 30px;
	cursor: pointer;
}
.avatar-dropdown .dropbtn img,
.mid-avatar-dropdown .mid-dropbtn img {
	width: 2.3rem;
	height: 2.3rem;
	border-radius: 50%;
	margin-right: 0.7rem;
	filter: drop-shadow(0 0 1px var(--main-color));
}
.avatar-dropdown .dropbtn .user-name,
.mid-dropbtn .user-name {
	color: var(--text-color);
	font-size: .9rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding-right: 4px;
	max-width: 5rem;
}
.avatar-dropdown .dropbtn .user-name.icon,
.mid-dropbtn .user-name.icon {
	width: .8rem;
}
.avatar-dropdown .dropbtn:hover .user-name,
.avatar-dropdown .dropbtn.active .user-name,
.mid-avatar-dropdown .mid-dropbtn:hover .user-name,
.mid-avatar-dropdown .mid-dropbtn.active .user-name {
	color: #fff !important;
}
.avatar-dropdown .dropbtn .user-name i,
.mid-dropbtn .user-name i {
	margin-left: 0.15rem;
}
.avatar-dropdown .dropdown-content,
.mid-avatar-dropdown .dropdown-content {
	position: absolute;
	top: 52px;
	left: 52%;
	transform: translateX(-50%);
	background-color: var(--white-bg);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 8rem;
	border-radius: 10px;
	box-shadow: 0 0 2px var(--main-color);
	display: none;
}
.mid-avatar-dropdown .dropdown-content {
	top: 48px;
}
.avatar-dropdown .dropdown-content.active,
.mid-avatar-dropdown .dropdown-content.active {
	display: block;
}
.avatar-dropdown .dropdown-content a,
.avatar-dropdown .dropdown-content span,
.mid-avatar-dropdown .dropdown-content a,
.mid-avatar-dropdown .dropdown-content span {
	color: var(--text-color);
	padding: 0.6rem 0.9rem;
	width: 100%;
	background-color: var(--white-bg);
	display: flex;
	justify-content: start;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.9rem;
	cursor: pointer;
}
.avatar-dropdown .dropdown-content span,
.mid-avatar-dropdown .dropdown-content img {
	border-radius: 10px;
}
.avatar-dropdown .dropdown-content a:first-child,
.mid-avatar-dropdown .dropdown-content a:first-child {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	border-bottom: 1px solid #fff;
}
.avatar-dropdown .dropdown-content a:last-child,
.mid-avatar-dropdown .dropdown-content a:last-child {
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}
.box-dropdown .mode {
	border-radius: 10px;
	position: relative;
}
.mode button {
	border: none;
	outline: none;
	background-color: transparent;
	padding: 0.6rem 0.6rem 0.62rem 0.6rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-radius: 20px;
	color: var(--text-color);
	cursor: pointer;
}
.mode button i:first-child {
	font-size: 1.2rem;
	margin-right: 8px;
}
.mode .dropdown-wrapper {
	position: absolute;
	background-color: var(--white-bg);
	width: auto;
	border-radius: 10px;
	top: 50px;
	left: 3px;
	color: #fff;
	transition: all 0.2s;
	box-shadow: 0 0 2px var(--main-color);
	display: none;
}
.mid-avatar-dropdown + .mode .dropdown-wrapper {
	top: 47px;
}
.mode .dropdown-wrapper.active {
	display: block;
}
.mode .dropdown-content {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
.mode .dropdown-content span {
	width: 5.5rem;
	padding: 0.5rem;
	display: flex;
	gap: 6px;
	justify-content: center;
	align-items: center;
	color: var(--text-color);
	cursor: pointer;
}
.mode .dropdown-content div:first-child span {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border-bottom: 1px solid #fff;
}
.mode .dropdown-content div:last-child span {
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}
.mode .dropdown-content span i {
	font-size: 1rem;
}
.mode .dropdown-content div:hover span i {
	color: #fff;
}
nav ul li a:hover,
.box-dropdown .avatar-dropdown .dropbtn:hover,
.avatar-dropdown .dropdown-content a:hover,
.avatar-dropdown .dropdown-content span:hover,
.box-dropdown .mid-avatar-dropdown .mid-dropbtn:hover,
.mid-avatar-dropdown .dropdown-content a:hover,
.mid-avatar-dropdown .dropdown-content span:hover,
.mode button:hover,
.mode .dropdown-content div:hover span,
nav ul li a.active,
.box-dropdown .avatar-dropdown .dropbtn.active,
.avatar-dropdown .dropdown-content a.active,
.avatar-dropdown .dropdown-content span.active,
.box-dropdown .mid-avatar-dropdown .mid-dropbtn.active,
.mid-avatar-dropdown .dropdown-content a.active,
.mid-avatar-dropdown .dropdown-content span.active,
.mode button.dropbtn.active,
.mode .dropdown-content span.active {
	background: var(--main-gradient);
	color: #fff !important;
}

/* Main Content */
section {
	margin: 0 auto;
	max-width: 1150px;
	padding: 0 20px;
}
main .main-content {
	width: 100%;
	margin: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

/* Footer */
footer {
	width: 100%;
	background-color: var(--white-bg);
	color: #fff;
	margin-top: 2.2rem;
	padding: 3.5rem 0 3.5rem 0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
footer .footer-container {
	display: flex;
	justify-content: space-between;
	align-items: start;
	flex-wrap: wrap;
	width: 100%;
	color: var(--text-color);
	margin: 0 auto;
	width: 100%;
	max-width: 1150px;
}
.footer-container .footer-section.info {
	width: 500px;
	display: flex;
	justify-content: center;
	align-items: start;
	gap: 1rem;
	flex-direction: column;
}
.footer-container .footer-section.info .logo {
	font-family: "Kaushan Script", "Ubuntu", sans-serif;
	font-size: 1.5rem;
	display: flex;
	justify-content: start;
	align-items: center;
	gap: 0.5rem;
	letter-spacing: 2px;
}
.footer-container .footer-section.info .logo img {
	width: 3rem;
}
.footer-container .footer-section.info {
	font-size: 1rem;
}
.footer-section.info .social-media {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
}
.footer-section.info .social-media li a {
	color: #fff;
	border-radius: 50%;
	background: linear-gradient(to left, #c266ff, #7c00fe);
	width: 2.2rem;
	height: 2.2rem;
	display: block;
	margin: auto;
	text-align: center;
	line-height: 2.2rem;
	box-shadow: 0 0 2px #fff;
}
.footer-section.panduan {
	margin-left: -2.3rem;
	color: var(--text-color);
}
.footer-section.panduan h4,
.footer-section.kontak h4 {
	text-align: center;
	font-size: 1.7rem;
	color: var(--text-color);
	margin-bottom: 0.5rem;
}
.footer-section.panduan ul {
	text-align: center;
}
.footer-section.panduan ul li a {
	color: var(--text-color);
	font-size: 1rem;
	margin: 0.3rem 0;
	display: inline-block;
}
.footer-section.panduan ul li a:hover {
	text-decoration: underline;
}
.footer-section.kontak h4 {
	text-align: left;
	margin-bottom: 1rem;
}
.footer-section.kontak ul,
.footer-section.kontak ul li {
	display: flex;
	justify-content: center;
	align-items: start;
	gap: 1.1rem;
	flex-direction: column;
}
.footer-section.kontak ul li {
	flex-direction: row;
	align-items: center;
	gap: 0.8rem;
}
.footer-section.kontak li i {
	font-size: 1.3rem;
}
.footer-section.kontak li div h5 {
	font-size: 1.15rem;
	margin-bottom: 0.3rem;
}
.footer-section.kontak li div p {
	font-size: 0.9rem;
	font-weight: 400;
}
.hak-cipta {
	background-color: var(--white-bg);
	text-align: center;
	padding: 1rem;
	width: 100%;
	color: gray;
	user-select: none;
}
