/* global box sizing to avoid unexpected overflow */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* prevent horizontal page scroll */
}

body {
  background-color: #0f0f0f;
  color: #dcdcdc;
  font-family: "Comic Sans MS", cursive, sans-serif;
  text-align: center;
  background-image: url("https://images.fineartamerica.com/images/artworkimages/mediumlarge/1/red-nebula-brandi-untz.jpg");
  background-repeat: repeat;
  animation: flicker 2s infinite;
}

.container {
  padding: 20px;
  border: 8px double #aaa;
  margin: 20px;
  background: rgba(20, 20, 20, 0.9);
  max-width: 100%;
  overflow: hidden;
}

.scream {
  color: #eee;
  font-size: 48px;
  text-shadow: 2px 2px #555;
  animation: blinker 1s linear infinite;
}

.emoji {
  font-size: 48px;
  margin-bottom: 10px;
}

.quote, .note {
  font-size: 18px;
  margin-bottom: 20px;
  color: #ccc;
  background-color: #1f1f1f;
  padding: 10px;
  border: 2px dashed #888;
  line-height: 1.4;
}

.main-img {
  max-width: 90%;
  height: auto;
  border: 4px groove #888;
  margin: 10px auto;
}

hr {
  border: 2px dashed #999;
  margin: 20px 0;
}

.interests-showcase img {
  width: 120px;
  height: auto;
  margin: 5px;
  border: 2px ridge #777;
  max-width: 100%;
}

.side-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 30px;
  gap: 10px;
}

.left-col, .right-col {
  flex: 1 1 48%;
  background-color: rgba(50, 50, 50, 0.6);
  padding: 10px;
  border: 3px dashed #777;
  box-sizing: border-box;
  min-width: 0;
}

.box-section {
  margin-bottom: 30px;
}

/* Blinkies: thin, spaced, wrap to avoid overflow (early Geocities sticker bar style) */
.blinkies-bar {
  padding: 0; /* remove extra framing */
  background: transparent; /* clear background */
  border: none; /* no border */
}

.blinkies-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.blinkies-grid img {
  flex: 0 1 auto;
  height: 24px;            /* thin height */
  width: auto;             /* keep proportion */
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease-in-out;
  max-width: 100%;
  min-width: 0;
  background: transparent;
  border: none;
}

.blinkies-grid img:hover {
  transform: scale(1.2);
  z-index: 1;
}

a {
  color: #ccc;
  text-decoration: underline;
}

a:hover {
  color: #fff;
  background: #444;
  font-weight: bold;
}

h2 {
  color: #ddd;
  margin-top: 0;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

@keyframes flicker {
  0% { opacity: 1; }
  50% { opacity: 0.97; }
  100% { opacity: 1; }
}

iframe {
  border: 3px inset #666;
  background-color: #0f0f0f;
  max-width: 100%;
}
