:root {
	--color-background: #fff; 
	--color-primary: #000; 
	--color-highlight: blue;
}

.dark-mode {
	--color-background: #000;
	--color-primary: #fff;
	--color-highlight: lightblue;
}

body {
	font-family: "IBM Plex Sans", sans-serif;
  	font-optical-sizing: auto;
  	font-weight: 400;
  	font-style: normal;
	font-size: 16px;
  	line-height: 25px;
	margin: 7px;
	padding: 0;
  	max-width: 800px;
	margin: 100px auto;
  	padding: 0 1rem;

	background-color: var(--color-background);
	color: var(--color-primary);
}

a {
  color: var(--color-highlight);
  text-decoration: none;
}

a:visited {
  color: var(--color-highlight);
}

::selection, a:focus, a:hover {
  background-color:var(--color-highlight);
  color: var(--color-background);
}

sup {
  line-height: 0;
}

/* To center images */
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 12px;
  margin: 0 auto;
  max-width: 100%;
  font-size: 10px;
}

blockquote {
  border-left: 2px solid #cccccc; /* Add a left border */
  padding: 0 15px; /* Add some padding for space */
  margin: 10px 0; /* Add margin for separation */
  color: #555; /* Set the text color */
}

.post-date {
  font-family: 'Courier New', Courier, monospace;
  font-size: 16px;
}

details[open] {
  border-bottom:5px solid rgba(0, 0, 255, 0.15);
}
summary {
  cursor:pointer;
  background-color:rgba(0, 0, 255, 0.15);
  padding-left: 12px;
  border: 1px solid blue;
  border-radius: 10px;
}

progress {
  width: 100%;
  background: #fff;
  color: blue;
  border: .2rem solid blue;
  border-radius: 0;
}

/**
 * Set the background color of the webkit progress bar.
 */

progress::-webkit-progress-bar {
  background-color: #fff;
}

/**
 * Set the color of the webkit progress bar.
 */

progress::-webkit-progress-value {
  background-color: blue;
}

/**
 * Set the color of the mozilla progress bar.
 */

progress::-moz-progress-bar {
  background-color: blue;
}

.ascii {
  width:fit-content;
  text-align : left;
  font-size: 9px;
  line-height: 9px;
}

.def-hr {
  color:black;
  border-top: 2px double;
}

/**
BELOW IS SUPPORT FOR PROJECT FEED/CARDS
*/

.proj-hr {
  width: 40%;

}

.proj-card {
  align-self: center;
  width: 50%;
  margin:auto;
  display: block;
  padding: 20px;
  text-align: center;
}

.proj-title {
  font-family: "IBM Plex Mono", system-ui;
  font-size: 20px;
  font-weight: 500;
  padding-bottom: 10px;
}

.proj-img {
  padding: 15px;
  max-width: 175px;
  max-height: 175px;
}

.tag-list {
  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.tag {
  font-family: "IBM Plex Mono", system-ui;
  font-size: 14px;
  text-align: center;
  line-height: 1rem;
  border: solid 1px;
  padding: 0px 5px 0px 5px;
}

/**
HORIZONTAL RULE STYLING
*/



.hr-proj-year {
  display: flex;
  
  &:before,
  &:after {
	content: "";
	flex: 1;
  }
}

.line {
  align-items: center;
  margin: 1em -1em;
  
  &:before,
  &:after {
	height: 1px;
	margin: 0 1em;
  }
}

.one-line {
  &:before,
  &:after {
	background: rgb(54, 54, 54);
  }
}


/**
Fixing tables
*/

td {
  padding: 0px 5px 0px 5px;
}

table {
  margin: 15px 15px;
}


/**
icon
*/

#midnav {
	margin:auto;
}

nav {
	display: flex;
}

.ic {
	vertical-align: middle;
	text-align: center;
	font-size: 17px;
	align-self: right;
}