body {
  background: #fff;
  color: #000;
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

#main {
  background: #fff;
  border-left: 20px solid #eee;
  border-right: 20px solid #eee;
  margin: 0 auto;
  max-width: 800px;
  padding: 20px;
}

pre.listing {
  background: #eee;
  border: 1px solid #ccc;
  margin: .6em 0 .3em 0;
  padding: .1em .3em;
}

pre.listing b {
  color: #f00;
}

.pointer {
  cursor: pointer;
}

/* =========================================================
   DRUYD - Scientific equations and variables
   ========================================================= */

.druyd-equation-block {
  box-sizing: border-box;

  width: max-content;
  min-width: 88%;
  max-width: 100%;

  margin: 24px auto;
  padding: 16px 24px;

  border: 1px solid #dde2e8;
  border-radius: 8px;

  background: #ffffff;

  font-family: inherit;
  font-size: inherit;
  color: inherit;

  overflow-x: auto;
}

/* Equation */

.druyd-equation-formula {
  text-align: center;
  font-size: 1.4em;
  padding: 16px 0 24px;
  overflow-x: auto;
}

/* Variables table */

.druyd-equation-variables {
  width: 100%;
  border-collapse: collapse;

  font-family: inherit;
  font-size: inherit;

  background: transparent;
  border: none;
}

/* Table cells */

.druyd-equation-variables th,
.druyd-equation-variables td {
  padding: 9px 12px;

  text-align: left;
  vertical-align: middle;

  background: transparent;
  border: none;
  border-bottom: 1px solid #e5e7eb;
}

/* Header */

.druyd-equation-variables th {
  font-weight: 500;
  color: #64748b;
  border-bottom: 1px solid #cbd5e1;
}

/* Symbols */

.druyd-equation-variables th:first-child,
.druyd-equation-variables td:first-child {
  width: 18%;
  text-align: center;
}

/* Units */

.druyd-equation-variables th:last-child,
.druyd-equation-variables td:last-child {
  width: 25%;
}

/* Last row */

.druyd-equation-variables tr:last-child td {
  border-bottom: none;
}

/* Mobile */

@media (max-width: 600px) {

  .druyd-equation-block {
    min-width: 96%;
    padding: 12px;
  }

  .druyd-equation-formula {
    font-size: 1.2em;
  }

  .druyd-equation-variables th,
  .druyd-equation-variables td {
    padding: 8px 6px;
  }
}