*,
:after,
:before {
  box-sizing: border-box;
  margin: 0;
}
body,
html {
  font-size: 16px;
  word-spacing: 1px;
  margin: 0;
  padding: 0;
}
.center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.bg-image {
  background-position: 50% !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}
.disabled {
  opacity: 0.2;
  pointer-events: none;
}
.hidden {
  display: none;
}
body {
  font-family: "Helvetica";
  color: #000;
  background: #1d2c3c;
  font-size: 16px;
  font-weight: 400;
  color: #f7f8f9;
}
a {
  text-decoration: none;
  color: inherit;
}
.crispy {
  border: 1px solid rgba(0, 0, 80, 0.08);
  box-shadow: 0 2px 2px rgba(0, 20, 80, 0.1);
  background: #fff;
}
.main-content {
  /*padding: 0 24px 48px;*/
  /*min-height: 550px;*/
  background: #f7f8f9;
  color: #000;
  min-height: calc(100% - 60px) !important;
  padding: 0 24px;
}
.main-container {
  max-width: 1270px;
  margin: 0 auto;
}
.category-chunks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.category-chunk {
  width: calc(100% / var(--num) - 16px);
  min-width: 300px;
  border-radius: 6px;
  margin: 8px;
  padding: 8px;
}
.flex-apart {
  display: flex;
  justify-content: space-between;
}
.category {
  display: block;
  margin: 4px 0;
  padding: 8px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 6px;
}
.category:hover {
  color: #0366d6;
  background: hsla(0, 0%, 100%, 0.6);
}
.category span:last-child {
  white-space: nowrap;
}
h1 {
  font-size: 24px;
}
h2 {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 400;
}
.hero {
  padding: 16px 0 16px;
  text-align: center;
}
.hero h1 {
  font-size: 28px;
}
.hero h2 {
  font-size: 18px;
}
.small-desc {
  margin-top: 8px;
}
.bold {
  font-weight: 700;
}
.repo-readme {
  width: 100%;
}
.readme {
  max-width: 900px;
  padding: 24px 32px;
  border-radius: 24px;
  /*margin: 0 auto 48px;*/
  margin: 0 auto 36px;
}
.readme a{
  color:blue;
}

.readme a:hover{
  text-decoration: underline;
}
.repo-stats {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto 24px;
}
.repo-stats > .stat {
  margin: 0 0 8px;
  padding: 8px 12px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}
.repo-stats > .stat > span:last-child {
  font-weight: 600;
  margin-left: 12px;
  font-size: 18px;
}
.repo-stats a {
  color: #0366d6;
}
.related-links {
  max-width: 1000px;
  margin: 0 auto;
  position: -webkit-sticky;
  position: sticky;
  top: 30px;
}
.related-links .category-chunk {
  margin: 8px 0;
}
.split-layout h3 {
  max-width: 100%;
  margin: 0 auto 12px;
}
.split-layout {
  display: flex;
  justify-content: center;
  max-width: 1250px;
  margin: 0 auto;
}
.title-desc-box {
  width: 100%;
  margin: 0 auto 32px;
}
.title-desc-box h1 {
  margin-bottom: 12px;
}
.title-desc-box h2 {
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.repo-details {
  margin: 0 24px;
  width: 300px;
}
.breadcrumbs {
  font-weight: 600;
  max-width: 1250px;
  margin: 0 -8px;
  padding: 32px 0;
  font-size: 18px;
}
.breadcrumbs a {
  color: #07f;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs .crumb {
  padding: 8px;
}
.bc-point {
  margin-top: -8px;
}
.main-header {
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.text-logo {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
@media only screen and (max-width: 1290px) {
  .readme {
    /*max-width: 700px;*/
  }
}
@media only screen and (max-width: 1090px) {
  .readme {
    width: 100%;
    max-width: 100%;
    padding: 18px 24px;
  }
  .split-layout {
    flex-wrap: wrap;
  }
  .repo-details {
    width: 100%;
  }
}
@media (max-width: 950px) {
  .main-footer {
    display: block;
    text-align: center;
    padding: 48px 24px;
    height: unset !important;
  }
  .main-footer .header-btn {
    margin-top: 8px;
  }
  .copyright {
    margin: 0 auto 8px;
  }
}
button {
  transition: all 0.1s ease, transform 0.25s ease;
  position: relative;
}
button:hover {
  transform: translateY(-2px);
}
button:active {
  transition: all 0.05s ease !important;
  transform: translate(0);
}
.primary-button,
.secondary-button {
  font-family: "Helvetica";
  border-radius: 10px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  padding: 0 24px;
  outline: none;
  cursor: pointer;
}
.primary-button {
  background: #4fbeff;
  color: #fff;
  border: none;
}
.primary-button:hover {
  background: #84d2ff;
}
.primary-button:active {
  background: #00a2ff;
}
.secondary-button {
  border: 2px solid #4fbeff;
  color: #4fbeff;
  background: none;
}
.secondary-button:hover {
  background: #4fbeff;
  color: #fff;
}
.secondary-button:active {
  background: #00a2ff;
  border-color: #00a2ff;
}
.tertiary-button {
  font-family: "Helvetica";
  padding: 0 24px;
  font-size: 16px;
  height: 40px;
  cursor: pointer;
  color: #fff;
  outline: none;
  border: none;
  background: none;
  font-weight: 500;
  position: relative;
}
.tertiary-button:before {
  content: "";
  position: absolute;
  background: #fff;
  height: 3px;
  bottom: -4px;
  opacity: 0;
  left: 24px;
  width: calc(100% - 48px);
  transition: all 0.25s ease;
  pointer-events: none;
}
.tertiary-button:hover:before {
  opacity: 1;
  bottom: 4px;
}
.link-button {
  height: 100%;
  padding: 0 24px;
  margin: 0 -24px;
  border-radius: 10px;
  display: flex;
  align-items: center;
}
.search-bar {
  padding: 12px;
  border-radius: 10px;
  width: 100%;
  max-width: 500px;
  /*margin: -24px auto 24px;*/
  margin: 0px auto 24px;
  height: 48px;
  outline: none;
  display: block;
  font-size: 16px;
}
.copyright {
  color: #fff;
}
.page {
  background: #eee;
  min-width: 44px;
  height: 44px;
  border-radius: 44px;
  padding: 16px;
  white-space: nowrap;
  margin: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page:hover {
  background: #eb5d54 !important;
  color: #fff;
}
.pagination,
.tags {
  margin: 8px;
  font-size: 16px;
  color: #637794;
  flex-wrap: wrap !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tag {
  font-weight: 600;
  font-size: 14px;
  padding: 8px 13px;
  border-radius: 8px;
  margin: 8px;
  border: 2px solid transparent;
}
.tag:hover {
  border: 2px solid;
}
.tag:nth-child(6n + 1) {
  background: rgba(175, 102, 193, 0.2);
  color: rgb(175, 102, 193);
}
.tag:nth-child(6n + 2) {
  background: rgba(96, 188, 94, 0.2);
  color: rgb(96, 188, 94);
}
.tag:nth-child(6n + 3) {
  background: rgba(84, 139, 190, 0.2);
  color: rgb(84, 139, 190);
}
.tag:nth-child(6n + 4) {
  background: rgba(163, 159, 81, 0.2);
  color: rgb(163, 159, 81);
}
.tag:nth-child(6n + 5) {
  background: rgba(80, 169, 164, 0.2);
  color: rgb(80, 169, 164);
}
.tag:nth-child(6n + 6) {
  background: rgba(193, 102, 135, 0.2);
  color: rgb(193, 102, 135);
}
.modal-container {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  margin: 0px;
  color: black;
}
.modal {
  position: relative;
  background-color: #fefefe;
  margin: 76px auto;
  padding: 8px;
  border: 1px solid #888;
  width: 100%;
  max-width: 340px;
}
#modal:target {
  display: block !important;
}
.close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  color: blue;
}
.fullscreen,
.fullscreen body,
.fullscreen .bg-image {
  width: 100%;
  height: 100%;
}
.bg-image:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.1;
  background: #000;
}
.bg-image > div {
  z-index: 1;
  max-width: 500px;
  padding: 20px;
  text-align: center;
}
.page-title {
  font-size: 3em;
  font-weight: 500;
  padding: 20px 0px;
}
.page-desc button {
  margin: 20px auto;
}
@media only screen and (max-width: 950px) {
  .page-title {
    font-size: 2.5em;
  }
}
@media (max-width: 681px) {
  :root{
    --num : 1;
  }
}
@media (min-width: 682px) and (max-width: 998px) {
  :root{
    --num : 2;
  }
}
@media (min-width: 999px) and (max-width: 1315px) {
  :root{
    --num : 3;
  }
}
@media (min-width: 1316px) {
  :root{
    --num : 4;
  }
}
