.card-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: calc(100% - 320px);
  @media only screen and (max-width: 900px) {
    width: 100%;
    margin-bottom: 30px;
  }
}
.card-container {
  background: #ffffff;
  box-shadow: 1px 6px 10px rgba(164, 164, 164, 0.3);
  padding: 15px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  width: calc(20% - 20px);
  padding: 15px;
  margin: 10px;
  @media only screen and (max-width: 1900px) {
    width: calc(25% - 20px);
  }
  @media only screen and (max-width: 1600px) {
    width: calc(33.33% - 20px);
  }
  @media only screen and (max-width: 1200px) {
    width: calc(50% - 20px);
  }
  @media only screen and (max-width: 575px) {
    width: calc(100% - 20px);
  }
  .promoted-bdr {
    background: $primary-color;
    height: 100%;
    width: 2px;
    position: absolute;
    top: 0;
    left: 0;
  }
  .promoted {
    background: #d6485d;
    position: absolute;
    top: -2px;
    left: 0px;
    width: 65px;
    text-align: center;
    box-shadow: 1px 6px 10px rgba(164, 164, 164, 0.49);
    border-radius: 10px 0 10px 0;
    span {
      font-size: 10px;
      color: #fff;
    }
  }
  header {
    .logo {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      float: left;
      margin-right: 10px;
      img {
        vertical-align: middle;
        max-width: 100%;
        border-radius: 50%;
      }
      h3 {
        font-size: 30px;
        line-height: 60px;
        color: $primary-color;
      }
    }
    .title {
      margin-left: 10px;
      h4 {
        font-size: 16px;
        line-height: 50px;
        color: #323552;
        text-transform: capitalize;
        white-space: nowrap;
        width: calc(80% - 50px);
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
    .star-bg {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background: rgba(75, 95, 203, 0.06);
      position: absolute;
      right: -60px;
      top: -65px;
    }
    .star {
      position: absolute;
      right: 30px;
      top: 15px;
      span {
        font-size: 14px;
        color: #d0d0d0;
      }
      img {
        position: absolute;
        top: -8px;
        right: -23px;
      }
    }
  }
  .body {
    margin-top: 15px;
    p {
      color: #858797;
      font-size: 14px;
      height: 60px;
      overflow: hidden;
    }
    .tags {
      ul {
        padding: 0;
        list-style: none;
        display: flex;
        li {
          font-size: 10px;
          line-height: 12px;
          color: #fc7b7d;
          border: 1px solid #fc7b7d;
          padding: 3px 5px;
          margin-right: 10px;
          border-radius: 4px;
          text-transform: uppercase;
        }
      }
    }
  }
  footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    ul {
      padding: 0;
      list-style: none;
      display: flex;
      margin: 0;
      li {
        margin-right: 10px;
        span {
          font-size: 12px;
          color: #7a7d97;
          font-weight: 500;
        }
        img {
          width: 12px;
        }
      }
    }
    .github-view {
      width: 15px;
      position: absolute;
      margin: 2px 0 0 2px;
    }
    a {
      text-decoration: none;
      color: $primary-color;
    }
    .view {
      color: $primary-color;
      border: 1px dotted $primary-color;
      padding: 7px 20px;
      border-radius: 4px;
      text-decoration: none;
      text-transform: uppercase;
      font-size: 12px;
      line-height: 14px;
      margin-top: -9px;
      &:hover {
        background: $primary-hover-color;
        color: #fff;
      }
    }
  }
}
