@font-face {
  font-family: 'Pixelhour';
  src: url('Pixelhour.ttf');
  src: url('Pixelhour.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Pixel';
  src: url('Pixel.ttf');
  src: url('Pixel.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
body {
  margin: 0;
   background: black;
   color: green;
}

.right-image {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  z-index: -1;
}

.content {
  padding: 2rem;
  max-width: 60%;
}

.scroll-text {
  white-space: nowrap;
    overflow: visible;
    display: block;
    text-align: center;
    width: 100%;
    color: green;
    font-family: 'Pixel';
    background: black;
    font-size: .75rem;
    padding: 2.5px 0;
    animation: scroll-horizontal 16s linear infinite;
    z-index: -3;
}

@keyframes scroll-horizontal {
    0% {
        transform: translateX(40%);
        z-index: -3;
    }
    100% {
        transform: translateX(-100%);
        z-index: -3;
    }
}


/* Container for overlapping image and text */
.overlay-image-wrapper {
  position: fixed;
  top: 60%;
  right: 20%;
  width: 300px; /* adjust based on your image */
  z-index: 1;
}

/* Second overlapping image */
.overlay-image {
  width: 100%;
  display: block;
}

/* Text box inside overlapping image */
.image-textbox {
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  background-color: black;
  color: green;
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 0 0 8px 0;
  z-index: 0;
}
.scroll-box {
  position: absolute;
  left: 5%;
  top: 20%;
  width: 600px;
  max-height: 300px;           /* set a max height */
  overflow-y: auto;            /* vertical scroll if needed */
  overflow-x: hidden;          /* prevent sideways scroll */
  border: 3px solid green;     /* corrected border syntax */
  color: green;
  padding: 1rem;
  box-sizing: border-box;
  word-wrap: break-word;       /* break long words */
  white-space: normal;         /* allow wrapping */
  background: black;           /* optional: for contrast */
  box-shadow: 6px 6px 0px red;
  font-family: 'Pixel';
}
