/* 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: -2.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; /* ðŸ’¡ This small transition makes setting of the active state smooth */
}

/** 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, ol {
	list-style: none;
	margin: 0;
	padding: 0;
}
li {
	margin-left: 1rem;
}

h1 {
	font-weight: 300;
}

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

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

footer p {
    font-size: 10px; /* Adjust the pixel value to make it smaller or larger */
}

.results--panel {
	display: grid;
	grid-template-columns: 1fr 1fr; /* Adjusted for wider columns */
}

figure figcaption {
	margin-top: -3px;
    border: 3px solid #fac564;
    text-align: center;
	border-radius: 5px;
	width: 400px;
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 16px;
}

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

.image-container img {
	display: block;
	width: 400px;
	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);
}


