/* Lightweight recreation of the Extra Life / DonorDrive story styling */
:root {
  --ink: #253746;
  --teal: #0e7ca2;
  --link: #4074c2;
  --page: #ffffff;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
}

main {
  width: min(900px, calc(100% - 40px));
  margin: 42px auto 70px;
}

h1, h2, h3 {
  text-rendering: optimizeLegibility;
}

h1 {
  margin: 0 0 20px;
  color: var(--ink);
  font-family: Gilroy, "Arial Black", Arial, sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.13;
}

h2 {
  margin: 0 0 10px;
  padding-top: 12px;
  color: var(--ink);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.23;
}

h3 {
  margin: 0 0 10px;
  padding-top: 10px;
  color: var(--teal);
  font-family: Gilroy, "Arial Black", Arial, sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
}

p {
  margin: 0 0 25px;
  padding: 0;
  font-size: 17px;
  line-height: 1.25;
}

ol, ul {
  margin: 0 0 25px 30px;
  padding: 0;
}

li {
  margin: 0 0 12px;
  line-height: 1.3;
}

a {
  color: var(--link);
  text-decoration: underline;
  transition: opacity .2s ease;
}

a:hover { opacity: .75; }

strong { font-weight: 700; }
em { font-style: italic; }

img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 5px auto 25px;
  border: 0;
}

/* Preserve the smaller dice-tower image from the original story. */
img[src="1759784132557.jpg"] { width: 211px; }

/* Preserve the approximate display size of the two closing images. */
img[src="1759785110455.jpg"] { width: 323px; }
img[src="1759785484328.jpg"] { width: 323px; }

@media (max-width: 768px) {
  main {
    width: auto;
    margin: 0;
    padding: 30px 20px 50px;
  }

  h1 { font-size: 32px; }
  h2 { font-size: 21px; }
  h3 { font-size: 21px; }
  p, li { font-size: 15px; }
}
