:root {
  --primary-text-size: 12px;
  --size: calc(100vmin / 1.618033988749895);
}

html,
body {
  height: 100vh;
  overflow: hidden;
  width: 100%;
}

body {
  background: #241917;
  color: #f3bbae;
  font-family: Monaco, monospace !important;
  margin: 0;
}

body,
.braille {
  align-items: center;
  display: flex;
  flex-flow: row;
  justify-content: center;
}

.braille {
  font: 10px/10px "Iosevka Web", monospace;
  height: var(--size);
  max-height: 100%;
  max-width: 100%;
  width: var(--size);
}

.braille>* {
  white-space: pre;
}

.braille .hidden {
  bottom: 100%;
  position: fixed;
  right: 100%;
}

.globe-txt {
  display: flex;
  position: fixed;
  right: 0;
}

.links {
  padding: 0;
}

@media only screen and (max-width: 625px) {
  .globe-txt {
    position: fixed;
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%);
  }

  .dashboard {
    flex-direction: column !important;
  }

  .center-text {
    left: 2px !important;
    right: 2px !important;
    margin-left: 0;
    margin-top: 0;
    max-width: 100vw;
  }
}

.center-text {
  background-color: #241917;
  border: 4px solid #9a756c;
  display: flex;
  flex-direction: column;
  gap: 25px;
  left: 15%;
  max-width: 35rem;
  position: fixed;
  text-align: left;
  top: 30%;
  z-index: 10;
}

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

::-webkit-scrollbar-track {
  background: #241917;
}

::-webkit-scrollbar-thumb {
  background: #f3bbae;
}

.tab,
.tab-link {
  border-color: #9a756c;
  border-style: solid;
  border-width: 0 4px 4px 0;
  cursor: pointer;
  font-size: 10px;
}

.tab-link {
  color: #f3bbae;
  margin-right: 2.5rem;
  min-width: 4.5rem;
  text-decoration: none;
}

.tab-link svg {
  fill: #f3bbae;
  width: 12px;
}

a {
  color: #f3bbae;
  transition: color 0.3s ease;
}

label>a {
  transition: none !important;
}

p {
  font-size: var(--primary-text-size);
  margin: 0;
}

.tabbed {
  overflow-x: hidden;
}

.tabbed [type="radio"] {
  display: none;
}

ul.custom-bullet {
  list-style-type: none;
}

ul.custom-bullet li {
  position: relative;
}

ul.custom-bullet li::before {
  content: "-";
  left: -15px;
  position: absolute;
}

.tab>label {
  cursor: pointer;
  display: flex;
  margin: 0;
  padding: 0.35rem 0.75rem;
}

.tab:hover a,
.tab:hover svg {
  color: #241917 !important;
  fill: #241917 !important;
}

.tab:hover label {
  background-color: #9a756c;
  color: #241917;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.tab-content {
  display: none;
  padding: 1rem;
}

.tab-content:has(a.btn) {
  padding-bottom: 2.5rem;
}

.tabbed [type="radio"]:nth-of-type(1):checked~.tabs .tab:nth-of-type(1) label,
.tabbed [type="radio"]:nth-of-type(2):checked~.tabs .tab:nth-of-type(2) label,
.tabbed [type="radio"]:nth-of-type(3):checked~.tabs .tab:nth-of-type(3) label,
.tabbed [type="radio"]:nth-of-type(4):checked~.tabs .tab:nth-of-type(4) label,
.tabbed [type="radio"]:nth-of-type(5):checked~.tabs .tab:nth-of-type(5) label {
  background-color: #9a756c;
  color: #241917;
  font-weight: 700;
}

.tabbed [type="radio"]:nth-of-type(1):checked~.tab-content:nth-of-type(1),
.tabbed [type="radio"]:nth-of-type(2):checked~.tab-content:nth-of-type(2),
.tabbed [type="radio"]:nth-of-type(3):checked~.tab-content:nth-of-type(3),
.tabbed [type="radio"]:nth-of-type(4):checked~.tab-content:nth-of-type(4) {
  display: block;
}

.code {
  background-color: #241917;
  border: 4px solid #9a756c;
  color: #fff !important;
  display: block;
  font-size: 10px;
  padding: 5px;
  word-wrap: break-word;
}

.bullet-text {
  font-size: var(--primary-text-size);
  padding-top: 1rem;
  position: relative;
  text-align: left;
}

.tab-content a[href]:hover {
  color: #ffffff;
}

.visible {
  position: absolute;
  right: 0;
  z-index: 0;
}

ul {
  list-style-type: none;
}

.tabs {
  align-items: stretch;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bullet::before {
  content: "-";
  display: inline-block;
  width: 1em;
}

.alt-bullet {
  padding-left: 1rem !important;
}

.dashboard {
  display: flex;
  flex-direction: row;
}

.icon,
.text-icon {
  fill: #f3bbae;
  width: 12px;
}

.text-icon {
  padding-left: 0.5rem;
}

.tab-icon {
  color: #f3bbae;
  fill: #f3bbae;
  padding-left: 0.25rem;
  width: var(--primary-text-size);
}

a {
  align-items: center;
  display: flex;
  justify-content: center;
}

.bullet-text a {
  align-items: left;
  justify-content: left;
}

.modal-window {
  background-color: rgba(0, 0, 0, 0.45);
  bottom: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  transition: background-color 0.3s ease;
  visibility: hidden;
  z-index: 999;

  &:target {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  &>div {
    background: #241917;
    left: 50%;
    padding: 2em;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
  }

  header {
    font-weight: bold;
  }

  h1 {
    font-size: 150%;
    margin: 0 0 15px;
  }
}

.modal-close {
  border-bottom: 4px solid #9a756c;
  border-left: 4px solid #9a756c;
  font-size: 18px;
  line-height: 14px;
  padding: 0.25rem 0.35rem;
  position: absolute;
  right: 0;
  text-decoration: none;
  top: 0;

  &:hover {
    background-color: #9a756c;
    color: #241917 !important;
  }
}

.modal-window {
  &>div {
    border: 4px solid #9a756c;
    padding: 1rem;
  }
}

.modal-window div:not(:last-of-type) {
  margin-bottom: 15px;
}

.logo {
  display: block;
  max-width: 150px;
}

.btn {
  background-color: #241917;
  border-right: 4px solid #9a756c;
  border-top: 4px solid #9a756c;
  bottom: 0;
  font-size: 10px;
  left: 0;
  padding: 0.35rem 0.75rem;
  position: absolute;
  text-decoration: none;
}

.btn:hover {
  background-color: #9a756c;
  color: #241917 !important;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.modal-text {
  font-size: var(--primary-text-size);
  line-height: 1.6;
  margin: 0;
}

.modal-body {
  padding-right: 1rem;
}

.crypto-address {
  background-color: #241917;
  border: 4px solid #9a756c;
  color: #fff;
  display: block;
  font-size: 12px !important;
  padding: 5px;
  word-wrap: break-word;
}

.crypto-name {
  font-size: 10px;
  font-weight: 400;
}

#load-overlay {
  display: none;
}