/* SEÇÃO CONHECIMENTOS: cards, popups, grade, blur */

.icone-conhecimento { 
    color: #554780;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;}

.titulo-conhecimento { 
    color: #fff;
    font-weight: bold;
    margin-bottom: 0.7rem;
    font-size: 1.1rem; }

.barra-progresso {
    width: 100%;
    height: 10px;
    background: #3f3f3f;
    border-radius: 8px;
    overflow: hidden; }

.progresso {
    height: 100%;
    background: linear-gradient(90deg, #a78bfa 60%, #190931 100%);
    border-radius: 8px;
    transition: width 0.7s; }

.grade-conhecimentos {
    display: grid;
    grid-template-columns:
    repeat(3, 1fr);
    gap: 1.4rem;
    max-width: 900px;
    margin: -0.5rem; }

.card-conhecimento {
  position: relative;
  background: #1a1a1a;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(80,0,160,0.10);
  padding: 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  min-height: 90px;
  transition: transform 0.6s cubic-bezier(.77,0,.18,1), box-shadow 0.6s;
}

.card-conhecimento.ativo {
    border: 2px solid #a78bfa;
    transform: scale(1.16);
    cursor: pointer;
    z-index: 10001;
    box-shadow: 0 0 2px 2px #a78bfa, 0 8px 32px rgba(0,0,0,0.15);
    position: relative; }

.card-conhecimentos {
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  background: #2c2c2c;
  border-radius: 22px;
  padding: 1rem 1rem;
  margin: 0 auto;
  max-width: 1100px;
  width: 920px;
  height: 640px;
}

.card-atras-conhecimentos {
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  background: #1f1f1f;
  padding: 1rem 1rem;
  margin: 0 auto;
  max-width: 1200px;
  width: 890px;
  height: 610px;
}

.janela-conhecimento {
  display: none;
  opacity: 0;
  position: absolute;
  transform: translate(-50%);
  min-width: 450px;
  max-width: 500vw;
  background: #232323;
  color: #fff;
  border-radius: 1.2rem;
  padding: 1rem 1.5rem;
  z-index: 10000;
  box-shadow: 0 0 4px 1px #a78bfa, 0 3px 16px rgba(80,0,160,0.15);
  text-align: center;
  border: 2px solid #a78bfa;
  animation: fadeInUp 0.9;
  transform: scale(0.95);
  transition: opacity 0.6s cubic-bezier(.77,0,.18,1), transform 0.6s cubic-bezier(.77,0,.18,1);
}

.janela-conhecimento.ativo { 
    display: block;
    opacity: 1;
    z-index: 10002;
    position: absolute;
    transform: scale(1.05);}

.janela-conhecimento.saindo {
    opacity: 0;
    transform: scale(0.95); }

.fundo-desfocado-conhecimento {
  background: rgba(0, 0, 0, 0.0);
  backdrop-filter: blur(0px);
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0;
  transition: backdrop-filter 0.9s cubic-bezier(.77,0,.18,1), background 0.9s cubic-bezier(.77,0,.18,1), opacity 0.9s cubic-bezier(.77,0,.18,1);}

.fundo-desfocado-conhecimento.ativo {
    background: rgba(0, 0, 0, 0.479);
    backdrop-filter: blur(25px);
    opacity: 1;
    pointer-events: auto; }

@keyframes fadeInUp { from { 
    opacity: 0; transform: translate(-50%, 10%) scale(0.95);} to { opacity: 1; transform: translate(-50%, -50%) scale(1);} }
@keyframes fadeInSide { from {
    opacity: 0; left: 95%; } to { opacity: 1; left: 105%; } }

.janela-conhecimento-html{ top: -10px; left: 305px; }
.janela-conhecimento-css{ top: -5px; right: 305px; }
.janela-conhecimento-js{ top: -15px; right: 305px; }
.janela-conhecimento-pyhton{ top: -15px; left: 305px; }
.janela-conhecimento-csharp{ top: -1px; right: 305px; }
.janela-conhecimento-java{ top: -1px; right: 305px; }
.janela-conhecimento-sql{ top: -5px; left: 305px; }
.janela-conhecimento-mysql{ top: -2px; right: 305px; }
.janela-conhecimento-postgresql{ top: -1px; right: 305px; }
.janela-conhecimento-mongodb{ top: 6px; left: 305px; }
.janela-conhecimento-nosql{ top: -1px; right: 305px; }
.janela-conhecimento-oracle{ top: -1px; right: 305px; }