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

html{
    scroll-behavior:smooth;
}

body{
    background:#030712;
    overflow-x:hidden;
    color:white;
} 

/* Fondo */

.background{

position:fixed;
width:100%;
height:100%;
z-index:-2;

background:
radial-gradient(circle at top,#1b4fff22,#000);

}

.grid{

position:absolute;

width:100%;
height:100%;

background-image:

linear-gradient(#1d4ed822 1px,transparent 1px),

linear-gradient(90deg,#1d4ed822 1px,transparent 1px);

background-size:45px 45px;

}

.glow{

position:absolute;

width:500px;
height:500px;

background:#2563eb55;

filter:blur(180px);

border-radius:50%;

top:20%;
left:50%;

transform:translateX(-50%);

animation:glow 7s infinite alternate;

}

@keyframes glow{

to{

transform:translateX(-50%) scale(1.5);

}

}

/* Loader */

#loader{

position:fixed;
inset:0;

background:#030712;

display:flex;

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

z-index:9999;

}

.loader-box{

text-align:center;

width:300px;

}

.logo-loader{

width:90px;
height:90px;

margin:auto;

border-radius:20px;

background:#1d4ed8;

display:flex;

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

font-size:32px;

font-weight:bold;

box-shadow:0 0 30px #2563eb;

}

.loader-box h2{

margin:30px 0;

font-size:18px;

}

.barra{

height:8px;

background:#222;

border-radius:20px;

overflow:hidden;

}

.barra span{

display:block;

height:100%;

background:#2563eb;

width:0%;

animation:load 3s forwards;

}

@keyframes load{

100%{

width:100%;

}

}

/* Navbar */

nav{

padding:20px 60px;

display:flex;

justify-content:space-between;

align-items:center;

}

.logo{

display:flex;

align-items:center;

gap:15px;

font-size:22px;

font-weight:600;

}

.hexagon{

width:55px;
height:55px;

background:#2563eb;

clip-path:polygon(25% 5%,75% 5%,100% 50%,75% 95%,25% 95%,0 50%);

display:flex;

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

font-weight:bold;

box-shadow:0 0 20px #2563eb;

}

/* Hero */

.hero{

height:90vh;

display:flex;

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

}

.card{

width:380px;

padding:40px;

background:rgba(255,255,255,.08);

backdrop-filter:blur(18px);

border:1px solid rgba(255,255,255,.15);

border-radius:25px;

text-align:center;

box-shadow:0 0 40px #000;

}

.avatar{

width:170px;

height:170px;

border-radius:50%;

object-fit:cover;

border:4px solid #2563eb;

box-shadow:0 0 30px #2563eb;

margin-bottom:20px;

}

.card h1{

font-size:42px;

margin-bottom:10px;

}

.card p{

color:#ccc;

margin-bottom:30px;

}

.buttons{

display:flex;

justify-content:center;

gap:15px;

}

.buttons a{

text-decoration:none;

padding:13px 24px;

border-radius:15px;

background:#2563eb;

color:white;

transition:.3s;

}

.buttons a:hover{

transform:translateY(-5px);

box-shadow:0 0 25px #2563eb;

}

.proyecto{

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(15px);

    border-radius:20px;

    padding:20px;

    text-align:center;

}

.proyecto img{

    width:100%;

    border-radius:15px;

}

.proyecto h3{

    margin:20px 0 10px;

}

.proyecto p{

    color:#cfcfcf;

    margin-bottom:20px;

}

.proyecto a{

    display:inline-block;

    padding:12px 20px;

    background:#2563eb;

    color:white;

    border-radius:12px;

    text-decoration:none;

}