main {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}
.top {
  width: 80%;
  margin: 0 auto;
  box-shadow: 0px 0px 5px cyan, 0px 0px 10px cyan;
  padding: 15px 30px;
  border-radius: 10px;
  line-height: 1.5;
}
button {
  padding: 2px 10px;
  font-style: italic;
  cursor: pointer;
  transition: all 0.2s ease-in;
  &:hover {
    letter-spacing: 2px;
    color: goldenrod;
    border: 1px solid goldenrod;
    background-color: white;
  }
}
summary {
  background-color: white;
  padding: 10px;
  cursor: pointer;
  color: goldenrod;
  transition: all 0.2s ease-in;
  &:hover {
    border-radius: 5px;
    border: 3px solid goldenrod;
  }
}

details {
  width: 80%;
  margin: 0px auto;
}
details .details {
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease-in;
}
details ol {
  padding-left: 70px;
  line-height: 1.5;
}
/*set the show more show less*/
.slow-details {
  overflow: hidden;
}

.slow-details .content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.8s ease, opacity 0.6s ease; /* Slower animation */
  padding-left: 20px; /* Optional indentation */
}

.slow-details[open] .content {
  max-height: 1000px; /* Adjust based on your content */
  opacity: 1;
}

/* Keep your existing summary styling */
.slow-details summary {
  list-style: none;
  cursor: pointer;
}

.slow-details summary::-webkit-details-marker {
  display: none;
}

.slow-details summary::after {
  content: "▼";
  margin-left: 5px;
  display: inline-block;
  transition: transform 0.3s;
}

.slow-details[open] summary::after {
  content: "▲";
}

.less {
  display: none;
}

.slow-details[open] .more {
  display: none;
}

.slow-details[open] .less {
  display: inline;
}

.middle {
  padding: 15px 30px;
  width: 80%;
  margin: 10px auto;
  box-shadow: 0px 0px 5px cyan, 0px 0px 10px cyan;
  border-radius: 10px;
  line-height: 2;
}
.bottom {
  padding: 15px 30px;
  width: 80%;
  margin: 10px auto;
  box-shadow: 0px 0px 5px cyan, 0px 0px 10px cyan;
  border-radius: 10px;
  line-height: 2;
  display: flex;
  justify-content: center;
}
.bottom form {
  width: 30%;
  line-height: 1;
  border: 1px soild red;
  padding: 5px;
}
.bottom form input,
textarea {
  width: 100%;
  padding: 5px 7px;
  background: none;
  border: 1px solid white;
  margin: 3px 0px 10px 0px;
  font-size: 1.2rem;
  color: black;
  background-color: white;
  border: 2px solid goldenrod;
  border-radius: 10px;
}
.bottom form textarea {
  height: 300px;
  width: 500px;
}
.bottom form button {
  padding: 5px 25px;
  font-size: 1.5rem;
  color: darkblue;
  background-color: goldenrod;
  border: 2px solid goldenrod;
  border-radius: 10px;
}
.boardMembers {
  width: 100%;
}
.boardMembers h2 {
  padding: 0px 20px;
  text-transform: uppercase;
}
.boardMembers .cards {
  width: 100%;
  padding: 20px;
  border-bottom: 1px solid rgb(105, 103, 103);
  border-top: 1px solid rgb(105, 103, 103);
  box-shadow: 2px 2px 4px rgb(105, 103, 103) inset,
    -2px -2px 4px rgb(105, 103, 103) inset;
  display: flex;
  gap: 25px;
  overflow-x: scroll;
}
::-webkit-scrollbar {
  width: 0px;
  background: transparent; /* make scrollbar transparent */
}
.boardMembers .cards .card {
  width: 250px;
  height: 100%;
  box-shadow: 4px 4px 12px black;
  border: 2px solid rgb(185, 182, 182);
  border-radius: 8px;
  background-color: white;
  cursor: pointer;
  transition: all 0.2s linear;
}
.boardMembers .cards .card:hover {
  box-shadow: none;
  transform: scale(0.95);
}
.memberImg {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
.memberImg img {
  width: 250px;
  height: 200px;
  border-radius: 8px 8px 0px 0px;
}
.memberDetails {
  line-height: 1.2;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  color: goldenrod;
  font-weight: bold;
  padding-bottom: 3px;
}
.memberDetails ul li {
  list-style: none;
  border-bottom: 1px solid rgb(182, 178, 178);
  padding: 5px 8px;
}
@media only screen and (max-width: 900px) {
  main {
    gap: 20px;
    margin-top: 80px;
    width: 100%;
  }

  .top,
  .middle,
  .bottom {
    width: 95%;
    text-align: justify;
    padding: 10px;
  }
  .bottom form {
    width: 95%;
  }
  .bottom form textarea {
    height: 300px;
    width: 100% !important;
  }
  details {
    width: 100%;
    margin: 0px auto;
  }
}
