/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
}

/* Header */
header {
    background: #1e1e1e;
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

header h1 {
    font-size: 2.1rem;
    color: #5fda61;
    text-align: start;
}

header p {
    font-size: 1.2rem;
    margin-top: 5px;
    color: #d1d1d1;
    text-align: start;
}

/* Navigation Links */
header .nav-links {
    position: relative;
}

header .nav-links ul {
    list-style-type: none;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

header .nav-links ul li {
    display: inline;
}

header .nav-links a {
    color: #91d9bc;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
    padding: 10px;
}

header .nav-links a:hover {
    background: #008ecf;
    border-radius: 5px;
}

/* Hamburger Icon */
header .hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #00c3ff;
    position: absolute;
    top: -45px;
    right: 20px;
}

/* Sections */
section {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #00c3ff;
}

.project {
    background: #1e1e1e;
    padding: 20px;
    margin: 15px 0;
    border-radius: 8px;
}

.project h3 {
    font-size: 1.5rem;
    color: #19ae61;
}

.project p {
    font-size: 1rem;
    color: #d1d1d1;
}

/* Resume Section */
#resume {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 8px;
}

#resume p {
    font-size: 1.2rem;
    color: #d1d1d1;
}

/* Contact Form */
form {
    margin-top: 20px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
}

textarea {
    height: 120px;
}

button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    background: #00c3ff;
    border: none;
    color: #121212;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #008ecf;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #1e1e1e;
    margin-top: 30px;
    font-size: 1rem;
    color: #d1d1d1;
}

/* Media Queries for Small Devices */
@media screen and (max-width: 768px) {
    header .nav-links ul {
        display: none; /* Hide menu by default */
        flex-direction: column;
        gap: 10px;
        text-align: center;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #1e1e1e;
        width: 200px;
        padding: 10px;
        border-radius: 5px;
    }

    header .hamburger {
        display: block; /* Show hamburger menu */
    }

    header .nav-links ul.show {
        display: flex; /* Show menu when hamburger is clicked */
    }

    header .nav-links a {
        font-size: 1.2rem;
        padding: 10px;
        width: 100%;
        text-align: center;
    }
}
#blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px); /* Apply blur effect */
    background: rgba(0, 0, 0, 0.3); /* Dark overlay */
    z-index: 999; /* Ensure it stays above content */
}

/* Centered password popup */
#popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #912f2f00;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Above blur overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
}