/* 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 {
  margin: 0;
  min-height: 100vh;
  background-image: url("/colorful_stars.gif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: black;
  color: white;
  font-family: Verdana;
}

.rainbow-border {
  width: 60%;
  margin: 5px auto;
  padding: 4px;
  background: linear-gradient(
    90deg,
    red,
    orange,
    yellow,
    lime,
    cyan,
    blue,
    violet,
    red
  );
  background-size: 300% 100%;
  animation: rainbow-border 4s linear infinite;
}

.center {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 1);
  color: white;
  display: block;
  margin-right: auto;
}

.img {
  color: white;
  gap: 10px;
}

.menu {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.menu-icon {
  width: 15px;
  height: 15px;
}

.rainbow-link {
  display: inline-block;
  background: linear-gradient(
    90deg,
    red,
    orange,
    yellow,
    lime,
    cyan,
    blue,
    violet,
    red
  );
  background-size: 300% 100%;
  background-position: 0% 50%;
  animation: rainbow-text 4s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@keyframes rainbow-text {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

@keyframes rainbow-border {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }

}

.centered-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%; /* This ensures it doesn't break your layout on smaller screens */
  height: auto;
}
