/* General Page Styles */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 20px;
  background-image: url('starry-bg-lofi.JPG');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Knewave Font */
.knewave-regular {
  font-family: "Knewave", system-ui;
  font-weight: 400;
  font-style: normal;
}

/* Site Title (Top of Page) */
.site-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 30px;
  color: white;
}

/* Nav Dropdown Styles (Click on Mobile / Hover on Desktop) */
input[type="checkbox"] {
  display: none;
}

.main-tab {
  display: inline-block;
  padding: 12px 20px;
  background-color: #333;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

.sub-tabs {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  margin-left: 20px;
  margin-top: 10px;
}

input[type="checkbox"]:checked + .main-tab + .sub-tabs {
  max-height: 500px;
  transition: max-height 0.5s ease-in;
}

@media (hover: hover) and (pointer: fine) {
  .nav-main:hover .sub-tabs {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
  }
}

.sub-tab {
  display: block;
  padding: 8px 16px;
  background-color: #555;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-bottom: 5px;
  transition: background-color 0.3s;
}

.sub-tab:hover {
  background-color: #777;
}

/* Header for this page */
.page-title {
  font-size: 2.5rem;
  text-align: center;
  margin-top: 40px;
  color: white;
}

/* Cover Image */
.cover-image img {
  width: 100%;
  max-width: 800px;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
}

/* Text Sections with Transparent Background and Rounded Corners */
.text-section {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 15px;
  margin: 30px auto;
  max-width: 800px;
}

.contributors-section {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 10px;
  margin: 20px auto;
  max-width: 500px;
  text-align: center;
}


.donate-buttons {
  text-align: center;
  margin-top: 20px;
}

.donate-buttons .donate-button,
.donate-buttons form {
  display: inline-block;
  padding: 12px 24px;
  margin: 8px 12px 8px 0;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}

/* Venmo - medium blue */
.venmo {
  background-color: #3d95ce;
}
.venmo:hover {
  background-color: #2a76b5;
}

/* CashApp - green */
.cashapp {
  background-color: #00c244;
}
.cashapp:hover {
  background-color: #008a2e;
}

/* Fade-In Motion on Scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}
