body {
	margin: 0;
	padding: 0;
	font-family: "Alegreya Sans", 'Trebuchet MS', 'Myriad Pro Regular', MyriadPro, 'Myriad Pro', Helvetica, Arial, sans-serif;
	width: 100%;
	background-color: rgb(30,30,30);
	color-scheme: dark;	
	}

* { margin: 0; }

img { width: 100%; 
	vertical-align: bottom;
}

ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.container video {
	outline: none;
	clip-path: inset(0px);
	width: 100%;
}


.container {
	max-width: 1200px;
	/* max-width: 1280px; */
	/* width: 1024px; */
	margin-left: auto;
	margin-right: auto;
	display: flex;		
}


#main-content {
	display: none;
}


#main-content article {
	/* padding-bottom: 48px; */
}

#main-content p:last-child {
	padding-bottom: 48px; 
}

/* Fade-in animation for main-content swaps */
#main-content {
  opacity: 1;
  transition: opacity 0.4s ease;
}

#main-content.fade-out {
  opacity: 0;
}

#main-content h1, #main-content h2, #main-content h3, #main-content p, #main-content li {
	padding-left: 32px;
	padding-right: 32px;
	max-width: 704px;
}

#main-content h1 {
	font-weight: 300;
	font-size: 40px;
	padding-top: 8px;
	padding-bottom: 4px;
}

#main-content h3 {
	margin-top: -.25em;
	padding-bottom: 1em;
	font-weight: 300;
	font-size: 1.2em;	
}

#main-content h2 {
	font-weight: 400;
	font-size: 24px;
	padding-top: 24px;
	padding-bottom: 8px;	
}

#main-content p {
	padding-bottom: 8px;
	line-height: 1.3;	
}



/* left side nav */

nav {
	background-color: rgb(40,40,40);
	height: 100%;
	padding-top: 56px;
	}
		
.nav-list {
	  /* display: flex; */
	  /* flex-direction: column; */
	  /* max-width: 384px; */
	}
	
.nav-item, .nav-malami {
	  display: flex;
	  align-items: center;
	  height: 48px;
	  padding: 0 8px;
	  gap: 8px;
	  text-decoration: none;
	  color: white;
	  margin-left: 8px;
	  margin-right: 16px;
	}


.malami {
		height: 48px;
		background-color: rgba(40,40,40,.95);	
		z-index: 100;
		position: fixed;
		top:0;
		width: 100%;
		/* display: inline-flex; */
		/* margin-top: 4px; */
	}


	.nav-icon {
	  width: 32px;
	  height: 32px;
	  font-size: 20px;          /* for emoji; remove if using SVG */
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  flex-shrink: 0;
	  /* background-color: rgb(220,220,220); */
	  border-radius: 6px;
	}

	.nav-icon img {
		border-radius: 5px;
	}
	
	.nav-text {
	  display: flex;
	  flex-direction: column;
	  justify-content: center;
	  line-height: 1.1;
	}
	
	.nav-title {
	  font-size: 15px;
	  font-weight: 500;
	  color: rgb(240,240,240);
	}
	
	.nav-description {
	  font-size: 13px;
	  color: rgb(220,220,220);
	}
	
	/* Optional hover refinement */
	.nav-item:hover, .nav-malami:hover {
	  background: rgb(20, 20, 20);
	  border-radius: 8px;
	}
	
	.nav-item.current {
	  background-color:rgba(0,0,0,.6); /* or any highlight you want */
	  border-radius: 8px;
	}


/* Everything that happens to nav and main content with resize  */



@media (min-width: 704px) {
	nav {
		position: fixed;
		top:0px;
		width: 320px;
		z-index: 5;
		left: auto;
		overflow-y: scroll;
		overflow-x: hidden;
		display: block;
		height: calc(100% - 56px);
		}	
	
	.malami {
		width: 320px;
	}
	
	#main-content {
		display: block;
		background-color: white;
		min-height: 100vh;
		width: calc(100% - 320px);
		transform: translateX(320px);
	}
	
}
		



/* Blurb about Mustafa */

.mustafa {
	padding-left: 16px;
	padding-right: 16px;
	color: rgb(240,240,240);
	padding-bottom: 12px;
}

.mustafa h1 {
	font-weight: 300;
	font-size: 40px;
}

.mustafa p {
	padding-bottom: 4px;
}

.mustafa p a {
	color: white;
	border-bottom: dotted;
	border-bottom-width: thin;
	border-bottom-color: rgba(255,255,255,.4);	
	text-decoration: none;
}

.mustafa p a:hover {
	text-decoration: none;
	border-bottom: solid;
	border-bottom-width: thin;
	border-bottom-color: rgba(90,140,20,1);
	color: rgba(90,140,20,1);
}




/* Social icons */
	
	.social {
		padding-bottom: 32px;
		padding-top: 24px;
		/* margin-left: auto; */
		/* margin-right: auto; */
	}
	
	.social ul {
		list-style-type: none;
		margin: 0;
		padding: 0;
		border-bottom: none;
		line-height: 8px;	
		margin-left: auto;
		margin-right: auto;
		display: flex;
		flex-direction: row;
		width: 108px;
	}
	
	.social ul li {
		/* width: 24px; */
		padding: 0;
		margin: 0;
		/* padding-left: 4px; */
		/* padding-right: 4px; */
		/* margin-left: 2px; */
		/* margin-right: 2px; */
	}
	
	.social ul li a:link, .social ul li a:visited {
		border-radius: 16px;
		width: 24px;
		height: 24px;
		background-color: black;
		padding-top: 4px;
		padding-bottom: 4px;
		padding-left: 4px;
		padding-right: 4px;
		display: block;
		border-bottom: none;
		line-height: 24px;
		margin-left: 2px;
		margin-right: 2px;
		margin-top: 2px;
		margin-bottom: 2px;
	}
	
	.social ul li a:hover {
		background-color: rgb(90,140,20);		
	}
	
	.social img {
		width: 24px;
		height: 24px;
	}
	
	
	
	/* end social icons */
	
	 

