body {
  font-family: Times New Roman;
  margin: 0;
  font-size: 18px;
  line-height: 1.3em;
}

h1, h2, h3, h4, h5 {
  font-family: Times New Roman;
}

:root {
  --light: #f5f5f5;
  --dark: #18120d;
}

/* light mode*/

body {
  background-color: #ffffff;
  color: var(--dark);
}

a:link {
  color: var(--dark);
}

a:visited { 
  color: var(--dark);
}

/* */

main {
  max-width: 600px;
  text-align: justify;
  padding: 5px;
}

#m1 {
  max-height: 135px;
  overflow-y: auto;
}

#m1 ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
}

#m1 li {
  padding-left: 10px;
}

#m2 {
  max-height: 75vh;
  overflow-y: auto;
}

#m2 img {
  width: 46%;
  padding: 1px;
  vertical-align: bottom;
}

.tabwrap section {
  display: none;
}
.tabwrap section:target {
  display: block;
}


.sidebar {
  width: 800px;
  background-color: #FFFFFF;
  border: 2px outset var(--color-accent);
  box-shadow: 5px 5px 0 rgba(0,0,0,0.6);
  padding: 1em;
  flex-shrink: 0;
  color: black;
}

.sidebar h2 {
  font-style: italic;
  background: var(--color-accent);
  color: white;
  padding: 0.2em 0.5em;
  font-size: 12px;
}

.sidebar .mini-container {
  text-align: center;
  margin: 0.5em 0;
  border: 2px outset var(--color-accent);
  padding: 4px;
  background-color: #FFFFFF;
  text-align: left;
}

.sidebar .mini-container-img img {
  width: 400px; /* smaller width */
  object-fit: cover;
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto; /* center the image */
}

.sidebar .mini-container img:hover {
  filter: brightness(70%);
}

/* Sidebar text override */
.sidebar h1,
.sidebar h2,
.sidebar p,
.sidebar li,
.sidebar a {
  color: black !important;
  text-shadow: none; /* remove global text-shadow */
}

