:root {
  --main-bg: #12140e;
  --main-fg: #606163;
}

#text-content {
  white-space: pre-wrap;
}
.sidebar-small, .sidebar-large, .content, .intro-text, .page-indicator, p, ul, li {
  background-color: var(--main-bg);
  color: var(--main-fg); /* keep your text colour so it's visible */
}
body {
  background-color: var(--main-bg);
  color: var(--main-fg);
  font-family: 'Times New Roman', Times, serif;
  margin: 0;
  padding: 10rem;
  
  
  background-image: url('tele8.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: top left;
  background-size: auto;
}

/* Centre intro text below title */
.intro-text {
  text-align: center;
  margin-bottom: 1rem;
}

/* Centre main title */
h1 {
  text-align: center;
  color: var(--main-bg);
}

/* Layout grid with three columns */
.layout {
  display: grid;
  grid-template-columns: 80px 160px 1fr;
  grid-gap: 2rem;
  width: 100%;
}

/* Padding and box sizing for all main sections */
.sidebar-small, .sidebar-large, .content {
  padding: 0.5rem;
  box-sizing: border-box;
}

/* You must add class sinister64 to these in HTML for borders */
/* This keeps border style DRY and reusable */
.sinister64 {
    border-image:  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAAA9klEQVR4AaSS3Q7CMAhGp+//zrMHcxrYZm1TUwJ8f+PC9zH3O+dkX9U19MkM9mpyemvx8gxQ9hwKcTVjEKOzU3m++QyV0MDObOUQMTo6OTr7YWgHmhKCvY1/Hzr0COnsPRQQoBMAk3Xzeal+BM4rvfgM5cKVkKHW0PKloWNMxnGGjqVzLIEcdxoKMGf9rYrARr8IJVCgYVuPnPhLMRi8laiZS5kJpu8Wx8Wlu0HZH8d5qUR8yWWhF18OheBL9IW8A33xGSpBWBEADOrRZ2gOysJrHlzGHn2GIlRAZ6dyCDMcHc4SoweWQwE6wdIq78wE0htVXsE+AAAA//9mLPRiAAAABklEQVQDAJXmNCrxAuzLAAAAAElFTkSuQmCC') 7 /  7px / 0 round;
    border-width:  7px;
    border-style:  solid; 
  
  }
  

/* Borders for columns as separators */
/* Remove old borders, handled by sinister64 class now */

.sidebar-small {
  padding-right: 0.5rem;
}

.sidebar-large {
  padding-right: 0.5rem;
}

/* Link styles */
.sidebar-small ul, .sidebar-large ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-small li a, .sidebar-large li a {
  color: var(--main-fg);
  text-decoration: none;
  display: block;
  padding: 0.4rem 0;
}

.sidebar-small li a:hover, .sidebar-large li a:hover {
  text-decoration: underline;
}
.title-img {
  color: var(--main-bg);
  width: 40px;    /* small width */
  height: auto;   /* keep aspect */
  vertical-align: middle;  /* align nicely with text */
  margin-left: 0.5rem;     /* some gap after text */
}
/* Main content */
.content {
  padding-left: 1rem;
}

/* Show Home page indicator */
.page-indicator {
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--main-fg);
  text-transform: uppercase;
}