/* 1. Enable smooth scrolling 
html {
	scroll-behavior: smooth;
}*/

/* 2. Make nav sticky */
main-spy-nav>nav {
	position: sticky;
	top: 4rem;
	align-self: start;
	margin-left: 0rem;
	background-color: #ffffff;
	max-width: 100%;
	height: 100vh;
	/* overflow: scroll;*/
}

/*nav li {
	border-bottom: 1px solid rgb(210, 208, 208) !important;
}*/

/* 3. ScrollSpy active styles (see JS tab for activation) */
.section-nav li.active>a {
	color: #134a6c;
	font-weight: 500;
	border-left: 3px solid #134a6c;
	padding-left: 5px;

}

/* Sidebar Navigation */
.section-nav {
	padding-left: 0;
	/*border-left: 1px solid #efefef;*/
	margin-top: 240px;
	margin-bottom: 50px;
}

.section-nav a {
	/*font-size: 0.7rem;*/


	text-decoration: none;
	display: block;
	/*padding: .125rem 0;*/
	/*padding-left: 1rem;*/
	/*padding-right: 10px;*/
	color: #ccc;
	transition: all 50ms ease-in-out;
	/* 💡 This small transition makes setting of the active state smooth */
}

.section-nav a:hover,
.section-nav a:focus {
	color: #666;
}

/** Poor man's reset 
* {
	box-sizing: border-box;
}

html, body {
	background: #fff;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}
**/


.section-nav ul,
ol {
	list-style: none;
	margin: 0;
	padding: 0;
	margin-left: 1rem;

}

.section-nav li {
	margin-left: 1rem;
	margin-bottom: 0.1rem;


}

h1 {
	font-weight: 300;
}

/** page layout **/
main-spy-nav {
	display: grid;
	grid-template-columns: 20% 1fr;
	max-width: 100%;
	width: 100%;
	margin: 0 auto;
	grid-column-gap: 30px;
	padding-right: 30px;

}

/** enlarge the sections for this demo, so that we have a long scrollable page **/
section {
	padding-bottom: 0rem;

}




@media only screen and (max-width: 1000px) {

	.section-nav {
		display: none;

	}

	main-spy-nav {
		display: grid;
		grid-template-columns: 100%;
		grid-template-rows: repeat(1, 1fr);
		width: 100%;
		margin: 0 auto;
	}





}