:root {
	--bg-color: #1e1e1e;
	--text-color: #d4d4d4;
	--accent-color: #569cd6;
	--string-color: #ce9178;
	--number-color: #b5cea8;
	--key-color: #9cdcfe;
	--popup-bg: #252526;
	--green-like: #25b00ed6;
	--button-test: #a999ff;
}
.html {
  scroll-behavior: smooth;
}
body {
	margin: 0;
	font-family: "Consolas", "Monaco", "Courier New", monospace;
	background-color: var(--bg-color);
	color: var(--text-color);
	padding: 20px;
}
h1 {
	text-align: center;
	color: var(--accent-color);
}
.header {
	position: fixed;
	width: 100%;
	padding: 1rem;
	background: transparent;
	font-weight: 800;
	font-size: 1.2rem;
	box-shadow: 0 0 8px #818181;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	margin: -20px;
	height: auto;
	align-items: center;
	align-content: center;
	z-index: 1001;
}
.logo h3 {
	margin: 0;
	font-size: 1.8rem;
}
.seacrh-button {
	width: 20px;
	height: 20px;
	border: 1px solid black;
}
.space {
	margin: 4rem;
}
.hero {
	color: lightgrey;
}
.hero h3 a {
	color: var(--accent-color);
	text-decoration: none;
}
.hero h4 a {
	color: var(--accent-color);
	text-decoration: none;
}
.hero p {
	background: #ff20204e;
}
.line {
	width: 100%;
	border: 1px solid grey;
	margin-bottom: 1rem;
}
.judul {
	font-size: 1.5rem;
	margin: 2rem 0 0 0;
}
.api-box {
	background-color: #2d2d2d;
	padding: 20px;
	border-radius: 10px;
	margin: 20px auto;
	max-width: 1200px;
	box-shadow:
		2px 2px 4px #000000,
		-2px -2px 4px #7b7b7b;
	transition: 0.3s ease;
}
.api-box:hover {
	transform: scale(0.99);
}
.method {
	display: inline-block;
	background-color: var(--accent-color);
	color: white;
	padding: 5px 10px;
	border-radius: 5px;
	font-weight: bold;
	margin-right: 10px;
}
.method-post {
	display: inline-block;
	background-color: var(--green-like);
	color: white;
	padding: 5px 10px;
	border-radius: 5px;
	font-weight: bold;
	margin-right: 10px;
}
.endpoint {
	color: var(--accent-color);
}
.description {
	margin: 10px 0;
}
.api-box button {
	padding: 8px 16px;
	background-color: var(--accent-color);
	border: none;
	border-radius: 5px;
	color: white;
	cursor: pointer;
	font-weight: bold;
	transition: 0.3s ease;
}
/* Modal */
.modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	backdrop-filter: blur(8px);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}
.modal-content {
	color: #dedede;
	background-color: #262626;
	backdrop-filter: blur(3px);
	padding: 20px;
	width: 90%;
	max-width: 700px;
	border-radius: 8px;
	box-shadow:
		2px 2px 4px #7b7b7b,
		-2px -2px 4px #7b7b7b;
	position: relative;
}
.modal-content button {
	font-family: "Consolas", "Monaco", "Courier New", monospace;
	background: #1e1e1e;
	color: #58e4ff;
	width: 80px;
	height: 30px;
	border-radius: 5px;
	box-shadow:
		1px 1px 2px #7b7b7b,
		-1px -1px 2px #7b7b7b;
}
.close-btn {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 22px;
	color: #ccc;
	cursor: pointer;
}
.close-btn:hover {
	color: white;
}
input[type="text"] {
	width: 95%;
	padding: 10px;
	font-size: 14px;
	background-color: #1e1e1e;
	color: var(--text-color);
	border: 1px solid #555;
	outline: none;
	border-radius: 4px;
	margin: 10px 0;
}
.input {
	background: #1e1e1e;
	font-family: "Consolas", "Monaco", "Courier New", monospace;
	box-shadow:
		1px 1px 4px #000000,
		-1px -1px 4px #7b7b7b;
}
.api-url-label {
	font-size: 14px;
	margin: 10px 0;
	color: #dedede;
	word-break: break-all;
	background: #f48aff1f;
}
pre {
	background-color: #1e1e1e;
	padding: 15px;
	border-radius: 5px;
	max-height: 300px;
	overflow-y: auto;
	font-size: 14px;
	box-shadow:
		2px 2px 4px #000000,
		-2px -2px 4px #7b7b7b;
}
.title-api {
	font-size: 1.2rem;
	font-weight: 800;
	word-spacing: -5px;
	margin: 0 0 1rem 0;
}
.popup-title {
	font-size: 18px;
	margin-bottom: 10px;
}
.api-box-container,
.judul,
.hero {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
}
@keyframes zoomIn {
	from {
		opacity: 0;
		transform: scale(0.8);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}
.modal.show .modal-content {
	animation: zoomIn 0.3s ease;
}
.footer {
	position: relative;
	bottom: 0;
	justify-content: center;
	display: flex;
	padding: 1rem;
	margin: 0;
}
.footer-text {
	margin: 0;
}
