:root {
  --bg-theme: #000000;
  --bs-primary-transparent: rgba(13, 110, 253, 0.5);
  --bg-linear: linear-gradient(88.26deg, #000000 -14.96%, #0e2433 115.7%);
  --bg-linear-2: linear-gradient(88.26deg, #bfe6ff -14.96%, #ffffff 115.7%);
  --bg-radial: radial-gradient(
    119.6% 524.57% at 121.71% 109.56%,
    #000000 0%,
    #009dff 42.98%,
    #bfe6ff 100%
  );
  --color-primary: #0e2433;
  --color-primary-transparent: rgba(14, 36, 51, 0.6);
  --text-theme: #ffffff;
}

/* lightbox style */

.sl-overlay {
  background: var(--bg-theme);

}

.sl-wrapper .sl-close {
  margin: 0;
  height: auto !important;
  width: auto !important;
  color: var(--bs-primary) !important;
  font-size: 2rem !important;
  font-weight: bold;
}

.sl-wrapper .sl-counter {
  color: var(--bs-primary) !important;
  font-weight: bold;
}

.sl-navigation .sl-prev,
.sl-navigation .sl-next {
  margin: 0;
  height: auto !important;
  width: auto !important;
  color: var(--bs-primary) !important;
  font-size: 2rem !important;
  font-weight: bold;
}

/* ---- */


html {
  scroll-behavior: smooth;
  background: var(--bg-theme);
}

body {
  width: 100%;
  background: url("../img/banner/layer.png") top center repeat-y;
  background-size: 1200px 1200px;
  transition: 0.2s ease-in-out;
}

/* width */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar:horizontal {
  height: 3px;
}

/* Track */
::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--bs-primary);
}

.navbar {
  background: url("../img/banner/layer.png");
  background-size: cover;
  box-shadow: 0px 0px 5px 1px black;
}

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

.navbar .navbar-toggler i {
  border: none;
  color: var(--text-theme);
}

.navbar .navbar-nav .nav-link {
  color: var(--text-theme);
  text-transform: uppercase;
}

.navbar .navbar-nav .nav-link:hover {
  color: var(--bs-primary);
}

.text-mono {
  font-family: "JetBrains Mono", monospace;
}

.text-prompt {
  font-family: "Prompt", sans-serif;
}

.text-serif {
  font-family: "Playfair Display", serif;
}

.text-theme {
  color: var(--text-theme);
}

.btn-custom {
  background: var(--bs-primary);
  color: var(--bg-theme);
  border-radius: 0;
  border: 1px solid var(--bs-primary);
}

.btn-custom:hover {
  background: var(--color-primary);
  color: #000000;
  border: 1px solid var(--color-primary);
}

#loading-main {
  position: fixed;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-align: center;
  background: var(--bg-theme);
  z-index: 100;
}

.vertical-center {
  position: absolute;
  margin: auto;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* css or page home */
#hero {
  position: relative;
  height: calc(70vh + 10vw);
  width: 100%;
  background: url("../img/banner/banner.jpg");
  background-size: cover;
  box-shadow: 0 0 20px 2px #0e2433;
}

#hero::before {
  content: "";
  left: 0;
  position: absolute;
  height: 100%;
  width: 100%;
  background: black;
  opacity: 0.8;
  display: block;
}

#pills-tab .nav-item .nav-link img {
  width: 180px;
  height: 100px;
  max-width: 180px;
  max-height: 100px;
}

#pills-tab .nav-item .nav-link {
  border: 1px solid transparent;
}

#pills-tab .nav-item .nav-link.active {
  background: url("../img/banner/layer-2.png");
  border: 1px solid var(--color-primary);
}

#pills-tabContent .tab-pane .container {
  background: url("../img/banner/layer-2.png");
  background-size: cover;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 20px 2px var(--color-primary);
}

.shadow-custom {
  box-shadow: 0 0 20px 2px var(--color-primary);
}

/* css for page cards */
#search .dropdown-toggle {
  background: var(--bg-theme);
  border-radius: 0;
  border: 1px solid var(--bs-primary);
  color: var(--bs-primary);
}

#search .dropdown-toggle:hover {
  background: var(--bs-primary);
  color: var(--bg-theme);
}

#search .dropdown-menu {
  background: var(--bg-theme);
  border-radius: 0;
  border: 1px solid var(--bs-primary);
}

#search .dropdown-menu li:first-child span {
  color: var(--bs-primary);
}

#search .dropdown-menu li span {
  text-transform: uppercase;
  color: var(--bs-secondary);
}

#search .dropdown-menu li span:hover {
  background: var(--bs-primary);
  color: var(--bg-theme);
}

#search input[type="search"] {
  background: transparent;
  font-family: "Prompt", sans-serif;
  color: var(--text-theme);
  font-weight: bold;
  border-radius: 0;
  text-transform: uppercase;
  border: 1px solid var(--bs-primary);
}

#search input[type="search"]::placeholder {
  font-weight: bold;
  font-family: "Prompt", sans-serif;
}

#search button[type="submit"] {
  background: var(--bs-primary);
  color: var(--bg-theme);
  border-radius: 0;
  border: 1px solid var(--bs-primary);
}

#search button[type="submit"]:hover {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
}

/* Accordion */
#filter .accordion-item,
#filter .accordion-button,
#filter .accordion-body {
  background: transparent;
  border-radius: 0;
  border: 1px solid var(--bs-primary);
}

#filter .accordion-button {
  color: var(--bs-primary);
  box-shadow: none;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 0;
}

#filter .accordion-button.collapsed {
  box-shadow: none;
}

#filter .accordion-button.collapsed::after {
  background-image: url("../img/icon/collapse.png");
  transform: rotate(-90deg);
}

#filter .accordion-button:not(.collapsed) > #filter .accordion-item,
#filter .accordion-body {
  box-shadow: 0 0 5px 2px var(--bs-primary);
}

#filter .accordion-button:not(.collapsed)::after {
  background-image: url("../img/icon/collapse.png");
  transform: rotate(0deg);
}

/* Checkbox */
#filter .form-check-input {
  background-color: transparent;
  box-shadow: none;
}

#filter .form-check-input[type="checkbox"] {
  border-color: var(--bs-primary);
  border-radius: 0;
}

#filter .form-check-label {
  color: var(--text-theme);
  font-weight: bold;
  font-family: "JetBrains Mono", monospace;
}

#filter .form-check-input:checked[type="checkbox"] {
  background-image: url(
    data:image/svg + xml,
    %3csvgxmlns="http://www.w3.org/2000/svg"viewBox="0 0 20 20"%3e%3cpathfill="white"stroke="%23fff"stroke-linecap="round"stroke-linejoin="round"stroke-width="3"d="M6 10l3 3l6-6"/%3e%3c/svg%3e
  );
}

/* Radio */

#filter .form-check-input[type="radio"] {
  border-color: var(--bs-primary);
}

#form-filter button[type="submit"] {
  background: var(--bg-theme);
  border: 1px solid var(--bs-primary);
  border-radius: 0;
  font-weight: bold;
  font-family: "Prompt", sans-serif;
  color: var(--bs-primary);
}

#form-filter button[type="submit"]:hover {
  background: var(--bs-primary);
  color: var(--bg-theme);
}

#form-filter button[type="reset"] {
  background: var(--bg-theme);
  border: 1px solid var(--bs-danger);
  border-radius: 0;
  font-weight: bold;
  font-family: "Prompt", sans-serif;
  color: var(--bs-danger);
}

#form-filter button[type="reset"]:hover {
  background: var(--bs-danger);
  color: var(--bg-theme);
}

#ygo .card-ygo:hover {
  transition: 0.3s;
  transform: scale(1.1);
}

#ygo .card-ygo-small {
  width: 50px;
}

.text-hidden {
  white-space: nowrap;
  overflow-y: hidden;
  overflow-x: auto;
}

.desc {
  overflow: auto;
  max-height: 200px;
  height: 200px;
  font-family: "Prompt", sans-serif;
  font-size: 16px;
  color: var(--text-theme);
}

.desc-pendulum {
  max-height: 80px;
  height: 80px;
}

.col-pendulum {
  overflow: hidden;
  max-height: 100px;
  height: 100px;
  font-family: "Prompt", sans-serif;
  font-size: 13px;
  color: var(--text-theme);
}

.attribute {
  height: 35px;
  width: 35px;
}

.mark-level {
  height: 20px;
  width: 20px;
}

.more {
  background: var(--bg-theme);
  border: 1px solid var(--bs-primary);
  border-radius: 0;
  font-weight: bold;
  font-family: "Prompt", sans-serif;
  color: var(--bs-primary);
}

.more:hover {
  background: var(--bs-primary);
  color: var(--bg-theme);
}
/*-------------------------------------------------------*/
.gobtn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  text-decoration: none;
  font-size: 20px;
  height: 50px;
  width: 50px;
  background: var(--bs-primary);
  text-align: center;
  display: none;
  transition: 0.5s;
  transition-property: transform, background, border-radius;
}

.gobtn i {
  color: var(--bg-theme);
  margin: 15px auto;
}

.gobtn:hover {
  border-radius: 100%;
  transform: scale(1.3);
  background: var(--color-primary);
}

footer {
  background: var(--bg-theme);
}

@media (min-width: 768px) {
  .desc {
    max-height: 140px;
    height: 140px;
    font-size: 17px;
  }
  .desc-pendulum {
    max-height: 70px;
    height: 70px;
  }
  .col-pendulum {
    max-height: 90px;
    height: 90px;
    font-size: 15px;
  }
}

@media (min-width: 1200px) {
  .attribute {
    height: 50px;
    width: 50px;
  }

  .mark-level {
    height: 25px;
    width: 25px;
  }

  .desc {
    max-height: 210px;
    height: 210px;
    font-size: 20px;
  }

  .desc-pendulum {
    max-height: 90px;
    height: 90px;
  }

  .col-pendulum {
    max-height: 110px;
    height: 110px;
    font-size: 15px;
  }
}
