* {
  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: 35px;
}

.container {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(3);
  margin-top: 55px;
}

.card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.card-heading {
  color: black;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 18px;
}

.card-body {
  color: black;
  font-family: "Roboto", sans-serif;
  margin-top: 16px;
}

#alert,
#event,
#feedback {
  color: #ffd700;
}

hr {
  border: 1px solid rgb(26, 78, 26);
  width: 7%;
  text-align: center;
  margin: 0px auto;
}

.slideshow {
  width: 50%;
  max-width: 100%;
  position: relative;
  margin: auto;
  padding-top: 20px;
}

.mySlides2 {
  display: none;
  width: 100%;
}

.image-container {
  position: relative;
  width: 100%;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 35px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  z-index: 10;
}

.close-button:hover {
  color: rgb(226, 225, 225);
}

.slideshow-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.18);
  max-width: 800px;
  height: 500px;
  box-sizing: border-box;
  overflow: hidden;
  cursor: pointer;
}

.slideshow-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.slideshow-card-content {
  overflow-x: hidden;
  overflow-y: auto;
  height: 200px;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  word-wrap: break-word;
  white-space: normal;
  scrollbar-width: none;
  padding-bottom: 10px;
}

.slideshow-card-content::-webkit-scrollbar {
  display: none;
}

.slideshow-card-content label {
  font-weight: 550;
  display: block;
  padding: 10px 20px;
  font-family: "Montserrat", sans-serif;
}

.slideshow-card-content p {
  font-weight: 400;
  padding: 0px 20px;
  text-align: justify;
  text-justify: inter-word;
}

.ellipsis {
  max-height: 150px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  text-overflow: ellipsis;
  line-height: 1.5;
}

.event-view-btn,
.announcement-view-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 10px 15px;
  background-color: rgba(255, 255, 255, 0.715);
  color: #333;
  border: none;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 500;
  transition: background-color 0.3s;
}

.event-view-btn:hover,
.announcement-view-btn:hover {
  background-color: white;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  text-align: center;
  transition: background-color 0.3s;
  border-radius: 50%;
  color: rgba(0, 0, 0, 0.838);
  transform: translateY(-50%);
}

.prev {
  left: -70px;
  padding: 10px 12px 10px 9.5px;
}

.next {
  right: -70px;
  padding: 10px 9.5px 10px 12px;
}

.prev:hover,
.next:hover {
  background-color: rgb(0, 0, 0);
  color: white;
}

@media (max-width: 992px) {
  .prev {
    left: -50px;
  }

  .next {
    right: -50px;
  }
}

@media (max-width: 768) {
  .prev {
    left: -25px;
  }

  .next {
    right: -25px;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  word-wrap: break-word;
  white-space: normal;
}

.modal-content {
  background-color: #fefefe;
  border-radius: 10px;
  box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.5);
  width: 35%;
  max-height: 80%;
  overflow: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: #d4d3d3 #f0f0f0;
}

.modal-content::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}

.modal-content::-webkit-scrollbar-thumb {
  background-color: #c0bfbf;
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-track {
  background-color: #f0f0f0;
}

.modal-content label {
  font-weight: 600;
  font-size: 14px;
  display: block;
  margin-top: 10px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 5px;
  font-family: "Montserrat", sans-serif;
}

.modal-content p {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-align: left;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 5px;
}

#announcement_alert_picture,
#event_picture {
  width: 100%;
  max-width: 100%;
  height: 300px;
  object-fit: cover;
  padding: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background-color: #2a2a2a;
}

.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;
}

#no-updates-message {
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
}

@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: 17px;
  }
  .dropdown-content a {
    font-size: 15px;
  }
  .card {
    padding: 30px;
  }
  .card-heading {
    font-size: 16px;
    font-weight: 580;
  }
  .card-body {
    font-size: 15px;
  }

  .slideshow {
    padding-bottom: 5px;
    width: 80%;
  }

  .slideshow-card {
    margin: 0px 15px;
    height: 400px;
  }

  .slideshow-card-content label {
    font-weight: 550;
    font-size: 13px;
    padding: 5px 20px;
  }

  .slideshow-card-content {
    font-size: 12.5px;
    height: fit-content;
  }

  .slideshow-card img {
    height: 150px;
  }

  .event-view-btn,
  .announcement-view-button {
    font-size: 12px;
  }

  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    text-align: center;
    transition: background-color 0.3s;
    border-radius: 50%;
    color: rgba(0, 0, 0, 0.838);
    transform: translateY(-50%);
  }

  .prev {
    left: -23px;
    padding: 5px 6px 5px 4px;
  }

  .next {
    right: -23px;
    padding: 5px 4px 5px 6px;
  }

  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.817);
    color: white;
  }

  .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;
  }

  .modal-content {
    width: 85%;
  }

  .modal-content label {
    font-weight: 650;
    margin-bottom: 5px;
  }
}

@media (max-width: 480px) {
  .slideshow-card {
    height: 400px;
  }
  
    .slideshow {
    width: 100%;
  }
}
