@font-face {
  font-family: 'Gill Sans Std Extra Bold Display';
  src: url('./gill-sans-std-extra-bold-display.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}

.manifesto-container {
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.35);
  padding: 2em;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.5em;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

.manifesto-heading {
  font-size: 2.8em;
  font-weight: 900;
  color: RGBA(253, 61, 181, 1);
  text-transform: uppercase;
  font-family: 'Gill Sans Extra Bold Display', sans-serif;
  text-shadow:
    2px 2px 0 black,
    -2px -2px 0 black,
    2px -2px 0 black,
    -2px 2px 0 black;
  background-color: black;
  display: inline-block;
  padding: 0.25em 0.75em;
  transform: rotate(-2deg);
  box-shadow: 5px 5px 0 RGBA(253, 61, 181, 1);
  align-self: flex-start;
}

.manifesto-body {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  padding-bottom: 4vh; /* so the logo has some breathing space */
}

@media (max-width: 700px) {
  .manifesto-body {
    max-width: 90%;
    margin: 0 auto; /* optional: centers it if it's not already centered */
  }
}


.manifesto-body p {
  background-color: #ff66cc;
  font-family: 'Gill Sans Extra Bold Display', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(0.2vw, 0.8vw, 1.5vw);
  padding: 1.2em;
  margin: 0;
  box-shadow: 4px 4px 0 black;
  border-left: 8px solid black;
  color: black;
  line-height: 1.4em;
  max-width: 95%;
  transform-origin: left center;
}

/* Variation styling for individual paras */
.manifesto-body .para1 {
  transform: rotate(-1.5deg);
  background-color: #ffd1ec;
  font-size: 1.6em;
  border-left: 8px solid RGBA(253, 61, 181, 1);
}

.manifesto-body .para2 {
  transform: rotate(2.5deg);
  background-color: #ff66cc;
  font-size: 1.6em;
  border-left: 10px solid black;
  text-shadow: 1px 1px black;
  box-shadow: 6px 6px 0 black;
}

.manifesto-body .para3 {
  transform: rotate(-2deg);
  background-color: #ffb3da;
  border-left: 8px solid black;
  font-size: 1.6em;
  box-shadow: 5px 5px 0 RGBA(253, 61, 181, 1);
}

.manifesto-body .para4 {
  transform: rotate(1deg);
  background-color: #ff66cc;
  font-size: 2em;
  border-left: 10px solid black;
  text-shadow: 1px 1px black;
  box-shadow: 6px 6px 0 black;
}

.manifesto-body .para5 {
  position: relative;
  background-color: black;
  border-left: 12px solid RGBA(253, 61, 181, 1);
  font-size: 1.6em;
  padding: 2em 1em;
  margin-top: 2em;
  text-align: center;
  box-shadow: 8px 8px 0 RGBA(253, 61, 181, 1);
}

.glitch-text {
  position: relative;
  font-size: clamp(1.5rem, 5vw, 3em); /* responsive size */
  font-weight: 900;
  color: magenta;
  text-transform: uppercase;
  text-shadow:
    1px 1px black,
    -1px -1px black;
  display: block;
  z-index: 2;
  line-height: 1.2;
  word-wrap: break-word;
}

@media (max-width: 700px) {
  .glitch-text {
    text-shadow:
      0.5px 0.5px black,
      -0.5px -0.5px black;
    font-size: 3rem;
  }
}


/* Only apply animation on hover */
.glitch-text:hover {
  color: turquiose;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  color: magenta;
  background: black;
  pointer-events: none;
}

/* Enable pseudo-element animations only on hover */
.glitch-text:hover::before {
  animation: glitchTop 1s infinite;
  top: -2px;
  color: cyan;
}

.glitch-text:hover::after {
  animation: glitchBottom 1s infinite;
  bottom: -2px;
  color: turquoise;
}


@keyframes glitch {
  0% { transform: none; }
  10% { transform: translate(-2px, 2px) skew(-1deg); }
  40% { transform: translate(2px, -2px) skew(1deg); }
  60% { transform: translate(-1px, 1px) skew(0deg); }
  90% { transform: translate(1px, -1px) skew(1deg); }
  100% { transform: none; }
}

@keyframes glitchTop {
  0% { clip: rect(0, 9999px, 0, 0); }
  10% { clip: rect(0, 9999px, 10px, 0); }
  20% { clip: rect(0, 9999px, 0, 0); }
  30% { clip: rect(5px, 9999px, 15px, 0); }
  100% { clip: rect(0, 9999px, 0, 0); }
}

@keyframes glitchBottom {
  0% { clip: rect(100%, 9999px, 100%, 0); }
  10% { clip: rect(90%, 9999px, 100%, 0); }
  20% { clip: rect(100%, 9999px, 100%, 0); }
  30% { clip: rect(85%, 9999px, 95%, 0); }
  100% { clip: rect(100%, 9999px, 100%, 0); }
}

.glitch-image {
  display: block;
  margin: 2em auto 0 auto;
  max-width: 70%;
  height: auto;
  filter: drop-shadow(2px 2px 0 magenta) contrast(1.2);
  z-index: 1;
}



