@import url("https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap");

/* fonts */
.courier-prime-regular {
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: normal;
}

.courier-prime-bold {
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  font-style: normal;
}

.courier-prime-regular-italic {
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: italic;
}

.courier-prime-bold-italic {
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: 'DejaVu Sans';
  src: url('./fonts/dejavu-sans-webfont.woff2') format('woff2'),
	   url('./fonts/dejavu-sans-webfont.woff') format('woff');
}

body {
	font-family: Courier Prime, monospace;
	display: flex;
}

.menu-toggle {
	position: fixed;
	top: 15px;
	left: 15px;
	font-size: 26px;
	background: #2c3e50;
	color: white;
	border: none;
	padding: 8px 12px;
	cursor: pointer;
	z-index: 1001;
}

.sidebar {
	width: 220px;
	height: 100vh;
	background-color: #2c3e50;
	position: fixed;
	top: 0;
	left: 0;
	padding-top: 60px;
	transition: transform 0.3s ease;
	transform: translateX(0);
}

.sidebar.open {
	transform: translateX(-100%);
}

.sidebar-header {
	padding: 15px;
	color: #ecf0f1;
	padding: 20px 20px 10px 20px;
}

.sidebar-header h1 {
	font-size: 32px;
	margin-bottom: 1vh;
}

.sidebar-header p {
	font-size: 24px;
	margin-bottom: 1vh;
}

.sidebar ul {
	list-style: none;
	padding-left: 0;
}

.sidebar a {
	display: block;
	padding: 15px 20px;
	color: #ecf0f1;
	text-decoration: none;
}

.sidebar a:hover {
	background-color: #34495e;
}

.sidebar a.active {
	background-color: #CC0633;
}

/* main body of page */
.content {
	font-family: DejaVu Sans;
	margin-left: 220px;
	padding: 20px;
}

.content li {
padding-left: 1em;
text-indent: -1em;
}

.structured-list li a {
  color: black;
  font-weight: 600;
}
.structured-list li:visited {
  color: black;
}


/* mobile */
@media (max-width: 800px) {
	.sidebar {
		transform: translateX(-100%);
	}

	.sidebar.open {
		transform: translateX(0);
	}

	.content {
		margin-left: 0;
	}
}

/*for computing resources */
.screenshot {max-width: 65%; height: auto; }
.codeblock {
	background: #e6e6e6;
	padding: 5px;
	border-radius: 4px;
  width: fit-content;

}
code {
	background: #e6e6e6;
	border-radius: 4px;
	padding: 3px;
}


/*for VTL*/
table, td {
  border: 1px solid;
}
td {
  padding: 10px;
  text-align: center;
}


/* for gramle */
.r { background: rgba(255, 77, 77, 0.5); color: black; }
.y { background: rgba(255, 210, 77, 0.5); color: black; }
.g { background: rgba(77, 255, 136, 0.5); color: black; }
.gramlepic {width: 65%; height: auto; }
.gramle-date {
  position: relative;
}
.gramle-guess{
	background: #e6e6e6;
	padding: 15px;
	border-radius: 8px;
	font-size: 18px;
	letter-spacing: 2px;
	width: 20ch;
}

h2 .back-to-top {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-0.5em);
  font-size: 0.6em;
  color: black;
  opacity: 0.6;
  text-decoration: none;
}
h2 .back-to-top:hover {
  opacity: 1;
}

#toc-container {
	display: none;
	border:1px solid #ccc;
	border-radius:5px;
	padding:0.5em;
	margin-bottom:1em;
	background:#f8f8f8;
}

#toc-container.open {
  display: block;
}

#toc-toggle{
	font-weight:bold;
	display:flex;
	align-items:center;
	background:none;
	border:none;
	font-size:1em;
	margin-bottom:0.5em;
}



#toc{
	list-style:none;
	padding-left:1em;
}




  