body {
  margin: 0;
  padding-top: 150px;
}

.flex-box{
	display: flex;
}

.carousel input {
  display: none;
}
.carousel .tabs {
  display: flex;
  position: relative;
  justify-content: space-around;
  margin-bottom: 40px;
}
.carousel .tabs label {
  flex: 1;
  text-align: center;
  padding: 15px;
  cursor: pointer;
  transition: color 0.3s;
}
.carousel .tabs label:hover {
  color: rgb(57, 183, 95);
}
.carousel .tabs label:active {
  color: rgb(57, 183, 95);
}
.carousel .tabs::after {
  content: '';
  position: absolute;
  bottom: 0;
  height: 3px;
  background: #12491c;
  border-radius: 2px;
  width: calc(100% / 3);
  transition: left 0.3s;
}
#tab1:checked ~ .tabs::after {
  left: 0;
}
#tab2:checked ~ .tabs::after {
  left: calc(100% / 3);
}
#tab3:checked ~ .tabs::after {
  left: calc(2 * (100% / 3));
}
.carousel .content {
  display: none;
  padding: 20px;
  opacity: 1;
}
#tab1:checked ~ .content1,
#tab2:checked ~ .content2,
#tab3:checked ~ .content3 {
  display: block;
}

.content {
  margin-left: 0;
}


.about-parra-image {
  border-radius: 20px;
  margin: 10px;
  height: 250px;
  float: right;
  object-fit: cover;
  margin-right: 5em;
}

.about-para {
  margin: 30px;
  padding: 0 5em;
}


.message {
  padding: 80px;
  text-align: justify;
}

.center {
  margin-left: auto;
  margin-right: auto;
}

.ward-table {
  margin-top: 7%;
  margin-left: auto;
  margin-right: auto;
}

table {
  width: 70%;
  border-collapse: collapse;
  margin: 20px 0 20px 0;
}

th, td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}
th {
  background-color: #e3ffe1;
}
tr:hover {
  background-color: #f5f5f5;
}


@media (max-width: 480px) {

  .about-parra-image {
    border-radius: 20px;
    margin: 10px;
    height: 200px;
    margin-right: auto;
    margin-left: auto;
  }

  .about-para {
    text-align: center;
    font-size: 0.8em;
    padding: 0;
  }

  label {
    margin: 0;
  }


  table {
    width: 100%;
    font-size: 0.7em;
  }


}







/*
*********

COMMITTEE CSS

*********
*/

.committee-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px;
}

h1 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 6%;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  justify-items: center;
}


.team-member {
  background-color: #e2ffcd;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 250px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.10); 

}

.team-member:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  background-color: rgba(164, 216, 142, 0.8);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15); 

}

.member-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.member-info {
  padding: 20px;
}

.member-name {
  font-size: 1.4em;
  margin: 0 0 5px 0;
  text-align: center;
}

.member-ward {
  font-size: 1.2em;
  margin: 0 0 5px 0;
  opacity: 0.7;
  text-align: center;
  font-weight: 200;
}

.member-role {
  text-align: center;
  font-size: 1em;
  margin: 0;
}

.members-card {
  background-color: #111111;
  border-radius: 10px;
  padding: 30px;
  max-width: 600px;
  margin: 0 auto;
}

.members-title {
  font-size: 1.8em;
  margin-bottom: 20px;
  text-align: center;
}

.members-list {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.member-item {
  background-color: #222222;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9em;
}

#committee {
  padding: 2em 6em 0 6em;
}

.committee-list{
	list-style-type: none;
  line-height: 3em;
}

.committee-list a{
	font-size: 1.3rem;
	color: rgb(18, 137, 18);
}

.committee-list a:hover{
	color: rgb(11, 94, 11);
}


@media (max-width: 480px) {

  #committee {
    padding: 1.5em;
  }

  .committee-list{
    line-height: 2em;
  }

  .committee-list a{
    font-size: 1.0rem;
  }

}


/* Follow me on:
 https://dribbble.com/Curtis_A_Lee
 */
/* Check out my website:
 https://thatboycurt.com/
 */

.grid {
  display: grid;
  width: 100%;
  grid-gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
@media (max-width: 60em) {
  .grid {
    grid-gap: 3rem;
  }
}
.grid .card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 0.4rem;
  overflow: hidden;
  box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: 0.2s;
}
.grid .card:hover {
  transform: translateY(-0.5%);
  box-shadow: 0 4rem 8rem rgba(0, 0, 0, 0.2);
}
.grid .card__img {
  display: block;
  width: 100%;
  height: 18rem;
  object-fit: cover;
}
.grid .card__content {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-row-gap: 0.2rem;
  padding: 1.3rem;
  height: 40%;
}
.grid .card__header {
  font-size: 1.3rem;
  font-weight: 500;
  color: #0d0d0d;
}
.grid .card__text {
  font-size: 0.9rem;
  letter-spacing: 0.1rem;
  line-height: 1.7;
  color: #3d3d3d;
}



    /* Container for the tag layout */
    .tag-container {
      margin: 20px;
      margin-top: 40px;
    }

    /* Style for the tags */
    .tags {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-bottom: 20px;
    }

    .tag {
      background-color: #f1f1f1;
      border: 1px solid #ddd;
      padding: 10px 20px;
      border-radius: 20px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .tag:hover {
      background-color: #ddd;
    }

    /* Active tag style */
    .tag.active {
      background-color: #12491C;
      color: white;
    }

    /* Content area for the selected tag */
    .tag-content {
      display: none;
    }

    .tag-content.active {
      display: flex;
      align-content: center;
      justify-content: center;
      gap: 3%;
      font-size: 32.5%;
      padding: 6rem;
      justify-content: center;
    }

    @media (max-width: 60em) {
      .tag-content.active {
        padding: 0%;
      }
    }

    h2 {
      margin: 0;
    }

    @media (max-width: 480px) {

      th, td {
        font-size: 0.8em ;
        padding: 8px;
      }

      .tag {
        font-size: 0.8em;
        padding: 7px 13px;;
      }
    }
