/* Apply box-sizing to all elements */
* {
  box-sizing: border-box;
}

/* Style the body */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(to right, gold, maroon); /* gold to maroon */
  color: black;
  line-height: 1.6;
}

/* Horizontal navigation bar */
.navbar {
  overflow: hidden;
  background-color: maroon;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
  display: flex;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

/* Links inside the navbar */
.navbar a {
  color: white;
  padding: 16px 24px;
  text-decoration: none;
  display: block;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}

/* Hover effect */
.navbar a:hover {
  background-color: #FFCC00;
  color: maroon;
}

/* Main content */
.content {
  margin-top: 80px;  /* Space for the fixed navbar */
  background-color: #FFCC00; /* golden yellow */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  color: black;
}

/* Headings */
h2, h3 {
  color: maroon;
  border-bottom: 2px solid maroon;
  padding-bottom: 5px;
  margin-top: 20px;
}

/* Profile Image */
.content img {
  display: block;
  margin: 0 auto 20px auto;
  max-width: 200px;
  width: 100%;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Lists */
ol, ul {
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

/* Footer */
.footer {
  background-color: maroon;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  border-radius: 8px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.footer p {
  font-size: 16px;
  margin-bottom: 0;
}

/* Responsive text for mobile */
@media (max-width: 600px) {
  .navbar a {
    padding: 12px 16px;
    font-size: 14px;
  }

  .content {
    padding: 20px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }
}