/* =========================
   Base / Reset
   ========================= */

html,
body {
  font-family: 'Lora', sans-serif;
  	font-display: swap;
  margin: 0;
  padding: 0;
}

section {
  padding: 20px;
}

a.anchor {
  position: relative;
  top: -100px;
  display: block;
  visibility: hidden;
}

/* =========================
   Layout Helpers
   ========================= */

.row {
  display: flex;
}

.col-1 {
  padding-right: 20px;
}

.container.right {
  text-align: right;
}

/* =========================
   Top Navigation
   ========================= */

.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #4c1551;
  text-align: right;
  z-index: 9999;
}

.topbar ul {
   list-style: none; 
    margin: 0;
    padding: 0;       
}

.topbar li {
  display:inline-block;
}

.topbar a {
  display: inline-block;
  margin: 5px;
  padding: 14px 16px;
  border-radius: 5px;
  font-family: 'Roboto', sans-serif;
  	font-display: swap;
  font-size: 17px;
  color: #fff;
  text-decoration: none;
  text-align: center;
}

.topbar a:hover:not(.download) {
  background-color: #602166;
}

.topnav button {
  display: none;
}

.topnav .icon .x {
  display: none;
}

/* =========================
   About Section
   ========================= */

section.about {
  margin-top: 90px;
  padding-bottom: 20px;
}

section.about h1 {
  font-size: 2em;
}

/* =========================
   Feature / Download Sections
   ========================= */

section.features,
section.download {
  background-color: #f1f3f4;
  padding: 40px;
}

section.download h2 {
  display:none
}

/* =========================
   Download Section
   ========================= */

section.download .container {
  display: flex;
  overflow: auto;
}

section.download .col-1,
section.download .col-2 {
  flex: 4;
  padding-top: 30px;
}

section.download .btn-success {
  padding: 20px;
  margin-top: 15px;
}

section.download .btn-success:hover {
  transform: translateY(-2px);
}

section.download .btn-success:active {
  transform: translateY(0);
}

section.download .btn-success span {
  display: block;
  font-size: 0.5em;
}

/* =========================
   Gallery
   ========================= */

.gallery  .container{
  padding: 30px 0 10px;
}

.gallery h2{
  display:none;
}

.gallery .container a {
  float: left;
  width: 49%;
  height: 195px;
  margin: 0 1% 1% 0;
  position: relative;
  overflow: hidden;
}

.gallery a img {
  position: absolute;
  top: -19%;
  left: 44%;
  width: 439px;
  margin-left: -200px;
}

.big_example {
  width: 500px;
  max-width: 100%;
}

.big_example img {
  max-width: 100%;
}

/* =========================
   Feature Grid (Cards)
   ========================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.feature-card {
  background: #fff;
  padding: 22px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.feature-card h3 {
  margin: 10px 0 6px;
  font-family: 'Roboto', sans-serif;
  	font-display: swap;
  font-size: 1.05em;
}

.feature-card p {
  font-size: 0.95em;
  opacity: 0.85;
}

.feature-card .emoji {
  font-size: 32px;
  line-height: 1;
}

.topnav a {
  float: none;
}

/* =========================
   Responsive
   ========================= */

@media screen and (max-width: 1200px) {
  section.about {
    margin-top: 50px;
  }

  .row {
    display: block;
  }
}

@media screen and (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 650px) {
  .topnav li {
    display: none;
  }

  .topnav .icon {
    float: right;
    display: block;
    color: #fff;
    background-color: transparent;
    border: none;
    padding: 14px 16px;
  }

  .topnav.responsive {
    position: relative;
  }

  .topnav.responsive .icon {
    text-align: right;
  }

  .topnav.responsive .icon .bars {
    display: none;
  }

  .topnav.responsive .icon .x {
    display: block;
  }

 .topnav.responsive li {
    float: none;
    display: block;
    text-align: left;
  }

  section.download .container {
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}


#hashDetails {
  margin-top: 6px;
}

#hashDetails summary {
  cursor: pointer;
  font-size: 0.9em;
  color: #555;
}

#hashDetails summary:hover {
  text-decoration: underline;
}

#hashes {
  margin-top: 6px;
  padding: 8px;
  background: #f5f5f5;
  font-family: monospace;
  font-size: 12px;
  white-space: pre;        /* keep hashes intact */
  overflow-x: auto;        /* only scroll when open */
}