#ProjectsTable {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 0;
}

.projectCard {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px 20px;
  background-color: rgba(0, 0, 0, 0.85);
  padding: 20px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  color: white;
  position: relative;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0);
  transition: all 0.1s linear;
}

.projectCard:hover {
  border-left: 10px solid rgba(255, 255, 255, 0.3);
}

.projectCard-IconHolder {
  grid-row: 1 / 3;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  overflow: hidden;
}

.projectCard-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  isolation: isolate;
  mix-blend-mode: normal;
  will-change: transform;
}

.projectCard-content {
  grid-column: 2;
  display: flex;
  flex-direction: column;
}

.projectCard-PID {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.projectCard-PID p {
  font-size: 270px;
  font-weight: bold;
  margin: 0;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  margin-right: 3%;
}

.projectCard-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.projectCard-status {
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.projectCard-last-updated {
  font-size: 12px;
  color: #888;
}

.projectCard-content-name {
  margin: 0;
  font-size: 30px;
  align-self: center;
}

.projectCard-content-description {
  font-size: 20px;
  line-height: 30px;
  margin: 10px 0;
}

.projectCard-content-tags {
  display: flex;
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.projectCard-tag {
  font-size: 14px;
  padding: 4px 10px;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ccc;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-aspect-ratio: 1/1.2) {
  .projectCard {
    grid-template-columns: 60px 1fr;
    gap: 6px 12px;
    padding: 12px;
  }

  .projectCard-IconHolder {
    width: 60px;
    height: 60px;
    grid-row: 1;
  }

  .projectCard-content-name {
    font-size: 20px;
  }

  .projectCard-content {
    grid-column: 1 / -1;
  }

  .projectCard-content-description {
    font-size: 14px;
    line-height: 1.4;
    margin: 6px 0;
  }

  .projectCard-content-tags {
    margin-top: 6px;
  }

  .projectCard-tag {
    font-size: 12px;
    padding: 3px 8px;
  }

  .projectCard-footer {
    margin-top: 6px;
    gap: 8px;
  }

  .projectCard-status {
    font-size: 11px;
  }

  .projectCard-last-updated {
    font-size: 10px;
  }

  .projectCard-PID p {
    font-size: 120px;
  }
}

#projectPage {
  background-color: rgba(0, 0, 0, 0.85);
  padding: 40px;
  border-radius: 5px;
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
}

#projectPageHeader {
  display: flex;
  flex-direction: row;
  gap: 30px;
}

#projectPageIconHolder {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  overflow: hidden;

  isolation: isolate;
  mix-blend-mode: normal;
  will-change: transform;
}

#projectPageIcon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;

  isolation: isolate;
  mix-blend-mode: normal;
  will-change: transform;
}

#projectPageInfo {
  flex: 1;
  min-width: 0;
  position: relative;
}

#projectPageNameRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#projectPageInfo H2 {
  margin: 0;
}

#projectPageMeta {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

#projectPageDescription {
  font-size: 20px;
  line-height: 30px;
  margin: 10px 0;
}

#projectPageTags {
  display: flex;
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

#projectPageLastUpdated {
  font-size: 12px;
  color: #888;
}

#projectPageSeparator {
  margin: 30px 0;
}

#projectPageContent {
  min-height: 200px;
}

#projectPageLinks {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

#projectPageLinks a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-family: Jost;
  transition: background-color 0.15s;
}

#projectPageLinks a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

#projectPageLinks a img {
  width: 24px;
  height: 24px;
}

#projectPagePID {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  pointer-events: none;
}

#projectPagePID p {
  font-size: 380px;
  font-weight: bold;
  margin: 0;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  margin-right: 3%;
}

#projectPageDescriptionRU {
  font-size: 20px;
  line-height: 30px;
  margin: 10px 0;
}

@media (max-aspect-ratio: 1/1.2) {
  #projectPage {
    padding: 20px;
  }

  #projectPageHeader {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 24px;
  }

  #projectPageInfo {
    display: contents;
  }

  #projectPageNameRow {
    display: contents;
  }

  #projectPageIconHolder {
    width: 60px;
    height: 60px;
  }

  #projectPageInfo H2 {
    font-size: 20px;
  }

  #projectPageDescription {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
  }

  #projectPageDescriptionRU {
    grid-column: 1 / -1;
    grid-row: 3;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
  }

  #projectPageLinks {
    grid-column: 1;
    grid-row: 4;
    margin-bottom: 0;
    gap: 8px;
  }

  #projectPageLinks a {
    font-size: 13px;
    padding: 6px 12px;
  }

  #projectPageLinks a img {
    width: 18px;
    height: 18px;
  }

  #projectPageMeta {
    position: static;
    grid-column: 2;
    grid-row: 4;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  #projectPagePID {
    display: none;
  }

  #projectPageContent {
    min-height: auto;
  }

  br {
    display: none;
  }
}