/* Base Styles */
:root {
    --color-dark: #0B1120;
    --color-darker: #0F172A;
    --color-dark-lighter: rgba(31, 41, 55, 0.5);
    --color-light: #F3F4F6;
    --color-blue: #00a300;
    --color-purple: #65fc00;
    --color-pink: #51ff00;
    --font-orbitron: 'Orbitron', sans-serif;
    --font-space: 'Space Grotesk', sans-serif;
}

* {
  
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: var(--font-space);
    line-height: 1.5;
    color: var(--color-light);
    background: var(--color-dark);
}
.tech-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 400px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border-right: 1px solid rgba(121, 255, 81, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    animation: slideIn 0.5s ease-out forwards;
}

@keyframes slideIn {
    from {
        transform: translate(-100%, -50%);
    }

    to {
        transform: translate(0, -50%);
    }
}

.sidebar-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
}

.tech-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.glow-icon {
    color: rgba(121, 255, 81, 0.8);
    filter: drop-shadow(0 0 5px rgba(121, 255, 81, 0.5));
    transition: all 0.3s ease;
}

.tech-icon:hover .glow-icon {
    color: rgb(121, 255, 81);
    filter: drop-shadow(0 0 10px rgba(121, 255, 81, 0.8));
    transform: scale(1.2) rotate(5deg);
}

.icon-tooltip {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: rgb(121, 255, 81);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.tech-icon:hover .icon-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(5px);
}

.tech-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(121, 255, 81, 0.1);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.tech-icon:hover::before {
    transform: scale(1.5);
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1.2);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

.tech-line {
    position: absolute;
    right: 0;
    top: 25%;
    height: 49%;
    width: 2px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(121, 255, 81, 0.8),
            transparent);
    transform: translateY(-50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        height: 70%;
    }

    50% {
        opacity: 1;
        height: 80%;
    }

    100% {
        opacity: 0.5;
        height: 70%;
    }
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box; /* Garante que padding não aumente a largura */
}

/* Utility Classes */
.min-h-screen {
    min-height: 100vh;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-10 {
    z-index: 10;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-center {
    text-align: center;
}

.backdrop-blur {
    backdrop-filter: blur(8px);
}

.bg-matrix {
    background-color: black;
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
    overflow: hidden;
}

.bg-matrix::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(16, 185, 129, 0) 0%,
        rgba(16, 185, 129, 0.05) 50%,
        rgba(16, 185, 129, 0) 100%
    );
    animation: scan 8s linear infinite;
}

@keyframes scan {
    0% { top: -100%; }
    100% { top: 100%; }
}
#techBackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15; /* Ajuste a opacidade conforme necessário */
    pointer-events: none; /* Permite interação com elementos abaixo */
}

/* Garante que o conteúdo fique acima do canvas */
.relative.z-10 {
    position: relative;
    z-index: 10;
}

/* Garante que imagens e outros elementos não causem overflow */
img, video, iframe, canvas, svg {
    max-width: 100%;
    height: auto;
}

/* Controle de texto longo */
p, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Ajuste para tabelas ou elementos que podem causar overflow */
table {
    width: 100%;
    table-layout: fixed;
}
/* Profile Image */
.profile-image-container {
    position: relative;
    width: 190px;
    height: 190px;
    margin: 0 auto 2rem;
}

.glow-effect {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--color-blue), var(--color-purple));
    opacity: 0.75;
    filter: blur(8px);
    animation: glow 3s ease-in-out infinite;
}

.profile-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(59, 130, 246, 0.5);
}

/* Titles */
.title-gradient {
    font-family: var(--font-orbitron);
    font-size: 3.75rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--color-blue), var(--color-purple), var(--color-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.1em;
}

.subtitle {
    font-size: 1.25rem;
    color: #9CA3AF;
    max-width: 42rem;
    margin: 0 auto 2rem;
    letter-spacing: 0.05em;
}
.title-perfil{
    
    font-family: var(--font-orbitron);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(to right, var(--color-blue), var(--color-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.1em;
}
.section-title {
    margin-top: 2rem;
    font-family: var(--font-orbitron);
    font-size: 2.25rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(to right, var(--color-blue), var(--color-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.1em;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Efeito de clique para os botões de navegação */
.btn-clicked {
    transform: scale(0.95);
    box-shadow: 0 0 15px var(--color-blue);
}

/* Melhora a transição dos botões */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-family: var(--font-orbitron);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Adiciona um indicador visual para mostrar qual seção está ativa */
.btn.active {
    background: #3cff00e0;
    color: var(--color-dark);
}

.btn-primary {
    position: relative;
    background: var(--color-blue);
    color: white;
    overflow: hidden;
}

.btn-primary:hover {
    background: #3cff00c1;
    color: #0B1120;
    
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: -100%;
    }
}

.btn-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shine 3s linear infinite;
    pointer-events: none;
}.btn-secondary {
    background: rgba(31, 41, 55, 0.5);
    color: white;
    border: 1px solid rgba(75, 85, 99, 0.5);
}

.btn-secondary:hover {
    background: rgba(55, 65, 81, 0.5);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 163, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #3cff00c1;
    color: var(--color-dark);
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke-width: 2px;
}
.back-to-top,
#techBackground,
.absolute {
    max-width: 100vw; /* Limita a largura à viewport */
}
/* Sections */
.section {
    padding: 5rem 0;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-card {
    padding: 1.5rem;
    background: rgba(17, 24, 39, 0.5);
    border-radius: 0.75rem;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-0.5rem);
    background: rgba(17, 24, 39, 0.7);
}

.skill-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.skill-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.skill-card h3 {
    font-family: var(--font-orbitron);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.skill-card p {
    color: #9CA3AF;
    letter-spacing: 0.05em;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
}

.project-card {
    width: 100%;
    opacity: 1;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    min-height: 450px;
}

.project-image {
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.project-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card.animate {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse-shadow {
    0% {
        box-shadow: 0 20px 30px rgba(121, 255, 81, 0.2);
    }

    50% {
        box-shadow: 0 20px 40px rgba(121, 255, 81, 0.4);
    }

    100% {
        box-shadow: 0 20px 30px rgba(121, 255, 81, 0.2);
    }
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    animation: pulse-shadow 2s infinite;
    transition: all 0.3s ease;
}

.project-overlay {
    background: none;
    transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 0;
}

.project-image {
    overflow: hidden;
}

.project-image img {
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1) rotate(2deg);
}

.project-content {
    transition: transform 0.3s ease;
}

.project-card:hover .project-content {
    transform: translateY(-5px);
}
.project-tags{
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin-bottom: 1rem;
    
}
.project-tags span {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, var(--color-blue), var(--color-purple));
    color: rgb(255, 255, 255);
    letter-spacing: 0.1em;
    font-family: var(--font-orbitron);
    font-size: 0.775rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}


.project-link {
    gap: 1rem;
    display: inline-block;
    margin-top: 1rem;
    font-family: var(--font-orbitron);
    font-size: 0.775rem;
    text-decoration: none;
    color: #00a300;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-link:hover {
    transform: translateX(5px);
    color: var(--color-blue);
}

.project-link:before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--color-blue), var(--color-purple));
    transition: width 0.3s ease;
}

.project-link:hover:before {
    width: 100%;
}
.project-link svg {
    gap: 0.5rem;
    width: 1.05rem;
    height: 1.05rem;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    animation: fadeInUp 0.8s ease-out forwards;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, var(--color-blue), var(--color-purple));
    transition: width 0.3s ease;
}

.section-title:hover:after {
    width: 100px;
}

/* Experience Section */
.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

.experience-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background: rgba(17, 24, 39, 0.5);
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-4px);
}

.experience-date {
    flex-shrink: 0;
    width: 150px;
    font-family: var(--font-orbitron);
    font-size: 0.875rem;
    color: var(--color-blue);
    letter-spacing: 0.05em;
}

.experience-content {
    flex-grow: 1;
}

.experience-content h3 {
    font-family: var(--font-orbitron);
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.experience-content h4 {
    font-family: var(--font-orbitron);
    font-size: 1rem;
    color: #9CA3AF;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.experience-content p {
    color: #9CA3AF;
    line-height: 1.6;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .experience-item {
        flex-direction: column;
        gap: 1rem;
    }

    .experience-date {
        width: 100%;
    }
}

/* Contact Section */
.contact-container {
    max-width: 32rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(17, 24, 39, 0.5);
    border-radius: 0.5rem;
    text-decoration: none;
    color: #D1D5DB;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(55, 65, 81, 0.5);
    color: rgb(77, 192, 0);
}

.contact-icon {
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    color: rgb(77, 192, 0);
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.contact-item span {
    font-family: var(--font-orbitron);
    letter-spacing: 0.05em;
}

/* Footer */
.footer {
    
    font-family: var(--font-orbitron);
    padding: 2rem 0;
    text-align: center;
    color: #6B7280;
    letter-spacing: 0.05em;
}
.pulse-name {
    animation: pulse 6s infinite ease-in-out;
    text-shadow: 0 0 10px rgba(0, 255, 42, 0.5);
}

@keyframes pulse {
    0% {
        color: #6B7280;
        transform: scale(1);
    }
    50% {
        color: #00ff2a;
        transform: scale(1.05);
        text-shadow: 0 0 20px rgba(0, 255, 42, 0.8);
    }
    100% {
        color: #6B7280;
        transform: scale(1);
    }
}

/* Animations */
@keyframes glow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) skewX(45deg);
    }
    100% {
        transform: translateX(200%) skewX(45deg);
    }
}

/* Gradients */
.bg-gradient-blue {
    background: linear-gradient(to bottom right, #3B82F6, #06B6D4);
}

.bg-gradient-purple {
    background: linear-gradient(to bottom right, #8B5CF6, #EC4899);
}

.bg-gradient-green {
    background: linear-gradient(to bottom right, #10B981, #059669);
}

.bg-gradient-orange {
    background: linear-gradient(to bottom right, #F59E0B, #EF4444);
}

.bg-gradient-red {
    background: linear-gradient(to bottom right, #EF4444, #EC4899);
}

.bg-gradient-indigo {
    background: linear-gradient(to bottom right, #6366F1, #8B5CF6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .title-gradient {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-card {
        min-width: unset;
    }
}

@media screen and (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1.5rem;
        margin-top: 60px;
    }

    .project-card {
        min-height: unset;
        padding: 1rem;
    }

    .project-image img {
        height: 200px;
    }

    .project-content h3 {
        font-size: 1.25rem;
    }

    .project-content p {
        font-size: 0.9rem;
    }

    .project-tags {
        gap: 0.5rem;
    }

    .project-tags span {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}

@media (max-width: 640px) {
    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .title-gradient {
      font-size: 1.3rem;
      white-space: pre-line;
    }
    
    .subtitle {
    font-size: 1rem;
    white-space: pre-line;
    }
    .title-perfil{
        font-size: 1.2rem;
    
    }
    .section-title {
        font-size: 1.5rem;
      
    }
    #email-contact {
    
        font-size: 0.8rem;
        word-break: break-all; /* Permite quebra em qualquer caractere */
    }
    .section {
        padding: 3rem 0.5rem; /* Reduz padding lateral */
    }
    
    .experience-item, 
    .contact-item, 
    .skill-card, 
    .project-card {
        padding: 0.75rem;
        margin: 0;
    }
}

@media (max-width: 480px) {
    #email-contact {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 768px) {
    .tech-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        transform: none;
        width: 100%;
        height: 60px;
        border-radius: 0;
        border-right: none;
        border-bottom: 1px solid rgba(121, 255, 81, 0.2);
        animation: slideDown 0.5s ease-out forwards;
    }

    @keyframes slideDown {
        from {
            transform: translateY(-100%);
        }
        to {
            transform: translateY(0);
        }
    }

    .sidebar-content {
        flex-direction: row;
        justify-content: space-around;
        padding: 0.5rem 1rem;
        gap: 1rem;
    }

    .icon-tooltip {
        left: 50%;
        top: 100%;
        transform: translateX(-50%);
        margin-left: 0;
        margin-top: 10px;
    }

    .tech-icon:hover .icon-tooltip {
        transform: translateX(-50%) translateY(5px);
    }

    .tech-line {
        display: none;
    }
}
.tech-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(121, 255, 81, 0.1);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.tech-icon:hover::before {
    transform: scale(1.5);
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1.2);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

.tech-line {
    position: absolute;
    right: 0;
    top: 25%;
    height: 49%;
    width: 2px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(121, 255, 81, 0.8),
            transparent);
    transform: translateY(-50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        height: 70%;
    }

    50% {
        opacity: 1;
        height: 80%;
    }

    100% {
        opacity: 0.5;
        height: 70%;
    }
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box; /* Garante que padding não aumente a largura */
}

/* Utility Classes */
.min-h-screen {
    min-height: 100vh;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-10 {
    z-index: 10;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-center {
    text-align: center;
}

.backdrop-blur {
    backdrop-filter: blur(8px);
}

.bg-matrix {
    background-color: black;
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
    overflow: hidden;
}

.bg-matrix::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(16, 185, 129, 0) 0%,
        rgba(16, 185, 129, 0.05) 50%,
        rgba(16, 185, 129, 0) 100%
    );
    animation: scan 8s linear infinite;
}

@keyframes scan {
    0% { top: -100%; }
    100% { top: 100%; }
}
#techBackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15; /* Ajuste a opacidade conforme necessário */
    pointer-events: none; /* Permite interação com elementos abaixo */
}

/* Garante que o conteúdo fique acima do canvas */
.relative.z-10 {
    position: relative;
    z-index: 10;
}

/* Garante que imagens e outros elementos não causem overflow */
img, video, iframe, canvas, svg {
    max-width: 100%;
    height: auto;
}

/* Controle de texto longo */
p, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Ajuste para tabelas ou elementos que podem causar overflow */
table {
    width: 100%;
    table-layout: fixed;
}
/* Profile Image */
.profile-image-container {
    position: relative;
    width: 190px;
    height: 190px;
    margin: 0 auto 2rem;
}

.glow-effect {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--color-blue), var(--color-purple));
    opacity: 0.75;
    filter: blur(8px);
    animation: glow 3s ease-in-out infinite;
}

.profile-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(59, 130, 246, 0.5);
}

/* Titles */
.title-gradient {
    font-family: var(--font-orbitron);
    font-size: 3.75rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--color-blue), var(--color-purple), var(--color-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.1em;
}

.subtitle {
    font-size: 1.25rem;
    color: #9CA3AF;
    max-width: 42rem;
    margin: 0 auto 2rem;
    letter-spacing: 0.05em;
}
.title-perfil{
    
    font-family: var(--font-orbitron);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(to right, var(--color-blue), var(--color-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.1em;
}
.section-title {
    font-family: var(--font-orbitron);
    font-size: 2.25rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(to right, var(--color-blue), var(--color-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.1em;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Efeito de clique para os botões de navegação */
.btn-clicked {
    transform: scale(0.95);
    box-shadow: 0 0 15px var(--color-blue);
}

/* Melhora a transição dos botões */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-family: var(--font-orbitron);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Adiciona um indicador visual para mostrar qual seção está ativa */
.btn.active {
    background: #3cff00e0;
    color: var(--color-dark);
}

.btn-primary {
    position: relative;
    background: var(--color-blue);
    color: white;
    overflow: hidden;
}

.btn-primary:hover {
    background: #3cff00c1;
    color: #0B1120;
    
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: -100%;
    }
}

.btn-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shine 3s linear infinite;
    pointer-events: none;
}.btn-secondary {
    background: rgba(31, 41, 55, 0.5);
    color: white;
    border: 1px solid rgba(75, 85, 99, 0.5);
}

.btn-secondary:hover {
    background: rgba(55, 65, 81, 0.5);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 163, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #3cff00c1;
    color: var(--color-dark);
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke-width: 2px;
}
.back-to-top,
#techBackground,
.absolute {
    max-width: 100vw; /* Limita a largura à viewport */
}
/* Sections */
.section {
    padding: 5rem 0;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-card {
    padding: 1.5rem;
    background: rgba(17, 24, 39, 0.5);
    border-radius: 0.75rem;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-0.5rem);
    background: rgba(17, 24, 39, 0.7);
}

.skill-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.skill-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.skill-card h3 {
    font-family: var(--font-orbitron);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.skill-card p {
    color: #9CA3AF;
    letter-spacing: 0.05em;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
}

.project-card {
    width: 100%;
    opacity: 1;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    min-height: 450px;
}

.project-image {
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.project-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card.animate {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse-shadow {
    0% {
        box-shadow: 0 20px 30px rgba(121, 255, 81, 0.2);
    }

    50% {
        box-shadow: 0 20px 40px rgba(121, 255, 81, 0.4);
    }

    100% {
        box-shadow: 0 20px 30px rgba(121, 255, 81, 0.2);
    }
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    animation: pulse-shadow 2s infinite;
    transition: all 0.3s ease;
}

.project-overlay {
    background: none;
    transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 0;
}

.project-image {
    overflow: hidden;
}

.project-image img {
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1) rotate(2deg);
}

.project-content {
    transition: transform 0.3s ease;
}

.project-card:hover .project-content {
    transform: translateY(-5px);
}
.project-tags{
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin-bottom: 1rem;
    
}
.project-tags span {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, var(--color-blue), var(--color-purple));
    color: rgb(255, 255, 255);
    letter-spacing: 0.1em;
    font-family: var(--font-orbitron);
    font-size: 0.775rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}


.project-link {
    gap: 1rem;
    display: inline-block;
    margin-top: 1rem;
    font-family: var(--font-orbitron);
    font-size: 0.775rem;
    text-decoration: none;
    color: #00a300;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-link:hover {
    transform: translateX(5px);
    color: var(--color-blue);
}

.project-link:before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--color-blue), var(--color-purple));
    transition: width 0.3s ease;
}

.project-link:hover:before {
    width: 100%;
}
.project-link svg {
    gap: 0.5rem;
    width: 1.05rem;
    height: 1.05rem;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    animation: fadeInUp 0.8s ease-out forwards;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, var(--color-blue), var(--color-purple));
    transition: width 0.3s ease;
}

.section-title:hover:after {
    width: 100px;
}

/* Experience Section */
.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

.experience-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background: rgba(17, 24, 39, 0.5);
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-4px);
}

.experience-date {
    flex-shrink: 0;
    width: 150px;
    font-family: var(--font-orbitron);
    font-size: 0.875rem;
    color: var(--color-blue);
    letter-spacing: 0.05em;
}

.experience-content {
    flex-grow: 1;
}

.experience-content h3 {
    font-family: var(--font-orbitron);
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.experience-content h4 {
    font-family: var(--font-orbitron);
    font-size: 1rem;
    color: #9CA3AF;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.experience-content p {
    color: #9CA3AF;
    line-height: 1.6;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .experience-item {
        flex-direction: column;
        gap: 1rem;
    }

    .experience-date {
        width: 100%;
    }
}

/* Contact Section */
.contact-container {
    max-width: 32rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(17, 24, 39, 0.5);
    border-radius: 0.5rem;
    text-decoration: none;
    color: #D1D5DB;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(55, 65, 81, 0.5);
    color: rgb(77, 192, 0);
}

.contact-icon {
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    color: rgb(77, 192, 0);
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.contact-item span {
    font-family: var(--font-orbitron);
    letter-spacing: 0.05em;
}

/* Footer */
.footer {
    
    font-family: var(--font-orbitron);
    padding: 2rem 0;
    text-align: center;
    color: #6B7280;
    letter-spacing: 0.05em;
}
.pulse-name {
    animation: pulse 6s infinite ease-in-out;
    text-shadow: 0 0 10px rgba(0, 255, 42, 0.5);
}

@keyframes pulse {
    0% {
        color: #6B7280;
        transform: scale(1);
    }
    50% {
        color: #00ff2a;
        transform: scale(1.05);
        text-shadow: 0 0 20px rgba(0, 255, 42, 0.8);
    }
    100% {
        color: #6B7280;
        transform: scale(1);
    }
}

/* Animations */
@keyframes glow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) skewX(45deg);
    }
    100% {
        transform: translateX(200%) skewX(45deg);
    }
}

/* Gradients */
.bg-gradient-blue {
    background: linear-gradient(to bottom right, #3B82F6, #06B6D4);
}

.bg-gradient-purple {
    background: linear-gradient(to bottom right, #8B5CF6, #EC4899);
}

.bg-gradient-green {
    background: linear-gradient(to bottom right, #10B981, #059669);
}

.bg-gradient-orange {
    background: linear-gradient(to bottom right, #F59E0B, #EF4444);
}

.bg-gradient-red {
    background: linear-gradient(to bottom right, #EF4444, #EC4899);
}

.bg-gradient-indigo {
    background: linear-gradient(to bottom right, #6366F1, #8B5CF6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .title-gradient {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-card {
        min-width: unset;
    }
}

@media screen and (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1.5rem;
        margin-top: 60px;
    }

    .project-card {
        min-height: unset;
        padding: 1rem;
    }

    .project-image img {
        height: 200px;
    }

    .project-content h3 {
        font-size: 1.25rem;
    }

    .project-content p {
        font-size: 0.9rem;
    }

    .project-tags {
        gap: 0.5rem;
    }

    .project-tags span {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}

@media (max-width: 640px) {
  
    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .title-gradient {
      font-size: 1.3rem;
      white-space: pre-line;
    }
    
    .subtitle {
    font-size: 1rem;
    white-space: pre-line;
    }
    .title-perfil{
        font-size: 1.2rem;
    
    }
    .section-title {
        margin-top: 4.5rem;
        font-size: 1.5rem;
      
    }
    #email-contact {
    
        font-size: 0.8rem;
        word-break: break-all; /* Permite quebra em qualquer caractere */
    }
    .section {
        padding: 3rem 0.5rem; /* Reduz padding lateral */
    }
    
    .experience-item, 
    .contact-item, 
    .skill-card, 
    .project-card {
        padding: 0.75rem;
        margin: 0;
    }
}

@media (max-width: 480px) {
    #email-contact {
        font-size: 0.8rem;
    }
}
