/* Page background and font */
body {
  background-color: black;
  margin: 20px;
  font-family: Arial, sans-serif;
}

/* Container for the three boxes */
.container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Shared styles for all boxes */
.text-box {
  padding: 20px;
  border-radius: 8px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  color: #400000;
  margin: 10px;
  box-sizing: border-box;
}

/* Box 1: background image */
#box1 {
  width: 300px;
  height: 500px; /* set height to match box2 */
  background-image: url('/contentleftwallpaper.GIF'); /* uploaded to Neocities */
  background-repeat: repeat;
  background-size: auto;
  border: 3px dotted #ffff00;
}

/* Box 2: thin and tall with background */
#box2 {
  width: 150px;    /* thin */
  height: 500px;   /* tall */
  background-image: url('/GIF36.gif'); /* uploaded to Neocities */
  background-repeat: repeat;
  background-size: auto;
  border: 3px dotted #ff00a6;
  overflow-y: auto; /* scroll if too much content */
  overflow-wrap: break-word; /* prevent overflow of long text */
  scrollbar-width: thin; /* Firefox */
}

/* For webkit browsers */
#box2::-webkit-scrollbar {
  width: 6px;
}
#box2::-webkit-scrollbar-thumb {
  background-color: rgba(255, 0, 166, 0.7);
  border-radius: 3px;
}

/* Box 3: solid color */
#box3 {
  width: 300px;
  height: 500px; /* set height to match others */
  background-color: #e861b9;
  border: 3px dotted #00ff00;
}

/* Headings and paragraphs inside boxes */
h2 {
  color: purple;
  margin-top: 0;
}

p {
  margin: 5px 0;
}
.star-background::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  transform: translate(-50%, -50%);
  background-image: /* same as before */;
  background-size: 50px 50px;
  animation: twinkle 2s infinite alternate;
}
