@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

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

body {
    background: #070b1a;
    color: white;
}

/* HEADER */

header {
    width: 100%;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 28px;
    font-weight: 600;
    color: #b026ff;
    text-shadow: 0 0 15px #b026ff;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    transition: 0.3s;
    font-size: 16px;
}

    nav a:hover {
        color: #b026ff;
    }

/* HERO */

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
}

    .hero h1 {
        font-size: 70px;
        margin-bottom: 10px;
    }

    .hero span {
        color: #b026ff;
        text-shadow: 0 0 20px #b026ff;
    }

    .hero p {
        max-width: 700px;
        color: #b8b8b8;
        line-height: 1.8;
        font-size: 18px;
    }

.btn {
    margin-top: 30px;
    padding: 14px 35px;
    background: #b026ff;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.4s;
    box-shadow: 0 0 20px #b026ff;
}

    .btn:hover {
        transform: scale(1.1);
        background: #9517df;
    }

/* SECTIONS */

section {
    padding: 120px 10%;
}

.title {
    text-align: center;
    font-size: 45px;
    margin-bottom: 50px;
    color: #b026ff;
    text-shadow: 0 0 15px #b026ff;
}

.about {
    text-align: center;
    line-height: 2;
    color: #c4c4c4;
    font-size: 18px;
}

/* SKILLS */

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 25px;
}

.skill-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: 0.4s;
    backdrop-filter: blur(10px);
}

    .skill-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 0 25px #b026ff;
    }

    .skill-box h3 {
        font-size: 24px;
    }

/* PROJECTS */

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 25px;
}

.project-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 20px;
    transition: 0.4s;
    backdrop-filter: blur(10px);
}

    .project-card:hover {
        transform: scale(1.05);
        box-shadow: 0 0 25px #b026ff;
    }

    .project-card h3 {
        margin-bottom: 15px;
        color: #b026ff;
    }

/* FOOTER */

footer {
    text-align: center;
    padding: 25px;
    color: #9f9f9f;
    background: #050816;
}

/* RESPONSIVE */

@media(max-width:768px) {

    .hero h1 {
        font-size: 45px;
    }

    nav {
        display: none;
    }
}
