*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#7F2020;
    color:white;
}

nav{
    position:fixed;
    width:100%;
    top:0;
    background:#111827;
    padding:15px;
    display:flex;
    justify-content:center;
    gap:30px;
    z-index:1000;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:bold;
}

nav a:hover{
    color:#869B7E;
}

header{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:20px;
}

.avatar{
    width:180px;
    height:180px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #869B7E;
}

h1{
    margin-top:20px;
    font-size:3rem;
}

header p{
    margin-top:15px;
    font-size:1.2rem;
    max-width:600px;
}

.botao{
    margin-top:25px;
    background:#869B7E;
    color:black;
    padding:12px 25px;
    border-radius:10px;
    text-decoration:none;
    font-weight:bold;
}

section{
    padding:80px 10%;
}

h2{
    margin-bottom:30px;
    color:#869B7E;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
}

.card{
    background:#111844;
    border-radius:15px;
    overflow:hidden;
    transition:0.3s;
}

.card:hover{
    transform:translateY(-5px);
}

.card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.card-content{
    padding:20px;
}

.card h3{
    margin-bottom:10px;
}

.card a{
    display:inline-block;
    margin-top:15px;
    color:#869B7E;
    text-decoration:none;
}

.galeria{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.galeria img{
    width:100%;
    border-radius:10px;
}

.skills{
    display:grid;
    gap:15px;
}

.skill{
    background:#111844;
    padding:15px;
    border-radius:10px;
}

footer{
    text-align:center;
    padding:30px;
    background:#111827;
}

@media (max-width: 600px){

    nav{
        justify-content:flex-start;
        overflow-x:auto;
        gap:20px;
        padding:15px;
    }

    nav::-webkit-scrollbar{
        display:none;
    }

    nav a{
        white-space:nowrap;
        font-size:0.9rem;
    }

    h1{
        font-size:2rem;
    }

    header p{
        font-size:1rem;
    }

    section{
        padding:60px 5%;
    }

    .avatar{
        width:140px;
        height:140px;
    }

    .cards{
        grid-template-columns:1fr;
    }

}