/* General Reset */
/* Add smooth scrolling to the entire document */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Adjust this value to match your navbar height */
}

body,
h1,
h2,
p,
ul,
li,
nav {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: #333;
  font-family: "Open Sans", serif;
}

body {
  line-height: 1.6;
  background-color: #f9f9f9;
  padding: 0;
}

/* Sticky Header */
header {
  position: sticky; /* Makes the header sticky */
  top: 0; /* Keeps it fixed to the top */
  z-index: 1000; /* Ensures it stays on top of other elements */
  background-color: #fff; /* Background colour for the header */
  text-align: center;
  padding: 0 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for visibility */
}

/* Navigation Bar */
header .nav_div {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
}

header nav a {
  color: #333;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}

header nav a:hover {
  text-decoration: underline;
}

/* Jumbotron Section */
#jumbotron {
  background: #01a1af;
  text-align: center;
  padding: 40px 8px;
  margin: 40px 0;
}

#jumbotron h1 {
  color: #fff;
}

/* Section Styling */
section {
  scroll-margin-top: 30px;
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

  ul {
    padding-left: 20px;
  }
}

h2 {
  color: #333;
  margin-bottom: 10px;
}

/* Link Styling */
a {
  color: #0056b3;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.facebook {
  display: flex;
  align-items: center;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px;
  margin-top: 10em;
  background: #333;
  font-size: 0.9em;
}

footer p {
  color: #fff;
}

@media (max-width: 600px) {
  section ul {
    padding-left: 20px;
  }

  header .nav_div {
    padding-left: 10px;
    padding-right: 10px;
    flex-direction: column;
    align-items: center;
  }

  header nav {
    padding-top: 1em;
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  header nav a {
    margin: 10px 0;
  }

  section {
    scroll-margin-top: 100px;
  }

  footer {
    margin-top: 1em;
  }
}
