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


html {
    scroll-behavior: smooth;
}


body {

    background: #0b0b0f;
    color: white;

}


header {

    padding: 25px 8%;

}


nav {

    display: flex;
    justify-content: space-between;
    align-items: center;

}


.logo {

    font-size: 32px;

}


.logo span {

    color: #00ff88;

}



ul {

    display: flex;
    gap: 30px;
    list-style: none;

}


ul a {

    color: white;
    text-decoration: none;

}


.hero {

    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding: 40px 10%;

}



.texto {

    max-width: 600px;

}



.texto h1 {

    font-size: 50px;

}



.texto span {

    color: #00ff88;

}


.texto h2 {

    margin: 20px 0;

    color: #aaa;

}



.texto p {

    line-height: 1.6;

}




.botoes {

    margin-top: 30px;

}



.botoes a {

    padding: 12px 25px;
    background: #00ff88;
    color: black;
    border-radius: 8px;
    text-decoration: none;
    margin-right: 15px;

}



.outline {

    background: transparent !important;
    border: 1px solid #00ff88;
    color: white !important;

}



.avatar img {

    width: 230px;
    border-radius: 30%;
    border: 5px solid #00ff88;

}



section {

    padding: 70px 10%;

}



.titulo {
    text-align: center;
    font-size: 35px;
    margin-bottom: 60px;
}



.descricao {

    max-width: 800px;
    margin: auto;
    text-align: center;
    line-height: 1.7;

}



.cards {

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;

}



.cards div {

    background: #15151d;
    padding: 20px 35px;
    border-radius: 10px;

}

.card h3 {
    margin-bottom: 15px;
    color: #00ff88;
}


.card p {
    line-height: 1.6;
}




.projetos {

    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;

}



.card {

    background: #15151d;
    padding: 30px;
    width: 300px;
    border-radius: 15px;

}



.card a {

    display: block;
    margin: 25px auto 0;

    width: fit-content;

    color: #00ff88;
    text-decoration: none;

    padding: 8px 20px;
    border: 1px solid #00ff88;
    border-radius: 20px;

    transition: 0.3s;

}




.links {

    text-align: center;

}



.links a {

    color: #00ff88;
    margin: 15px;

}



footer {

    text-align: center;
    padding: 30px;
    color: #888;

}




@media(max-width:800px) {


    .hero {

        flex-direction: column;

    }


    .texto h1 {

        font-size: 35px;

    }


    ul {

        display: none;

    }


}

/* ==========================
   ANIMAÇÕES
========================== */


.animar {

    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;

}



.mostrar {

    opacity: 1;
    transform: translateY(0);

}





.card {

    transition: 0.4s;

}



.card:hover {

    transform: translateY(-10px);

    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);

}




.cards div {

    transition: 0.3s;

}



.cards div:hover {

    transform: scale(1.1);

    color: #00ff88;

}




.botoes a {

    transition: 0.3s;

}



.avatar img {

    animation: flutuar 3s infinite ease-in-out;

}




@keyframes flutuar {


    0% {

        transform: translateY(0);

    }


    50% {

        transform: translateY(-15px);

    }


    100% {

        transform: translateY(0);

    }


}
/* ==========================
   CURSOR PERSONALIZADO DEV
========================== */

body{
    cursor:none;
}


.cursor{

    width:25px;
    height:25px;

    background:#00ff88;

    border-radius:50%;

    position:fixed;

    top:0;
    left:0;

    z-index:999999;

    pointer-events:none;

    transform:translate(-50%, -50%);

    box-shadow:
    0 0 15px #00ff88,
    0 0 40px #00ff88;

}
a,
button{

    cursor:pointer;

}
#typing {
    font-family: monospace;
    font-size: 16px;
    color: #fff;
    white-space: nowrap;
}

#typing::after {
    content: "|";
    animation: cursor 0.7s infinite;
}

@keyframes cursor {
    50% {
        opacity: 0;
    }
}

/* ==========================
   STATUS DIGITAÇÃO
========================== */

.status {
    display: inline-block;
    margin-top: 15px;
    background: rgba(0, 255, 136, 0.12);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 8px 14px;
    border-radius: 20px;
    color: #00ff88;
    font-family: monospace;
    font-size: 14px;
}


#typing {
    display: inline-block;
    margin-top: 15px;

    background: rgba(0, 255, 136, 0.12);
    color: #00ff88;

    padding: 8px 14px;
    border-radius: 10px;

    border: 1px solid rgba(0, 255, 136, 0.3);

    font-family: monospace;
    font-size: 14px;
}
