:root {
    --primary-color: #6C63FF;
    --text-color: #333;
    --bg-color: #fff;
    --code-bg: #fff;
    --line-number-color: #888;
    --blue-text: #6C63FF;
    --purple-text: #4900c7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 2rem 0;
}

.hero-content {
    padding-right: 2rem;
}

.hello {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 900;
}

h2 {
    color: #666;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.download-resume {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.download-resume:hover {
    transform: translateY(-3px);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

/* Code Card */
.code-card {
    background: var(--code-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}

.code-content {
    font-family: 'Fira Code', monospace;
    line-height: 1.8;
}

.line {
    display: flex;
    gap: 1rem;
    padding: 0.2rem 0;
}

.line-number {
    color: var(--line-number-color);
    opacity: 0.5;
    min-width: 1.5rem;
}

.blue {
    color: var(--blue-text);
}

.purple {
    color: var(--purple-text);
}

.code-dots {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.5;
}

.dot:nth-child(3) {
    opacity: 1;
}

/* Diagonal Background */
.diagonal-bg {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--primary-color);
    transform: skewX(-15deg) translateX(40%);
    z-index: 0;
    opacity: 0.1;
}

/* Things I Love Section */
.things-love {
    padding: 4rem 0;
}

.things-love h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
    }

    .social-links {
        justify-content: center;
    }

    h1 {
        font-size: 3rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-color);
    z-index: 1000;
    padding: 1rem 2rem;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 30px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.0rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.theme-toggle {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.05);
}

/* Media Queries */
@media (max-width: 1024px) {
    .nav-menu ul {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 0.5rem 1rem;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 60px; /* Altura do header */
        left: 0;
        width: 100%;
        height: auto;
        background: var(--bg-color);
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 0.8rem;
        font-size: 1.1rem;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        background: var(--primary-color);
        color: white;
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        background: none;
        border: none;
        color: var(--text-color);
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1001;
    }

    /* Ajuste do container principal para evitar sobreposição */
    .container {
        padding-top: 70px;
    }

    /* Estilo para o botão de tema no menu mobile */
    .theme-toggle {
        width: 100%;
        margin-top: 0.5rem;
        padding: 0.8rem;
    }

    .hero {
        padding-top: 4rem;
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    h1 {
        font-size: 2rem;
        margin-top: 2rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .hello {
        font-size: 1rem;
    }

    .code-card {
        max-width: 100%;
        margin: 0 auto;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .profile-image {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    .floating-techs {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .tech-item {
        padding: 1rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        margin: 0 1rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px;
        padding: 1rem;
    }

    .timeline-dot {
        left: 15px;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 30px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .contact-social {
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .timeline-date {
        font-size: 0.9rem;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .timeline-content h4 {
        font-size: 0.9rem;
    }

    .timeline-content ul {
        font-size: 0.9rem;
    }

    .timeline-content li {
        margin-bottom: 0.5rem;
    }

    .about-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .project-info h3 {
        font-size: 1.1rem;
    }

    .project-info p {
        font-size: 0.9rem;
    }

    .hobby-card h3 {
        font-size: 1.1rem;
    }

    .hobby-card p {
        font-size: 0.9rem;
    }
}

/* Menu mobile */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .header-container {
        position: relative;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .hero {
        padding-top: 2rem;
    }

    .floating-techs {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-social-link {
        width: 100%;
        justify-content: center;
    }
}

/* About Me Section */
.about-me {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8B7FFF 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.about-me h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: white;
}

.about-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.3);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.main-text {
    margin-bottom: 2rem;
}

.highlight {
    color: #FFD700;
    font-weight: 500;
}

.quotes-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 0 2rem;
}

.quote-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.quote-card:hover {
    transform: translateY(-5px);
}

.quote-card p {
    font-size: 1.1rem;
    font-style: italic;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-image {
        margin: 0 auto;
    }

    .quotes-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-me {
        padding: 4rem 0;
    }

    .about-me h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }
}

/* Tech Stack Section */
.tech-stack {
    padding: 4rem 0;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.floating-techs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.tech-item {
    background: rgba(108, 99, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-item:hover {
    transform: translateY(-10px);
    background: rgba(108, 99, 255, 0.15);
}

.tech-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.tech-item span {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.tech-item.center-text {
    display: none;
}

/* Animação flutuante */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.tech-item {
    animation: float 3s ease-in-out infinite;
}

.tech-item:nth-child(even) {
    animation-delay: 1.5s;
}

/* Responsive */
@media (max-width: 1200px) {
    .floating-techs {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 968px) {
    .floating-techs {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .floating-techs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .floating-techs {
        grid-template-columns: 1fr;
    }
} 

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: var(--bg-color);
}

.projects h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 4rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(108, 99, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: white;
    color: var(--primary-color);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.project-info p {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .projects {
        padding: 4rem 0;
    }

    .projects h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .project-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Experience Section */
.experience {
    padding: 6rem 0;
    background: var(--bg-color);
}

.experience h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 4rem;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.3;
}

.timeline-item {
    opacity: 1 !important;
    transform: none !important;
    margin-bottom: 2rem;
    position: relative;
    display: block !important;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary-color);
}

.timeline-content {
    width: calc(50% - 30px);
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.timeline-content ul {
    padding-left: 1.2rem;
}

.timeline-content li {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8B7FFF 100%);
    color: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-info a {
    color: white;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.contact-info a:hover {
    opacity: 0.8;
}

.contact-social {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-social-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

.contact-social-link i {
    font-size: 1.2rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-group {
    position: relative;
    margin-bottom: 2.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
    min-height: 120px;
    max-height: 300px;
    line-height: 1.5;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0 0.5rem;
    pointer-events: none;
    background: transparent;
}

/* Animação dos labels quando o input está em foco ou preenchido */
.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.8rem;
    left: 0.8rem;
    font-size: 0.85rem;
    color: white;
    background: var(--primary-color);
    border-radius: 4px;
    padding: 0 0.5rem;
}

/* Estilo para quando o input está inválido */
.form-group input:invalid,
.form-group textarea:invalid {
    border-color: rgba(255, 100, 100, 0.5);
}

/* Estilo para quando o input está válido */
.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: rgba(100, 255, 100, 0.5);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-social {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .contact-form {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 4rem 0;
    }

    .contact h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .contact-info h3 {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group {
        margin-bottom: 2rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input:focus ~ label,
    .form-group textarea:focus ~ label,
    .form-group input:not(:placeholder-shown) ~ label,
    .form-group textarea:not(:placeholder-shown) ~ label {
        font-size: 0.8rem;
    }
}

/* Hobbies Section */
.hobbies {
    padding: 6rem 0;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.hobbies h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 4rem;
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hobby-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.hobby-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hobby-card:hover {
    transform: translateY(-10px);
}

.hobby-card:hover::before {
    opacity: 0.1;
}

.hobby-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.hobby-card:hover .hobby-icon {
    transform: scale(1.1) rotate(10deg);
}

.hobby-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.hobby-card p {
    color: var(--secondary-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Animação de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hobby-card {
    animation: fadeInUp 0.6s ease backwards;
}

.hobby-card:nth-child(2) { animation-delay: 0.2s; }
.hobby-card:nth-child(3) { animation-delay: 0.4s; }
.hobby-card:nth-child(4) { animation-delay: 0.6s; }
.hobby-card:nth-child(5) { animation-delay: 0.8s; }
.hobby-card:nth-child(6) { animation-delay: 1s; }

/* Responsive Design */
@media (max-width: 768px) {
    .hobbies {
        padding: 4rem 0;
    }

    .hobbies h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .hobby-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Experience Section */
@media (max-width: 768px) {
    .experience {
        padding: 3rem 0;
    }

    .experience h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .timeline {
        padding: 1rem;
        margin: 0 1rem;
    }

    .timeline::before {
        left: 30px; /* Ajusta a linha do tempo para a esquerda */
    }

    .timeline-item {
        margin-bottom: 2.5rem;
        width: 100%;
    }

    .timeline-dot {
        left: 30px; /* Alinha os pontos com a linha */
        transform: translateX(-50%);
    }

    .timeline-content {
        width: calc(100% - 60px); /* Ajusta a largura do conteúdo */
        margin-left: 60px; /* Move o conteúdo para a direita dos pontos */
        padding: 1.2rem;
    }

    /* Remove o posicionamento alternado em mobile */
    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 60px;
    }

    /* Ajustes de texto */
    .timeline-date {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: var(--primary-color);
    }

    .timeline-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    .timeline-content h4 {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
        opacity: 0.8;
    }

    .timeline-content ul {
        padding-left: 1rem;
    }

    .timeline-content li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    .timeline {
        margin: 0;
        padding: 0.5rem;
    }

    .timeline-content {
        padding: 1rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
        width: 12px;
        height: 12px;
    }

    .timeline-content {
        width: calc(100% - 40px);
        margin-left: 40px;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 40px;
    }
} 