/* ===========================
   VØÎÐX HQ - Documentación
   proposito.css
=========================== */

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

:root{

    --bg:#0b0b0f;
    --surface:#14141b;
    --card:#191923;
    --border:#2b2b35;

    --primary:#8b5cf6;
    --primary-dark:#6d28d9;

    --text:#ffffff;
    --text-secondary:#b5b5c4;

    --radius:18px;

}

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

html{
    scroll-behavior:smooth;
}

body{

    background:var(--bg);
    color:var(--text);

}

/* Hero */

.hero{

    position:relative;
    height:320px;
    overflow:hidden;

}

.banner{

    width:100%;
    height:100%;
    object-fit:cover;

}

.overlay{

    position:absolute;
    inset:0;

    background:
    linear-gradient(rgba(0,0,0,.25),
    rgba(11,11,15,.98));

}

.hero-content{

    position:absolute;
    inset:0;

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:center;

    text-align:center;

}

.profile{

    width:130px;
    height:130px;

    border-radius:50%;

    border:5px solid var(--primary);

    box-shadow:0 0 40px rgba(139,92,246,.35);

    margin-bottom:20px;

}

.hero-content h1{

    font-size:3rem;
    font-weight:800;

}

.hero-content p{

    margin-top:10px;

    color:#ddd;

    font-size:1.1rem;

}

/* Layout */

.layout{

    max-width:1500px;

    margin:auto;

    display:grid;

    grid-template-columns:280px 1fr;

    gap:40px;

    padding:50px 25px;

}

/* Sidebar */

.sidebar{

    position:sticky;

    top:90px;

    height:max-content;

    background:var(--surface);

    border:1px solid var(--border);

    border-radius:20px;

    padding:25px;

}

.sidebar h2{

    margin-bottom:25px;

}

.category{

    display:block;

    margin:30px 0 10px;

    color:#7d7d90;

    font-size:.8rem;

    font-weight:bold;

    letter-spacing:1px;

}

.sidebar a{

    display:block;

    padding:12px 15px;

    margin-bottom:8px;

    text-decoration:none;

    color:var(--text-secondary);

    border-radius:12px;

    transition:.2s;

}

.sidebar a:hover{

    background:#242432;

    color:white;

}

.sidebar a.active{

    background:var(--primary);

    color:white;

    font-weight:600;

}

/* Contenido */

.content{

    background:var(--surface);

    border:1px solid var(--border);

    border-radius:20px;

    padding:45px;

}

.tag{

    display:inline-block;

    padding:8px 16px;

    border-radius:999px;

    background:rgba(139,92,246,.15);

    color:var(--primary);

    font-weight:700;

    font-size:.8rem;

    margin-bottom:20px;

}

.content h1{

    font-size:2.8rem;

    margin-bottom:10px;

}

.subtitle{

    color:var(--text-secondary);

    margin-bottom:35px;

}

.content h2{

    margin-top:45px;
    margin-bottom:15px;

}

.content p{

    color:var(--text-secondary);

    line-height:1.8;

    margin-bottom:18px;

}

.content ul{

    margin-left:25px;

}

.content li{

    margin-bottom:12px;

    color:var(--text-secondary);

}

hr{

    border:none;

    height:1px;

    background:var(--border);

    margin:35px 0;

}

/* Footer */

footer{

    border-top:1px solid var(--border);

    margin-top:60px;

    padding:35px;

    text-align:center;

    color:#8d8d99;

}

/* Scroll */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:999px;

}

::-webkit-scrollbar-track{

    background:#111;

}

/* Tablet */

@media(max-width:1000px){

.layout{

    grid-template-columns:240px 1fr;

}

.hero{

    height:260px;

}

}

/* Celulares */

@media(max-width:800px){

.hero{

    height:220px;

}

.profile{

    width:95px;
    height:95px;

}

.hero-content h1{

    font-size:2rem;

}

.hero-content p{

    font-size:.95rem;

}

.layout{

    grid-template-columns:1fr;

    padding:25px 15px;

}

.sidebar{

    position:relative;

    top:0;

    width:100%;

}

.content{

    padding:25px;

}

.content h1{

    font-size:2rem;

}

}