/* In styles.css file */
.logo-image {
  width: 10%;
  display: inline-block; /* Treats the logo like an inline element (like the links) */
}

/* General resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Forum", Arial, serif;
  font-weight: 400;
  font-style: normal;
}

body {
  line-height: 1.6;
  color: black;
  background-color: #f4f4f4;
  padding: 20px;
}

a {
  color: #003dab;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header and Navigation Menu */
header {
  display: flex;
  justify-content: center; /* Centres the content horizontally */
  align-items: center; /* Centres content vertically */
  height: 80px; /* Adjust the height of the header as needed */
  padding: 0 20px;
  background-color: #f4f4f4;
  color: black;
}

.nav-menu {
  list-style: none;
  display: flex; /* Aligns the logo and links in a single row */
  justify-content: center; /* Centres the menu horizontally */
  align-items: center; /* Aligns items vertically */
  gap: 40px; /* Adds space between the logo and links */
  margin: 0;
  padding: 0;
}

.nav-menu li {
  padding: 0;
  margin: 0;
  line-height: 1;
}

.nav-menu a {
  color: black;
  transition: color 0.3s ease;
  font-size: 30px;
  line-height: 1; /* Ensures the text has no extra height */
  padding: 0;
}

.nav-menu a:hover {
  color: #fca800;
}

/* Main Content Area */
main {
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column; /* Stacks the logo and links vertically */
    gap: 10px;
  }

  header {
    justify-content: center; /* Keeps the content centred */
    align-items: center; /* Aligns content vertically in the centre */
    height: auto; /* Adjusts height for smaller screens */
  }

  .logo-image {
    margin-bottom: 10px; /* Adds spacing between the logo and the links */
  }
}
