/* 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."
   
   https://i.ibb.co/g3jCs08/red141.jpg
   */

body {
  background-color: white;
  color: black;
  font-family: Garamond;
}

.content-box-red {
  background-image: url("https://i.ibb.co/g3jCs08/red141.jpg");
	padding: 20px;
	border: 5px dashed red;
	margin-left: 200px;
	margin-right: 200px;
	margin-top: 30px;
	margin-bottom: 30px;
	color: yellowgreen;
	text-align: center;
}

.content-box-transparent {
  background-color: transparent;
	padding: 20px;
	border: 10px double yellowgreen;
	margin-left: 100px;
	margin-right: 100px;
	margin-top: 30px;
	margin-bottom: 30px;
	color: yellowgreen;
	text-align: center;
}

a:link {
  color: yellowgreen;
  background-color: transparent;
  text-decoration: none;
}

a:visited {
  color: yellowgreen;
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  /* Apply rainbow animation on hover */
  animation: rainbow 4s linear infinite;
  color: transparent; 
  background-color: transparent;
  text-decoration: underline;
}

a {
  display: inline-block; /* needed for animation */
}

@keyframes rainbow {
  0% { color: red; }
  14% { color: orange; }
  28% { color: yellow; }
  42% { color: lime; }
  57% { color: aqua; }
  71% { color: blue; }
  85% { color: violet; }
  100% { color: red; }
}

/* Optional: Keep the underline always visible */
a {
  text-decoration: underline;
}