.docs-container {
  section {
    margin-top: 40px;

    .docs-section__title {
      color: #253259;
      font-size: 24px;
      font-weight: 500;
      font-style: normal;
      line-height: 32px;
      margin: 0;
      padding: 0;
    }

    .docs-plaintext {
      font-size: 18px;
      font-style: normal;
      font-weight: 300;
      line-height: 31px;
    }

    p {
      margin: 0;
      padding: 0;
    }
  }
}

.docs-table {
  margin-top: 10px;
  border: solid 1px #e5e5e5;
  border-radius: 10px;

  .docs-table__header {
    border-bottom: solid 1px #e5e5e5;

    div {
      color: #484848;
      font-size: 14px;
      font-style: normal;
      font-weight: 600;
      line-height: 30px; /* 214.286% */
    }
  }

  .docs-table__row {
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 16px;
    padding: 16px;

    .docs-table__title-cell {
      color: #000;
      font-size: 14px;
      font-style: normal;
      font-weight: 600;
      line-height: 20px; /* 142.857% */
    }
    .docs-table__cell {
      color: #000;
      font-size: 14px;
      font-style: normal;
      font-weight: 300;
      line-height: 20px; /* 142.857% */
    }
  }
}

.docs-title {
  margin-top: 100px !important;

  .docs-backlink {
    width: fit-content;
    max-height: 18.9px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #484848;
    text-decoration: none;

    .material-symbols-outlined {
      font-variation-settings:
        "FILL" 0,
        "wght" 400,
        "GRAD" 0,
        "opsz" 24;
    }
  }

  .docs-title__header {
    text-align: start;
    font-size: 32px;
    font-weight: 600;
    margin-top: 16px;
  }
}

.docs-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;

  p {
    span {
      color: #484848;
      font-weight: 500;
    }
  }
}

.docs-activity {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.docs-code {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.docs-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;

  h4 {
    margin-bottom: 10px !important;
  }

  p {
    span {
      color: #484848;
      font-weight: 500;
    }
  }
}

.docs-projects {
  display: flex;
  flex-direction: column;
  gap: 10px;

  .docs-projects__container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 10px;
    width: 100%;
  }

  .docs-project {
    border: solid 1px #e5e5e5;
    border-radius: 10px;

    .docs-project__header {
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding: 16px;
      border-bottom: solid 1px #e5e5e5;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      background-color: #f9f9f9;

      .project__name {
        color: #000;
        font-family: Jost;
        font-size: 18px;
        font-style: normal;
        font-weight: 500;
        line-height: 31px; /* 172.222% */
      }

      .project__summary {
        color: #484848;
        font-size: 14px;
        font-style: normal;
        font-weight: 300;
        line-height: 20px; /* 142.857% */
      }
    }

    .docs-project__info {
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 40px;

      .project__info-section {
        display: flex;
        flex-direction: column;
        gap: 18px;

        & > :first-child {
          color: #484848;
          font-size: 14px;
          font-style: normal;
          font-weight: 600;
          line-height: 20px; /* 142.857% */
        }

        p {
          font-size: 14px;
          font-style: italic;
          font-weight: 300;
          line-height: 20px;
        }
        span {
          font-size: 14px;
          font-style: normal;
          font-weight: 300;
          line-height: 20px;
        }
        ul {
          margin: 0;
          padding-inline-start: 14px;
          list-style: "• ";
          font-size: 14px;
          font-style: normal;
          font-weight: 300;
          line-height: 20px;
        }
      }
    }
  }
}

@media (max-width: 800px) {
  .main {
    padding: 0 16px;
  }
  .main2 {
    padding: 0 16px;
  }

  header {
    .main {
      padding: 30px;
    }
  }
}
