:root {
  --primary-color: #3fcf8e;
}

* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  color: #ededed;
  scroll-behavior: smooth;
}

html {
  height: 100%;
}

body {
  background-color: #1c1c1c;
  /* background-color: #FAF8F6; */
}

a {
  color: var(--primary-color);
}

.bg-gray {
  background-color: #f1f4f9;
}

.gradient {
  background-image: url("../img/noise.png"), radial-gradient(at 43% 19%, hsla(28, 100%, 74%, 1) 0px, transparent 50%), radial-gradient(at 81% 10%, hsla(189, 100%, 56%, 1) 0px, transparent 50%), radial-gradient(at 7% 19%, hsla(355, 100%, 93%, 1) 0px, transparent 50%);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
}

#section-categories {
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox, Safari 18.2+, Chromium 121+ */
}
#section-categories::-webkit-scrollbar {
  display: none; /* Chrome, Safari, and Opera */
}

/* =============================================================================
TYPOGRAPHY
============================================================================= */
#section-title {
  font-weight: 700;
  color: #ededed;
}

.title-container {
  background-color: #1c1c1c;
}

.small {
  font-size: 0.8rem;
}

.light {
  font-weight: 300;
}

.regular {
  font-weight: 400;
}

.semi-bold {
  font-weight: 600;
}

.bold {
  font-weight: 700;
}

.card a {
  font-size: 0.8rem;
  color: var(--primary-color);
}

.card a:hover {
  text-decoration: underline !important;
}

.text-muted {
  color: #707070 !important;
}

/* =============================================================================
COLOURS
============================================================================= */
.bg-gray {
  background-color: #f1f4f9;
}
.gray-500 {
  color: #acacac;
}

/* =============================================================================
BUTTONS
============================================================================= */

.btn-black {
  color: #fff;
  background-color: #000;
  border-color: #000;
}

#backToTop {
  display: none;
  position: fixed;
  bottom: 0;
  right: 0;
  margin: 1rem;
}

.btn-category-badge {
  border-radius: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid #4a4a4a;
  color: #ffffff;
}
.btn-category-badge:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.placeholder-category {
  height: 38px;
  border-radius: 40px;
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-search {
  background-color: #2b2b2b;
  border: 1px solid #3e3e3e;
  padding-right: 0.4rem;
  color: #8d8d8d;
}
.btn-search:hover {
  background-color: #252525;
  border: 1px solid #3e3e3e;
  color: #8d8d8d;
}
.btn-search:active {
  background-color: #2b2b2b;
  border: 1px solid var(--primary-color);
  color: #8d8d8d;
}
.btn-search svg {
  width: 24px;
  height: 24px;
  fill: #8d8d8d;
}
.btn-search div {
  color: #8d8d8d;
}
.btn-search .badge {
  background-color: #8d8d8d;
  color: #ffffff;
  border-radius: 4px;
  margin-right: 4px;
  margin-top: 2px;
}
.btn-primary {
  color: #0d3523;
}
.btn-outline-primary {
  background-color: #3fcf8e29;
}

/* =============================================================================
NAVBAR
============================================================================= */
.navbar {
  background-color: #1c1c1c;
}

.navbar-fade {
  transition: all 0.5s ease-in-out;
  background-color: #f4f4f4;
}

.navbar-index {
  background-color: #f4f4f4;
}

.navbar-light {
  background-color: #ffffff;
}

.navbar-light .navbar-nav .nav-link {
  color: #171924;
}

.navbar-light .navbar-nav .nav-link:hover {
  opacity: 0.6;
}

.navbar-brand {
  font-weight: 600;
  color: #171924;
}

.navbar-light .navbar-toggler {
  border: none;
  outline: none;
}

.navbar-light .navbar-toggler:focus {
  outline: none;
}

/* =============================================================================
SIDEBAR
============================================================================= */
#wrapper {
  overflow-x: hidden;
}

#sidebar-wrapper {
  min-height: 100vh;
  height: 100vh;
  min-width: 18rem;
  overflow: scroll;
  margin-left: -18rem;
  background-color: #1c1c1c;
  transition: margin 0.25s ease-out;
}

#sidebar-wrapper .sidebar-heading {
  padding: 0.5rem 1.25rem;
  font-size: 1.2rem;
}
.sidebar-heading {
  width: 18rem;
  position: fixed;
  z-index: 1000;
  background-color: #1c1c1c;
}

#sidebar-wrapper .list-group {
  width: 18rem;
}
.list-group {
  height: 100vh;
  overflow: scroll;
}

.list-group-item {
  color: #bbbbbb;
}

.list-group-item + .list-group-item.active {
  margin-top: 0.25rem;
  color: #ededed !important;
  background-color: #e9ecef;
  border-radius: 8px;
}
.list-group-item p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#page-content-wrapper {
  min-width: 100vw;
  height: 100vh;
  overflow: scroll;
}

body.sb-sidenav-toggled #wrapper #sidebar-wrapper {
  margin-left: 0;
}

@media (min-width: 768px) {
  #sidebar-wrapper {
    margin-left: 0;
  }

  #page-content-wrapper {
    min-width: 0;
    width: 100%;
  }

  body.sb-sidenav-toggled #wrapper #sidebar-wrapper {
    margin-left: -18rem;
  }
}

.list-group-item {
  background-color: transparent;
  border: none;
  margin: 0.25rem 0rem;
  padding: 0.7rem;
}
.list-group-item-action:hover,
.list-group-item-action:focus {
  background-color: #2e2e2e;
  color: #ededed;
  border-radius: 8px;
}

.list-group-item.active {
  color: #0d6efd;
  border: none;
  background-color: inherit;
}

/* =============================================================================
JUMBOTRON
============================================================================= */
.jumbotron {
  display: flex;
  align-items: center;
  height: 75% !important;
  /* background-image: url('../img/cover-art2.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 90% 50%; */
  margin: 1rem 0 0;
}

/* =============================================================================
CAROUSEL
============================================================================= */
.carousel-caption {
  text-align: left;
  left: 0%;
  width: 100%;
  padding: 1.25rem;
  bottom: 0;
  background: rgb(0, 0, 0);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

.carousel-caption h5 {
  font-weight: 600;
}

.carousel-indicators {
  justify-content: flex-start;
  margin-left: 0%;
  padding-left: 1.25rem;
}

.carousel-indicators [data-bs-target] {
  border-radius: 6px;
  border-top: none;
  border-bottom: none;
}

/* =============================================================================
HEADER
============================================================================= */
.header {
  height: 250px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 100%), url("../img/jumbotron/bg-green.png") no-repeat center center;
  background-size: cover;
}

/* =============================================================================
DROPDOWN MENU
============================================================================= */
.dropdown-menu {
  background-color: #232323;
  border: 1px solid #2e2e2e;
  border-radius: 12px;
  filter: drop-shadow(rgba(128, 138, 157, 0.12) 0px 1px 2px) drop-shadow(rgba(128, 138, 157, 0.24) 0px 8px 32px);
}

.dropdown-menu li {
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}

.dropdown-item {
  padding: 0.6rem 1rem;
  border-radius: 8px;
}

.dropdown-item:focus,
.dropdown-item:hover {
  background-color: #2e2e2e;
}

.dropdown-divider {
  border-top-color: #2e2e2e;
}

/* =============================================================================
FORMS
============================================================================= */
.form-control {
  background-color: #2b2b2b;
  border: 1px solid #3e3e3e;
  color: #ffffff;
}
.form-control::placeholder {
  color: #8d8d8d;
}
.form-control:focus {
  background-color: #2b2b2b;
  border-color: var(--primary-color);
  color: #ffffff;
}
.input-group-text {
  background-color: #2b2b2b;
  border: 1px solid #3e3e3e;
  color: #ffffff;
}

.has-search .form-control {
  border-left: none;
}

/* =============================================================================
CARDS
============================================================================= */
.card-header {
  padding: 1.25rem 1.25rem 0 1.25rem;
  border: none;
  border-top-left-radius: 12px !important;
  border-top-right-radius: 12px !important;
  background-color: transparent;
}

.card-title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  padding: 0 1.25rem 1.25rem 1.25rem;
  border: none;
  border-bottom-left-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
  background-color: transparent;
}

.card {
  background-color: #232323;
  border: 1px solid #2e2e2e;
  border-radius: 12px;
  /* box-shadow: rgb(88 102 126 / 8%) 0px 4px 24px, rgb(88 102 126 / 12%) 0px 1px 2px; */
}

.card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-title {
  color: #ededed;
  font-weight: 600;
}

.card-text {
  color: #a3a3a3;
}

.card-logo {
  background-color: #2b2b2b;
}

/* =============================================================================
MODALS
============================================================================= */
.modal {
  backdrop-filter: blur(4px);
}
.modal-content {
  background-color: #232323 !important;
  border: 1px solid #2e2e2e;
  border-radius: 12px;
}
.modal-header {
  border: none;
}
.modal-footer {
  border: none;
}

.bg-label {
  font-weight: 400;
  color: #a0a0a0;
  background-color: hsla(0, 0%, 59%, 0.1);
  border: 1px solid hsla(0, 0%, 39%, 0.2);
  border-radius: 3px;
}

.badge-upvotes {
  color: rgb(194, 194, 194, 1);
  background-color: rgba(194, 194, 194, 0.1);
  border: 1px solid rgba(194, 194, 194, 1);
  align-self: start;
}

.badge-active {
  color: rgba(63, 207, 142, 1);
  background-color: rgba(63, 207, 142, 0.1);
  border: 1px solid rgba(63, 207, 142, 1);
  align-self: start;
}

.card-slide-up {
  transition: transform 0.3s ease-out;
}

.card-slide-up:hover {
  transform: translateY(-8px);
}

.rounded-5 {
  border-radius: 8px !important;
}

.rounded-6 {
  border-radius: 12px;
}

/* =============================================================================
TOAST
============================================================================= */
#toast-wrapper {
  width: 100%;
}

.toast {
  width: 100%;
  border-radius: 12px;
  border: none;
  background-color: #ffffff;
}

/* =============================================================================
FOOTER
============================================================================= */
/* =============================================================================
ANIMATIONS
============================================================================= */
.animate__delay-03s {
  animation-delay: 0.3s;
}

/* =============================================================================
RESPONSIVE STUFF
============================================================================= */
@media (max-width: 768px) {
  .jumbotron {
    display: flex;
    align-items: start;
    height: 60% !important;
    margin: 2rem 0;
    /* background-image: url('../img/cover-art2.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom; */
  }
  #sidebar-wrapper {
    margin-left: -18rem;
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.8rem;
    padding-left: 0.8rem;
  }
}

/* =============================================================================
NEWS
============================================================================= */

.crypto-carousel {
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.crypto-ticker {
  display: flex;
  animation: scroll 60s linear infinite;
  white-space: nowrap;
  align-items: center;
}

.crypto-item {
  display: flex;
  align-items: center;
  margin-right: 20px;
  min-width: 180px;
}

.crypto-symbol {
  font-weight: bold;
  font-size: 14px;
  margin-right: 8px;
}

.crypto-price {
  font-size: 13px;
  margin-right: 8px;
}

.crypto-change {
  font-size: 12px;
}

.positive {
  color: #22c55e;
}

.negative {
  color: #ef4444;
}

@keyframes scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  color: white;
}

.crypto-carousel:hover .crypto-ticker {
  animation-play-state: paused;
}

.update-indicator {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 10px;
  color: #888;
}

.fag-gauge {
  width: 100%;
  height: 20px;
  -webkit-appearance: none;
  background: #ea3943;
  background: linear-gradient(90deg, rgba(234, 57, 67, 1) 0%, rgba(243, 212, 47, 1) 50%, rgba(20, 199, 132, 1) 100%);
  border-radius: 0.375rem;
  outline: none;
}

.fag-gauge::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 28px;
  background: #fff;
  border-radius: 8px;
  border: 4px solid #212529;
}
