body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: rgba(114, 119, 119, .1);
}

.filter-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: start;
}

.filter-main-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-search-bar {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-bottom: 20px;
}

.filter-search-label {
    font-style: light-italic;
    margin-right: 10px;
}

.filter-search-input {
    padding: 5px;
    font-size: 16px;
    background-color: rgba(114, 119, 119, .3);
    border: none;
    width: 100%;
    margin: 10px 0;
}

.filter {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    width: 120px;
}

.filter-select {
    max-width: 300px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.filter-header {
    font-size: x-large;
    font-style: light-italic;
}

.filter label {
    margin-bottom: 5px;
}

.filter select {
    padding: 5px;
    font-size: 16px;
    background-color: rgba(114, 119, 119, .3);
    border: none;
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project {
    background-color: rgba(114, 119, 119, .3);
    padding: 20px 20px;
    border-radius: 0px;
}

.project-main {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 40px;
}

.project-chair {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    a:link {
      color: rgba(114, 119, 119, .8);
      background-color: transparent;
      text-decoration: underline;
    }

    a:visited {
      color: rgba(114, 119, 119, .8);
      background-color: transparent;
      text-decoration: underline;
    }

    a:hover {
      color: rgba(114, 119, 119, .6);
      background-color: transparent;
      text-decoration: underline;
    }

    a:active {
      color: rgba(114, 119, 119, .6);
      background-color: transparent;
      text-decoration: underline;
    }
}

.project-left-main {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
}

.chair {
    margin-right: 5px; 
}

.chair-info {
    color: rgba(114, 119, 119, .8);
    text-decoration: none;
    margin-right: 5px; 
}

.chair-link-img {
    display: inline-block;
    vertical-align: bottom;
    margin-left: 5px;
}

.project-logo {
    max-width: 100px;
    max-height: 97px;
}

.project-row {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

.project-name {
    font-size: 24px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
}

.project-more-info {
    color: rgba(114, 119, 119, .8);
    margin-left: 5px;
    font-size: 20px;
    font-weight: bold;
}

.project-tags {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    gap: 10px;
}

@media screen and (max-width: 500px) {
    .project-tags {
      flex-wrap: wrap;
      gap: 3px;
    }
    .filter-header {
        margin-left: 10px;
    }
    body {
        padding: 0;
    }
    .filter {
        margin-top: 10px;
    }
    .filter-main-bar {
      flex-direction: column;
      align-items: start;
      margin-top: 10px;
    }
    .filter-search-bar {
        flex-direction: column;
        margin-left: 10px;
        margin-right: 10px;
        align-items: start;
      }
    .filter-search-label {
        margin-top: 10px;
    }
    .project {
      padding: 15px 15px;
    }
    .no-longer-involved-header {
        padding: 0 10px;
    }
  }

.tag {
    padding: 5px 10px;
    border-radius: 15px;
    color: white;
    font-size: 14px;
}

.founder {
    background-color: rgb(149, 27, 129);
}

.maintainer {
    background-color: rgb(101, 179, 46);
}

.contributor {
    background-color: rgb(89, 53, 140);
}

.link-footer {
    display: flex;
    justify-content: space-between;
}

.link-footer-left {
    display: flex;
    flex-direction: start;
}

.link-item {
    padding: 5px 10px;
    margin-right: 10px;
    background-color: rgba(114, 119, 119, .8);
    border: none;
    display: flex;
    align-items: space-between;
    color: #ffffff;
}

.link-item:hover {
    background-color: rgba(114, 119, 119, .6)
}

.link-item-text {
    margin-right: 5px;
    color: #ffffff;
}

.license-item {
    padding: 5px 10px;
    color: rgba(114, 119, 119, .8);
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-link {
    color: #1e90ff;
    text-decoration: none;
    margin-bottom: 5px;
    display: block;
}

.project-link:hover {
    text-decoration: underline;
}

.license {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

.not-involved {
    font-size: 14px;
    color: rgba(114, 119, 119, .8);
}

.project-more-info-popup {
    color: rgba(114, 119, 119, .8);
    font-size: 14px;
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
            line-clamp: 2;  
    -webkit-box-orient: vertical;
}

.no-longer-involved-header {
    font-size: 20px;
    font-weight: bold;
    padding-top: 20px;
    margin: 0;
}
