body {
  font-family: 'Comic Sans MS', cursive, sans-serif;

  margin: 0;
  padding: 0;
  color: #4b2e2e;
   
}

.vhs-overlay {
  background: url('https://i.giphy.com/media/oEI9uBYSzLpBK/giphy.webp') repeat;
  opacity: 0.1;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999;
  pointer-events: none;
}
header {
  background: #ffeecc;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px dashed #a67c52;
}

h1 {
  font-size: 2.5em;
  margin: 0;
}

nav button {
  background: #a67c52;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-left: 10px;
  cursor: pointer;
  font-size: 1em;
}

.hero {
  text-align: center;
  padding: 40px 20px;
  background: #fbeec1;
}

.hero h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.cereal-lineup {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
  gap: 20px;
}

.cereal {
  background: #fffaf0;
  border: 2px dotted #a67c52;
  padding: 20px;
  width: 200px;
  text-align: center;
  transition: transform 0.3s ease;
}

.cereal:hover {
  transform: scale(1.05);
}

button {
  background-color: #c1440e;
  color: white;
  border: none;
  padding: 10px;
  margin-top: 10px;
  cursor: pointer;
}
.product-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto;

footer { }

.flicker {
  animation: flicker 2s infinite;
}r {
  animation: flicker 2s infinite;
}
.glitch-text {
  font-size: 2.5em;
  position: relative;
  color: white;
  animation: glitch 1s infinite;
  text-align: center;
  margin-top: 30px;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.8;
}

.glitch-text::before {
  color: red;
  z-index: -1;
  animation: glitchTop 1s infinite;
}

.glitch-text::after {
  color: blue;
  z-index: -2;
  animation: glitchBottom 1s infinite;
}

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

@keyframes glitchTop {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-2px, -2px); }
  40% { transform: translate(-2px, 2px); }
  60% { transform: translate(2px, -2px); }
  80% { transform: translate(2px, 2px); }
  100% { transform: translate(0, 0); }
}

@keyframes glitchBottom {
  0% { transform: translate(0, 0); }
  20% { transform: translate(2px, 2px); }
  40% { transform: translate(2px, -2px); }
  60% { transform: translate(-2px, 2px); }
  80% { transform: translate(-2px, -2px); }
  100% { transform: translate(0, 0); }
}
