
:root{
  --bg-left:#49649b;
  --bg-right:#425693;
  --fg:#ffffff;
  --muted: rgba(255,255,255,.82);
  --link:#e4eeff;
  --maxw: 760px;
  --donw: 272px;
  --space-1: 8px; --space-2: 12px; --space-3: 16px; --space-4: 24px; --space-4-5: 28px; --space-5: 32px;
  --radius: 10px;
}
*{box-sizing:border-box}
html{
  font-size:16px;
}
body{
  /* padding: 0px var(--space-5) var(--space-5); */
  margin:0;
  color:var(--fg);
  background: linear-gradient(90deg, var(--bg-left), var(--bg-right));
  font: 17px/1.65 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing: grayscale;
}
.container{
  background-color: white;
  max-width:var(--maxw);
  margin:0 auto;
  overflow-x: clip !important;
  overflow-y: visible !important;
}
header.page-theme{padding: var(--space-1) 0 var(--space-5); border-bottom:1px solid rgba(255,255,255,.15)}
h1,h2,h3{line-height:1.25; margin:0 0 var(--space-2); font-weight:700}
h1{display: inline-block;font-weight:900; margin:0 0 var(--space-2);}
h2{
  font-size: 1.6em;
  margin-top: var(--space-3);
  font-weight: 600;
}
h3{font-size: 18px; margin-top: var(--space-1);text-align: center;}
.lead{color:var(--muted); margin: 0 0 var(--space-4)}
.button_follows{margin: 0 0 var(--space-4)}
p{margin:0 0 var(--space-3)}
ul{margin: var(--space-3) 0 var(--space-3) var(--space-4); padding:0}
li+li{margin-top: var(--space-2)}
.section{padding: var(--space-3) 0 var(--space-5) 0}
.section p{
  font-size: 18px;
  color:#4d5562;
}
hr{border:0; height:1px; background: rgba(255,255,255,.15); margin: 0 0}
.actions{display:flex; gap: var(--space-3); flex-wrap:wrap; margin-top: var(--space-3)}


a{color:var(--link)}
small, .small{color:var(--muted)}
footer{padding: var(--space-5) 0; font-size:.95rem}

#title-wrap{
  max-width:var(--maxw);
}


/* White, transparent rounded corner box for all content */
.panel{ position: relative; overflow: visible;
  background: white;
  /* border-radius: 16px; */
  color: #0b0f14;
  /* Keep existing container padding; add a tiny inner buffer for rounded corners */
  /* padding: var(--space-4); */
  /* margin: 20px auto 0; */
  margin: 0 auto 0;
}
.panel a{ color:#0b72e7 }
.panel .lead{
  color:#4d5562;
  font-size: 18px;
}
.panel hr{ background: rgba(0,0,0,.12) }
.panel header.page-theme{ border-bottom:1px solid rgba(0,0,0,.12) }
.panel .small{ color:#4d5562 }
.panel footer{ padding: 0; }

.btn, .btn.primary{
  background:#209ce9;
  color:#ffffff;
  border:none;
  padding:10px 14px;
  border-radius:8px;
  text-decoration:none;
  transition: background-color .15s ease;

  font-weight: 700;
}

.panel footer .small{ color:#4d5562; }

/* Nano currency symbol "asterisk" outside the top-left corner */
.nano-symbol{
  /* Size it to fit within the existing blue padding area (body padding == var(--space-5)) */
  width: 24px;
  height: auto;

  /* Optional: subtle glow to separate from gradient */
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.25));

  position: relative;
  z-index: 50;
  align-items: center;
  margin-left: 10px;
}
.nano-symbol img{
  /* Size it to fit within the existing blue padding area (body padding == var(--space-5)) */
  width: 24px;
  height: auto;
  display: block;
}
.ham-wrap{
  height: auto;
  width: calc(var(--space-5) - 10px);
  position: fixed;
  z-index: 50;
  top: calc(var(--space-5) - 23px);
  right: max(calc((100vw - var(--maxw))/2 - (var(--space-5) + 10px)), calc(var(--space-5) - 27px));
}





/* Menu CSS
This block starts the hamburger menu.

 */
#menuToggle {
  display: block;
  position: relative;
  top: 35px;
  right: 0px;
  height: auto;
  width: 24px;
  margin-right: 10px;

  z-index: 1;

  -webkit-user-select: none;
  -moz-user-select: none;
   -ms-user-select: none;
       user-select: none;
}

#menuToggle a
{
  text-decoration: none;
  color: #ffffff;

  transition: color 0.3s ease;
}

#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: relative;
  top: 28px;
  left: 0px;

  cursor: pointer;

  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */

  -webkit-touch-callout: none;
}

#menuToggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin-bottom: 6px;
  position: relative;

  background: white;
  border-radius: 3px;

  z-index: 1;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.0s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(0, 1px);
  background: #209ce9;
  width: 26px;
}

#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2) {
  opacity: 1;
  transform: rotate(-45deg) translate(1px, 0);
  background: #209ce9;
  width: 25px;
}

#menu {
  position: relative;
  max-width: 250px;
  width: 100vw;
  max-height: 100vh;
  margin: -33px 0 0 0;
  padding: 25px;
  padding-top: 10px;
  right: 226px;
  border: 3px solid #209ce9;

  box-sizing: border-box;
  overflow-y: auto;
  background:#283d70;
  list-style-type: none;

  opacity: 0;
  visibility: hidden;

  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */

  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#menuToggle input:checked ~ #menu{
  opacity: 1;
  visibility: visible;
}

#menu li
{
  padding: 10px 0;
  font-size: 22px;
}

#menu li label
{
  cursor: pointer;
}

#menuToggle input:checked ~ ul {
  transform: none;
  opacity: 1;
}

.currency-strip-img{
  display:block;
  margin: 0 auto 0;
  width: min(90%, 700px);
  height: auto;
  padding-top: 10px;
}

.nano-donate{
  max-width:var(--donw);
  margin:15px auto 0 !important;
  padding:var(--space-5) var(--space-4);
  padding: var(--space-4) 0;
}

.qr-code-img{
  display:block;
  margin: 6px auto;
  width: min(100%, 224px);
  height: auto;
  padding-bottom: var(--space-4);
}

.ham {
  width: 22px;
  height: 3px;
  background-color: white;
  margin: 6px 0;
}

.ham-top {
  margin-top: 3px;
}

.value{
  overflow-wrap: break-word;
}

.value-display {
    border-top-width: 0.125rem;
    border-top-style: dashed;
    border-top-color: rgb(217, 217, 217);
    padding: var(--space-3) var(--space-4);
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
    font-style= normal;
    font-size: 16px;
    font-weight: 700;
}

.open-in-wallet-button{
    border-top-width: 0.125rem;
    border-top-style: dashed;
    border-top-color: rgb(217, 217, 217);
    padding: var(--space-4-5) var(--space-4) var(--space-1);
}
.open-in-wallet-button a{
  display: block;
  width: 100%;
  text-align: center;
}

.heading{
    display: flex;
    justify-content: space-between;
}

.value-display .value{
  padding-top: var(--space-1);
  font-weight: 600;
}

.copy-button {
    font-size: 0.75rem !important;
    line-height: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.015625rem !important;
    font-weight: 700 !important;
    background-color: rgb(255, 222, 54) !important;
    color: rgb(153, 77, 0) !important;
    cursor: pointer !important;
    padding: 2px 14px !important;
}

.lead-donation{
  color: #4d5562;
  margin: 0;
}

.page-header {
  padding: var(--space-4);
}

.site-header-img {
  background-color: #283c70;
}

.site-footer {
  background-color: #283c70;
}

.site-footer p{
  padding: var(--space-3);
  margin: 0 auto;
  color: #6B789E;
}

.site-header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 55px;
  width: 100%;
  /* background: linear-gradient(90deg, var(--bg-left), var(--bg-right)); */
  background: #283c70;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1;
}

.truth-logo img {
  display:block;
  margin: 6px auto 0;
  width: 200px;
  height: auto;
}

@media (max-width: 600px){
  .section p{
    font-size: 22px;
  }

  .panel .lead{
    font-size: 22px;
  }
}

/* Desktop/laptops with a mouse */
@media (hover: hover) and (pointer: fine) {
  .btn:hover, .btn.primary:hover{
    background: #283c70;
    color: #209ce9;
  }

  #menuToggle a:hover
  {
    color: #209ce9;
  }

  #menuToggle input:hover ~ span
  {
    background: #209ce9;
  }

  .copy-button:hover {
      background-color: rgb(255, 238, 153) !important;
      color: rgb(179, 89, 0) !important;
  }
}

/* Touch devices — use :active instead (press feedback) */
@media (hover: none) and (pointer: coarse) {
  .btn:active, .btn.primary:active{
    background: #283c70;
    color: #209ce9;
  }

  #menuToggle a:active
  {
    color: #209ce9;
  }

  #menuToggle input:active ~ span
  {
    background: #209ce9;
  }

  .copy-button:active {
      background-color: rgb(255, 238, 153) !important;
      color: rgb(179, 89, 0) !important;
  }
}
