* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #222;
    color: #fff;
    transition: background 0.3s, color 0.3s;
}

/* Cabeçalho fixo e responsivo */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    z-index: 1000;
    transition: background 0.3s, color 0.3s;
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

/* Navegação sempre visível e responsiva */
.nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nav a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 8px 12px;
    transition: color 0.3s;
}

.nav a:hover {
    color: #6c63ff;
}

.toggle-theme {
    cursor: pointer;
    font-size: 20px;
}

/* Responsividade: ajusta espaçamento sem sumir */
@media (max-width: 768px) {
    .header {
        padding: 10px 5%;
    }

    .nav {
        gap: 15px;
    }

    .nav a {
        font-size: 16px;
        padding: 6px 10px;
    }

    .logo {
        font-size: 20px;
    }
}

/* Container principal */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    text-align: left;
    min-height: calc(100vh - 160px);
}

.hero-text {
    max-width: 40%;
}

.hero-text h1 {
    font-size: 42px;
}

.hero-text p {
    margin: 10px 0 20px;
    font-size: 18px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #6c63ff;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: #5548c8;
}

.hero-image {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Rodapé */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #222;
    text-align: center;
    padding: 15px;
    transition: background 0.3s, color 0.3s;
}

/* Modo Claro */
.light-mode {
    background: #f8f8f8;
    color: #333;
}

.light-mode .header, .light-mode footer {
    background: #f8f8f8;
}

.light-mode .nav a {
    color: #333;
}

.light-mode .btn {
    background: #5548c8;
}

.light-mode .toggle-theme {
    color: #333;
}

.light-mode .hero-image {
    border: 5px solid #333;
}

.light-mode footer {
    color: #333;
}

/* Ajuste do SVG para modo claro */
.light-mode #typing-svg {
    filter: invert(1);
}
