html, body {
  scroll-behavior: smooth;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
}
.code-card .dot {
  width: 12px;
  height: 12px;
}
header, .navbar{
  background-color: #1e1e1e;
}
main {
  flex: 1;
}

footer {
  background-color: #f8f9fa;
  padding: 15px;
  text-align: center;
  font-size: 14px;
  color: #6c757d;
}

.sobre-conhecimentos-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 2rem;
  background-color: #1e1e1e;
  color: #fff;
  justify-content: center;
}

.sobre, .conhecimentos {
  flex: 1 1 400px;
}

.sobre h2, .conhecimentos h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #555;
  padding-bottom: 0.5rem;
}

.sobre-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #2b2b2b;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.sobre-card:hover {
  transform: scale(1.02);
}

.sobre-card i {
  font-size: 2rem;
  color: #f39c12;
  flex-shrink: 0;
}

.knowledge-card {
  background-color: #2b2b2b;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.knowledge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.knowledge-card img {
  width: 32px;
  height: 32px;
}

.grid-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.sobre {
  background-color: #1e1e1e;
  padding: 2rem;
  color: #fff;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.titulo-secao {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #555;
  padding-bottom: 0.5rem;
}

.custom-accordion .accordion-item {
  background-color: #2c2c2c;
  border: none;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.custom-accordion .accordion-button {
  background-color: #2c2c2c;
  color: #fff;
  font-weight: 500;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.custom-accordion .accordion-button:not(.collapsed) {
  background-color: #333;
  color: #ffc107;
}

.custom-accordion .accordion-body {
  background-color: #1e1e1e;
  color: #ddd;
  border-radius: 0 0 10px 10px;
  padding: 1rem;
}

.grid-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  padding: 2rem;
}

.knowledge-card {
  background-color: #1f1f1f;
  color: white;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.knowledge-card:hover {
  transform: translateY(-5px);
} 
.icon-link {
    transition: transform 0.3s ease;
    display: inline-block;
}

.icon-link:hover {
    transform: translateY(-5px);
}
.code-card {
    background: #0D1117 !important; /* Mesmo fundo do Prism.js (tema Tomorrow) */
    color: #c9d1d9;
    font-family: monospace;
    border-radius: 10px;
}

.code-card pre {
    background: transparent !important;
    margin: 0;
    padding: 0;
}

/*Temas*/

.contact-section{
  background-color: #1e1e1e;
}

@media (max-width: 576px) {
  .knowledge-card {
  background-color: #1f1f1f;
  color: white;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  width: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
}

