docs/_sass/custom.scss
/* start custom scss snippet */

.brand_logo svg {
    display: block;
    height: auto;
    width: 325px;
    margin-right: 20px;
}

.crop_image--cover {
  width: 100%;
  height: 72vh;
  object-fit: cover;
}

.scroll-container {
  position: relative;
  height: 13vh;
  overflow: hidden;
  background-color: #D3D3D3;
  margin-bottom: 2rem;
}

.carousel {
  position: absolute;
  top: 0;                   
  height: 100%;             
  display: flex;
  align-items: center;    
  justify-content: flex-start;
  white-space: nowrap;
  animation: scroll-horizontal 40s linear infinite;
}

.carousel img {
  height: 9vh;
  width: auto;
  margin-left: 50px; 
  flex-shrink: 0;
}

@keyframes scroll-horizontal {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}


.github-button__img {
  width: 1.5em;
  height: 1.5em;
}

/* ─── Filter Container ───────────────────────────────────────────────────── */
.subjects {
  overflow: auto;
  padding: 1rem;
  border: 4px solid #7336f7;
  border-radius: 25px;
  background-color: #f9f9f9;
  box-sizing: border-box;
  clear: both;
}

.subjects .filter {
  width: 33.33%;
  float: left;
  box-sizing: border-box;
  padding: 0.5rem;
}

@media (max-width: 991px) {
  .subjects .filter {
    width: 50%;
  }
}

@media (max-width: 600px) {
  .subjects .filter {
    width: 100%;
  }
}

.subjects .filter strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #444;
  font-weight: 600;
}

.subjects .filter label {
  display: flex;
  align-items: center;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  color: #333;
}

.subjects .filter input[type="checkbox"] {
  margin-right: 0.6ch;
  accent-color: #7336f7;
}

h2.project-group-title {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 600;
  clear: both; 
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.25rem;
}

/* Container for filtered projects */
.project-results {
  margin-top: 2rem;
  padding: 1rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* Unordered list of project items */
ul.project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Individual project entry */
li.project-item {
  text-align: center;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  flex: 1 1 calc(33.333% - 1rem);
  box-sizing: border-box;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/* When hidden by filtering */
.project-item[style*="display: none"] {
  display: none !important;
}

/* Hover effect */
.project-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

/* Link inside each project item */
.project-item a {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  li.project-item {
    flex: 1 1 calc(50% - 1rem);
  }
}
@media (max-width: 600px) {
  li.project-item {
    flex: 1 1 100%;
  }
}


/* ─── Sidebar Tag Filters ─────────────────────────────────────────────────── */
.sidebar-subjects.collapsed {
  display: none;
}
.sidebar-subjects {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--border-color,#ddd);
  font-size: .8rem;
  max-height: 300px;
  overflow-y: auto;
}
.sidebar-subjects strong {
  display: block;
  margin-bottom: .25rem;
  font-size: .8rem;
  text-transform: uppercase;
  color: var(--text-muted,#666);
}
.sidebar-subjects label {
  display: flex;
  align-items: center;
  margin: .25rem 0;
}
.sidebar-subjects .subject-filter {
  margin-right: .4ch;
  accent-color: var(--primary-color,#3182ce);
}
/* ─── Sidebar TOC Navigator ───────────────────────────────────────────────── */
.sidebar-toc .toc--navigator {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-toc .toc-h1 {
  margin: 0rem 0 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted, #666);
  font-weight: 600;
}
.sidebar-toc .toc-h2 {
  margin: 0.25rem 0;
  padding-left: 0.75rem;
  transition: opacity 0.2s ease, max-height 0.2s ease;
  overflow: hidden;
}
.sidebar-toc .toc-h2 a {
  display: block;
  text-decoration: none;
  color: var(--text-color, #333);
  font-size: 0.95rem;
}
.sidebar-toc .toc-h2.active a {
  font-weight: 600;
  color: var(--primary-color, #3182ce);
}
.sidebar-toc .toc-h2[style*="display: none"] {
  opacity: 0;
  max-height: 0;
}
.filter-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: .85rem;
  color: var(--text-muted,#666);
  user-select: none;
  margin-left: 10px;
  margin-top: 25px;
}
.filter-toggle .chevron {
  display: inline-block;
  width: .6em;
  height: .6em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .2s ease;
  margin-right: .5ch;
}
.filter-toggle .chevron.rotated {
  transform: rotate(45deg);
}

.donation-notice {
  background-color: #E5FCFC;        
  border-left: 4px solid #02EAEA;   
  padding: 16px;                    
  margin: 20px 0;                  
  border-radius: 4px;             
  line-height: 1.5;              
  position: relative;           
}

.project-desc {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #666;        
}

.footer {
  display: flex;
  justify-content: space-between; /* pushes items to left and right */
  align-items: flex-start;         /* aligns their tops */
  flex-wrap: nowrap;                 /* so it stacks on small screens */
  gap: 1rem;                       /* gutter between columns */
  padding: 1rem;                   /* optional padding around */
}

.footer__section {
  width: 50%;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .footer{
    flex-wrap: wrap;
  }

  .footer__section {
    width: 100%;
  }
}
/* end custom scss snippet */


