
/* DEFAULT STYLING AND STRUCTURE -------------------------------- */
	* {
	box-sizing: border-box;
	}
	
	:root {
	--light-gray: hsl(0, 1%, 30%);
	--light-grayFaded: rgba(255, 255, 255, 0.3);
	--dark-gray: hsl(0, 0%, 17%);
	--dark-grayFaded: rgba(28, 28, 28, 0.7);
	--highlight-color: #F18541;
	letter-spacing: .1rem;
	}
	
	.page-container {
	background: linear-gradient(to top right, var(--dark-gray), var(--light-gray), var(--light-grayFaded));
	background-color: var(--light-gray);
	font-family: monospace;
	font-weight: 100;
	font-size: 1.2rem;
	margin:auto;
	height:100vh;
	display: grid;
	grid-template-columns: 260px 1fr;
	grid-template-rows: 1fr 120px;
	gap:0;
	overflow-x: hidden;
	}
	
	h1 {
	padding: .8rem;
	border-radius: 5px;
	margin-top: 0;
	margin-bottom: .6rem;
	font-family: Geneva, Tahoma, sans-serif;
	color: var(--highlight-color);
	letter-spacing: 1rem;
	font-weight: 900;
	text-transform:uppercase;
	font-size: 3rem;
	text-shadow:-1.5px -1.5px 0 var(--dark-gray),
				0px -1.5px 0 var(--dark-gray),
				1.5px -1.5px 0 var(--dark-gray),
				-1.5px  0px 0 var(--dark-gray),
				1.5px  0px 0 var(--dark-gray),
				-1.5px  1.5px 0 var(--dark-gray),
				0px  1.5px 0 var(--dark-gray),
				1.5px  1.5px 0 var(--dark-gray); ;
	}
	
	h2, h3, #nav-link {
	font-family: Geneva, Tahoma, sans-serif;
	font-weight: 900;
	text-transform:uppercase;
	}
	
	a {
	text-decoration: none;
	color: var(--dark-gray);
	}

/* NAVIGATION PANEL  ------------------------------------------- */
	.nav-bar {
	grid-row:1/3;
	grid-column: 1/2;
	height: 100%;
	margin:0;
	padding: 0;
	display: flex;
	}
	
	.nav-bar ul {
	list-style-type: none;
	display: flex;
	flex-direction: column;
	align-content: space-between;
	margin: 0;
	}
	
	.nav-bar li a {
	font-size: 1.2rem; 
	font-weight: 800;
	text-transform:uppercase;
	height: 20vh;
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	padding: inherit;
	color: inherit;
	text-decoration: none;
	min-height: fit-content;
	}
	
	.nav-bar li {
	color: var(--dark-gray);
	background-color: var(--highlight-color);
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 50px;
	box-shadow: 4px 4px 6px var(--light-grayFaded);
	border-top: 4px solid var(--dark-gray);
	border-left: 4px solid var(--dark-gray);
	height: 10%;
	width: 90%;
	margin: auto;
	padding: .8rem;
	display: flex;
	align-items:center;
	justify-content: left;
	}
	
	.nav-bar li:hover {
	transform: scale(1.08);
	background-color: var(--light-grayFaded);
	color: var(--dark-gray);
	box-shadow: 4px 6px 2px var(--dark-gray);
	border-top: 4px solid var(--highlight-color);
	border-left: 4px solid var(--highlight-color);
	transition: all 0.3s ease;
	}


/* BUTTON & LINK STYLING  ----------------------------------------- */
	
	#credentials-link {
	color: var(--highlight-color);
	background-color: var(--dark-gray);
	padding: 3px 6px;
	border-radius: 10px;
	}
	
	#credentials-link:hover {
	color: white;
	padding: 2px 5px;
	border-radius: 10px;
	transform: scale(1.08);
	transition: all 0.3s ease;
	}

	#downloadable {
	color: white;
	}

	#downloadable:hover {
	color: var(--highlight-color);
	transform: scale(1.08);
	transition: all 0.3s ease;
	}

/* MAIN CONTENT STYLING & STRUCTURE ------------------------------------------ */
	
	h2 {
		font-size: 1.4rem;
		margin-bottom: .9rem;
	}
	
	svg {
	height: 2rem;
	width: 2rem;
	vertical-align: -0.4rem;
	fill: currentColor;
	}
	
	.main-content section div {
	margin-bottom: 2rem;
	}	
	
	.main-content {
	background: rgba(255, 255, 255, 0.3);
	border-bottom-left-radius: 100px;
	border-bottom-right-radius:10px;
	height: auto;
	padding: 3rem;
	overflow-y: scroll;
	overflow-x: hidden;
	}
	
	#orange-subtitle {
	color: var(--highlight-color);
	}
	
	#intro-letter {
	color:rgb(217, 217, 217) ;
	background-color: var(--dark-grayFaded);
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 50px;
	padding: 1rem;
	line-height: 1.5;
	font-size: 1rem;
	font-weight: 0 !important;
	}
	
	#intro-letter p {
	padding:0;
	margin: 0;
	margin-bottom: .9rem;
	}
	
	#certifications dl dt {
	background-color: white;
	padding: 3px 6px;
	border-radius: 6px;
	font-size: 1.1rem;
	width: 64%;
	margin-bottom: .2rem;
	}
	
	#certifications dl dd {
	margin-bottom: 1rem;
	}
	
	span {
	font-size: 1rem;
	font-weight: 100;
	}
	
	#study-progress-flex {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	column-gap: 2rem;
	}

	#study-progress-flex img {
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 50px;
	margin-right: 1rem;
	margin-top: 1rem;
	filter:opacity(90%);
	}
	
	
	#progress-button {
	font-size: 1.5rem;
	font-weight: 500;
	padding: 1rem 3rem;
	margin: 1rem;
	background: var(--dark-gray);
	color: white;
	border: 3px solid var(--highlight-color);
	border-top-right-radius: 15px;
	border-bottom-right-radius: 15px;
	border-bottom-left-radius: 50px;
	}
	
	#progress-button:hover {
	transform: scale(1.08);
	background-color: var(--light-grayFaded);
	color: var(--dark-gray);
	transition: all 0.3s ease;
	}

    #html-renderer, #game-renderer {
		display: flex;
		flex-direction: row;
		align-items: center;
	}
	
	#html-projectList {
	width:30vw;
	height: fit-content;
    cursor: pointer;
    padding: 0;
    list-style: none;
    }

    #html-projectList li {
	font-size: 1.1rem;
    padding: 0.3rem;
    background: var(--dark-gray);
	color: var(--highlight-color);
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 20px;
    margin-bottom: 0.5rem;
    }

    #html-projectList li:hover {
    background: #e2e2e2;
    }
	
	#html-container {
	width:50vw;
	height: 46vh;
	overflow: scroll;
	overflow-x: hidden;
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 20px;
	margin-left: 1rem;
	margin-top: .8rem;
    }

	#html-container pre {
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 20px;
	background-color: rgb(211, 211, 211);
	}


	#game-renderer div {
		margin-left: 2rem;
		padding: 1.5rem 2rem;
		background-color: white;
		border-top-left-radius: 8px;
		border-bottom-left-radius: 8px;
		border-bottom-right-radius: 50px;
		line-height: 1.7rem;
	}

	strong {
		font-weight: 900;
		background-color: var(--highlight-color);
		padding: .15rem .25rem;
		margin:.2rem;
		border-radius: 5px;
	}

/* FOOTER STYLING ----------------------------------------------- */
	.footer {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	align-items: center;
	padding: 2rem;
	gap: 2rem;
	}
	
	#footer-link {
	padding: 10px;
	color: var(--dark-gray);
	background-color: var(--light-grayFaded);
	border: 3px solid var(--dark-gray);
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 20px;
	box-shadow: 3px 3px 3px var(--highlight-color);
	transition: all 0.3s;
	}
	
	#footer-link:hover {
	color: var(--dark-gray);
	border: 3px solid var(--dark-gray);
	background-color: var(--highlight-color);
	box-shadow: 3px 3px 3px var(--light-grayFaded);
	transform: scale(1.08);
	transition: all 0.3s ease;
	}
	
	#footer-link > a > svg{
	fill: var(--dark-gray) !important;
	}
	
	#footer-link:hover > a > svg{
	fill: var(--dark-gray) !important;
	transition: fill 0.3s ease;
	}
	




/* HANDLING SMALL SCREEN SIZES ----------------------------------------------- */

@media (max-width: 800px) {
	:root {
	--nav-height: 165px;
	--footer-height: 120px;
	}

	.page-container {
	display: flex;
	flex-direction: column;
	height: 100vh;
	max-height: none;
	overflow: hidden;
	}
	
	.nav-bar {
	order: 1;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: auto;
	padding: 1rem;
	background-color: var(--dark-gray);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
	z-index: 1000;
	}
	
	.nav-bar ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	column-gap: 0.5rem;
	row-gap:0.5rem;
	}
	
	.nav-bar li {
	flex: 1 1 30%;
	height: 60px;
	margin: 0;
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 25px;
	color: var(--dark-gray);
	background-color: var(--light-grayFaded);
	border: 2px solid var(--highlight-color);
	box-shadow: 2px 2px 4px var(--dark-grayFaded);
	}
	
	.nav-bar li a {
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 100%;
	padding: 0.2rem;
	text-align: center;
	}
	
	.nav-bar li:hover {
	transform: none;
	}
	
	.main-content {
	order: 2;
	margin-top: var(--nav-height);
	height: calc(100vh - var(--nav-height) - var(--footer-height));
	max-height: none;
	width: 100%;
	padding: 1.5rem 1.2rem;
	overflow-y: auto;
	overflow-x: hidden;
	border-radius: 20px;
	}
	
	#certifications dl dt {
	width: 100%;
	}
	
	#study-progress-flex {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	}
	
	img {
	margin-bottom: 1rem;
	width: 90%;
	}

	#game-renderer {
	display: flex;
	flex-direction: column;
	margin: auto;
	gap: 1rem;
	}

	#game-renderer iframe {
	order: 2;
	}

	#game-renderer div {
	order: 1;
	margin: 0;
	width: 90vw;
	height: fit-content;
	}
	
	.footer {
	order: 3;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: var(--footer-height);
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: center;
	padding: 2rem;
	background-color: var(--dark-gray);
	color: white;
	box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.25);
	z-index: 1000;
	}

}
