/* Set up Flexbox for centering content vertically and horizontally */
body {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  justify-content: flex-start; /* Align content at the top */
  align-items: center; /* Center content horizontally */
  height: 100vh; /* Full height of the viewport */
  margin: 0; /* Remove default margin */
  padding-top: 20px; /* Adds space at the top of the page */
  font-family: Arial, sans-serif;
  text-align: center;
  background-color: black; /* Set background to black */
  color: white; /* Set text color to white for all elements */
}

/* Style the header */
h1 {
  font-size: 3.1rem;
  margin-top: 20px;
  margin-bottom: 30px;
  color: orange;
}

/* Style for subheadings */
h2 {
  font-size: 2rem;
  margin-top: 30px;
  margin-bottom: 5px;
  color: orange;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* General paragraph styling */
p {
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Paragraph variations */
.p1, .p2, .p3, .p4, .p5, .p6 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.p2 {
  font-size: 1.5rem;
}

.p3 {
  font-size: 2rem;
  margin-top: 30px;
  color: #ff5733;
}

.p5 {
  font-size: 1.5rem;
  margin-top: 20px;
  margin-bottom: 1px;
}

.p6 {
  font-size: 1.5rem;
  margin-top: 30px;
}

/* Make the image responsive and centered */
img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-top: 20px; /* Added space above the image */
  margin-bottom: 20px; /* Kept original spacing below */
}

/* Add the rainbow color effect */
.rainbow-text {
  background-image: linear-gradient(to right, red, orange, yellow, green, #007BFF, purple, violet, purple, #007BFF, green, yellow, orange);
  -webkit-background-clip: text;
  color: transparent;
  background-size: 500% 100%;
  animation: rainbow 8s linear infinite;
}

/* Define the animation for the rainbow effect */
@keyframes rainbow {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: -100% 50%;
  }
}

/* Style for all links */
a {
  text-decoration: none;
  color: #007BFF;
}

a:hover {
  text-decoration: underline;
}

/* Specific styling for the Contact link */
.contact-link {
  color: inherit;
  text-decoration: none;
}

/* Add space between "Contact" and "About Us" links */
p a {
  text-decoration: none;
  color: #007BFF;
  margin-right: 1px;
}

p a:last-child {
  margin-right: 0;
}
