* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #080808;
    color: white;
}

/* NAVBAR */

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 8, 8, 0.9);
    backdrop-filter: blur(10px);
}

.navbar {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
}

.logo {
    font-size: 28px;
}

.logo span,
.section-title span,
.hero h1 span {
    color: #00ff88;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #00ff88;
}

.menu-btn {
    display: none;
    font-size: 28px;
    cursor: pointer;
}


/* HERO */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 10% 50px;
}

.hero-text {
    max-width: 600px;
    animation: slideLeft 1.2s ease;
}

.intro {
    color: #00ff88;
    font-size: 20px;
}

.hero h1 {
    font-size: 60px;
    margin: 10px 0;
}

.hero h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

#typing {
    color: #00ff88;
}

.hero p {
    line-height: 1.7;
    color: #ccc;
}

.buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 13px 25px;
    background: #00ff88;
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px #00ff88;
}

.outline {
    background: transparent;
    color: #00ff88;
    border: 2px solid #00ff88;
}


/* HERO CIRCLE */

.hero-image {
    animation: floating 4s ease-in-out infinite;
}

.circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 4px solid #00ff88;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 30px #00ff88,
        inset 0 0 30px rgba(0, 255, 136, 0.3);
}

.code-symbol {
    font-size: 80px;
    color: #00ff88;
}


/* SECTIONS */

.section {
    padding: 100px 10%;
    min-height: 80vh;
}

.section-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 60px;
}


/* ABOUT */

.about-container {
    display: flex;
    align-items: center;
    gap: 70px;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 3px solid #00ff88;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 80px;
    animation: floating 3s ease-in-out infinite;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 30px;
    margin-bottom: 20px;
}

.about-text p {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 15px;
}


/* SKILLS */

.skills-section {
    background: #0d0d0d;
}

.skills-container {
    max-width: 700px;
    margin: auto;
}

.skill {
    margin-bottom: 30px;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.progress {
    width: 100%;
    height: 10px;
    background: #222;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: #00ff88;
    border-radius: 10px;
    transition: width 2s ease;
}

.html {
    --width: 90%;
}

.css {
    --width: 85%;
}

.javascript {
    --width: 75%;
}

.git {
    --width: 70%;
}


/* PROJECTS */

.projects-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    background: #111;
    padding: 35px;
    border: 1px solid #222;
    border-radius: 15px;
    transition: 0.4s;
}

.project-card:hover {
    transform: translateY(-15px);
    border-color: #00ff88;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.project-icon {
    font-size: 45px;
    margin-bottom: 20px;
}

.project-card h3 {
    margin-bottom: 15px;
}

.project-card p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-card a {
    color: #00ff88;
    text-decoration: none;
}


/* CONTACT */

.contact {
    text-align: center;
    background: #0d0d0d;
}

.contact > p {
    color: #aaa;
    margin-bottom: 30px;
}

form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea {
    padding: 15px;
    background: #151515;
    border: 1px solid #333;
    color: white;
    border-radius: 8px;
    outline: none;
}

textarea {
    height: 150px;
    resize: none;
}

input:focus,
textarea:focus {
    border-color: #00ff88;
}


/* FOOTER */

footer {
    text-align: center;
    padding: 25px;
    background: #050505;
    color: #888;
}


/* ANIMATIONS */

@keyframes floating {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }

}

@keyframes slideLeft {

    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


/* MOBILE */

@media (max-width: 768px) {

    .nav-links {
        position: absolute;
        top: 70px;
        right: -100%;
        width: 100%;
        background: #080808;
        flex-direction: column;
        text-align: center;
        padding: 30px;
        transition: 0.4s;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 130px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero h2 {
        font-size: 23px;
    }

    .hero-image {
        margin-top: 60px;
    }

    .circle {
        width: 220px;
        height: 220px;
    }

    .code-symbol {
        font-size: 60px;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .projects-container {
        grid-template-columns: 1fr;
    }

}