/* Full background across the whole site */
body {
  background: url("../assets/background.png") no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
  background-color: #1a1a1a; /* fallback for dark theme */
}

/* Soften and blend the header */
.md-header {
  backdrop-filter: blur(6px);
  transition: background-color 0.3s ease;
  box-shadow: none;
}

.md-tabs {
  backdrop-filter: blur(6px);
  transition: background-color 0.3s ease;
  box-shadow: none;
}

/* Optional: smooth top fade effect between header and content */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  height: 4rem;
  width: 100%;
  background: linear-gradient(to bottom, rgba(25, 118, 210, 1), rgba(25, 118, 210, 0));
  z-index: 0;
}

.md-copyright {
  display: none;
}

.md-content__inner {
  background: rgba(255, 255, 255, 0.5);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#issue-search {
  width: 100%;
  max-width: 400px;
  padding: 8px;
  font-size: 1em;
  margin: 10px 0;
}

#issues-list div {
    margin-bottom: 12px;
    /* padding: 6px; */
    background: white;
    /* border: 1px solid #ddd; */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 16px;
}

#issues-list div h3 {
    margin-top: 0;
    margin-bottom: 8px; /* Optional: adjust spacing below the heading */
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

a.button {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 10px;
  background-color: #4CAF50;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  margin-right: 10px;
  cursor: pointer;
}
a.button.secondary {
  cursor: pointer;
  background-color: #008CBA;
}
a.button:hover {
  opacity: 0.9;
}

.download-list {
    list-style: none; /* Removes default bullets */
    padding: 0;
    margin: 0;
}

.download-list li {
    position: relative;
    padding: 10px 15px;
    font-size: 1rem;
    font-weight: 500;
    background: #f8f9fa; /* Light gray background */
    margin-bottom: 8px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}

.download-list li::before {
    content: "📦"; /* Icon before each item */
    font-size: 1.2rem;
}

.download-list li:hover {
    background: #0078d4;
    color: #ffffff;
    transform: translateX(5px);
}

.download-list li a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease-in-out;
}

.download-list li:hover a {
    color: #ffffff;
}

body[data-home="true"] .md-content__inner {
  position: absolute;
  bottom: .5rem;
  left: 0;
  right: 0;
  padding: 0;
  background: none;
  box-shadow: none;
}

body[data-home="true"] h1 {
  font-size: clamp(1rem, 5vw, 1.8rem);
  color: black;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2), 0 0 6px rgba(255, 165, 0, 0.2);
  font-weight: 700;
  letter-spacing: -0.5px;
}

body[data-home="true"] .md-footer {
  display: none;
}

body[data-home="true"] .cta-list {
  margin-left: 0;
  padding-left: 1em;
  text-align: right;
  list-style-position: outside;
  font-size: 1.25em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2), 0 0 6px rgba(255, 165, 0, 0.3);
}

.md-button {
  --md-accent-fg-color: rgba(255, 165, 0, 0.6);
}

.md-header__button.md-logo {
  margin: 0;
  padding: 0;
  padding-top: 1em;
}

.md-header__button.md-logo img {
  height: 2.5rem;
}

.md-header__topic {
  font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 3.2rem;
}
