* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0f172a;
    color: #f8fafc;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* NAVBAR */

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
}

.navbar {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: #38bdf8;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    transition: 0.3s;
}

.nav-links a:hover {
    color: #38bdf8;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 25px;
    cursor: pointer;
}


/* HERO */

.hero {
    min-height: 100vh;
    max-width: 1100px;
    margin: auto;
    padding: 120px 20px 60px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    max-width: 600px;
}

.hello {
    color: #38bdf8;
    font-size: 20px;
}

.hero h1 {
    font-size: 60px;
    margin: 10px 0;
}

.hero h2 {
    color: #94a3b8;
    font-size: 30px;
    margin-bottom: 20px;
}

.hero p {
    color: #cbd5e1;
}

.buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #38bdf8;
    color: #082f49;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    background: #7dd3fc;
}

.btn.secondary {
    background: transparent;
    color: #38bdf8;
    border: 2px solid #38bdf8;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.profile-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    background: linear-gradient(
        135deg,
        #38bdf8,
        #6366f1
    );

    box-shadow: 0 0 80px rgba(56, 189, 248, 0.25);
}

.profile-circle span {
    font-size: 70px;
    font-weight: bold;
}


/* SEÇÕES */

.section {
    max-width: 1100px;
    margin: auto;
    padding: 100px 20px;
}

.dark {
    max-width: none;
    padding-left: max(20px, calc((100% - 1060px) / 2));
    padding-right: max(20px, calc((100% - 1060px) / 2));
    background: #020617;
}

.section-title {
    text-align: center;
    font-size: 38px;
    margin-bottom: 50px;
    color: #38bdf8;
}


/* SOBRE */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.about-card {
    background: #1e293b;
    padding: 30px;
    border-radius: 15px;
}

.about-card h3 {
    margin-bottom: 20px;
    font-size: 25px;
}

.about-card p {
    color: #cbd5e1;
    margin-bottom: 15px;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-info div {
    padding: 20px;
    background: #1e293b;
    border-radius: 10px;

    display: flex;
    justify-content: space-between;
}

.about-info span {
    color: #94a3b8;
}


/* HABILIDADES */

.skills {
    max-width: 800px;
    margin: auto;
}

.skill {
    margin-bottom: 30px;
}

.skill-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.progress {
    height: 10px;
    background: #1e293b;
    border-radius: 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(
        90deg,
        #38bdf8,
        #6366f1
    );
    border-radius: 20px;
}

.html {
    width: 90%;
}

.css {
    width: 85%;
}

.javascript {
    width: 75%;
}

.git {
    width: 70%;
}


/* PROJETOS */

.projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    background: #1e293b;
    padding: 30px;
    border-radius: 15px;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.project-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.project-card p {
    color: #cbd5e1;
    margin-bottom: 20px;
}

.technologies {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.technologies span {
    background: #0f172a;
    color: #38bdf8;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 13px;
}

.project-link {
    color: #38bdf8;
    font-weight: bold;
}


/* CONTATO */

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-info p {
    color: #cbd5e1;
    margin-bottom: 15px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea {
    width: 100%;
    padding: 15px;

    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;

    color: white;
    font-size: 16px;

    outline: none;
}

input:focus,
textarea:focus {
    border-color: #38bdf8;
}

textarea {
    resize: vertical;
}


/* FOOTER */

footer {
    background: #020617;
    padding: 30px 20px;
    text-align: center;
    color: #94a3b8;
}

.social {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social a {
    color: #38bdf8;
}


/* RESPONSIVO */

@media (max-width: 800px) {

    .menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;

        background: #020617;

        flex-direction: column;
        align-items: center;

        padding: 30px;
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 45px;
    }

    .buttons {
        justify-content: center;
    }

    .profile-circle {
        width: 220px;
        height: 220px;
    }

    .about,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .projects {
        grid-template-columns: 1fr;
    }
}

