/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background: #f4f4f4;
}

/* Navbar */
nav {
    background: #f4f4f4;
    color: #000000;
    padding: 15px 0;
    text-align: center;
}

nav a {
    color: #000000;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #1e40af;
}

/* Header */
header {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, #2e2e2e, #004467);
    color: white;
    text-align: center;
}

header h1 {
    font-size: 3rem;
}

header p {
    margin-top: 10px;
    font-size: 1.2rem;
}

/* Sections */
section {
    padding: 50px 20px;
    max-width: 1000px;
    margin: auto;
}

h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #222;
}

/* About */
.about {
    text-align: center;
}

/* Projects */
.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.project-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.project-card h3 {
    margin-bottom: 10px;
}


.contact a {
    display: inline-block;
    margin-top: 10px;
    color: #1e40af;
    text-decoration: none;
}

footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
}

.section-title {
    margin: 1rem 0;
    font-size: 1.75rem;
    font-weight: 700;
}

.section-title a {
    color: #1e40af;
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease, transform 0.2s ease;
}

.section-title a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.section-title a:hover {
    color: #2563eb;
    transform: translateY(-2px);
}

.section-title a:hover::after {
    width: 100%;
}
.contact {
    max-width: 700px;
    margin: 4rem auto;
    padding: 2.5rem;
    border-radius: 24px;
    /*background: linear-gradient(145deg, #111827, #1f2937);*/
    color: #fff;
    text-align: center;
    /*box-shadow:*/
    /*        0 20px 50px rgba(0,0,0,.35),*/
    /*        inset 0 1px rgba(255,255,255,.08);*/
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: .5rem;
}

.contact p {
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: .9rem 1.6rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s ease;
}

.email {
    color: white;
}

.codeberg {
    color: white;
}
#codeberg-logo{
    width: 15px;
    height: 15px;
}

.btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}