* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  /*font-family: "Open Sans", sans-serif;*/
  font-size: 16px;
  height: 100vh; /* take full height of the view port */

  display: grid;
  grid-template-areas:
    "header header header"
    "nav content content"
    "footer footer footer";

  grid-template-columns: 1fr 5fr;
  grid-template-rows: 68px 1fr 30px;
}

header {
  grid-area: header;
  background-color: #8fc3cea3;
}
nav {
  grid-area: nav;
  min-width: 200px;
}
main {
  grid-area: content;
  color: white;
  padding: 20px;
}

main {
  grid-area: content;
}

footer {
  grid-area: footer;
}

h4 {
  font-size: 18px;
}
h6 {
  font-size: 14px;
}

/* this pre selector css is very important to make right section responsive. */
pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  text-align: justify;
}

.code-container {
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
}

.code-output {
  background-color: lightgray;
  /* margin-left: 20px; */
  padding-left: 8px;
  font-size: 14px;
  font-weight: 600;
  color: black;
}

.code-snippet-bg {
  background-color: #2a3f52;
  color: white;
  padding: 8px 8px;
  margin-bottom: 0.7rem !important;
  width: inherit;
}
.code-keyword {
  color: #ffc107;
  /* font-size: 16px; */
  font-weight: 600;
}
.code-variable {
  color: rgb(134, 210, 235);
  /* font-weight: 600; */
}

.code-comment-color {
  color: #0dbd0d;
}
.code-line-number {
  color: #b3abab;
}
.topic-link {
  margin-left: 5px;
}
.topic-heading {
  margin-left: -30px;
  font-size: 18px;
}
/* Customize Bootstrap components */
.active {
  color: black;
  font-weight: 600 !important;
}

/* .card-header {
  padding-left: 12px;
  padding-top: 2px;
  padding-bottom: 0px;
} */

.card-header > h5 {
  margin-bottom: 4px;
  font-size: 18px;
  text-transform: uppercase;
}

.card-body-scrollable {
  height: calc(100vh - 170px);
  overflow-y: scroll;
}
