// https://github.com/angular/angular/blob/master/aio/src/styles/0-base/_typography.scss

body {
  font-family: $main-font;
  margin: 0;
  color: $darkgray;
  font-size: 14px;
  background-color: $lightgray;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 {
  display: inline-block;
  font-size: 24px;
  font-weight: 500;
  margin: 8px 0px;

  @media screen and (max-width: 600px) {
    margin-top: 0;
  }
}

h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 32px 0px 24px;
  clear: both;
}

h3 {
  font-size: 20px;
  font-weight: 400;
  margin: 24px 0px;
  clear: both;
}

h4 {
  font-size: 18px;
  font-weight: 400;
  margin: 8px 0px;
  clear: both;
}

h5 {
  font-size: 16px;
  font-weight: 500;
  margin: 8px 0px;
  clear: both;
}

h6 {
  color: $mediumgray;
  font-size: 16px;
  font-weight: 500;
  margin: 8px 0px;
  clear: both;
}

h2,
h3,
h4,
h5,
h6 {
  @media screen and (max-width: 600px) {
    margin: 8px 0;
  }
}

.mat-tab-body-wrapper h2 {
  margin-top: 0;
}

p,
ol,
ul,
ol,
li,
input,
a {
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.3px;
  font-weight: 400;
  & > em {
    letter-spacing: 0.3px;
  }
}

ol {
  li,
  p {
    margin: 4px 0;
  }
}

li p {
  margin: 0;
}

a {
  text-decoration: none;
  &:hover {
    text-decoration: underline;
  }
}

.app-toolbar a {
  font-size: 16px;
  font-weight: 400;
  color: white;
  font-family: $main-font;
  text-transform: uppercase;
  padding: 21px 0;
}

strong {
  font-weight: 500;
}

table {
  border-collapse: collapse;
  border-radius: 2px;
  border-spacing: 0;
  margin: 0 0 32px 0;
}

table tbody th {
  max-width: 100px;
  padding: 13px 32px;
  text-align: left;
}

td {
  font-weight: 400;
  padding: 8px 30px;
  letter-spacing: 0.3px;

  p {
    margin: 0;
  }
}

th {
  font-size: 16px;
  font-weight: 500;
  padding: 13px 32px;
  text-align: left;
}

p > code,
li > code,
td > code,
th > code {
  font-family: $code-font;
  font-size: 85%;
  color: $darkgray;
  letter-spacing: 0;
  line-height: 1;
  padding: 2px 0;
  background-color: $backgroundgray;
  border-radius: 4px;
}

code {
  font-family: $code-font;
  font-size: 90%;
}

.sidenav-content a {
  color: $blue;
  &:hover {
    color: $mediumgray;
  }
}
