/* RESET */

body{
  margin:0;
  font-family:'Poppins',sans-serif;
  color:#eee;
  background:linear-gradient(135deg,#000,#180000,#320000);
  min-height:100vh;

  overflow-x:hidden;
  overflow-y:auto;
}

/* FUNDO TECNOLÓGICO */

.tech-grid{
  position:fixed;
  width:100%;
  height:100%;
  background-image:
    linear-gradient(rgba(255,0,0,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,0,0,0.08) 1px, transparent 1px);
  background-size:40px 40px;
  z-index:-1;
  animation:gridMove 20s linear infinite;
}

@keyframes gridMove{
  0%{background-position:0 0;}
  100%{background-position:40px 40px;}
}

/* MENU */

.hud-menu{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  display:flex;
  justify-content:center;
  background:rgba(0,0,0,0.75);
  backdrop-filter:blur(10px);
  z-index:1000;
}

/* CONTAINER DO MENU */

.menu-container{
  width:100%;
  max-width:900px;
  display:flex;
  align-items:center;
  justify-content:flex-start; /* joga o conteúdo para a esquerda */
  padding:15px 20px;
  box-sizing:border-box;
}

/* ÍCONE MENU */

.menu-icon{
  display:flex;
  align-items:center;
  margin-right:auto;
}

.menu-icon i{
  font-size:24px;
  color:#ff4d4d;
  cursor:pointer;
}

/* LINKS MENU */

.menu-links{
  display:none;
}

/* MENU MOBILE */

@media(max-width:700px){

  .menu-links{
    display:none;
    flex-direction:column;
    position:absolute;
    top:60px;
    left:50%;
    transform:translateX(-50%);
    width:90%;
    max-width:900px;

    padding:20px;
    box-sizing:border-box;

    background:rgba(0,0,0,0.95);
    border-radius:10px;

    gap:18px;
    text-align:center;
  }

  .menu-links a{
    color:#ff4d4d;
    text-decoration:none;
    font-family:'Orbitron';
    font-size:18px;
  }

  .menu-links a:hover{
    text-shadow:0 0 10px red;
  }

  .menu-links.active{
    display:flex;
  }

}

/* ESCONDER MENU NO DESKTOP */

@media(min-width:701px){

  .hud-menu{
    display:none;
  }

}

/* HEADER */

header{
  text-align:center;
  padding:100px 20px;
}

.logo-nome{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
}

.spider-logo{
  width:50px;
  cursor:pointer;
}

/* TÍTULOS */

h1{
  font-family:'Orbitron';
  font-size:60px;
}

h2{
  font-family:'Orbitron';
  color:#ff4d4d;
  text-align:center;
}

/* SEÇÕES */

section{
  max-width:900px;
  margin:auto;
  padding:60px 20px;
}

/* BOTÃO */

.botao{
  display:inline-block;
  margin-top:20px;
  padding:12px 25px;
  background:#ff2a2a;
  color:white;
  text-decoration:none;
  border-radius:8px;
}

/* TECNOLOGIAS */

.tecnologias{
  display:flex;
  justify-content:center;
  gap:40px;
  flex-wrap:wrap;
}

.tech{
  text-align:center;
}

.tech i{
  font-size:40px;
  color:#ff2a2a;
  animation:flutuar 3s ease-in-out infinite;
}

@keyframes flutuar{
  0%{transform:translateY(0)}
  50%{transform:translateY(-8px)}
  100%{transform:translateY(0)}
}

/* PROJETOS */

.projetos{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  justify-content:center;
}

.card{
  background:#111;
  padding:20px;
  border-radius:10px;
  border:1px solid red;
  width:260px;
  text-align:center;
}

.card a{
  display:inline-block;
  margin-top:10px;
  padding:8px 15px;
  background:#ff2a2a;
  color:white;
  text-decoration:none;
  border-radius:6px;
}

.card a:hover{
  background:red;
}

/* CURSOS */

.lista-cursos{
  list-style:none;
  padding:0;
  margin-top:30px;
}

.lista-cursos li{
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#111;
  margin-bottom:10px;
  padding:10px 14px;
  border-radius:6px;
  font-size:0.9rem;
  color:white;
  border-left:6px solid;
}

/* CORES */

.lista-cursos li.python{
  border-left-color:#306998;
}

.lista-cursos li.java{
  border-left-color:#f89820;
}

.lista-cursos li.javascript{
  border-left-color:#f0db4f;
}

.lista-cursos li.c{
  border-left-color:#888;
}

.lista-cursos li.outros{
  border-left-color:#ff2a2a;
}

/* BOTÃO CERTIFICADO */

.certificado{
  font-size:0.75rem;
  padding:4px 8px;
  border-radius:4px;
  text-decoration:none;
  color:#aaa;
  border:1px solid #333;
  transition:0.2s;
}

.certificado:hover{
  color:white;
  border-color:#ff2a2a;
}

/* TEIA */

.teia{
  position:fixed;
  left:50%;
  top:0;
  width:2px;
  background:white;
  height:0;
}

/* FOOTER */

footer{
  text-align:center;
  padding:20px;
  background:#111;
}

/* MOBILE */

@media(max-width:700px){

  h1{
    font-size:40px;
  }

  .tecnologias{
    gap:20px;
  }

  .card{
    width:100%;
  }

  section{
    padding:40px 20px;
  }

  header{
    padding-top:120px;
  }

}