/* Fort Wayne's Smallest Winner - thank-you page
   Background: creme #faf6ec
   Colors: navy #0a2a8c, text #1a1a1d, gray #6b6b73, gold #b8963e, rule #e4dccb */

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

body {
  margin: 0;
  background: #faf6ec;
  color: #2b2b2f;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 80px 20px 80px;
  text-align: center;
}

.logo {
  display: block;
  width: 90%;
  max-width: 520px;
  height: auto;
  margin: 0 auto;
  mix-blend-mode: multiply; /* blends the logo's white background into the creme */
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px auto 8px;
  color: #b8963e;
  font-size: 14px;
}
.ornament span {
  display: block;
  width: 72px;
  height: 1px;
  margin: 0 14px;
  background: #b8963e;
  opacity: 0.6;
}

h1 {
  margin: 8px 0 0;
  font-weight: 500;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #0a2a8c;
}

.lede {
  margin: 6px 0 0;
  font-style: italic;
  font-size: 22px;
  color: #6b6b73;
}

.message {
  max-width: 640px;
  margin: 40px auto 0;
}

/* Body of the message - adjust color / font-weight here */
.message p {
  margin: 0 0 1.1em;
  color: #1a1a1d;
  font-weight: 500;
}

.message .signoff {
  margin-top: 2em;
  font-style: italic;
  color: #6b6b73;
}
.message .signature {
  margin: 0;
  font-size: 26px;
  font-style: italic;
  font-weight: 500;
  color: #0a2a8c;
}
.message .org {
  margin: 2px 0 0;
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b6b73;
}

.sponsors {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid #e4dccb;
}
.sponsors h2 {
  max-width: 560px;
  margin: 0 auto 28px;
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6b6b73;
}
.sponsors ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.sponsors li {
  width: 23%;
  margin: 0 1% 16px;
}
.sponsors a {
  display: block;
  background: #ffffff;
  border: 1px solid #e4dccb;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sponsors a:hover,
.sponsors a:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 42, 140, 0.1);
}
.sponsors a:focus {
  outline: 2px solid #0a2a8c;
  outline-offset: 2px;
}
.sponsors img {
  display: block;
  width: 100%;
  height: auto;
}

/* Tablets */
@media (max-width: 800px) {
  .page { padding-top: 56px; }
  h1 { font-size: 48px; }
}

/* Phones: four logos in one row get too small to read, so drop to 2 x 2 */
@media (max-width: 600px) {
  body { font-size: 18px; }
  .page { padding-top: 40px; }
  h1 { font-size: 42px; }
  .sponsors li { width: 46%; margin: 0 2% 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .sponsors a { transition: none; }
}
