@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{
    font-family:'Jost',sans-serif;
    background:#070707;
    color:white;
    overflow-x:hidden;
}

header{
    position:fixed;
    top:0;
    left:0;
    width:90px;
    height:100vh;
    background:rgba(20,20,20,.95);
    backdrop-filter:blur(12px);
    border-right:1px solid rgba(255,255,255,.08);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    align-items:center;
    padding:30px 0;
    z-index:100;
}

header img{
    width:40px;
    margin-bottom:20px;
}

header ul{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:20px;
}

header li{
    list-style:none;
    width:50px;
    height:50px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:12px;
    transition:.3s;
}

header a{
    font-size:1.6rem;
    color:#ccc;
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    height:100%;
}

header li:hover{
    background:rgba(255,255,255,.08);
    transform:translateX(3px);
}

header li:hover a{
    color:white;
}

header li.home{
    background:rgba(255,255,255,.08);
}

header li.home a{
    color:white;
}

body > div{
    margin-left:90px;
    width:calc(100% - 90px);
    min-height:100vh;
}

section{
    width:100%;
    max-width:1200px;
    margin:auto;
    padding:120px 20px;
}

.home-section{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:25px;
    text-align:center;
}

.home-section h2{
    font-size:clamp(2.5rem,6vw,4.5rem);
    font-weight:700;
    background:linear-gradient(90deg,#ffffff,#888,#ffffff);
    background-size:200% auto;
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    animation:shine 4s linear infinite;
    letter-spacing:4px;
}


.home-section p{
    color:#bbb;
}

.arrow-down{
    font-size:3rem;
    margin-top:20px;
    animation:bounce 2s infinite ease-in-out;
    cursor:pointer;
    color:#bbb;
    transition:.3s;
}

.arrow-down:hover{
    color:white;
    transform:scale(1.2);
}



.about{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    min-height:100vh;
    padding:80px 20px;
}

.about h2{
    font-size:clamp(2rem,4vw,3rem);
    color:#fff;
    margin-bottom:30px;
    letter-spacing:3px;
    transition: .3s;
}

.about h2:hover{
    color:#d6f4f4;
    letter-spacing:8px;
}

.about > div{
    width:100%;
    display:flex;
    justify-content:center;
}

.about p{
    max-width:800px;
    font-size:clamp(1.2rem,2vw,1.6rem);
    line-height:1.9;
    color:#ccc;
    transition:.3s;
}

.about p:hover{
    color:white;
}


.skills{
    text-align:center;
}

.div-skills{
    margin-top:40px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.mySkills{
    padding:30px;
    background:rgba(255,255,255,.04);
    border-radius:12px;
    border:1px solid rgba(255,255,255,.08);
    transition:.4s;
}

.mySkills:hover{
    transform:translateY(-10px);
}

.barras{
    height:10px;
    background:#1f1f1f;
    border-radius:6px;
    overflow:hidden;
}

.barras span{
    display:block;
    height:100%;
    background:linear-gradient(90deg,#fff,#999);
}

.projects{
    text-align:center;
}

.projects-lead{
    color:#888;
    margin-top:10px;
    font-size:15px;
}

.projects-featured{
    margin-top:40px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:22px;
    text-align:left;
}

.project-card{
    display:block;
    padding:26px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    border-radius:14px;
    text-decoration:none;
    color:inherit;
    transition:transform .35s ease, border-color .35s ease, background .35s ease;
}

.project-card:hover{
    transform:translateY(-8px);
    border-color:rgba(214,244,244,.35);
    background:rgba(255,255,255,.06);
}

.project-card-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:16px;
}

.project-tag{
    font-size:12px;
    letter-spacing:.5px;
    text-transform:uppercase;
    color:#d6f4f4;
    border:1px solid rgba(214,244,244,.3);
    padding:4px 10px;
    border-radius:20px;
}

.project-card-top i{
    color:#888;
    transition:color .35s ease;
}

.project-card:hover .project-card-top i{
    color:#d6f4f4;
}

.project-card h3{
    font-size:20px;
    margin-bottom:10px;
}

.project-title-logo{
    display:flex;
    align-items:center;
    gap:10px;
}

.project-logo{
    width:28px;
    height:28px;
    object-fit:contain;
    opacity:.95;
}

.project-card p{
    color:#bbb;
    font-size:14px;
    line-height:1.6;
    margin-bottom:18px;
}

.project-tech{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.project-tech span{
    font-size:12px;
    color:#ccc;
    background:rgba(255,255,255,.06);
    padding:4px 10px;
    border-radius:6px;
}

.project-card--private .project-card-top i{
    color:#888;
}

.project-contact{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-top:18px;
    padding:9px 16px;
    font-size:13px;
    color:#d6f4f4;
    border:1px solid rgba(214,244,244,.3);
    border-radius:8px;
    text-decoration:none;
    transition:background .3s ease, color .3s ease;
}

.project-contact:hover{
    background:#d6f4f4;
    color:#070707;
}

.project-contact i{
    font-size:15px;
}

.projects-subhead{
    margin-top:50px;
    margin-bottom:24px;
    font-size:15px;
    font-weight:500;
    color:#888;
    text-transform:uppercase;
    letter-spacing:1px;
}

.projects-mini{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:14px;
}

.projects-mini a{
    display:flex;
    align-items:center;
    gap:10px;
    padding:16px 18px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.07);
    border-radius:10px;
    text-decoration:none;
    color:#ccc;
    font-size:14px;
    transition:transform .3s ease, color .3s ease, border-color .3s ease;
}

.projects-mini a:hover{
    transform:translateY(-4px);
    color:#fff;
    border-color:rgba(214,244,244,.3);
}

.projects-mini i{
    font-size:18px;
    color:#d6f4f4;
}

footer{
    text-align:center;
    padding:40px;
    color:#888;
}

@keyframes shine{
    0%{
        background-position:0% center;
    }
    100%{
        background-position:200% center;
    }
}

@keyframes bounce{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(12px);
    }
}



/* ===== MOBILE ===== */
@media(max-width:900px){

header{
    width:100%;
    height:70px;
    bottom:0;
    top:auto;
    flex-direction:row;
}

header ul{
    flex-direction:row;
    gap:20px;
}

body > div{
    margin:0;
    width:100%;
    margin-bottom:70px;
}

section{
    padding:80px 15px;
}

.home-section{
    min-height:calc(100vh - 70px);
}
}
