/* the fundraiser letter that sits above everything on the main pages —
   big on purpose, like a pledge drive. Delete this file's <link> and the
   #fundraiser block from each page when the month is over. */
#fundraiser {
  font-family: serif;
  font-size: 20px;
  line-height: 1.4;
  text-align: left;
  color: #000;
  background: #fff;
  border: 4px double #000;
  padding: 2em 1em 2.25em;
  margin-bottom: 1.5em;
  position: relative;
  z-index: 1;
}
/* top-right shortcut past the letter to the page itself */
html:has(#fundraiser) {
  scroll-behavior: smooth;
}
#fundraiser .skip {
  position: absolute;
  top: 0.75em;
  right: 0.75em;
  font-size: 0.8em;
  color: black;
  background: white;
  border: 1px solid #000;
  border-radius: 1.5em;
  padding: 0.35em 0.9em;
  text-decoration: none;
}
#fundraiser .skip:hover {
  background: #6ff203;
}
#fundraiser .letter {
  max-width: 620px;
  margin: 0 auto;
}
#fundraiser mark {
  background: #6ff203;
  color: #000;
  padding: 0 0.15em;
  /* keep the padding on both halves when it wraps on a phone */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
#fundraiser p {
  margin: 0 0 1em;
}
#fundraiser ul {
  margin: -0.5em 0 1em;
  padding-left: 1.2em;
}
/* two clear choices side by side: once (slider) | monthly (patreon) */
#fundraiser .ways {
  display: flex;
  margin: 1.75em 0 0;
  border: 4px double #000;
}
#fundraiser .way {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75em;
  padding: 1.1em 1em 1.25em;
  margin: 0;
  text-align: center;
}
#fundraiser .way + .way {
  border-left: 1px solid #000;
}
#fundraiser .way p {
  margin: 0;
}
#fundraiser .way-label {
  font-weight: bold;
}
#fundraiser .way input[type="range"] {
  width: 100%;
  max-width: 240px;
  accent-color: #3a9c00;
  cursor: pointer;
}
#fundraiser .give {
  font-family: inherit;
  cursor: pointer;
  display: inline-block;
  background: white;
  color: black;
  border: 1px solid #000;
  border-radius: 1.5em;
  padding: 0.6em 1.4em;
  font-size: 1em;
  text-decoration: none;
  box-shadow: 0 0 15px #6ff203;
  transition: box-shadow 0.5s ease-in-out;
}
#fundraiser .give:hover {
  box-shadow: 0 0 30px #6ff203;
}
#fundraiser .sign {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  #fundraiser .ways {
    flex-direction: column;
  }
  #fundraiser .way + .way {
    border-left: 0;
    border-top: 1px solid #000;
  }
  #fundraiser {
    font-size: 17px;
    padding: 1.25em 1em 1.5em;
  }
}
