/*!
 * HonCau v0.0.3
 * Base CSS for open source developing.
 * https://github.com/phucbm/honcau
 * Copyright (c) 2023 Phuc Bui
 */
/**
 * Variables
 */
* {
  box-sizing: border-box;
  border: none;
}

body {
  color: #254440;
  font-size: 16px;
  font-family: "IBM Plex Sans", sans-serif;
  margin: 0;
  line-height: 1.7;
}

.container {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.mb {
  margin-bottom: 40px;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../public/fonts/IBMPlexSans-Italic.woff2") format("woff2"), url("../public/fonts/IBMPlexSans-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../public/fonts/IBMPlexSans-Bold.woff2") format("woff2"), url("../public/fonts/IBMPlexSans-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../public/fonts/IBMPlexSans-BoldItalic.woff2") format("woff2"), url("../public/fonts/IBMPlexSans-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../public/fonts/IBMPlexSans-Regular.woff2") format("woff2"), url("../public/fonts/IBMPlexSans-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/**
 * Variables
 */
hr {
  border-top: 1px solid #e0e7ee;
}
hr.bold {
  border-width: 2px;
}

/**
 * Typo
 */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.btn {
  padding: 7px 15px;
  border-radius: 5px;
  background-color: dodgerblue;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.15);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn:hover {
  box-shadow: 6px 6px 0 0 rgba(0, 0, 0, 0.15);
}
.btn.red {
  background-color: red;
}
.btn.green {
  background-color: yellowgreen;
}
.btn.blue {
  background-color: dodgerblue;
}
.btn.disabled {
  pointer-events: none;
  opacity: 0.5;
}

/**
 * Variables
 */
.heading-separator {
  position: relative;
  overflow: hidden;
}
.heading-separator span {
  position: relative;
  padding-right: 20px;
}
.heading-separator span:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  border-top: 1px solid #e0e7ee;
  width: 100vw;
}

/**
 * Variables
 */ /* Snippet */
.code-snippet {
  border: 1px solid #e0e7ee;
  padding: 20px;
  overflow: auto;
}

/* custom scrollbar */
/* Works on Chrome, Edge, and Safari */
.code-snippet::-webkit-scrollbar {
  width: 7px;
  height: 3px;
}

.code-snippet::-webkit-scrollbar-track {
  background: #e0e7ee;
}

.code-snippet::-webkit-scrollbar-thumb {
  background-color: #007bfe;
}

/* Inline code */
code {
  background: #eee;
  padding: 0.1em 0.15em;
  border-radius: 5px;
  display: inline-block;
}
