/* 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:#f4f7fc;
    color:#333;
}

/* Header */

header{
    background:#fd0dbd;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 8%;
    position:sticky;
    top:0;
}

header h1{
    font-size:28px;
}

nav a{
    color:white;
    text-decoration:none;
    margin-left:20px;
    font-weight:500;
}

nav a:hover{
    color:yellow;
}

/* Hero */

.hero{
    height:90vh;
    background:linear-gradient(135deg,#6f1752,#f210ae);
    color:white;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero h2{
    font-size:28px;
}

.hero h1{
    font-size:60px;
    margin:10px 0;
}

.hero h3{
    font-size:30px;
    margin-bottom:15px;
}

.hero p{
    font-size:20px;
    margin-bottom:30px;
}

/* Button */

.btn{
    text-decoration:none;
    color:white;
    background:#ff9800;
    padding:12px 25px;
    border-radius:30px;
    font-weight:bold;
    transition:.3s;
}

.btn:hover{
    background:#fff;
    color:#ac2bbd;
}

/* Sections */

section{
    width:85%;
    margin:50px auto;
}

section h2{
    text-align:center;
    color:#e50dfd;
    margin-bottom:25px;
    font-size:35px;
}

/* About */

#about p{
    text-align:center;
    font-size:18px;
    line-height:1.8;
}

/* Skills */

#skills ul{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    list-style:none;
}

#skills li{
    background:#bf599f;
    color:white;
    padding:12px 20px;
    margin:10px;
    border-radius:30px;
}

/* Education */

#education{
    text-align:center;
}

#education h3{
    margin-top:20px;
    color:#6610f2;
}

/* Projects */

#projects div{
    background:white;
    padding:20px;
    margin:20px 0;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
    transition:.3s;
}

#projects div:hover{
    transform:translateY(-5px);
}

#projects h3{
    color:#0d6efd;
    margin-bottom:10px;
}

/* Experience */

#experience h3{
    color:#6610f2;
    margin-top:20px;
}

#experience p{
    margin-bottom:20px;
}

/* Certificates */

#certificates ul{
    list-style:square;
    padding-left:25px;
}

#certificates li{
    margin:12px 0;
}

/* Contact */

#contact{
    text-align:center;
}

#contact p{
    margin:12px 0;
    font-size:18px;
}

/* Footer */

footer{
    background:#0d6efd;
    color:white;
    text-align:center;
    padding:20px;
    margin-top:40px;
}

/* Responsive */

@media(max-width:768px){

header{
    flex-direction:column;
}

nav{
    margin-top:15px;
}

nav a{
    display:block;
    margin:10px 0;
}

.hero h1{
    font-size:40px;
}

.hero h2{
    font-size:22px;
}

.hero h3{
    font-size:22px;
}

.hero p{
    font-size:16px;
}

section{
    width:95%;
}

}