.projects.personal {
  margin-top: 32px;
}

.projects.personal .endeavor-wrapper:not(:first-child) {
  margin-top: 32px;
}

.projects.personal .highlight-wrapper {
  overflow: auto;
}

.projects.personal .card {
  width: 17.5em;
  float: left;
  margin-right: 16px;
  margin-bottom: 16px;
  max-width: 440px;
}

.projects.personal .card p.card-text {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 21px;
}

.projects.personal .card.presentious .card-img-top {
  transform: scale(0.85);
}

.card-body .purchase-cta {
  font-size: 13px;
  line-height: 17px;
  margin-top: 12px;
}

.browsers .badges,
.sidebar .badges,
.projects.personal .card .badges {
  display: flex;
  flex-wrap: wrap;
}

.browsers .badges div.service,
.sidebar .badges div.service,
.projects.personal .card .badges div.service {
  width: 48px;
  margin-right: 8px;
  margin-top: 16px;
  display: inline-block;
}

.appsumo .browsers .badges div.service {
  width: 72px;
  margin-right: 24px;
}

.browsers .badges div.service img,
.sidebar .badges div.service img,
.projects.personal .card .badges div.service img {
  width: 100%;
}

.projects.personal .card fieldset.badges {
  border: 1px solid #e9e9e9;
  display: block;
  padding: 0 16px 16px 16px;
}

.projects.personal .card fieldset.badges div.service {
  margin-top: 8px;
}

.projects.personal .card fieldset legend {
  font-size: 13px;
  color: #666;
  margin: 0px 8px;
  padding: 0 8px;
  text-transform: uppercase;
  width: inherit;
}

.projects.personal .card user-count,
.projects.personal .card timestamp {
  font-size: 13px;
  font-family: "Noto Sans", sans-serif;
  display: inline-block;
  border-radius: 4px;
  border: 1px solid #e9e9e9ee;
  padding: 4px 8px;
  margin-right: 4px;
}

.projects.personal .card .tag-wrapper {
  margin-top: 12px;
}

.card.placeholder {
  opacity: 0;
}

.card.suggest-extractor {
  border-style: dashed;
  border-width: 2px;
  background-color: transparent;
  transition: all 0.3s ease-in-out;
  font-family: monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  &:hover {
    background-color: lavender;
    border-style: solid;

    .sub-cta::after {
      content: "✉";
      position: absolute;
      bottom: 16px;
      right: 16px;
      font-size: 24px;
    }
  }

  .inner {
    margin: 32px;
  }

  .main-cta {
    font-size: 21px;
    line-height: 21px;
    margin-bottom: 16px;
  }

  .sub-cta {
    font-size: 17px;
    line-height: 19px;
  }
}

/** BADGES */

.service-badges {
  margin-top: 32px;
  margin-bottom: 32px;
}

.service-badges .badge-wrapper .service {
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 4px;
  float: left;
  background-color: #fff;
  line-height: 0;
  padding: 8px;
}

.service-badges .badge-wrapper .badge-group {
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;

  .badge-placeholder {
    width: 82px;
  }
}

.service-badges .badge-wrapper .service img {
  width: 48px;
  height: 48px;
  margin: 8px;
}

.projects.personal .card .badges div.service.golang {
  width: 72px;
  align-items: center;
  display: flex;
}

.service-badges #golang {
  height: 82px;
  width: 82px;
  align-items: center;
  justify-content: center;
  display: flex;
}

.service-badges #golang img {
  width: 60px;
  height: auto;
}

@media (max-width: 991px) {
  .projects.personal .card {
    width: 100%;
    max-width: inherit;
    /*** NOTE(gmike): Added 2023-09-24 to fix widths in in-between sizes */
    flex: 1 1 100%;
  }
  .projects.personal .highlight-wrapper {
    overflow: hidden;
  }
}

/*** GEORGE THINGS ***/

.service-badges .george-thing-wrapper {
  align-items: center;
}

.service-badges .george-thing {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid #e9e9e9;
  border-radius: 5px;
  transition: background-color 0.2s ease-in-out;
}

.service-badges .george-thing:hover {
  background-color: #f9f9f9;
}

.service-badges .george-thing .title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-badges .george-thing .desc {
  font-size: 14px;
  margin-bottom: 8px;
}

.service-badges .george-thing .tech-tag-list {
  display: flex;
  flex-wrap: wrap;
}

.service-badges .george-thing .tech-tag-list > span {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  margin: 4px 8px 0 0;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #e9e9e9;
}

/*** ANIMATIONS ***/

.hover-spin:hover img {
  animation: spin 0.5s;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/*** DREAMBODY ***/

.row.dreambody-wrapper {
  background-image: linear-gradient(135deg, #b4f8c8, #a0e7e5);
  padding: 32px 0;
  margin: 32px 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.dreambody-wrapper .description {
  font-size: 19px;
  line-height: 21px;
}

.row.dreambody-wrapper .row {
  margin-top: 16px;
}

.dreambody-wrapper .row form {
  border-radius: 4px;
  padding: 16px;
  border: 1px solid #ccc;
  background-color: #fff;
}

.dreambody-wrapper .row form .heading {
  font-size: 21px;
  line-height: 23px;
  margin-bottom: 16px;
}

/*** SCRAPERS TABLE ***/

.scrapers-table {
  margin-top: 32px;
  margin-bottom: 32px;
  background-color: #fff;
  padding: 32px 32px 8px 32px;
  border-radius: 5px;

  table {
    tr:first-child {
      th {
        border: 0;
        padding: 0;
      }

      th .table-span-inner {
        background-color: lavender;
        font-weight: bold;
        border-radius: 4px;
        padding: 8px;

        &:first-child {
          margin-right: 4px;
        }

        &:last-child {
          margin-left: 4px;
        }
      }
    }

    tr {
      th,
      td {
        line-height: 19px;
      }
      td.website-name a {
        font-size: 14px;
        line-height: 14px;
        display: block;
      }
      th {
        border-top: 0;
        font-size: 16px;
      }
    }

    td .status-tag,
    td .table-tag {
      display: inline-block;
      border-radius: 4px;
      padding: 6px 8px;
      font-size: 14px;
      line-height: 14px;
      margin: 4px 0;
    }

    td .table-tag {
      color: #666;
      background-color: #f9f9f9;
      border: 1px solid #e9e9e9;
    }

    td .status-tag.completed {
      background-color: #a5d6a7;
    }

    td .status-tag.stable {
      background-color: #c8e6c9;
    }

    td .status-tag.active-dev {
      background-color: lavender;
    }

    td .status-tag.legal-action {
      background-color: #ffcdd2;
    }

    td .status-tag.unmaintained {
      background-color: #ffdab9;
    }

    td .status-tag.deprecated {
      background-color: #e57373;
    }
  }
}

@media (max-width: 768px) {
  .scrapers-table {
    padding: 0;
    background-color: transparent;

    table {
      tbody,
      th,
      td,
      tr {
        display: block;
      }

      thead {
        display: none;
      }

      thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
      }

      tr {
        background: white;
        border-radius: 5px;
        padding: 16px;
        margin-bottom: 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border: 1px solid #e5e7eb;
      }

      td {
        border: none;
        padding: 8px 0;
        position: relative;
        padding-left: 35% !important;
        border-bottom: 1px solid #f3f4f6;
      }

      td:last-child {
        border-bottom: none;
      }

      td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 30%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: 600;
        color: #6b7280;
        font-size: 14px;
      }
    }
  }
}
