*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --bg:#050816;
    --text:#ffffff;
    --muted:#94a3b8;

    --blue:#3b82f6;
    --cyan:#22d3ee;
}

html{
    scroll-behavior:smooth;
}

body{

    background:var(--bg);

    color:var(--text);

    font-family:'Inter',sans-serif;

    overflow-x:hidden;
}

/* GRID */

.bg-grid{

    position:fixed;

    inset:0;

    background:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);

    background-size:50px 50px;

    z-index:-3;
}

/* GLOWS */

.glow{

    position:fixed;

    border-radius:50%;

    filter:blur(180px);

    z-index:-2;
}

.glow-1{

    width:500px;
    height:500px;

    background:#2563eb;

    top:-200px;
    left:-200px;

    opacity:.25;
}

.glow-2{

    width:450px;
    height:450px;

    background:#22d3ee;

    bottom:-200px;
    right:-200px;

    opacity:.15;
}

/* HEADER */

header{

    position:fixed;

    top:0;

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:25px 10%;

    backdrop-filter:blur(20px);

    z-index:100;
}

.logo{

    font-size:1.2rem;

    font-weight:900;

    background:linear-gradient(
        90deg,
        #ffffff,
        #60a5fa,
        #22d3ee
    );

    -webkit-background-clip:text;

    color:transparent;
}

nav{

    display:flex;

    gap:20px;

    align-items:center;
}

nav a{

    color:white;

    text-decoration:none;

    opacity:.75;

    transition:.3s;
}

nav a:hover{

    opacity:1;

    color:#22d3ee;
}

/* SOCIAL */

.social{

    width:40px;

    height:40px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    font-size:1.1rem;

    transition:.3s;
}

.social:hover{

    background:rgba(34,211,238,.15);

    border-color:#22d3ee;

    color:#22d3ee;

    transform:translateY(-3px);
}

/* HERO */

.hero{

    min-height:100vh;

    display:flex;

    flex-direction:column;

    justify-content:center;

    padding:0 10%;

    position:relative;
}

.subtitle{

    color:#22d3ee;

    letter-spacing:3px;

    margin-bottom:20px;
}

.hero h1{

    font-size:clamp(5rem,12vw,10rem);

    font-weight:900;

    letter-spacing:-5px;

    margin-bottom:25px;

    background:linear-gradient(
        180deg,
        #ffffff,
        #b7d8ff,
        #60a5fa
    );

    -webkit-background-clip:text;

    color:transparent;
}

.hero p{

    max-width:650px;

    color:var(--muted);

    font-size:1.2rem;

    line-height:1.8;
}

/* SYMBOLS */

.floating-letters{

    position:fixed;

    inset:0;

    pointer-events:none;

    z-index:-1;
}

.floating-letters span{

    position:absolute;

    font-size:10rem;

    font-weight:900;

    color:rgba(34,211,238,.04);

    user-select:none;
}

/* POSITIONS */

.floating-letters span:nth-child(1){top:8%;left:4%;}
.floating-letters span:nth-child(2){top:12%;left:28%;}
.floating-letters span:nth-child(3){top:6%;left:55%;}
.floating-letters span:nth-child(4){top:15%;left:80%;}
.floating-letters span:nth-child(5){top:25%;left:90%;}

.floating-letters span:nth-child(6){top:35%;left:8%;}
.floating-letters span:nth-child(7){top:45%;left:30%;}
.floating-letters span:nth-child(8){top:40%;left:60%;}
.floating-letters span:nth-child(9){top:50%;left:85%;}
.floating-letters span:nth-child(10){top:55%;left:45%;}

.floating-letters span:nth-child(11){top:70%;left:5%;}
.floating-letters span:nth-child(12){top:78%;left:25%;}
.floating-letters span:nth-child(13){top:72%;left:55%;}
.floating-letters span:nth-child(14){top:82%;left:78%;}
.floating-letters span:nth-child(15){top:88%;left:40%;}

.floating-letters span:nth-child(16){top:120%;left:10%;}
.floating-letters span:nth-child(17){top:135%;left:35%;}
.floating-letters span:nth-child(18){top:125%;left:70%;}
.floating-letters span:nth-child(19){top:145%;left:90%;}


/* PROJECTS */

.projects{

    padding:120px 10%;
}

.projects .section-tag{

    display:block;

    text-align:center;
}

.projects h2{

    text-align:center;

    margin:20px 0 70px;

    font-size:clamp(2.5rem,5vw,4rem);
}

.project-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

    gap:30px;
}

.project-card{

    background:
    rgba(255,255,255,.04);

    border:
    1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(20px);

    border-radius:28px;

    padding:35px;

    transition:.3s;
}

.project-card:hover{

    transform:translateY(-10px);

    border-color:
    rgba(34,211,238,.4);
}

.project-number{

    font-size:3rem;

    font-weight:900;

    opacity:.15;

    margin-bottom:20px;
}

.project-card p{

    color:var(--muted);
}



/* MOBILE */

@media(max-width:768px){

    header{

        flex-direction:column;

        gap:15px;
    }

    .hero{

        text-align:center;

        align-items:center;
    }

    .hero p{

        text-align:center;
    }

    .floating-letters span{

        font-size:6rem;
    }
}
