@import url('https://fonts.cdnfonts.com/css/comic-sans-ms');

body {
  background: black url("stars_small.gif") repeat;
  margin: 0;
  color: yellow;
  font-family: 'Comic Sans MS', cursive, sans-serif; 
}

img {
  max-width: 100%;
  height: auto;
}

.content {
  padding: 20px;
  background: rgba(0,0,0,0.6);
  border: 5px double magenta;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.banner {
  position: relative;
  color: white;
  font-size: 22px;
  font-weight: bold;
  padding: 10px;
  text-align: center;
  border: 5px ridge gold;
  overflow: hidden;
}

/* Semi-transparent gradient background */
.banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to right, red, orange, yellow, green, cyan, blue, violet);
  opacity: 0.5;
  z-index: 0;
}
.peach-text {
  color: #f6a192;
}

/* Text stays above overlay */
.banner * {
  position: relative;
  z-index: 1;
}

/* Blinking stars overlay */
.banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("stars_small.gif") repeat;
  opacity: 0.4;
  animation: blinkBanner 1.5s infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes blinkBanner {
  from { opacity: 0.2; }
  to { opacity: 0.6; }
}

/* Top navigation */
.topnav {
  margin-top: 5px;
  text-align: center;
}
.topnav a {
  margin: 0 10px;
  color: black;
  font-weight: bold;
  background: yellow;
  padding: 3px 8px;
  border-radius: 5px;
  text-decoration: none;
}
.topnav a:hover {
  background: lime;
  color: red;
}

/* Blog posts with colored borders */
.blogpost {
  border: 3px dashed cyan; /* Change colors later */
  margin-bottom: 20px;
  padding: 10px;
  background: rgba(255,255,255,0.1);
}
.blogpost h2 {
  margin: 0;
  color: #ffcc00;
  font-family: Impact, 'Comic Sans MS', cursive, sans-serif;
}
.blogpost h2 a {
  color: #ffcc00;
  text-decoration: none;
}
.blogpost h2 a:hover {
  color: red;
  text-decoration: underline;
}
.blogpost p {
  margin: 5px 0 0;
}

/* Colored dashed horizontal rules */
hr {
  border: 2px dashed lime; /* Default color, can change per section */
}

/* Visitor counter box */
#counter-box {
  margin-top: 20px;
  padding: 10px;
  border: 3px solid yellow;
  background: black;
  color: lime;
  font-size: 16px;
  text-align: center;
}

/* Blinking text for FAQ */
.blink {
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Responsive typography */
body {
  font-size: 16px;
}
h1, h2, h3 {
  font-size: clamp(18px, 5vw, 36px); /* scales on small screens */
}


