* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: #000;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../media/bg.png') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    z-index: 1000;
    border-bottom: 5px solid rgba(20, 0, 132, 0.2);
}

.header-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.4rem;
}

.menu-buttons ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.menu-buttons a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

.menu-buttons a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.lang-selector button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 100px 20px 80px 20px;
}

.tab-content {
    display: none;
    width: 100%;
    justify-content: center;
    animation: fadeIn 0.4s ease forwards;
}

.tab-content.active {
    display: flex;
}

.profile-card {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(15px);
    padding: 50px;
    border-radius: 30px;
    border: 5px solid rgba(20, 0, 132, 0.2);
    text-align: center;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    height: auto;
    max-height: 85vh;
    overflow-y: auto;
}

.profile-card::-webkit-scrollbar {
    width: 5px;
}

.profile-card::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.avatar-content {
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.profile-name {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.profile-quote {
    font-size: 0.8rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 30px;
}

.tech {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.tech-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.tech-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badges-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.badge {
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-read-more {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    margin: 20px 0;
    transition: 0.2s;
    font-weight: 600;
}

.btn-read-more:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.profile-aboutme {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    text-align: left;
}

.profile-aboutme.active {
    max-height: 2000px;
    padding-top: 10px;
    margin-bottom: 20px;
}

.profile-aboutme p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
}

.social-icons a {
    color: white;
    font-size: 1.8rem;
    transition: 0.3s;
    opacity: 0.7;
}

.social-icons a:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.glass-box {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 5px solid rgba(20, 0, 132, 0.2);
    width: 100%;
    max-width: 1000px;
    text-align: center;
}

.glass-box h2 {
    margin-bottom: 30px;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 10px;
}

.project-item {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-item h3 {
    margin-bottom: 15px;
}

.project-item p {
    max-width: 700px;
    margin: 0 auto 20px auto;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.project-img {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.project-img:hover {
    transform: scale(1.02);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
    justify-items: center;
}

.video-item {
    width: 100%;
    max-width: 560px;
}

.video-item h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.video-item iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-section {
    text-align: center;
    max-width: 600px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.3s;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 400px;
    justify-content: center;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.contact-item i {
    font-size: 1.5rem;
}

.main-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-top: 5px solid rgba(20, 0, 132, 0.2);
    ;
}

.footer-content {
    width: 100%;
    text-align: center;
}

.footer-content p {
    font-size: 0.75rem;
    color: #666;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* responsividade pro celular */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 8px;
        padding: 10px 0;
    }

    .main-header {
        height: auto;
    }

    .profile-card {
        width: 95%;
        padding: 30px 20px;
        max-height: 75vh;
    }

    .profile-name {
        font-size: 1.8rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .contact-item {
        font-size: 0.9rem;
    }
}