.project-mini-title {
  position: absolute;
  top: 0;
  left: 0;
  transform: none;
  background: hsla(0, 0%, 25%, 0);
  color: hsla(0, 0%, 25%);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 12px 12px;
  height: 40px;
  border-radius: 12px 12px 0 0;
  text-align: center;
  z-index: 2;
  width: 100%;
  max-width: 100%;
}
.project-img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
:root {
  --border-gradient-onyx: linear-gradient(to bottom right, hsl(0, 0%, 25%) 0%, hsla(0, 0%, 25%, 0) 50%);
}

.project-img {
  background-color: rgb(236, 246, 255);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-img img {
  width: 150px;
  height: 150px;
}

.tags {
  margin: 20px 0px 30px 0px;
  color: white;
}

.tag {
  padding: 5px;
  border-radius: 10px;
  margin-right: 10px;
  font-size: 11px;
  background-color: rgba(255, 187, 92, 0.409);
}

.img-expanded {
  transition: 0.5s;
  cursor: pointer;
}

.img-expanded-transformed {
  transform: scale(1.5);
  transition: 0.5s;
  margin-top: 50px;
  margin-bottom: 50px;
}

.portfolio-title {
  margin-top: 15px;
  margin-bottom: 15px;
}

.page-features {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.item-content-img {
  max-width: 250px;
}

.wip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.wip a {
  color: wheat;
}

.wip img {
  width: 200px;
}

.project-item-blog {
  background-color: palegreen;
  width: 100%;
  background: var(--border-gradient-onyx);
  background: var(--bg-gradient-onyx);
  margin-top: 10px;
  padding: 5px;
}

.blog-link {
  color: var(--vegas-gold);
  display: inline;
}

/* Blocos de código */
pre {
  background-color: #1e1e1e; /* fundo escuro */
  color: #d4d4d4; /* texto principal */
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto; /* scroll horizontal se necessário */
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.95em;
  line-height: 1.5em;
  margin: 1em 0;
  border: 1px solid #333; /* borda sutil */
}

/* CODE STYLE */
code {
  background-color: #2d2d2d;
  color: #f8f8f2;
  border-radius: 4px;
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.95em;
}

pre span.keyword {
  color: #569cd6;
  font-weight: bold;
}

pre span.string {
  color: #d69d85;
}

pre span.comment {
  color: #6a9955;
  font-style: italic;
}

pre span.function {
  color: #dcdcaa;
}

/* DETAILS */

details {
  margin: 10px 0;
  border-radius: 6px;
  padding: 5px 10px;
}

summary {
  font-weight: bold;
  cursor: pointer;
  color: #dcdcaa;
}

summary::-webkit-details-marker {
  display: none; /* remove o ícone padrão no Chrome */
}

/* TABLE */

.table {
  color: white;
}

.table-td {
  border: 1px solid var(--vegas-gold);
}

th,
td {
  text-align: left; /* tudo alinhado à esquerda */
  padding: 8px 12px;
  border-bottom: 1px solid #ddd;
}
