/**
* CSS
* 
* @version 2.0
* @author Vaska 
*
* There are also some obscure rules in base.css
*/
:root {
	--color: rgba(0,0,0, 1);
	--color5: rgba(0,0,0, 0.5);
	--bg: rgba(255, 255, 255, 1);
	--bgtext: rgba(255, 255, 255, 1);
	--contrast: rgba(255, 255, 255, 1);
	--margin: 36px;
	
	--color: rgba(0,0,0,1);
	--color5: rgba(0,0,0,0.5);
	--bg: rgba(255, 255, 255, 1);
	--margin: 36px;
	--margin900px: 18px;
	--bold: 500; /* 500, 600 or bold */
/*
	--color: rgb(244, 244, 244, 1);
	--color5: rgba(244, 244, 244, 0.5);
	--bg: rgba(43, 43, 43, 1);
	--bgtext: rgba(43, 43, 43, 1);
	--contrast: rgba(43, 43, 43, 1);
*/
}

html {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
overflow-y: scroll;
text-rendering: optimizeLegibility;
-webkit-text-size-adjust: 100%;
   -moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
		text-size-adjust: 100%;
}

body {
font-size: 24px;
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI",
"Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
background: var(--bg);
color: var(--color);
line-height: 1.4em;
}

/* link scheme */
/* you can customize links further down the page too */
a:link { text-decoration: none; color: var(--color); }
a:visited { text-decoration: none; color: var(--color5); }
a:hover { text-decoration: none; opacity: 0.5; }
a:active { text-decoration: none; }
a img { border: none; }
:focus { outline: none; }
audio:focus { outline: none; }
::placeholder { color: var(--color5); }

/* general styles */
small { font-size: 9px; }
code { font-family: monospace; }
blockquote { padding-left: 9px; }

/* headings */
h1 { font-size: 24px; margin-bottom: 0; font-weight: 400; }
h1 a { color: var(--color); font-weight: 400; }
h2 { font-size: 24px; margin-bottom: 1em; font-weight: 400; }
h3 { font-size: 24px; margin-bottom: 0; }
h4 { font-size: 24px; margin-bottom: 0; }

/* paragraph width */
#index p { margin-bottom: 1em; }
#exhibit p, code, blockquote { max-width: 900px; margin-bottom: 1em; /* line-height: 1.3em; */ }

#header .top { margin-bottom: 1em; }
#header .top { display: flex; justify-content: space-between; align-items: center; flex-wrap: nowrap; }
#header .top  span { display: block; line-height: 0; margin-right: 0; }
#index .bot { position: fixed; left: var(--margin); bottom: var(--margin); width: 250px; }
#index .bot p { margin-bottom: 0; width: auto; }

/* highlighter style - maybe you want to change colors? */
.highlight { background: #ccff00; color: #000; }

/* never adjust the margin or padding here unless you seriously know what you are doing */
/* think #index .container and #exhibit .container for only padding adjustments */
#header { background: transparent; /* line-height: 1.3em; */ }
#exhibit { margin: 0; }

#index { position: fixed; z-index: 5; top: -999px; height: auto; left: 0; width: 100vw; transition: all .5s ease-in-out; background-color: var(--bg); border-bottom: 1px solid #eaeaea; background-color: rgba(255, 255, 255, 0.9); }
#index.active { top: 0; transition: all .5s ease-in-out; }

/* styling the index */
#index ul { list-style: none; margin: 0; }
#index ul.section { margin-bottom: 0; }
#index ul.subsection {  }
#index ul.section li { margin-right: 12px; }

/* the follow rules for index are not required */
/* they are mostly for complex customization */
/* for tag display */
#index ul#all_tags { list-style-type: none; margin-bottom: 1em; }
#index ul#all_tags li { display: inline; margin-right: 3px; }
#index ul#all_tags li a {  }

/* styles for the section titles */
#index ul.section span.section_title, 
#index ul.section span.section_title a 
{ font-weight: 400; color: var(--color); }

/* active section title */
#index span.active_section_title,
#index span.active_section_title a { font-weight: 400; }

/* active exhibit title parts */
/* color of active exhibit title link and font-weight */
li.active a:link, li a.active, li.active a:hover, li a.active, li.active a:active, li a.active, 
li.active a:visited, li a.active, li span.active, #index ul.section li.active a:link, 
#index ul.section li.active a:hover, #index ul.section li.active a:active, #index ul.section li.active a:visited
{ font-weight: 400; }

li.active a:before { /* content: '_'; */ }

/* additional #index options */
#index ul li .password a { /* background: url(../img/locked.gif) right center no-repeat; padding-right: 18px; */ }

/* the "new" indicator */
#index ul li sup.new_exhibit { color: #0c0; font-weight: bold; text-transform: uppercase; font-size: 8px; vertical-align: top; }
#index ul li sup.new_exhibit:before { color: #0c0; font-weight: bold; text-transform: uppercase; font-size: 8px; vertical-align: top; content: "New"; }
/* end styling for index */

/* links styles only for the #index region */
#index a:link {  } 
#index a:visited {  }
#index a:hover {  } 
#index a:active {  } 

/* links styles only for the #exhibit region */
#exhibit a:link { text-decoration: underline; }
#exhibit a:visited {  }
#exhibit a:hover { text-decoration: none; } 
#exhibit a:active {  } 

/* links styles just for h1 title of site (your name/logo) */
/* #index h1 a { font-weight: normal; text-decoration: none; color: #000; } */

/* this is where you adjust your paddings for #index and #exhibit together */
.container { padding: var(--margin); }

/* this is where you pad them separately */
#index .container { padding-top: 100px; display: flex; justify-content: flex-start; align-items: flex-start; }
#exhibit .container { padding-top: 150px; }
#navs .container {  } 
#header .container { padding-bottom: 0; }

/* size and style of titles and captions (not mobile though) */
.captioning { margin-top: 2px; }
.title { /* font-size: 0.7em; font-style: italic; line-height: 1.2em; */ }
.caption { /* font-size: 0.7em; font-style: italic; line-height: 1.2em; */ }

.dot {
	height: 20px;
	width: 20px;
	background-color: var(--color);
	border-radius: 50%;
	display: inline-block;
}
.dot:hover { filter: blur(5px); opacity: 1; }

#background
{
	/* 'fixed' if you want image to never move */
	position: absolute;
	top: 0; left: 0;
	width: 100vw;
	height: 100vh; /* adjust height of background as desired */
	z-index: 1;
	background-position: center center;
	background-size: cover;
}

@media only screen and (max-width: 900px)  
{ 
	/* adjust height to work with name, logo, etc on mobile */
	body { font-size: 16px; }
	h1 { font-size: 16px; }
	h1 a { font-weight: 400; }
	h2 { font-size: 16px; }
	h3 { font-size: 16px; }
	h4 { font-size: 16px; }
	.container { padding: var(--margin900px); }
	#index { background: var(--bg); height: 55px; width: 100vw; }
	#index.active { height: 100vh; width: 100vw; overflow: auto; }
	#index .container, #exhibit .container { padding: var(--margin900px); }
	#index .container { padding-top: 50px; }
	#index .top .top-nav { display: flex; justify-content: space-between; }
	#index .top .top-nav .toggle-hold { display: block; }
	#index nav { overflow-y: scroll; max-height: 90vh; }
	#index .bot { margin-top: 3em; position: relative; left: 0; bottom: auto; width: auto; }

	#exhibit { margin: 0; padding-top: 125px; }
	#exhibit p { width: auto; max-width: none !important; }
}





