/* =========================================================
   JARL ACADEMY - STYLES
   ========================================================= */


/* =========================================================
   BASIC
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Baloo 2', sans-serif;
  background: #ff00ff;
  overflow-x: hidden;
}


/* =========================================================
   LINKS
   ========================================================= */

a {
  color: #0000ff;
  text-decoration: underline;
}

a:visited {
  color: #800080;
}

a:hover {
  color: #ff0000;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes blink {
  0%, 49% {
    opacity: 1;
  }

  50%, 100% {
    opacity: 0;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes rainbow {
  0% {
    color: #ff0000;
  }

  16% {
    color: #ff8800;
  }

  33% {
    color: #ffee00;
  }

  50% {
    color: #00ff00;
  }

  66% {
    color: #00c8ff;
  }

  83% {
    color: #7700ff;
  }

  100% {
    color: #ff0000;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

@keyframes twinkle {
  0%, 100% {
    opacity: .3;
  }

  50% {
    opacity: 1;
  }
}


/* =========================================================
   ANIMATION CLASSES
   ========================================================= */

.blinker {
  animation: blink 1s step-start infinite;
}

.rainbow-text {
  animation: rainbow 3s linear infinite;
  font-weight: 900;
}

.pulse {
  animation: pulse 1.4s ease-in-out infinite;
}

.star {
  position: absolute;
  color: #ffff00;
  text-shadow: 0 0 6px #fff;
  animation: twinkle 2s ease-in-out infinite;
}


/* =========================================================
   DECORATIVE FONT
   ========================================================= */

/*
   Lobster is loaded by the HTML from Google Fonts.
   This means phones do NOT need to have the font installed.
*/

.logo,
.tagline,
.by-line,
.under-construction,
.hero-copy h1,
.jokes-title,
.testimonials-title {
  font-family: 'Lobster', cursive;
}


/* =========================================================
   MARQUEE
   ========================================================= */

.marquee-wrap {
  background: #000000;
  border-bottom: 6px double #ffff00;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  animation: marquee 14s linear infinite;
  font-size: 22px;
  color: #ffff00;
  font-weight: 800;
}


/* =========================================================
   PAGE
   ========================================================= */

.page {
  width: 100%;
  min-height: 100vh;

  background:
    repeating-linear-gradient(
      45deg,
      #ff00ff 0px,
      #ff00ff 40px,
      #cc00cc 40px,
      #cc00cc 80px
    );

  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}


/* =========================================================
   HEADER
   ========================================================= */

.header {
  text-align: center;
  padding: 28px 16px 8px;
}

.logo {
  font-size: 54px;
  text-shadow: 3px 3px 0 #000;
}

.tagline {
  font-size: 20px;
  color: #fff;
  text-shadow: 2px 2px 0 #000;
  margin-top: 4px;
}

.by-line {
  font-size: 16px;
  color: #ffff00;
  text-shadow: 2px 2px 0 #000;
  margin-top: 6px;
  font-weight: 700;
}

.under-construction {
  display: inline-block;
  margin-top: 10px;
  background: #ff0000;
  color: #ffff00;
  font-weight: 900;
  font-size: 18px;
  padding: 4px 12px;
  border: 3px dashed #ffff00;
}


/* =========================================================
   CONSTRUCTION STRIPE
   ========================================================= */

.construction-stripe {
  height: 22px;

  background:
    repeating-linear-gradient(
      45deg,
      #ffcc00 0px,
      #ffcc00 20px,
      #111 20px,
      #111 40px
    );

  margin: 10px auto;
  width: 92%;
  border: 3px solid #000;
}


/* =========================================================
   BADGES
   ========================================================= */

.badges-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.counter-box {
  background: #000;
  border: 3px ridge #999;
  padding: 8px 14px;
  text-align: center;
}

.counter-label {
  color: #00ff00;
  font-size: 11px;
  font-family: monospace;
  margin-bottom: 4px;
}

.counter-display {
  color: #00ff00;
  font-size: 32px;
  font-family: monospace;
  letter-spacing: 4px;
  background: #001a00;
  padding: 2px 8px;
  border: 2px inset #003300;
}

.badge {
  background: #fff;
  border: 3px solid #000;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}


/* =========================================================
   MAIN PANEL
   ========================================================= */

.panel {
  width: calc(100% - 20px);
  max-width: 880px;

  margin: 0 auto;

  background: #fff;

  border: 6px ridge #ffcc00;

  padding: 26px;

  position: relative;
}


/* =========================================================
   SALE BADGE
   ========================================================= */

.sale-burst {
  position: absolute;

  top: -30px;
  right: -20px;

  width: 120px;
  height: 120px;

  background: #ff0000;

  border-radius: 50%;

  color: #ffff00;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  font-weight: 900;
  font-size: 16px;

  border: 4px solid #ffff00;

  transform: rotate(12deg);
}


/* =========================================================
   HERO
   ========================================================= */

.hero-row {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-portrait {
  flex-shrink: 0;

  width: 200px;
  height: 260px;

  border: 4px solid #000;

  overflow: hidden;

  box-shadow:
    0 0 0 4px #7a5230,
    0 0 0 8px #3d2a1a;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-copy {
  flex-grow: 1;
  min-width: 260px;
}

.hero-copy h1 {
  margin: 0 0 8px;
  font-size: 30px;
  color: #cc0000;
  text-shadow: 1px 1px 0 #000;
}

.hero-copy p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 10px;
}

.hero-copy .highlight {
  font-weight: 700;
  color: #008000;
}


/* =========================================================
   RAINBOW LINE
   ========================================================= */

.rainbow-rule {
  border: 0;
  height: 5px;
  margin: 22px 0;

  background:
    linear-gradient(
      90deg,
      #ff0000,
      #ff8800,
      #ffee00,
      #00ff00,
      #00c8ff,
      #7700ff,
      #ff0000
    );
}


/* =========================================================
   CONTENTS TABLE
   ========================================================= */

.contents-table {
  width: 100%;
  border-collapse: collapse;
  border: 3px solid #000;
  font-size: 14px;
}

.contents-table td {
  padding: 6px 10px;
  border: 1px solid #999;
}

.contents-table .table-head td {
  background: #000;
  color: #ffff00;
  text-align: center;
  font-weight: 900;
  font-size: 16px;
  padding: 6px;
}

.contents-table tr:not(.table-head):not(.alt) td {
  background: #fff;
}

.contents-table tr.alt td {
  background: #ffffcc;
}

.contents-table .check {
  text-align: center;
}


/* =========================================================
   JOKES
   ========================================================= */

.jokes-panel {
  width: calc(100% - 20px);
  max-width: 880px;

  margin: 26px auto 0;

  background: #fffbe6;

  border: 4px dotted #cc9900;

  padding: 18px 22px;
}

.jokes-title {
  font-size: 22px;
  text-align: center;
  margin-bottom: 10px;
}

.jokes-panel ul {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  padding-left: 22px;
}


/* =========================================================
   TESTIMONIALS
   ========================================================= */

.testimonials {
  width: calc(100% - 20px);
  max-width: 880px;

  margin: 26px auto 0;

  text-align: center;
}

.testimonials-title {
  font-size: 26px;
  margin-bottom: 14px;
}

.testimonial-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial {
  border: 3px dashed;
  padding: 12px;
  width: 250px;
  font-size: 13px;
  text-align: left;
}

.testimonial.green {
  background: #ccffcc;
  border-color: #009900;
}

.testimonial.blue {
  background: #ccf2ff;
  border-color: #0066cc;
}

.testimonial.orange {
  background: #ffe6cc;
  border-color: #cc6600;
}


/* =========================================================
   PRICING
   ========================================================= */

.pricing-banner {
  width: calc(100% - 20px);
  max-width: 880px;

  margin: 30px auto 0;

  background: #000;

  border: 5px solid #ffff00;

  padding: 22px;

  text-align: center;
}

.pricing-warning {
  color: #ff0000;
  font-size: 22px;
  font-weight: 900;
}

.price-row {
  margin: 12px 0;
}

.old-price {
  color: #999;
  text-decoration: line-through;
  font-size: 22px;
}

.new-price {
  color: #00ff00;
  font-size: 38px;
  font-weight: 900;
  margin-left: 14px;
}

.countdown {
  color: #ffff00;
  font-size: 14px;
  font-family: monospace;
}


/* =========================================================
   BUY BUTTON
   ========================================================= */

.buy-btn {
  margin-top: 18px;

  font-size: 22px;
  font-weight: 900;

  padding: 14px 40px;

  background:
    linear-gradient(
      180deg,
      #ffee00,
      #ff9900
    );

  border: 4px outset #ffcc00;

  color: #660000;

  cursor: pointer;

  font-family: 'Baloo 2', sans-serif;
}


/* =========================================================
   BUY REVEAL
   ========================================================= */

.buy-reveal {
  margin-top: 16px;

  background: #fff;

  color: #000;

  padding: 12px;

  border: 3px dashed #ff00ff;

  font-size: 14px;
}

.hidden {
  display: none;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  width: calc(100% - 20px);
  max-width: 880px;

  margin: 30px auto 0;

  text-align: center;

  font-size: 12px;

  color: #fff;

  text-shadow: 1px 1px 0 #000;
}

.guestbook-tag {
  background: #000;

  color: #0f0;

  padding: 4px 8px;

  border: 2px solid #0f0;

  font-family: monospace;

  display: inline-block;

  margin-bottom: 8px;
}

.no-refunds {
  margin-bottom: 8px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .marquee-track {
    font-size: 18px;
  }

  .header {
    padding: 20px 10px 8px;
  }

  .logo {
    font-size: 40px;
  }

  .tagline {
    font-size: 18px;
  }

  .by-line {
    font-size: 15px;
  }

  .under-construction {
    font-size: 16px;
  }

  .construction-stripe {
    width: 94%;
  }

  .badges-row {
    gap: 10px;
  }

  .counter-display {
    font-size: 27px;
    letter-spacing: 3px;
  }

  .panel {
    width: calc(100% - 12px);
    padding: 16px;
    border-width: 4px;
  }

  .sale-burst {
    width: 95px;
    height: 95px;

    right: -10px;
    top: -20px;

    font-size: 14px;
  }

  .hero-row {
    justify-content: center;
  }

  .hero-portrait {
    width: 180px;
    height: 234px;
  }

  .hero-copy {
    width: 100%;
    min-width: 0;
  }

  .hero-copy h1 {
    font-size: 25px;
  }

  .hero-copy p {
    font-size: 14px;
  }

  .contents-table {
    font-size: 12px;
  }

  .contents-table td {
    padding: 5px;
  }

  .contents-table .table-head td {
    font-size: 14px;
  }

  .jokes-panel {
    width: calc(100% - 12px);
    padding: 14px;
  }

  .jokes-title {
    font-size: 20px;
  }

  .testimonials {
    width: calc(100% - 12px);
  }

  .testimonial {
    width: 100%;
  }

  .pricing-banner {
    width: calc(100% - 12px);
    padding: 16px;
  }

  .pricing-warning {
    font-size: 19px;
  }

  .old-price {
    font-size: 19px;
  }

  .new-price {
    font-size: 32px;
    margin-left: 5px;
  }

  .buy-btn {
    width: 100%;
    font-size: 20px;
    padding: 12px 20px;
  }

  .footer {
    width: calc(100% - 12px);
  }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

  .logo {
    font-size: 34px;
  }

  .counter-display {
    font-size: 23px;
    letter-spacing: 2px;
  }

  .hero-portrait {
    width: 160px;
    height: 208px;
  }

  .sale-burst {
    width: 80px;
    height: 80px;
    font-size: 12px;
  }
}
