/* Google Font */

@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:#0f172a;
color:white;
line-height:1.7;
}

/* Header */

header{
position:sticky;
top:0;
z-index:1000;
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 8%;
background:#1e293b;
box-shadow:0 2px 10px rgba(0,0,0,0.3);
}

header h1{
color:#38bdf8;
font-size:28px;
}

nav a{
margin-left:20px;
text-decoration:none;
color:white;
font-weight:500;
transition:0.3s;
}

nav a:hover{
color:#38bdf8;
}

/* Hero */

.hero{
min-height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
padding:30px;
}

.profile-img{
width:220px;
height:220px;
object-fit:cover;
border-radius:50%;
border:5px solid #38bdf8;
margin-bottom:25px;
box-shadow:0 0 25px rgba(56,189,248,0.5);
}

.hero h2{
font-size:48px;
margin-bottom:10px;
}

.typing{
font-size:28px;
font-weight:600;
color:#38bdf8;
margin-bottom:15px;
}

.hero-text{
font-size:22px;
font-weight:600;
}

.hero-subtext{
max-width:700px;
margin-top:15px;
color:#cbd5e1;
}

/* Buttons */

.hero-buttons{
display:flex;
gap:15px;
margin-top:25px;
flex-wrap:wrap;
justify-content:center;
}

.btn{
background:#38bdf8;
color:black;
padding:12px 22px;
border-radius:8px;
text-decoration:none;
font-weight:600;
transition:0.3s;
}

.btn:hover{
transform:translateY(-4px);
box-shadow:0 0 20px rgba(56,189,248,0.5);
}

/* Sections */

section{
padding:80px 10%;
}

section h2{
text-align:center;
font-size:36px;
margin-bottom:40px;
color:#38bdf8;
}

/* Skills */

.skills{
display:flex;
flex-wrap:wrap;
gap:15px;
justify-content:center;
}

.skills span{
background:#38bdf8;
color:black;
padding:10px 18px;
border-radius:30px;
font-weight:600;
transition:0.3s;
}

.skills span:hover{
transform:scale(1.1);
}

/* Cards */

.card{
background:#1e293b;
padding:25px;
border-radius:15px;
margin-bottom:25px;
transition:0.4s;
box-shadow:0 0 10px rgba(0,0,0,0.3);
}

.card:hover{
transform:translateY(-10px);
box-shadow:0 0 25px rgba(56,189,248,0.4);
}

.card h3{
margin-bottom:15px;
color:#38bdf8;
}

/* Lists */

ul{
padding-left:20px;
}

ul li{
margin-bottom:12px;
}

/* Links */

a{
color:#38bdf8;
}

a:hover{
opacity:0.8;
}

/* Contact */

#contact .card{
text-align:center;
}

/* Footer */

footer{
background:#1e293b;
padding:25px;
text-align:center;
margin-top:40px;
}

/* Scrollbar */

::-webkit-scrollbar{
width:10px;
}

::-webkit-scrollbar-track{
background:#0f172a;
}

::-webkit-scrollbar-thumb{
background:#38bdf8;
border-radius:10px;
}

/* Responsive */

@media(max-width:768px){

header{
flex-direction:column;
gap:15px;
}

nav{
display:flex;
flex-wrap:wrap;
justify-content:center;
}

.hero h2{
font-size:34px;
}

.typing{
font-size:22px;
}

.hero-text{
font-size:18px;
}

.profile-img{
width:180px;
height:180px;
}

section{
padding:60px 6%;
}

}
