@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400&family=Overpass+Mono:wght@400;600;700&family=Arvo:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
  --bg: #1c1d1b;
  --yellow: #ffff00;
  --blue: #2744ff;
  --link: #6fc3ff;
  --green: #39a316;
  --orange: #eb7825;
  --faq-bg: #b8fffc;
  --white: #ffffff;
  --bevel-dark: #676767;
  --bevel-light: #bbbbbb;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  background-image: url('../images/stars.gif');
  background-repeat: repeat;
  color: var(--white);
  font-family: 'Courier Prime', monospace;
  font-size: 18px;
  line-height: 1.5;
}

a {
  color: var(--link);
}

img {
  max-width: 100%;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Nav */
header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 40px;
}

.logo img {
  width: 130px;
}

nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-family: 'Overpass Mono', monospace;
  font-size: 18px;
}

nav.main-nav a {
  color: var(--white);
  text-decoration: underline;
}

nav.main-nav a.active {
  color: var(--yellow);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
}

@media (max-width: 900px) {
  header.site-header {
    padding: 16px 20px;
    gap: 10px;
  }

  .logo img {
    width: 70px;
  }

  .nav-toggle {
    display: block;
  }

  nav.main-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 34px;
    background-color: rgba(10, 10, 10, 0.97);
    font-size: 26px;
  }

  nav.main-nav.nav-open {
    display: flex;
  }

  body.nav-open-body {
    overflow: hidden;
  }
}

/* Stars strip under header */
.stars-strip {
  height: 100px;
  background-image: url('../images/stars.gif');
  background-repeat: repeat;
  border-top: 1px solid #444;
  border-bottom: 1px solid #444;
}

/* Hero */
.hero {
  text-align: center;
  padding: 60px 20px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  margin-bottom: 10px;
}

.marquee-track {
  display: inline-flex;
  width: max-content;
  animation: marquee-scroll 22s linear infinite;
}

.marquee-text {
  font-size: 16px;
  color: #ddd;
  white-space: nowrap;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 20px;
}

.logo-lockup .wordmark {
  width: 420px;
  max-width: 100%;
}

.logo-lockup .hamster {
  width: 50px;
}

@media (min-width: 901px) {
  .logo-lockup .wordmark {
    width: clamp(420px, 45vw, 720px);
    max-width: none;
  }

  .logo-lockup .hamster {
    width: 60px;
  }
}

@media (max-width: 600px) {
  .logo-lockup .hamster {
    display: none;
  }
}

@media (min-width: 901px) {
  .hero-top {
    display: block;
    position: relative;
    min-height: 155px;
  }

  .hero-top .logo-lockup {
    margin: 0;
  }

  .hero-body {
    max-width: clamp(460px, 64vw - 120px, 1400px);
    margin: 0 auto;
  }
}

.welcome-badge {
  margin: 10px auto;
}

.selling-out-heading {
  color: var(--yellow);
  font-family: 'Arvo', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 32px;
  margin: 10px 0 20px;
}

.text-yellow {
  color: var(--yellow);
  font-family: 'Overpass Mono', monospace;
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* Buttons */
.button-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 560px;
  margin: 30px auto;
}

@media (max-width: 600px) {
  .button-grid {
    grid-template-columns: 1fr;
  }
}

.btn {
  display: block;
  text-align: center;
  padding: 12px 20px;
  font-family: 'Overpass Mono', monospace;
  font-size: 22px;
  color: var(--white);
  text-decoration: underline;
  border-width: 6px;
  border-style: solid;
  border-top-color: var(--bevel-dark);
  border-left-color: var(--bevel-dark);
  border-right-color: var(--bevel-light);
  border-bottom-color: var(--bevel-light);
}

.btn:active {
  border-top-color: var(--bevel-light);
  border-left-color: var(--bevel-light);
  border-right-color: var(--bevel-dark);
  border-bottom-color: var(--bevel-dark);
}

.btn-rainbow {
  background-image: url('../images/rainbow.gif');
  background-size: cover;
}

.btn-blue { background-color: var(--blue); }
.btn-green { background-color: var(--green); }
.btn-orange { background-color: var(--orange); }
.btn-white { background-color: var(--white); color: #000; }
.btn-grey { background-color: #555; }

.btn-wide {
  display: block;
  max-width: 560px;
  margin: 20px auto;
}

/* Soft pulsing shine around the box, used to draw the eye without
   making an inner element (like a button) flashy */
.glow-box {
  animation: glow-pulse 2.6s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 10px 2px rgba(255, 225, 76, 0.35); }
  50% { box-shadow: 0 0 26px 8px rgba(255, 225, 76, 0.75); }
}

/* dancing gif row */
.dance-row {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 30px 0;
}

.dance-row img {
  width: 60px;
}

.follow-note {
  position: relative;
  max-width: 300px;
  margin: 0 auto 30px;
  text-align: center;
  font-family: cursive;
  color: var(--yellow);
  font-size: 20px;
  transform: rotate(-4deg);
}

.follow-arrow {
  display: block;
  width: 40px;
  margin: 6px auto 0;
}

/* signup */
.signup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 30px auto 60px;
}

.signup img {
  width: 90px;
}

.signup input[type="email"] {
  background: #000;
  border: 2px solid var(--green);
  color: var(--white);
  font-family: 'Courier Prime', monospace;
  font-size: 18px;
  padding: 14px 20px;
  min-width: 220px;
}

.signup button {
  font-family: 'Overpass Mono', monospace;
  font-size: 18px;
  padding: 12px 24px;
  background: var(--white);
  color: #000;
  border-width: 6px;
  border-style: solid;
  border-top-color: var(--bevel-dark);
  border-left-color: var(--bevel-dark);
  border-right-color: var(--bevel-light);
  border-bottom-color: var(--bevel-light);
  text-decoration: underline;
  cursor: pointer;
}

.astro-photo {
  border-radius: 50%;
  overflow: hidden;
  width: 260px;
  height: 260px;
  object-fit: cover;
  float: right;
  margin: -180px 40px 20px 0;
}

.astro-photo-center {
  display: block;
  border-radius: 50%;
  overflow: hidden;
  width: 240px;
  height: 240px;
  object-fit: cover;
  margin: 10px auto 30px;
}

@media (min-width: 901px) {
  .astro-photo-center {
    position: absolute;
    top: clamp(90px, 12vw, 150px);
    right: 40px;
    width: clamp(150px, 18vw, 230px);
    height: clamp(195px, 23.5vw, 300px);
    border-radius: 999px;
    margin: 0;
  }
}

/* Page headings (svg/png hero art) */
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 40px 20px 20px;
}

.page-heading img {
  max-width: 600px;
  width: 90%;
}

.page-heading img.page-heading-mascot {
  width: 90px;
  height: 90px;
  max-width: none;
  flex-shrink: 0;
  object-fit: cover;
  object-position: left center;
}

@media (max-width: 600px) {
  .page-heading-mascot {
    display: none;
  }
}

.page-heading-text {
  text-align: center;
  padding: 50px 20px 20px;
  font-family: 'Overpass Mono', monospace;
  font-weight: 700;
  font-style: italic;
  font-size: 72px;
  margin: 0;
  background: linear-gradient(180deg, #ffe14c 0%, #eb7825 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.6);
}

@media (max-width: 600px) {
  .page-heading-text {
    font-size: 40px;
  }
}

/* Retro rainbow "WordArt" style, used for the Ad Book pages */
.wordart-heading {
  display: table;
  margin: 0 auto;
  font-size: 100px;
  background: linear-gradient(90deg, #ff3b3b 0%, #ff9d3b 20%, #ffee3b 40%, #3bde5a 60%, #3b9dff 80%, #b03bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

@media (max-width: 600px) {
  .wordart-heading {
    font-size: 56px;
  }
}

.wordart-heading-grey {
  background: linear-gradient(180deg, #ffffff 0%, #b8b8b8 45%, #6e6e6e 100%);
}

/* Ad Book featured clients */
.clients-intro {
  text-align: center;
  color: #ddd;
  padding: 0 20px 30px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto 50px;
  border-width: 6px;
  border-style: solid;
  border-top-color: var(--bevel-dark);
  border-left-color: var(--bevel-dark);
  border-right-color: var(--bevel-light);
  border-bottom-color: var(--bevel-light);
}

@media (max-width: 700px) {
  .client-grid {
    grid-template-columns: 1fr;
  }
}

.client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 30px 20px;
  background-color: var(--white);
  font-family: 'Overpass Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  color: #111;
  text-decoration: underline;
  border-right: 1px solid #999;
}

.client-card:last-child {
  border-right: none;
}

@media (max-width: 700px) {
  .client-card {
    border-right: none;
    border-bottom: 1px solid #999;
  }

  .client-card:last-child {
    border-bottom: none;
  }
}

.client-card img {
  max-height: 46px;
  max-width: 100%;
  width: auto;
}

.client-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.client-logos img {
  max-height: 40px;
}

.section-divider {
  max-width: 900px;
  margin: 0 auto;
  border: none;
  border-top: 1px solid #444;
}

/* content box used on About */
.content-box {
  border: 1px solid #555;
  background-color: var(--bg);
  max-width: 900px;
  margin: 20px auto 60px;
  padding: 40px;
}

.content-box p {
  margin: 0 0 20px;
}

/* Sponsors page */
.sponsors-box {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 40px;
  background-color: var(--bg);
  border-top: 1px solid #555;
}

.sponsor-stats {
  text-align: center;
  font-size: 22px;
  margin-bottom: 30px;
}

.sponsor-stats .count {
  color: #d24cff;
}

.sponsor-stats .total {
  color: var(--yellow);
}

.sponsor-entry {
  border-top: 1px solid #444;
  padding: 24px 0;
}

.sponsor-entry:first-child {
  border-top: none;
}

.sponsor-entry h3 {
  color: var(--yellow);
  font-family: 'Overpass Mono', monospace;
  margin: 0 0 10px;
}

.sponsor-entry h3 a { color: var(--link); }

.sponsor-entry p {
  margin: 4px 0;
  color: #ddd;
}

/* FAQ accordion */
.accordion {
  max-width: 900px;
  margin: 40px auto 60px;
}

.accordion-item {
  border-bottom: 1px solid var(--bg);
}

.accordion-item summary {
  background: var(--faq-bg);
  color: var(--blue);
  font-family: 'Overpass Mono', monospace;
  font-size: 18px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item[open] summary {
  font-weight: 700;
}

.accordion-item .answer {
  background: #eafffd;
  color: #111;
  padding: 20px 24px;
}

.accordion-item .answer p {
  margin: 0 0 16px;
}

.answer-gif {
  display: block;
  max-width: 300px;
  width: 100%;
}

/* Videos */
.videos-intro {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #444;
  border-bottom: 1px solid #444;
  color: #ddd;
}

.video-list {
  max-width: 800px;
  margin: 40px auto 60px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.video-item {
  background-color: var(--bg);
  border: 1px solid #555;
  padding: 24px;
  text-align: center;
}

.video-list h2 {
  margin: 0 0 6px;
}

.video-title-link {
  color: var(--white);
  text-decoration: none;
}

.video-title-link:hover {
  text-decoration: underline;
}

.video-list p {
  color: #ccc;
  margin: 0 0 16px;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: 1px solid #444;
  margin: 24px 0;
}

.video-embed iframe,
.video-embed video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
  background: var(--bg);
  object-fit: contain;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid #333;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

@media (max-width: 700px) {
  footer.site-footer {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

.footer-friend {
  color: var(--yellow);
  font-size: 15px;
}

.footer-friend a {
  color: var(--yellow);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 15px;
}

.footer-social a {
  color: var(--white);
}

.made-by-mac {
  height: 30px;
}

.press-list {
  margin: 0;
  padding-left: 22px;
}

.press-list li {
  margin: 0 0 12px;
}

.ig-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.ig-pair a {
  display: block;
  border: 1px solid #444;
}

.ig-pair img {
  display: block;
  width: 100%;
}

@media (max-width: 600px) {
  .ig-pair {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 16px;
  margin: 20px 0;
}

.photo-grid figure {
  margin: 0;
  border: 1px solid #444;
}

.photo-grid img {
  display: block;
  width: 100%;
}

.photo-grid figcaption {
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
  color: #ddd;
  background: #111;
  border-top: 1px solid #444;
}

.single-photo {
  margin: 20px auto 0;
  max-width: 340px;
  border: 1px solid #444;
}

.single-photo img {
  display: block;
  width: 100%;
}

.single-photo figcaption {
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
  color: #ddd;
  background: #111;
  border-top: 1px solid #444;
  text-align: center;
}

.section-title {
  font-family: 'Overpass Mono', monospace;
  color: var(--yellow);
  font-size: 24px;
  margin: 30px 0 16px;
}

.press-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.press-card {
  display: block;
  background: var(--white);
  color: #111;
  text-decoration: none;
  padding: 16px 18px;
  border: 1px solid #999;
}

.press-source {
  display: block;
  font-family: 'Overpass Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
  margin-bottom: 4px;
}

.press-headline {
  display: block;
  font-family: 'Overpass Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: underline;
  margin-bottom: 8px;
}

.press-snippet {
  display: block;
  font-size: 15px;
  line-height: 1.5;
  color: #444;
}

@media (max-width: 600px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}

.sponsor-me-callout {
  font-family: 'Arvo', serif;
  font-style: italic;
  font-weight: 700;
  color: var(--yellow);
  font-size: 24px;
  text-align: center;
  margin: 20px 0;
}

.sponsor-me-cta {
  text-align: center;
}

.sponsor-me-cta .btn-wide {
  margin-top: 20px;
}

.sponsor-me-fineprint {
  color: #aaa;
  font-size: 14px;
  margin: 16px 0 0;
}
