/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0 auto;
    width: 70vw;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #faf8f8;
}

/* Header Section */
header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    position: sticky;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
}

/* Navigation */
nav {
    background: #444;
    padding: 0.5rem 0;
    /* position: fixed; */
}

.logo{
    display: flex;
    justify-content: left;
    align-items: left;
}

.logo img{
    height: 50px;
    width: 50px;
    float: left;
    margin-left: 20px;
}

.nav{
    display: flex;
    margin-left: 150px;
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav ul li {
    margin: 0 1rem;
}


.nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

.nav ul li a:hover {
    color: #1ed88e;
    text-decoration: underline;
}

/* About Section */
.about {
    padding: 2rem;
    background: #fff;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Portfolio Section */
h1,h2{
    margin: 10px 0 10px;
    background-color: #333;
    color: #fff;
    width: fit-content;
    border-radius: 5px;
    box-shadow: #555 0px 7px 9px 0px;
    cursor: pointer;
}

.portfolio {
    padding: 2rem;
    background: #f4f4f4;
}

.portfolio h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.portfolio .projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.portfolio .project {
    background: #fff;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

.portfolio .project img {
    max-width: 100%;
    border-radius: 5px;
}

.portfolio .project h3 {
    margin: 1rem 0 0.5rem;
}

.portfolio .project p {
    font-size: 0.9rem;
    color: #666;
}

/* Contact Section */
.contact {
    padding: 2rem;
    background: #333;
    color: #fff;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* .contact form {
    max-width: 600px;
    margin: 0 auto;
}

.contact form input,
.contact form textarea {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border: none;
    border-radius: 5px;
} */

.contact form button {
    padding: 0.8rem 2rem;
    background: #444;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact form button:hover {
    background: #555;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin: 2rem 0 1rem 0;
}

footer p {
    font-size: 0.9rem;
}