*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Poppins',sans-serif;

    background:linear-gradient(135deg,#5b21b6,#312e81,#0f172a);

    background-size:300% 300%;

    animation:bgMove 12s ease infinite;

    color:#fff;

    overflow-x:hidden;

    min-height:100vh;

    position:relative;

}

@keyframes bgMove{

    0%{background-position:0% 50%;}

    50%{background-position:100% 50%;}

    100%{background-position:0% 50%;}

}

.background{

    position:fixed;

    width:100%;

    height:100%;

    top:0;

    left:0;

    pointer-events:none;

    background:
    radial-gradient(circle at top left,
    rgba(255,255,255,.15),
    transparent 35%),

    radial-gradient(circle at bottom right,
    rgba(168,85,247,.25),
    transparent 35%);

}

.bubbles{

    position:fixed;

    width:100%;

    height:100%;

    overflow:hidden;

    top:0;

    left:0;

    z-index:-1;

}

.bubbles span{

    position:absolute;

    display:block;

    width:25px;

    height:25px;

    background:rgba(255,255,255,.15);

    border-radius:50%;

    animation:bubble 20s linear infinite;

}

.bubbles span:nth-child(1){left:10%;animation-delay:0s;}
.bubbles span:nth-child(2){left:20%;animation-delay:3s;}
.bubbles span:nth-child(3){left:35%;animation-delay:5s;}
.bubbles span:nth-child(4){left:50%;animation-delay:2s;}
.bubbles span:nth-child(5){left:65%;animation-delay:8s;}
.bubbles span:nth-child(6){left:75%;animation-delay:6s;}
.bubbles span:nth-child(7){left:82%;animation-delay:4s;}
.bubbles span:nth-child(8){left:90%;animation-delay:7s;}
.bubbles span:nth-child(9){left:45%;animation-delay:9s;}
.bubbles span:nth-child(10){left:5%;animation-delay:11s;}

@keyframes bubble{

    0%{

        transform:translateY(100vh) scale(.5);

        opacity:0;

    }

    20%{

        opacity:.4;

    }

    100%{

        transform:translateY(-120vh) scale(1.3);

        opacity:0;

    }

}

header{

    text-align:center;

    padding:60px 20px 30px;

}

header h1{

    font-size:38px;

    font-weight:700;

    text-shadow:0 0 20px rgba(255,255,255,.3);

}

header p{

    margin-top:12px;

    font-size:18px;

    opacity:.9;

}

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;
    justify-content:center;

    padding:20px 0 60px;

}

.card:nth-child(4){
    grid-column:1/2;
}

.card:nth-child(5){
    grid-column:2/3;
}

.card{

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.2);

    border-radius:25px;

    padding:30px;

    text-align:center;

    transition:.4s;

    box-shadow:0 10px 35px rgba(0,0,0,.3);

}

.card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(0,0,0,.4);

}

.foto{

    width:120px;

    height:120px;

    border-radius:50%;

    object-fit:cover;

    border:4px solid rgba(255,255,255,.4);

    margin-bottom:20px;

}

.card h2{

    font-size:24px;

    margin-bottom:8px;

}

.card p{

    opacity:.85;

    margin-bottom:20px;

}

.btn-profile,
.btn-project{

    display:block;

    text-decoration:none;

    color:#fff;

    padding:12px;

    border-radius:12px;

    margin-top:12px;

    font-weight:600;

    transition:.3s;

}

.btn-profile{

    background:#7c3aed;

}

.btn-profile:hover{

    background:#6d28d9;

}

.btn-project{

    background:#2563eb;

}

.btn-project:hover{

    background:#1d4ed8;

}

footer{

    text-align:center;

    padding:30px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(12px);

    font-size:15px;

}

.card:nth-child(4){
    grid-column:1/2;
}
.card:nth-child(5){
    grid-column:2/3;
}

@media(max-width:768px){

    .container{
        grid-template-columns:1fr;
    }

    .card:nth-child(4),
    .card:nth-child(5){

        grid-column:auto;

    }

header h1{

font-size:28px;

}

header p{

font-size:16px;

}

.card{

padding:25px;

}

}