* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f5f2f2;
}

a {
  text-decoration: none;
}

.logo img {
  margin: 1px 5px 0px 10px;
  float: left;
}

#button-highlight {
  color: #3a9039;
}

.navbar {
  position: fixed;
  background-color: white;
  border-bottom: 3px solid rgb(38, 161, 38);
  width: 100%;
  z-index: 1;
  padding-top: 5px;
  padding-bottom: 4px;
}

.nav-links a {
  float: left;
  text-decoration: none;
  color: black;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 530;
  padding: 12px;
  border: none;
  background-color: white;
}

.nav-links a:hover,
.nav-links button:hover {
  color: #3a9039;
}

.nav-links button {
  float: right;
  text-decoration: none;
  color: black;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 530;
  padding: 12px;
  border: none;
  background-color: white;
}

.menu {
  display: none;
  flex-direction: column;
  font-size: 22px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(0, 0, 0, 0.838);
}
.page-content {
  padding: 40px;
}

.container {
  background-color: white;
  box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  margin-top: 55px;
  width: 100%;
  padding: 30px 20px 40px 20px;
  height: fit-content;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d4d3d3 #f0f0f0;
}

.container::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}

.container::-webkit-scrollbar-thumb {
  background-color: #d4d3d3;
  border-radius: 4px;
}

.container::-webkit-scrollbar-track {
  background-color: #f0f0f0;
}

h1 {
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 540;
  color: #2b9829;
  margin: 20px 0px 20px 0px;
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 10px 0px;
}

@media (max-width: 768px) {
  .mission-vision {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin: 10px 0px;
  }
  .mission,
  .vision {
    padding: 80px 20px 80px;
  }
}

.mission,
.vision {
  font-family: "Poppins", sans-serif;
  word-wrap: break-word;
  white-space: normal;
  text-align: justify;
  padding: 50px;
}

.mission h1 {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #2b9829;
  margin: 20px 0px 20px 0px;
}

.vision h1 {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #2b9829;
  margin: 20px 0px 20px 0px;
}

.services h1 {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #2b9829;
  margin: 20px 0px 20px 0px;
}

.services p {
  font-family: "Poppins", sans-serif;
  word-wrap: break-word;
  white-space: normal;
  text-align: justify;
  padding: 0px 40px;
}

.services {
  font-family: "Poppins", sans-serif;
  padding: 0 40px;
  list-style-type: disc;
}

.services li {
  word-wrap: break-word;
  white-space: normal;
  text-align: justify;
  margin-bottom: 29px;
  font-size: 15px;
}

#services-intro {
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 16px;
}

#services {
  margin-bottom: 10px;
}

.heading {
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 550;
  color: #2b9829;
  margin: 40px 0px 30px 0px;
}

#chairman {
  width: 20%;
}

.councilor {
  width: 75%;
}

.official {
  width: 60%;
}
.column {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 10px;
  overflow: hidden;
}

#councilors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-gap: 10px;
}

#officials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(1, 1fr);
  grid-gap: 10px;
  margin-bottom: 30px;
}

.card {
  text-align: center;
}

.card-body {
  color: black;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 610;
  margin: 10px 0px;
}

.position {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 590;
  color: #2b9829;
}

.footer {
  width: 100%;
  background-image: url("bg.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.footer-content {
  padding: 20px 30px 8px 30px;
  background-color: #242424c2;
}

#contact-us {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
}

.footer-content p {
  font-size: 13.5px;
  font-family: "Montserrat", sans-serif;
  font-weight: 480;
  margin-bottom: 15px;
  color: white;
}

#location,
#phone,
#email_address {
  font-size: 15px;
  color: #ffd700;
  padding-left: 20px;
}

#credits {
  margin-top: 35px;
  text-align: center;
}

@media (max-width: 992px) {
  h1 {
    font-size: 20px;
  }
  h2 {
    font-size: 18px;
  }

  #chairman {
    width: 24%;
  }

  .councilor {
    width: 100%;
  }

  .official {
    width: 76%;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 18px;
  }
  h2 {
    font-size: 16px;
  }
  #councilors {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
  }

  #chairman {
    width: 26%;
  }

  .councilor {
    width: 82%;
  }

  .official {
    width: 80%;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: white;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 0px 0px 10px 0px;
    height: fit-content;
    text-align: left;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links.active a,
  .nav-links.active button {
    font-size: 15px;
    text-align: left;
  }
  .menu {
    display: flex;
    font-size: 19px;
  }

  .dropdown-content a {
    font-size: 15px;
  }

  h1 {
    font-size: 18px;
  }
  h2 {
    font-size: 17px;
  }
  #councilors,
  #officials {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
  }

  #chairman {
    width: 40%;
  }

  .official {
    width: 85%;
  }

  .contact {
    font-size: 13px;
    font-weight: 500;
  }

  .footer-content #footer-heading {
    font-size: 13px;
  }

  .footer-content p {
    font-size: 12px;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    margin-bottom: 5px;
    color: white;
    margin-bottom: 0px;
  }

  .mission-vision {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin: 10px 0px;
  }
}

.mission,
.vision {
  padding: 80px 20px 80px;
}

@media (max-width: 480px) {
  h1,
  .heading {
    font-size: 18px;
  }
  #councilors,
  #officials {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
  }

  #chairman {
    width: 81%;
  }

  .official {
    width: 85%;
  }

  .mission-vision {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
  .mission,
  .vision {
    padding: 0px;
    font-size: 13px;
  }

  .services li {
    font-size: 13px;
  }

  .services {
    padding: 0px 10px;
  }

  .services h1,
  .mission h1,
  .vision h1 {
    font-size: 19px;
  }

  #services-intro {
    padding: 0px;
    font-size: 13px;
  }
}
