@import './sections/hero.css';
@import './sections/intro.css';
@import './sections/recipe.css';
@import './sections/social.css';

/* footer deco override */
footer {
  background: #EA002A !important;
}

footer::before {
  content: none !important;
}

/* background-color style classes */
.pdb .bg-white {
  background-color: #fff;
}

.pdb .bg-blue {
  background-color: #015190;
}

.pdb .bg-red {
  background-color: #EA002A;
}

.pdb .bg-yellow {
  background-color: #B85C00;
}

.pdb .bg-green {
  background-color: #328721;
}

.pdb .bg-purple {
  background-color: #7C1444;
}


/* text style classes */
.pdb {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.pdb .text-white {
  color: #fff;
}

.pdb .text-black {
  color: #000;
}

.pdb .text-red {
  color: #EA002A;
}

.pdb .text-center {
  text-align: center;
}

.pdb .text-left {
  text-align: left;
}

.pdb .text-uppercase {
  text-transform: uppercase;
}

.pdb .text-transform-none {
  text-transform: none;
}

.pdb .text-nowrap {
  white-space: nowrap;
}

.pdb .text-pretty {
  text-wrap: pretty;
}

.pdb .text-balanced {
  text-wrap: balanced;
}

.pdb .display-1 {
  font-family: 'Pinup';
  font-size: 3rem;
}

.pdb .display-3 {
  font-family: 'Pinup';
  font-size: 2.25rem;
}

.pdb .text-announcement {
  font-family: 'Pinup',
    Arial,
    'Helvetica Neue',
    Helvetica,
    sans-serif;
  font-size: 1.5625rem;
  text-transform: uppercase;
  color: #EA002A;
  -webkit-text-stroke: 6px #fff;
  paint-order: stroke fill;
  text-shadow: none;

}

@supports not (-webkit-text-stroke: 1px #fff) {
  .pdb .text-announcement {
    text-shadow:
      -5px 0 0 #fff,
      5px 0 0 #fff,
      0 -5px 0 #fff,
      0 5px 0 #fff,
      -4px -4px 0 #fff,
      4px -4px 0 #fff,
      -4px 4px 0 #fff,
      4px 4px 0 #fff;
  }
}

@media (min-width: 414px) {
  .pdb .display-1 {
    font-size: 4rem;
  }
}

.pdb h1,
.pdb .h1 {
  font-family: 'Pinup';
  font-size: 1.875rem;
  color: #fff;
  padding: 0;
  margin: 0 auto 0.5rem;
}

.pdb p,
.pdb .p,
.pdb .text-copy {
  font-family: 'rooney-sans', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  max-width: none;
}

.pdb .text-copy-sm {
  font-family: 'rooney-sans', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1.3;
}

.pdb .text-copy-md {
  font-family: 'rooney-sans', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
}

@media (min-width: 48em) {

  .pdb .display-3 {
    font-family: 'Pinup';
    font-size: 4rem;
  }

  .pdb .text-announcement {
    font-size: 2.5rem;
    -webkit-text-stroke: 10px #fff;
  }

  .pdb h1,
  .pdb .h1 {
    font-size: 2.5rem;
  }

  .pdb p,
  .pdb .p,
  .pdb .text-copy {
    font-size: 1.5rem;
  }

  .pdb .text-copy-sm {
    font-size: 1.6875rem;
  }

  .pdb .text-copy-md {
    font-size: 1.875rem;
  }

  .pdb .md\:text-left {
    text-align: left;
  }
}

/* spacing utilities: mobile-first + desktop override */
.pdb .mt-0 {
  margin-top: 0 !important;
}

.pdb .mb-0 {
  margin-bottom: 0 !important;
}

.pdb .mb-1 {
  margin-bottom: 0.25rem !important;
  /* 4px */
}

.pdb .mb-2 {
  margin-bottom: 0.5rem !important;
  /* 8px */
}

.pdb .mb-3 {
  margin-bottom: 0.75rem !important;
  /* 12px */
}

.pdb .mb-4 {
  margin-bottom: 1rem !important;
  /* 16px */
}

.pdb .mb-5 {
  margin-bottom: 1.5rem !important;
  /* 24px */
}

.pdb .mb-6 {
  margin-bottom: 2rem !important;
  /* 32px */
}

.pdb .mb-7 {
  margin-bottom: 3rem !important;
  /* 48px */
}

.pdb .mb-8 {
  margin-bottom: 4rem !important;
  /* 64px */
}

.pdb .mb-9 {
  margin-bottom: 5rem !important;
  /* 80px */
}

@media (min-width:48em) {
  .pdb .md\:mb-0 {
    margin-bottom: 0 !important;
    /* 0px */
  }

  .pdb .md\:mb-1 {
    margin-bottom: 0.25rem !important;
    /* 4px */
  }

  .pdb .md\:mb-2 {
    margin-bottom: 0.5rem !important;
    /* 8px */
  }

  .pdb .md\:mb-3 {
    margin-bottom: 0.75rem !important;
    /* 12px */
  }

  .pdb .md\:mb-4 {
    margin-bottom: 1rem !important;
    /* 16px */
  }

  .pdb .md\:mb-5 {
    margin-bottom: 1.5rem !important;
    /* 24px */
  }

  .pdb .md\:mb-6 {
    margin-bottom: 2rem !important;
    /* 32px */
  }

  .pdb .md\:mb-7 {
    margin-bottom: 3rem !important;
    /* 48px */
  }

  .pdb .md\:mb-8 {
    margin-bottom: 4rem !important;
    /* 64px */
  }

  .pdb .md\:mb-9 {
    margin-bottom: 5rem !important;
    /* 80px */
  }
}

/* general utils */
.pdb .mobile-only {
  display: block;
}

@media (min-width:48em) {
  .pdb .mobile-only {
    display: none;
  }
}

.pdb .desktop-only {
  display: none;
}

@media (min-width:48em) {
  .pdb .desktop-only {
    display: block;
  }
}






.btn-container {
  display: flex;
  gap: 0.8125em;
  justify-content: center;
  margin: 0 auto;
}

.btn {
  background: #EA002A;
  color: #fff;
  font-family: 'Pinup';
  font-size: 1.25rem;
  text-transform: uppercase;
  text-align: center;
  display: inline-block;
  padding: 0.625rem;
  min-width: 9rem;
  white-space: nowrap;
}

@media (min-width: 48em) {
  .btn {
    font-size: 2rem;
    padding: 0.625rem 1.25rem;
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: transform 140ms ease, box-shadow 140ms ease;
    will-change: transform;
  }

  .btn:hover,
  .btn:focus {
    transform: translateY(-2px) scale(1.04) !important;
    box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.24);
  }

  .btn:active {
    background: #ce0026;
    transform: translateY(1px) scale(0.985) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
  }
}

.pdb-during-countdown {
  display: none;
}

.pdb-post-countdown {
  display: block;
}

.pdb-hero-countdown,
.pdb-hero-countdown[hidden] {
  display: none !important;
}

.pdb-show-countdown .pdb-during-countdown {
  display: block;
}

.pdb-show-countdown .pdb-post-countdown {
  display: none;
}

.pdb-show-countdown .pdb-hero-countdown {
  display: block !important;
  margin-left: auto;
  margin-right: auto;
}



.pdb-video-wrapper {
  position: relative;
  max-width: 100em;
  /* 100 x 16 = 1600 */
  /* max-width:120em; /* 120 x 16 = 1920 */
  margin: auto;
  max-height: 35em;
}

.pdb-video-wrapper::before {
  content: '';
  display: block;
  padding-top: 48%;
}

.pdb-video-wrapper video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width:48em) {
  .pdb-video-wrapper::before {
    padding-top: 45%;
  }
}

/* Decorative squiggles */
.pdb-squiggle-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.pdb-word-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.pdb .hero,
.pdb .intro-section,
.pdb .recipe-section,
.pdb .social-info {
  position: relative;
}

.pdb-squiggle-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.pdb-word-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.pdb-word {
  position: absolute;
  --pdb-word-rot: var(--rot-m, var(--rotation, var(--rot, 0deg)));
  --pdb-word-scale: var(--scale-m, var(--scale, 1));
  left: var(--x-m, 50%);
  top: var(--y-m, 50%);
  width: var(--size-m, 7rem);
  transform: translate(-50%, -50%) rotate(var(--pdb-word-rot)) scale(var(--pdb-word-scale));
}

.pdb-word-bob {
  display: block;
  animation: none;
  transform: translate3d(0, 0, 0);
}

.pdb-word svg {
  display: block;
  width: 100%;
  height: auto;
}

.pdb-squiggle {
  position: absolute;
  --pdb-squiggle-rot: var(--rot-m, var(--rotation, var(--rot, 0deg)));
  --pdb-squiggle-scale: var(--scale-m, var(--scale, 1));
  left: var(--x-m, 50%);
  top: var(--y-m, 50%);
  width: var(--size-m, 3rem);
  transform: translate(-50%, -50%);
}

.pdb-squiggle-bob {
  display: block;
  animation: none;
  transform: translate3d(0, 0, 0);
}

.pdb-squiggle svg {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 50% 50%;
  animation: none;
  transform: rotate(calc(var(--pdb-squiggle-rot) - 4deg)) scale(var(--pdb-squiggle-scale));
}

.section--in-viewport .pdb-word-bob,
.section--in-viewport .pdb-squiggle-bob {
  animation: pdb-squiggle-float 5s ease-in-out 1 both;
}

.section--in-viewport .pdb-squiggle svg {
  animation: pdb-squiggle-wiggle 5s ease-in-out 1 both;
}

@keyframes pdb-squiggle-float {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -0.65rem, 0);
  }
}

@keyframes pdb-squiggle-wiggle {

  0%,
  100% {
    transform: rotate(calc(var(--pdb-squiggle-rot) - 4deg)) scale(var(--pdb-squiggle-scale));
  }

  50% {
    transform: rotate(calc(var(--pdb-squiggle-rot) + 4deg)) scale(calc(var(--pdb-squiggle-scale) * 1.03));
  }
}

@media (min-width:48em) {
  .pdb-squiggle {
    --pdb-squiggle-rot: var(--rot-t, var(--rot-d, var(--rot-m, var(--rotation, var(--rot, 0deg)))));
    --pdb-squiggle-scale: var(--scale-t, var(--scale-d, var(--scale-m, var(--scale, 1))));
    left: var(--x-t, var(--x-d, var(--x-m, 50%)));
    top: var(--y-t, var(--y-d, var(--y-m, 50%)));
    width: var(--size-t, var(--size-d, var(--size-m, 3rem)));
  }

  .pdb-word {
    --pdb-word-rot: var(--rot-t, var(--rot-d, var(--rot-m, var(--rotation, var(--rot, 0deg)))));
    --pdb-word-scale: var(--scale-t, var(--scale-d, var(--scale-m, var(--scale, 1))));
    left: var(--x-t, var(--x-d, var(--x-m, 50%)));
    top: var(--y-t, var(--y-d, var(--y-m, 50%)));
    width: var(--size-t, var(--size-d, var(--size-m, 7rem)));
  }
}

@media (min-width:75em) {
  .pdb-squiggle {
    --pdb-squiggle-rot: var(--rot-d, var(--rot-t, var(--rot-m, var(--rotation, var(--rot, 0deg)))));
    --pdb-squiggle-scale: var(--scale-d, var(--scale-t, var(--scale-m, var(--scale, 1))));
    left: var(--x-d, var(--x-t, var(--x-m, 50%)));
    top: var(--y-d, var(--y-t, var(--y-m, 50%)));
    width: var(--size-d, var(--size-t, var(--size-m, 3rem)));
  }

  .pdb-word {
    --pdb-word-rot: var(--rot-d, var(--rot-t, var(--rot-m, var(--rotation, var(--rot, 0deg)))));
    --pdb-word-scale: var(--scale-d, var(--scale-t, var(--scale-m, var(--scale, 1))));
    left: var(--x-d, var(--x-t, var(--x-m, 50%)));
    top: var(--y-d, var(--y-t, var(--y-m, 50%)));
    width: var(--size-d, var(--size-t, var(--size-m, 7rem)));
  }
}