.relation-list-slider {
  .slick-list {
    .slick-track {
      display: flex !important;
      // gap: 20px;
      .slick-active {
        display: flex;
        justify-content: center;
      }
    }
  }
}

/* Make clicks pass-through */
/* Fancy blur effect */
/* Remove these to get rid of the spinner */
// custom nprogress
@-webkit-keyframes nprogress-spinner {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes nprogress-spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
#nprogress {
  pointer-events: none;
  .bar {
    background: var(--chakra-colors-primary);
    position: fixed;
    z-index: 1031;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
  }
  .peg {
    display: block;
    position: absolute;
    right: 0px;
    width: 100px;
    height: 100%;
    box-shadow: 0 0 10px var(--chakra-colors-primary), 0 0 5px var(--chakra-colors-primary);
    opacity: 1;
    -webkit-transform: rotate(3deg) translate(0px, -4px);
    -ms-transform: rotate(3deg) translate(0px, -4px);
    transform: rotate(3deg) translate(0px, -4px);
  }
  .spinner {
    display: block;
    position: fixed;
    z-index: 1031;
    top: 15px;
    right: 15px;
  }
  .spinner-icon {
    width: 18px;
    height: 18px;
    box-sizing: border-box;
    border: solid 2px transparent;
    border-top-color: var(--chakra-colors-primary);
    border-left-color: var(--chakra-colors-primary);
    border-radius: 50%;
    -webkit-animation: nprogress-spinner 400ms linear infinite;
    animation: nprogress-spinner 400ms linear infinite;
  }
}
.nprogress-custom-parent {
  overflow: hidden;
  position: relative;
  #nprogress {
    .spinner {
      position: absolute;
    }
    .bar {
      position: absolute;
    }
  }
}

:root {
  --f-size: 15;
  --f-unit: 1vmin;
  --f: calc(var(--f-size) * var(--f-unit));
  --bg: ##e5e5e5;
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 8px;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1;
}
::-webkit-scrollbar-thumb {
  // background: var(--chakra-colors-primary) !important;
  background: rgba(255, 189, 19, 0.7);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00ffff;
  cursor: pointer;
}

.markdown {
  body {
    // background-color: #fff;
    // color: #333;
    word-wrap: break-word;
    line-height: 1.7;
    padding: 0 20px 20px 20px;
    width: 722px;
  }
  a {
    // color: #4183c4;
    text-decoration: none;
    &:hover {
      text-decoration: underline;
    }
  }
  p {
    margin: 15px 0;
  }
  blockquote {
    margin: 15px 0;
  }
  ul {
    margin: 15px 0;
    padding-left: 30px;
  }
  ol {
    margin: 15px 0;
    padding-left: 30px;
  }
  dl {
    margin: 15px 0;
  }
  table {
    margin: 15px 0;
    border-collapse: collapse;
  }
  table,
  td,
  th {
    border: 1px solid;
    padding: 10px;
  }
  pre {
    margin: 15px 0;
    background-color: #f8f8f8;
    border-radius: 3px;
    border: 1px solid #ddd;
    font-size: 12px;
    margin: 0 2px;
    padding: 0 5px;
    white-space: pre;
    code {
      border: none;
      margin: 0;
      padding: 0;
      white-space: pre;
    }
  }
  h1 {
    border-bottom: 1px solid #ddd;
    color: #000;
    font-size: 2.5em;
    font-weight: bold;
    line-height: 1.7;
    margin: 1em 0 15px 0;
    + {
      p {
        margin-top: 10px;
      }
    }
  }
  h2 {
    // border-bottom: 1px solid #eee;
    // color: #000;
    font-size: 1.8em;
    font-weight: bold;
    line-height: 1.7;
    margin: 1em 0 15px 0;
    + {
      p {
        margin-top: 10px;
      }
    }
  }
  h3 {
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1.7;
    margin: 1em 0 15px 0;
    + {
      p {
        margin-top: 10px;
      }
    }
  }
  h4 {
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.7;
    margin: 1em 0 15px 0;
  }
  h5 {
    font-size: 1em;
    font-weight: bold;
    line-height: 1.7;
    margin: 1em 0 15px 0;
  }
  h6 {
    color: #777;
    font-size: 1em;
    font-weight: bold;
    line-height: 1.7;
    margin: 1em 0 15px 0;
  }
  img {
    max-width: 100%;
  }
  code {
    background-color: #f8f8f8;
    border-radius: 3px;
    border: 1px solid #ddd;
    font-size: 12px;
    margin: 0 2px;
    padding: 0 5px;
    white-space: pre;
  }
}
