:root {
    --bg-color: #242222;
    --text-color: #ffffff;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
}

header {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 2em;
}

    header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    header .logo {
        font-weight: 700;
        font-size: 1.2em;
    }

.menu {
    cursor: pointer;
    font-size: 1.5em;
    z-index: 1100;
}

.intro {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4em 2em;
    flex-wrap: wrap;
    position: relative;
}

    .intro img {
        max-width: 320px;
        border-radius: 8px;
        margin: 1em;
    }

    .intro .text {
        max-width: 480px;
        padding: 1em;
        z-index: 1;
    }

        .intro .text h1 {
            font-size: 2.5em;
            margin-bottom: 0.5em;
            font-weight: 600;
        }

.section {
    padding: 4em 2em;
    background: var(--bg-color);
    position: relative;
}

    .section h2 {
        font-size: 2em;
        margin-bottom: 1em;
        text-align: center;
        z-index: 1;
        position: relative;
        font-weight: 600;
    }

.projects, .testimonies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
    position: relative;
    z-index: 1;
}

.project, .testimony {
    background: #333;
    color: var(--text-color);
    padding: 1.5em;
    border-radius: 8px;
    max-width: 300px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

    .project:hover, .testimony:hover {
        transform: scale(1.05);
    }


.sobreposto {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    z-index: 0;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    text-transform: uppercase;
}

    .sobreposto.sobre {
        top: 11%;
        font-size: 11em;
    }

    .sobreposto.projetos {
        top: 15%;
        font-size: 8em;
    }

    .sobreposto.referencias {
        top: 16%;
        font-size: 8em;
    }

footer {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 1.5em;
    text-align: center;
    font-size: 0.9em;
    margin-top: auto;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: flex-end;
    z-index: 1000;
}

    .overlay.active {
        display: flex;
    }

.overlay-content {
    background: #333;
    width: 300px;
    height: 100%;
    padding: 2em;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

    .overlay-content input[type="text"] {
        padding: 0.5em;
        font-size: 1em;
    }

    .overlay-content button.close-btn {
        align-self: flex-end;
        background: none;
        border: none;
        font-size: 1.5em;
        color: var(--text-color);
        cursor: pointer;
    }

    .overlay-content nav {
        display: flex;
        flex-direction: column;
    }

        .overlay-content nav a {
            text-decoration: none;
            font-size: 1.2em;
            color: var(--text-color);
            padding: 0.8em 0;
            border-top: 1px solid #444;
        }

            .overlay-content nav a:last-child {
                border-bottom: 1px solid #444;
            }

            .overlay-content nav a:hover {
                background-color: #444;
                color: #b86cff;
            }

@media (max-width: 768px) {
    .sobreposto.sobre {
        font-size: 7em;
        top: 20%;
    }

    .sobreposto.projetos {
        font-size: 5.5em;
        top: 7%;
    }

    .sobreposto.referencias {
        font-size: 4.5em;
        top: 11%;
    }
    .intro {
        padding: 10em 2em;
    }
}
