/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: #99111f;
  color: white;
  font-family: "Trebuchet MS";
  /*text-align: center;*/
}

h1 {
  color: black;
  font-family: "Lucida Console";
  
}

p {
  font-family: "comic sans";  
}

a {
  color: #ff8888;  
}

.credit {
  width: 300px;
  border: 15px solid white;
  padding: 50px;
  margin: 20px;
}

h1.credit {
  text-align: right;
}
h2.credit {
  text-align: right;
}
p.credit {
  text-align: left;  
}
span.credit {
  display: grid;
}

.marquee-container {
  width: 100%;
  overflow: hidden; /* Hides the overflowing content */
  white-space: nowrap; /* Keeps text on a single line */
  box-sizing: border-box;
}

.scrolling-text {
  display: inline-block;
  padding-left: 100%; /* Start text off-screen to the right */
  animation: scroll 15s linear infinite; /* Adjust duration to change speed */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%); /* Move text completely off-screen to the left */
  }
}
