:root {
	--page-background: rgb(252, 252, 252);
	--tutorial-background: rgb(252, 252, 252);
	--hero-color: #9d4edd;
    --hero-color-transparent: rgba(157, 78, 221, 0.7);
	--secondary-color: rgb(36, 145, 141);
	--text-color: #222;
}

html {
	background-color: var(--page-background);
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	font-size: 1em;
    scroll-behavior: smooth;

}

body {
	margin: 0;
	padding: 0;
}

h1 {
	font-weight: normal;
	font-size: 2rem;
}

h2 {
	font-size: 1.5rem;
	font-weight: normal;
	margin: 0;
	padding: 0;
}

p {
	padding-left: 8px;
}

.breadcrumbs {
    color: var(--text-color);
    opacity: 0.9;
}
.breadcrumbs > a {
    color: var(--text-color);
    text-decoration: none;
}


.nav-bar {
	width: calc(100% - 40px);
	height: 48px;
	background-color: var(--page-background);
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 20px;
	padding: 0px 20px;
	border-bottom: 1px solid grey;
	position: fixed;
	top: 0;
	z-index: 100;
}

.titleLink {
	text-decoration: none;
	color: var(--hero-color);
	font-size: 1.2rem;
	font-weight: bold;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}

@media (max-width: 800px) {
	.titleLink:not(.demo-nav-bar .titleLink)::after {
		content: 'Docs';
	}

	.demo-nav-bar .titleLink::after {
		content: 'Demo';
	}
}
@media (min-width: 800px) {
	.titleLink:not(.demo-nav-bar .titleLink)::after {
		content: 'Octospin Docs';
	}
	.demo-nav-bar .titleLink::after {
		content: 'Octospin Demo';
	}

}

.tutorial-content {
	padding: 20px;
	width: calc(100% - 40px);
	max-width: 750px;
	margin: 48px auto 20px auto;

	display: flex;
	flex-direction: column;
	gap: 20px;
}

.contentsNav {
	/* border: 2px solid rgba(222, 142, 100, 0.3); */
	/* background-color: rgba(222, 142, 100, 0.15); */
	/* border-radius: 10px; */
	width: fit-content;
	/* padding: 10px; */
}

@media (min-width: calc(800px + 400px)) {
	.contentsNav {
		position: fixed;
		right: 20px;
		top: 68px;
		width: calc(50vw - 400px - 40px);
		overflow: auto;
		max-height: calc(100vh - 68px);
	}
}

.contentsNav > span {
	/* border-bottom: 2px solid grey; */
	display: block;
	font-size: 1rem;
    opacity: 0.7;
}

.tutorialNav {
	list-style-type: none;
	padding: 4px;
	border-left: 2px solid rgba(150, 150, 150, 0.5);
    margin: 0px;
	margin-left: calc(0.8rem + 2px);
}

ol,
ul {
	display: flex;
	flex-direction: column;
	/* gap: 4px; */
}

.tutorialNav a {
	color: var(--text-color);
    opacity: 0.8;
    text-decoration: none;
    display: block;
    border-radius: 6px;
    padding: 5px 10px;

}
.tutorialNav a:hover {
	background-color: rgba(150, 150, 150, 0.5);
    
}

.tutorialSection {
	padding: 10px 10px 0px 10px;
	/* border-radius: 20px; */
	/* background-color: var(--tutorial-background); */
	/* box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px; */

	border-left: 4px solid var(--hero-color-transparent);
}

.tutorialSection h2 {
	border-bottom: 2px solid var(--hero-color-transparent);
	padding-bottom: 2px;
}

.home-content {
	margin: 48px auto 20px auto;
	padding: 20px;
	width: calc(100% - 40px);
}

.sectionAnchor {
	scroll-margin-top: 48px;
}

.tutorial-list {
	margin: auto;
	width: 100%;
	max-width: 600px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.tutorial-list > a {
	width: 100%;
	padding: 20px 10px;
	border-bottom: 1px solid rgba(150, 150, 150, 0.5);
	text-decoration: none;
	color: var(--text-color);
	display: flex;
	gap: 20px;
	justify-content: space-between;
	align-items: center;
	
    
}

.tutorial-list > a > div {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tutorial-list-item-title {
	font-weight: 600;
	font-size: 1.2em;
}

.tutorial-list-item-description {
	padding-left: 8px;
	opacity: 0.85;
}

.tutorial-list img {
	width: 120px;
	height: 120px;
	object-fit: contain;
}

.scrollToTopButton {
    position: fixed;
    right: 20px;
    bottom: 20px;
    color: var(--text-color);
    background-color: var(--page-background);
    opacity: 0.8;
    padding: 4px 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: none;

}

.scrollToTopButton:hover {
    opacity: 1;

}

.section-header, .content-nav-header  {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	padding: 10px 0px;
}

.section-header {
	gap: 16px;

}

.content-nav-header {
	gap: 8px
}

.content-marker {
	color: rgba(150, 150, 150, 1);
	border: 2px solid rgba(150, 150, 150, 1);
	width: 1.6rem;
	height: 1.6rem;
	
}
.content-nav-header > span {
	opacity: 0.8;
}



.section-marker {
	width: 2rem;
	height: 2rem;
	background-color: var(--secondary-color);
	color: #fff;
	
}

.content-marker, .section-marker {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	border-radius: 500px;
}

.section-header > span {
	font-size: 1.6rem;
	font-weight: normal;
	flex: 1;
}

.section-content {
	margin-left: 1rem;
	border-left: 2px solid var(--secondary-color);
	padding: 10px 10px;
}

.example-image {
	max-height: 400px;
	max-width: min(100%, 600px);
	/* width: 100%; */
	margin: auto;
	object-fit: contain;
	display: block;
}


.list_badge {
	margin: 4px 10px 0px 10px;
	border-radius: 4px;
	padding: 0.2rem 0.4rem;
	font-size: 0.86rem;
	width: fit-content;
}

.how_to_badge {
	/* border: 2px solid rgba(0, 80, 112, 0.6); */
	background-color: rgba(0, 80, 112, 0.15);
	color: rgba(0, 80, 112, 0.86);
}

.article_badge {
	/* border: 2px solid rgba(99, 0, 112, 0.6); */
	background-color: rgba(99, 0, 112, 0.15);
	color: rgba(99, 0, 112, 0.86);
}

.contact_list {
	display: flex;
	flex-direction: column;
	gap: 20px;
	/* align-items: center;
	justify-content: center; */
	width: 100%;
	max-width: fit-content;
	margin: 20px;
}

.contact_list_item {
	box-shadow: 0 1px 2px 0 rgb(60 64 67 / 30%), 0 1px 3px 1px rgb(60 64 67 / 15%);
	border-radius: 20px;
	padding: 20px 30px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

a.contact_list_item:not(.contact_list_item > .title) {
	text-decoration: none;
}

a.contact_list_item:not(.contact_list_item > .title):hover {
	text-decoration: underline;
}

.contact_list_item > .title {
	text-decoration: none;
	color: #222;
}