.custom-container {
  /* max-width: 75%; Adjust the maximum width as needed */
  margin: 0 auto; /* Center the container */
}
.nav-pills .nav-link {
  padding: 2% 5%; /* 2% of the container's width for top/bottom, 5% for left/right */
  font-size: 1.2rem; /* Increase the font size */
  transition: background-color 0.3s, transform 0.3s; /* Add transition for animations */
  font-family: 'Nunito', sans-serif; /* Match the font-family to Nunito */
}
.nav-pills .nav-link:hover {
  background-color: #d8dc4c; /* Change background color on hover */
  transform: scale(1.20); /* Slightly increase size on hover */
}
.nav-pills .nav-link.active {
  background-color: #e1e09d; /* Active background color */
  color: #f6f1da; /* Active text color */
}
.accordion-button {
  color: #ffffff; /* White text */
  background-color: #9ccc9c; /* Light green background */
  border: none; /* No border */
  border-radius: 0; /* Square corners */
  box-shadow: none; /* No box shadow */
}
/* Style for the accordion button when hovered */
.accordion-button:hover, 
.accordion-button:not(.collapsed) {
  color: #587449; /* Text color when hovered or active */
  background-color: #d6efc0; /* Background color when hovered or active */
}
/* Style for the accordion item */
.accordion-item {
  background-color: #9ccc9c; /* Light green background */
  border: none; /* No border */
  border-radius: 0; /* Square corners */
  box-shadow: none; /* No box shadow */
  margin-bottom: 0; /* No space between items */
}
/* Style for the accordion body */
.accordion-body {
  background-color: #f6f1da; /* Light beige background */
  padding: 1%; /* Padding inside the body */
  font-size: 16px; /* Font size */
  color: #587449; /* Dark green text */
  border: 1px solid #dee2e6; /* Border color */
  border-top: none; /* No border at the top */
  border-radius: 0; /* Square corners */
}
/*dropdown menus*/
#human-practices-header {
    height: 30vw;
    width: 100vw;
    background-image: url("https://static.igem.wiki/teams/5437/humanpractice/humanpractice/human-practice-header.jpeg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: 40%;
    box-shadow:0 0 80px 80px #F6F1DA inset;
}
.greydropdown {
    background-color: #253B41;
    color: white;
    cursor: pointer;
    padding: 15px 20px;
    text-align: justify;
    border: none;
    outline: none;
    transition: 0.4s;
    border-radius: 10px/10px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.lightgreendropdown {
    background-color: #98CC9B;
    color: white;
    cursor: pointer;
    padding: 15px 20px;
    text-align: justify;
    border: none;
    outline: none;
    transition: 0.4s;
    border-radius: 10px/10px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.arrow-circle-lightgreen {
    width: 30px;
    height: 30px;
    background-color: #98CC9B;
    border-radius: 50%;
    text-align: center;
}
.active .arrow-circle-lightgreen:after {
    content: ""; /* Unicode character for "minus" sign (-) */
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}
.arrow-circle-lightgreen:after {
    content: "";
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
.greendropdown {
    background-color: #139B69;
    color: white;
    cursor: pointer;
    padding: 15px 20px;
    text-align: justify;
    border: none;
    outline: none;
    transition: 0.4s;
    border-radius: 10px/10px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.arrow-circle-green {
    width: 30px;
    height: 30px;
    background-color: #139B69;
    border-radius: 50%;
    text-align: center;
}
.active .arrow-circle-green:after {
    content: ""; /* Unicode character for "minus" sign (-) */
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}  
.arrow-circle-green:after {
    content: "";
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
.panelblue,
.body {
    padding: 0 18px;
    background-color: #eceeb2;
    color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.1s ease-out;
    border-left: 4px solid var(--yellow);
    margin-bottom: 10px;
}

/*human practices timeline*/

.ag-timeline-card_img{
    width:50%;
    display:block;
    margin:auto;
  }
  .ag-timeline-block {
    padding: 0 0;
  }
  .ag-timeline_title-box {
    padding: 0 0 30px;
  
    text-align: center;
  }
  
  .ag-timeline_item {
    margin: 0 0 50px;
  
    position: relative;
  }
  .ag-timeline_item:nth-child(2n) {
    text-align: right;
  }
  
  .ag-timeline {
    display: inline-block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  
    position: relative;
  }
  .ag-timeline_line {
    width: 4px;
    background-color: #253B41;
  
    position: absolute;
    top: 2px;
    left: 50%;
    bottom: 0;
  
    overflow: hidden;
  
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  
  .ag-timeline_line-progress {
    width: 100%;
    height: 20%;
    background-color: #ffffff;
  }
  
  .ag-timeline-card_box {
    padding: 0 0 20px 50%;
  }
  .ag-timeline-card_point-blue {
    height: 50px;
    line-height: 50px;
    width: 50px;
    border: 3px solid #e57c05;
    background-color: #e3f58b;
  
    text-align: center;
    font-family: 'ESL Legend', sans-serif;
    font-size: 20px;
    color: #FFF;
  
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
  }
  .ag-timeline-card_point-black {
    height: 50px;
    line-height: 50px;
    width: 50px;
    border: 3px solid #e57c05;
    background-color: #e3f58b;
  
    text-align: center;
    font-family: 'ESL Legend', sans-serif;
    font-size: 20px;
    color: #FFF;
  
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
  }
  .ag-timeline-card_point-green {
    height: 50px;
    line-height: 50px;
    width: 50px;
    border: 3px solid #e57c05;
    background-color: #e3f58b;
  
    text-align: center;
    font-family: 'ESL Legend', sans-serif;
    font-size: 20px;
    color: #FFF;
  
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
  }
  .ag-timeline-card_point-yellow {
    height: 50px;
    line-height: 50px;
    width: 50px;
    border: 3px solid #e57c05;
    background-color: #e3f58b;
  
    text-align: center;
    font-family: 'ESL Legend', sans-serif;
    font-size: 20px;
    color: #FFF;
  
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
  }
  .ag-timeline-card_point-white {
    height: 50px;
    line-height: 50px;
    width: 50px;
    border: 3px solid #e57c05;
    background-color: #e3f58b;
  
    text-align: center;
    font-family: 'ESL Legend', sans-serif;
    font-size: 20px;
    color: #FFF;
  
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
  }
  .ag-timeline-card_point-lightgreen {
    height: 50px;
    line-height: 50px;
    width: 50px;
    border: 3px solid #e57c05;
    background-color: #e3f58b;
  
    text-align: center;
    font-family: 'ESL Legend', sans-serif;
    font-size: 20px;
    color: #FFF;
  
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
  }
  .ag-timeline-card_point-pink {
    height: 50px;
    line-height: 50px;
    width: 50px;
    border: 3px solid #e57c05;
    background-color: #e3f58b;
  
    text-align: center;
    font-family: 'ESL Legend', sans-serif;
    font-size: 20px;
    color: #FFF;
  
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
  }
  .ag-timeline_item:nth-child(2n) .ag-timeline-card_box {
    padding: 0 50% 20px 0;
  }
  .ag-timeline-card_point-box {
    display: inline-block;
    margin: 0 14px 0 -28px;
  }
  .ag-timeline_item:nth-child(2n) .ag-timeline-card_point-box {
    margin: 0 -28px 0 14px;
  }
  .js-ag-active .ag-timeline-card_point-blue {
    color: #e57c05;
    background-color: #e3f58b;
  }
  .js-ag-active .ag-timeline-card_point-black {
    color: #e57c05;
    background-color: #e3f58b;
  }
  .js-ag-active .ag-timeline-card_point-yellow {
    color: #e57c05;
    background-color: #e3f58b;
  }
  .js-ag-active .ag-timeline-card_point-green {
    color: #e57c05;
    background-color: #e3f58b;
  }
  .js-ag-active .ag-timeline-card_point-lightgreen {
    color: #e57c05;
    background-color: #e3f58b;
  }
  .js-ag-active .ag-timeline-card_point-white {
    color: #e57c05;
    background-color: #e3f58b;
  }
  .js-ag-active .ag-timeline-card_point-pink {
    color: #e57c05;
    background-color: #e3f58b;
  }
  .ag-timeline-card_meta-box {
    display: inline-block;
  }
  .ag-timeline-card_meta {
    margin: 10px 0 0;
  
    font-family: 'ESL Legend', sans-serif;
    font-weight: bold;
    font-size: 28px;
    color: #FFFFFF;
  }
  .ag-timeline-card_item {
    display: inline-block;
    width: 45%;
    margin: -77px 0 0;
    background-color: #a2cc89;
  
    opacity: 0;
  
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
  
    -webkit-box-shadow: 0 0 0 0 rgba(0,0,0,.5);
    -moz-box-shadow: 0 0 0 0 rgba(0,0,0,.5);
    -o-box-shadow: 0 0 0 0 rgba(0,0,0,.5);
    box-shadow: 0 0 0 0 rgba(0,0,0,.5);
  
    -webkit-transition: -webkit-transform .5s, opacity .5s;
    -moz-transition: -moz-transform .5s, opacity .5s;
    -o-transition: -o-transform .5s, opacity .5s;
    transition: transform .5s, opacity .5s;
  
    position: relative;
  }
  .ag-timeline_item:nth-child(2n+1) .ag-timeline-card_item {
    -webkit-transform: translateX(-200%);
    -moz-transform: translateX(-200%);
    -ms-transform: translateX(-200%);
    -o-transform: translateX(-200%);
    transform: translateX(-200%);
  }
  .ag-timeline_item:nth-child(2n) .ag-timeline-card_item {
    -webkit-transform: translateX(200%);
    -moz-transform: translateX(200%);
    -ms-transform: translateX(200%);
    -o-transform: translateX(200%);
    transform: translateX(200%);
  }
  .js-ag-active.ag-timeline_item:nth-child(2n+1) .ag-timeline-card_item,
  .js-ag-active.ag-timeline_item:nth-child(2n) .ag-timeline-card_item {
    opacity: 1;
  
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
  .ag-timeline-card_arrow {
    height: 18px;
    width: 18px;
    margin-top: 20px;
    background-color: #FFFFFF;
  
    z-index: -1;
    position: absolute;
    top: 0;
    right: 0;
  
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .ag-timeline_item:nth-child(2n+1) .ag-timeline-card_arrow {
    margin-left: calc(-18px / 2);
    margin-right: calc(-18px / 2);
  }
  .ag-timeline_item:nth-child(2n) .ag-timeline-card_arrow {
    margin-left: -10px;
  
    right: auto;
    left: 0;
  }
  .ag-timeline-card_img {
    width:100%;
  }
  .ag-timeline-card_info {
    padding: 20px 30px;
  
  }
  .ag-timeline-card_title {
    display: none;
    margin: 10px 0 0;
  
    font-family: 'ESL Legend', sans-serif;
    font-weight: bold;
    font-size: 28px;
    color: #F7B32B;
  }
  .ag-timeline-card_desc {
    line-height: 1.45;
  
    font-size: 16px;
    color: #FFF;
  }

  .toc-section {
    margin-top: 3rem;
    margin-bottom: 0
}

  @media only screen and (max-width: 979px) {
    .ag-timeline_line {
      left: 30px;
    }
  
    .ag-timeline_item:nth-child(2n) {
      text-align: left;
    }
  
    .ag-timeline-card_box,
    .ag-timeline_item:nth-child(2n) .ag-timeline-card_box {
      padding: 0 0 20px;
    }
    .ag-timeline-card_meta-box {
      display: none;
    }
    .ag-timeline-card_point-box,
    .ag-timeline_item:nth-child(2n) .ag-timeline-card_point-box {
      margin: 0 0 0 8px;
    }
    .ag-timeline-card_point {
      height: 40px;
      line-height: 40px;
      width: 40px;
    }
    .ag-timeline-card_item {
      width: auto;
      margin: -65px 0 0 75px
    }
    .ag-timeline_item:nth-child(2n+1) .ag-timeline-card_item,
    .ag-timeline_item:nth-child(2n) .ag-timeline-card_item {
      -webkit-transform: translateX(200%);
      -moz-transform: translateX(200%);
      -ms-transform: translateX(200%);
      -o-transform: translateX(200%);
      transform: translateX(200%);
    }
    .ag-timeline_item:nth-child(2n+1) .ag-timeline-card_arrow {
      right: auto;
      left: 0;
    }
    .ag-timeline-card_title {
      display: block;
    }
    .ag-timeline-card_arrow {
      margin-top: 12px;
    }
  }
  
  @media only screen and (max-width: 767px) {
    .ag-format-container {
      width: 96%;
    }
  
    .ag-timeline-card_img {
      height: auto;
      width: auto;
    }
  }
  
  @media only screen and (max-width: 639px) {
    .ag-timeline_title {
      font-size: 60px;
    }
  
    .ag-timeline-card_info {
      padding: 10px 15px;
    }
    .ag-timeline-card_desc {
      font-size: 14px;
    }
  }
  
  .svgtimeline {
    width: 100%;
    height: auto;
  }

  /* separate timlines */
  /* edu timeline */

  :root {
    --red: #f45b69;
    --dark-blue: #227c9d;
    --turquoise: #17c3b2;
    --white: #fff;
  }
  
  *,
  *::before,
  *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  a {
    color: inherit;
  }
  
  body {
    font: normal 16px/1.5 "Inter", sans-serif;
    padding-bottom: 50px;
  }
  
  .timeline1 {
    padding: 50px 20px;
    margin: 0 auto;
    max-width: 1000px;
    color: var(--dark-blue);
  }
  
  .timeline1 ol {
    position: relative;
    list-style: none;
  }
  
  .timeline1 ol::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--turquoise);
  }
  
  .timeline1 ol li .item-inner {
    padding: 20px 180px;
    margin-bottom: 8vh;
  }
  
  .timeline1 ol li .time-wrapper {
    position: relative;
    font-size: 4.5rem;
    font-weight: bold;
    line-height: 0.9;
  }
  
  .timeline1 ol li .time-wrapper::before,
  .timeline1 ol li .time-wrapper::after {
    content: "";
    position: absolute;
    background: var(--turquoise);
  }
  
  .timeline1 ol li .time-wrapper::before {
    top: 50%;
    left: -180px;
    transform: translateY(-50%);
    width: 0;
    height: 3px;
    transition: width 0.8s linear;
  }
  
  .timeline1 ol li .time-wrapper::after {
    top: calc(50% - 8px);
    left: -60px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    transform: scale(0);
    transform-origin: left center;
    transition: all 0.4s linear;
  }
  
  .timeline1 ol li time,
  .timeline1 ol li .details > * {
    opacity: 0;
    transition: 0.5s;
  }
  
  .timeline1 ol li time {
    display: inline-block;
    transform: translateY(-30px);
  }
  
  .timeline1 ol li .details > * {
    transform: translateY(30px);
  }
  
  .timeline1 ol li .details h3 {
    font-size: 2rem;
    line-height: 1;
    margin: 15px 0;
  }
  
  .timeline1 ol li.in-view .time-wrapper::before {
    width: 120px;
  }
  
  .timeline1 ol li.in-view .time-wrapper::after {
    transition-delay: 0.8s;
    transform: scale(1.5);
  }
  
  .timeline1 ol li.in-view time,
  .timeline1 ol li.in-view .details > * {
    opacity: 1;
    transform: none;
  }
  
  .timeline1 ol li.in-view time {
    transition-delay: 1.3s;
  }
  
  .timeline1 ol li.in-view .details h3 {
    transition-delay: 1.5s;
  }
  
  .timeline1 ol li.in-view .details p {
    transition-delay: 1.7s;
  }
  