/* CSS template used from https://codepen.io/bramus/pen/ExaEqMJ */

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

/* 2. Make nav sticky */
main > nav {
	position: sticky;
	top: 2rem;
	align-self: start;
}

.section-nav a:hover,
.section-nav a:focus {
	color: #1d9dff !important;
    cursor: pointer;
}

/* 3. ScrollSpy active styles (see JS tab for activation) */
.section-nav li.active > a {
	color: #333;
	font-weight: 400;
}

/* Sidebar Navigation */
.section-nav {
	font-family: 'Raleway', sans-serif;
	padding-left: 0;
    margin-left: -1.5rem;
	border-left: 1px solid #efefef;
}


.section-nav a {
	text-decoration: none;
	display: block;
	padding: .125rem 0rem;
	color: #ccc;
	transition: all 100ms ease-in-out;
}

.site-header {
    min-height: 56px;
    background-color: #8d0016;
    position: relative
}

/** 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;
}

h2 {
	font-family: 'Quicksand', sans-serif;
	font-size: 30px;
	font-weight: 600;
	display: inline-block;
    position: relative;
}

h3 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	display: inline-block;
	position: relative;
	/* padding-top: 3px;
	padding-bottom: 15px; */
}

p {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
}

li {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	padding-top: 8px;
}

ul {
	margin: 0;
	padding: 0;
}
ol{
	list-style: none;
	margin: 0;
	padding: 0;
}
li {
	margin-left: 1rem;
}

h1 {
	font-weight: 300;
}

/** page layout **/
main {
	display: grid;
	grid-template-columns: 15em 1fr;
	max-width: 100em;
	width: 90%;
	margin: 0 auto;
}


/** enlarge the sections for this demo, so that we have a long scrollable page **/
section {
    padding-right: 5rem;
    text-align: justify;
	max-width: 70em;
}

code {
	background-color: #f4f4f4; 
    color: #000000;
    padding: 2px 4px; 
    border-radius: 4px; 
    font-family: monospace;
	font-size:14px
}

.st--panel {
	display: grid;
	grid-template-columns: repeat(2, 1fr); /* Replace with desired column width */
	gap: 20px;
	text-align:center;
}

.result--panel {
	display: grid;
	gap: 10px;
}

figure figcaption {
    text-align: center;
    border-radius: 3px;
    width: auto; 
    padding: 10px;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 14px;
    box-sizing: border-box;
}

figure figparam {
    text-align: center;
    width: auto; 
	border-radius: 3px; 
    padding: 10px;
    font-weight: 400;
    font-size: 14px;
    box-sizing: border-box;
	background-color: #f4f4f4; 
    color: #000000;
    font-family: monospace
}

.formula-container {
	position: relative;
	width: 1000px; /* Replace with the width of your image */
}

.formula-container img {
	display: block;
	width: 1000px;
	height: auto;
}

.formula-container2 {
	position: relative;
	width: 600px; /* Replace with the width of your image */
}

.formula-container2 img {
	display: block;
	width: 600px;
	height: auto;
}

.image-container {
	position: relative;
	width: 100%; /*width: 500px;  Replace with the width of your image */
	padding: 10px; 
    box-sizing: border-box;
	align-items: center;
	justify-content: center;
}

.image-container img {
	display: block;
	width: 100%;/* width: 500px; */
	height: auto;
}

.result-container {
	position: relative;
	width: 108%; /*width: 500px;  Replace with the width of your image */
	padding: 10px; 
    box-sizing: border-box;
	align-items: center;
}

.result-container img {
	display: block;
	width: 108%;/* width: 500px; */
	height: auto;
}

.tag-container {
	position: absolute;
	top: 5px;
	left: 2px;
	display: flex;
	width: 80%;
	height: 9%;
	opacity: 0.80;
}

.tag-red {
	display: inline-block;
	font-size: 12px;
	font-weight: bold;
	background-color: #fc5c3c;
	border-radius: 4px;
	padding: 1px 4px;
	margin-right: 5px;
	text-align: center;
	box-shadow: 2px 2px 5px rgba(8, 1, 1, 0.9);
}

.tag-green {
	display: inline-block;
	font-size: 12px;
	font-weight: bold;
	background-color: #4ee18b;
	border-radius: 4px;
	padding: 1px 4px;
	margin-right: 5px;
	text-align: center;
	box-shadow: 2px 2px 5px rgba(8, 1, 1, 0.9);
}
