/* Global font and background image */
body {
  background-image: url("background.gif");
  font-family: 'Courier New', Courier, monospace;
  font-size: 16px;
  color: rgb(125, 18, 255);
  letter-spacing: 1px;
}


.mainBox {
  border: 5px double rgba(125, 18, 255, 0.5);
  border-radius: 15px;

  outline: 1px solid rgb(125, 18, 255);

  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  
  background: rgba(0,0,0,0.5);
  
  width: 800px;
  height: 700px;
  
  padding: 20px;
}


.TitleBox {
  position: relative;
  width: 500px;

  /*border:5px solid rgba(125, 18, 255, 0.5);*/

  left: 150px;

  text-align: center;
  word-wrap: break-word;
}


table, tr, th {
  /*border: 5px solid rgb(125, 18, 255);*/
  border-collapse: collapse;
}


.sidebar {
  /*border: 1px solid rgb(125, 18, 255);*/
  position: relative;
  left: 5px;
  grid-area: 2 / 1 / 4 / 2;
}

.linkBar {
  text-align: center;
  position: relative;
  margin-top: 10px;
}
.linkHeader {
  grid-column: 1 / span 2; /* spans both columns in the grid */
  background: rgba(125, 18, 255, 0.2);
  border: 2px solid rgba(125, 18, 255, 0.5);
  border-radius: 8px;
  padding: 6px 0;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 2px;
  color: rgb(125, 18, 255);
  margin-bottom: 8px;
  text-shadow: 0 0 5px rgba(125, 18, 255, 0.8);
}
.linkBar ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, auto);
  align-items: center;
  padding: 2px;
}
.linkBar li img {
  width: 50px;   /* you can adjust image size as needed */

  transition: transform 0.2s;
}
.linkBar li img:hover {
  transform: scale(1.2); /* optional: zoom effect on hover */
}


ul {
  box-sizing: border-box;
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 16px;
}


.sidebar li a {
  text-align: center;
  font-style: italic;
  display: block;
  width: 130px;
  padding: 5px;
  text-decoration: none;
  border-bottom: 1px solid rgb(125, 18, 255);
}
li img {
  display: block;
  width: 60px;
  left: 0px;
  position: relative;
  padding: 5px;
  text-decoration: none;
}


.intro {
  /*border: 1px solid rgb(125, 18, 255);*/
  width: 90%;
  padding: 50px;
  text-align: left;
  font-family: monospace;
  font-size: 15px;
  position: relative;
  top: -125px;
}


.popup {
  position: relative;
  justify-items: center;
  border: 2px solid rgba(125, 18, 255,0.6);
  text-align: center;                     
  word-wrap: break-word;
  background: rgb(0, 0, 0);
}


.images{
  position: fixed;
}


.conveyor {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 70px; /* adjust height to match your images */
  border-top: 2px solid rgba(125, 18, 255, 0.6);
  margin-top: 20px;
}
.belt {
  display: flex;
  width: calc(200%); /* allows images to scroll continuously */
  animation: moveBelt 20s linear infinite;
}
.belt img {
  height: 100px; /* or match your desired height */
  margin: 0 10px;
  border-radius: 10px;
  user-select: none;
  pointer-events: none;
}
.belt img:hover {
  transform: scale(1.8); /* optional: zoom effect on hover */
}
/* Animation for continuous motion */
@keyframes moveBelt {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0%);
  }
}
.conveyor:hover .belt {
  animation-play-state: paused;
}
