@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

body{
    background:
    radial-gradient(circle at top left,#00e5ff33,transparent 40%),
    radial-gradient(circle at bottom right,#7c3aed33,transparent 40%),
    #0b1120;
}

header{
    backdrop-filter: blur(20px);
    background: rgba(15,23,42,.6);
    border-bottom: 1px solid rgba(255,255,255,.08);
position:fixed;
width:100%;
padding:20px 10%;
display:flex;
justify-content:space-between;
align-items:center;
z-index:1000;
}

.logo{
font-size:28px;
font-weight:700;
color:#00e5ff;
text-decoration:none;
}

nav a{
margin-left:25px;
text-decoration:none;
color:white;
transition:.3s;
}

nav a:hover{
color:#00e5ff;
}

section{
padding:100px 10%;
}

.hero{
display:flex;
justify-content:space-between;
align-items:center;
min-height:100vh;
}

.hero-content h1{
font-size:60px;
}

.hero-content h2{
color:#00e5ff;
margin:10px 0;
}

.socials{
margin:20px 0;
}

.socials a{
width:45px;
height:45px;
display:inline-flex;
justify-content:center;
align-items:center;
border:2px solid #00e5ff;
border-radius:50%;
color:#00e5ff;
margin-right:10px;
text-decoration:none;
transition:.3s;
}

.socials a:hover{
background:#00e5ff;
color:#000;
box-shadow:0 0 20px #00e5ff;
}

.btn{
display:inline-block;
padding:12px 30px;
background:#00e5ff;
color:#000;
border-radius:30px;
text-decoration:none;
font-weight:600;
box-shadow:0 0 20px #00e5ff;
}

.hexagon{
width:320px;
height:350px;
clip-path:polygon(
25% 5%,75% 5%,
100% 50%,75% 95%,
25% 95%,0 50%);
overflow:hidden;
box-shadow:0 0 35px #00e5ff;
}

.hexagon img{
width:100%;
height:100%;
object-fit:cover;
}

.about{
display:flex;
align-items:center;
gap:50px;
background:#1e293b;
}

.about span{
color:#00e5ff;
}

.skills h2,
.projects h2,
.contact h2{
text-align:center;
margin-bottom:50px;
}

.skill-box{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.card{
background:#1e293b;
padding:30px;
text-align:center;
border-radius:15px;
transition:.4s;
}

.card:hover{
transform:translateY(-10px);
box-shadow:0 0 20px #00e5ff;
}

.card i{
font-size:40px;
color:#00e5ff;
margin-bottom:15px;
}

.project-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
}

.project{
height:180px;
background:#1e293b;
border-radius:15px;
display:flex;
justify-content:center;
align-items:center;
font-size:20px;
transition:.4s;
}

.project:hover{
box-shadow:0 0 20px #00e5ff;
}

.contact form{
max-width:700px;
margin:auto;
display:flex;
flex-direction:column;
gap:15px;
}

.contact input,
.contact textarea{
padding:15px;
background:#1e293b;
border:none;
border-radius:10px;
color:white;
}

button{
border:none;
cursor:pointer;
}

@media(max-width:900px){

.hero,
.about{
flex-direction:column;
text-align:center;
}

.hero-content h1{
font-size:42px;
}

.hexagon{
width:250px;
height:280px;
}
}

.hero h1{
    background: linear-gradient(
        90deg,
        #00e5ff,
        #7c3aed,
        #00e5ff
    );

    background-size:300%;
    -webkit-background-clip:text;
    color:transparent;

    animation: glowText 6s linear infinite;
}

@keyframes glowText{
    100%{
        background-position:300%;
    }
}