/* Reset básico */
html {
    scroll-behavior: smooth;
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* Corpo da página */
body {
    background: linear-gradient(90deg, #2a3a4e, #9c27b0);
    color: #fff;
    font-size: 1rem;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: all 0.3s ease;
}

/* Link */
a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

a:hover {
    color: #9c27b0;
    transform: scale(1.1);
}

/* Cabeçalho */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar .logo a {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.navbar .links {
    display: flex;
    gap: 3rem;
}

.navbar .toggle_btn {
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.dropdown_menu {
    display: none;
    position: absolute;
    right: 2rem;
    top: 60px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
}

.dropdown_menu.open {
    display: block;
    animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Seções */
section {
    width: 100%;
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    color: #fff;
    margin-top: 100px;
}

section h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}
section#about {
    padding: 4rem 2rem;
    color: #fff;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
  }
  
  section#about .container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  section#about h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #b18eff;
  }
  
  section#about p {
    font-size: 1.2rem;
    line-height: 1.8;
  }

  section#buttons {
    padding: 4rem 2rem;
    color: #fff;
    text-align: center;
    background: rgba(255, 255, 255, 0.015);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

section#buttons h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #b18eff;
}

.buttons-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.action-btn {
    background-color: rgba(177, 142, 255, 0.6);
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.action-btn:hover {
    background-color: #9c27b0;
    transform: translateY(-5px);
}

.action-btn:focus {
    outline: none;
}


  .about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
  }
  .about-img img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 5px solid  ;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(141, 3, 233, 0.8),
    0 0 20px rgba(141, 3, 233, 0.8),
    0 0 20px rgba(141, 3, 233, 0.8),
    0 0 20px rgba(141, 3, 233, 0.8);
   }
  
    
  .about-text {
    flex: 2 1 400px;
    color: #e0d6ff;
    font-size: 1.1rem;
  }
  
  section#skills {
    padding: 4rem 2rem;
    color: #fff;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  section#skills .container {
    max-width: 1000px;
    margin: 0 auto;
  }
  
  section#skills h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #b18eff;
  }
  
  .skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
  }
  
  .skill-card {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    width: 280px;
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(177, 142, 255, 0.3);
  }
  
  .skill-card i {
    font-size: 2.5rem;
    color: #b18eff;
    margin-bottom: 1rem;
  }
  
  .skill-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }
  
  .skill-card p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  section#projects {
    padding: 4rem 2rem;
    color: #fff;
    text-align: center;
    background: rgba(255, 255, 255, 0.015);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  section#projects .container {
    max-width: 1000px;
    margin: 0 auto;
  }
  
  section#projects h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #b18eff;
  }
  
  .projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
  
  .project-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2rem;
    width: 280px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(177, 142, 255, 0.25);
  }
  
  .project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
  }
  
  .project-card p {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
  }
  
  .project-card a {
    color: #b18eff;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .project-card a:hover {
    color: orange;
  }
  

  section#certificates {
    padding: 4rem 2rem;
    color: #fff;
    text-align: center;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  section#certificates h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #b18eff;
  }
  
  .certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Cria 3 colunas */
    gap: 20px; /* Espaçamento entre os itens */
    margin-top: 20px;
  }
  
  .certificate-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2rem;
    width: 260px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(177, 142, 255, 0.25);
  }
  
  .certificate-card h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
  }
  
  .certificate-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: #ccc;
  }
  
  .certificate-card a {
    color: #b18eff;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .certificate-card a:hover {
    color: orange;
  }




  section#contact {
    padding: 4rem 2rem;
    color: #fff;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.015);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  section#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #b18eff;
  }
  
  section#contact p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ccc;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    resize: none;
  }
  
  .contact-form button {
    background-color: #b18eff;
    color: #fff;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: orange;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .social-icons a {
    color: #b18eff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
  }
  
  .social-icons a:hover {
    color: orange;
  }
  
  footer {
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
    background-color: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  section#contact {
    padding: 4rem 2rem;
    color: #fff;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.015);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  section#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #b18eff;
  }
  
  section#contact p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ccc;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    resize: none;
  }
  
  .contact-form button {
    background-color: #b18eff;
    color: #fff;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: orange;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .social-icons a {
    color: #b18eff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
  }
  
  .social-icons a:hover {
    color: orange;
  }

.perfil-info {
    margin-bottom: 2rem;
}

.destaque {
    font-size: 1.5rem;
    font-style: italic;
    color: #9c27b0;
}

/* Efeitos de hover em projetos */
.projeto-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    margin: 1rem;
    border-radius: 8px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.projeto-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.projeto-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.projeto-card a {
    color: #9c27b0;
    font-weight: bold;
    transition: color 0.3s ease;
}

.projeto-card a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

/* Efeitos de Neon e brilho nas redes sociais */
.social-icon {
    font-size: 1.5rem;
    margin: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
    color: #9c27b0;
    text-shadow: 0 0 15px rgba(156, 39, 176, 0.8);
}

/* Foto de perfil */
.foto-perfil img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid #9c27b0;
    box-shadow: 0 0 20px rgba(156, 39, 176, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.foto-perfil img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(156, 39, 176, 0.8);
}

  

/* Responsividade */
@media (max-width: 768px) {
    .navbar .links {
        display: none;
    }

    .navbar .toggle_btn {
        display: block;
    }

    .dropdown_menu li {
        list-style: none;
        margin: 1rem 0;
      }

}

@media (max-width: 576px) {
    section {
        padding: 5rem 1rem;
    }
}
#loading-screen {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* levemente escuro por cima */
    backdrop-filter: blur(10px); /* efeito de blur no conteúdo */
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
  }
  
  
  .loading-logo {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    animation: zoomIn 1s ease;
  }
  
  .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #7c1da8;
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  .loading-text {
    margin-top: 20px;
    color: #7c1da8;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    animation: pulse 1s infinite;
  }
  
  /* Animações */
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
  }
  
  @keyframes zoomIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
  }
  
  