* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0f0f14;
    color: #f5f5f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    padding: 40px 20px;
}

header, main {
    max-width: 800px;
    margin: 0 auto;
}

header {
    margin-bottom: 60px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

header p {
    font-size: 1.2rem;
    color: #9ca3af;
}

.socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.socials a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.socials svg, .socials img {
    display: block;
    width: 24px;
    height: 24px;
}
.socials img {
    width: 22px;
    filter: brightness(0.7);
    transition: 0.2s;
}



.socials svg {
    fill: #9ca3af;
    transition: 0.2s;
}

.socials svg:hover, .socials img:hover {
    fill: white;
    transform: scale(1.15);
    filter: brightness(1);
}

section {
    margin-bottom: 50px;
    padding: 30px;
    background-color: #15151c;
    border-radius: 12px;
    transition: 0.2s;
}

section:hover {
    transform: translateY(-2px);
}

section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

section p {
    margin-bottom: 16px;
}

ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 12px;
    color: #d1d5db;
}

#now {
    margin-bottom: 50px;
    padding: 30px;
    background-color: #15151c;
    border-radius: 12px;
}

#now p {
    color: #d1d5db;
}


#projects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#projects h2 {
    grid-column: 1 / -1;
}

.project-card {
    background-color: #1a1a22;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: 0.2s;
}

.project-card:hover {
    transform: translateY(-5px);
    background-color: #20202a;
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-card p {
    margin-bottom: 12px;
    color: #d1d5db;
}

.project-card span {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background-color: #2a2a35;
    font-size: 0.85rem;
}

.project-links {
    margin-top: 15px;
}

.project-links a {
    margin-right: 15px;
    color: #60a5fa;
    text-decoration: none;
    font-size: 0.9rem;
}

.project-links a:hover {
    text-decoration: underline;
}

#now .project-card {
    max-width: 400px;
}

.badge {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background-color: #2a2a35;
    font-size: 0.75rem;
    color: #9ca3af;
}

#contact {
    margin-top: 60px;
    padding: 30px;
    background-color: #15151c;
    border-radius: 10px;
}

.contact-links {
    margin-top: 20px;
}

.contact-links a {
    display: inline-block;
    margin-right: 15px;
    padding: 10px 15px;
    background-color: #1f2937;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
}

.contact-links a:hover {
    background-color: #374151;
}

footer {
    max-width: 800px;
    margin: 60px auto 0 auto;
    padding: 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
    border-top: 1px solid #1f2937;
}

footer p {
    margin: 0;
}

footer p:hover {
    color: #f5f5f5;
    transition: 0.2s;
}

@media (max-width: 768px) {

    body {
        padding: 20px;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .socials {
        margin-top: 10px;
    }

    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    section {
        padding: 20px;
    }

    #projects {
        grid-template-columns: 1fr;
    }

    .project-card h3 {
        font-size: 1.2rem;
    }

    .project-card p {
        font-size: 0.9rem;
    }

    .project-card span {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    #contact {
        text-align: center;
    }

    .contact-links a {
        display: block;
        margin: 10px 0;
    }
}