@charset "utf-8";
@font-face {
  font-family: 'HackGen';
  src: url(../../common/fonts/HackGen/HackGenConsoleNF-Regular.ttf) format(truetype);
  font-weight: normal;
}
@font-face {
  font-family: 'HackGen';
  src: url(../../common/fonts/HackGen/HackGenConsoleNF-Bold.ttf) format(truetype);
  font-weight: bold;
}

#blog-contents {
  margin: 0;
  padding: 0;
  width: 100%;
  color: #2c2c2c;
  & h2 {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin: 16px 0;
  }
  & h3 {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin: 12px 0;
    color: #0f52b7; /* bleu gitane */
  }
  & h4 {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.025em;
    margin: 8px 0;
    color: #f8ae34; /* berlingot */
  }
  & h5 {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.025em;
    margin: 8px 0;
    color: #ee432b; /* feu */
  }
  & h6 {
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.025em;
    margin: 6px 0;
  }
  & table {
    margin: 0 auto;
    border-collapse: collapse;
    border: 1px dotted #c5c5c5;
    & th {
      background-color: #80cbc4;
      color: white;
      font-weight: bold;
    }
    & td {
      background-color: white;
    }
  }
  & pre {
    width: 95%;
    overflow-x: auto !important;
    padding: 10px 14px;
    margin: 35px auto;
    background-color: #ddfdfa;
    border: 1px dotted #c5c5c5;
    & code {
      font-family: 'HackGen', 'Courier New', Courier, monospace !important;
    }
  }
}

@media screen and (max-width: 768px) {
  #blog-contents {
    & h2 {
      font-size: 21px;
    }
    & h3 {
      font-size: 18.5px;
    }
    & h4 {
      font-size: 16px;
    }
    & h5 {
      font-size: 12.5px;
    }
  }
}
