@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');

body {
    font-family: "Instrument Sans", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

a {
    color: #009967;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    background-color: #009967;
    border-radius: 6px;
    outline: none;
    transition: 0.3s;
}
.button:hover {
    background-color: #333;
}

header {
    background-color: #ffffff;
    color: #29323c;
    padding: 20px;
    text-align: center;
}

nav {
    background-color: #009967;
    padding: 10px;
    text-align: center;
}

nav .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

nav .hamburger span {
    background-color: white;
    height: 3px;
    width: 25px;
    margin: 2px 0;
    transition: all 0.3s ease;
}

nav .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav .nav-links li {
    margin: 0 15px;
}

nav .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav .nav-links a:hover {
    text-decoration: underline;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

footer {
    background-color: #29323c;
    color: white;
    text-align: center;
    padding: 30px 10px;
    width: 100%;
    bottom: 0;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
}

.slide {
    display: none;
}

.slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Transparent overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    /*padding: 20px;*/
}

.overlay h2 {
    font-size: 2.5em;
    margin: 0;
}

.overlay p {
    font-size: 1.2em;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.dots {
    text-align: center;
    padding: 10px;
    display: none;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
    background-color: #717171;
}

.fade {
    animation: fade 1.5s;
}

@keyframes fade {
    from { opacity: 0.4 }
    to { opacity: 1 }
}

.story {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.story h3 {
    margin-top: 0;
    color: #000000;
}

.story p {
    margin: 10px 0;
}

.story .author {
    font-style: italic;
    color: #555;
}

.profile {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.member {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    text-align: center;
    margin: 10px;
}

.member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.member h3 {
    margin: 10px 0;
}

.member p {
    font-style: italic;
}

.event {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.event h3 {
    margin-top: 0;
    color: #000000;
}

.event p {
    margin: 10px 0;
}

.timeline {
    position: relative;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #29323c;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 43%;
}

.container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: #29323c;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -16px;
}

.content {
    padding: 20px 30px;
    background-color: white;
    border-radius: 6px;
}

.left .content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

.right .content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}


    .table th, .table td {
      text-align: center;
      vertical-align: middle;
    }
   
   .donation-box {
  border-radius: 8px;
  padding: 20px;
  color: #fff;
  margin-bottom: 20px;
  text-align: center;
  max-width: 400px; /* prevents overly wide boxes */
  width: 100%;      /* keeps responsiveness */
}

    .platinum { background: #d50000; } 
    .diamond { background: #444; }
    .gold { background: #d4af37; color: #000; }
    .silver { background: #6c757d; }
    .bronze { background: #8c4a2f; }
    .donation-box small {
      display: block;
      margin-top: 8px;
      font-size: 14px;
    }
    .dot {
      height: 12px;
      width: 12px;
      background-color: yellow;
      border-radius: 50%;
      display: inline-block;
      margin-top: 10px;
    }

@media screen and (max-width: 768px) {
    nav .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: #009967;
        z-index: 1000;
    }

    nav .nav-links.active {
        display: flex;
    }

    nav .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    nav .hamburger {
        display: flex;
    }

    .slideshow-container .overlay h2 {
        font-size: 1.8em;
    }

    .slideshow-container .overlay p {
        font-size: 1em;
    }

    .slide img {
        height: 300px;
    }
}

@media screen and (max-width: 600px) {
    .timeline::after {
        left: 31px;
    }

    .container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .container::after {
        left: 60px;
    }

    .left::after, .right::after {
        left: 15px;
    }

    .right {
        left: 0%;
    }
}