* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #ffffff;
    color: #111;
    line-height: 1.6;
}

/* NAV BAR */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 10%;
}

.nav a, .dropbtn {
    text-decoration: none;
    color: #111;
    margin-left: 30px;
    font-size: 0.95rem;
    cursor: pointer;
}

.nav a:hover, .dropbtn:hover {
    color: #666;
}

.name {
    font-weight: bold;
}

/* DROPDOWN */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 25px;
    right: 0;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    z-index: 1;
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    margin: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* HEADER */
.header {
    padding: 80px 10%;
}

.header h1 {
    font-size: 2.5rem;
}

.subtitle {
    font-size: 1.1rem;
    color: #555;
}

/* ABOUT */
.about {
    display: flex;
    gap: 40px;
    padding: 80px 10%;
    align-items: center;
}

.about img {
    width: 250px;
    border-radius: 4px;
}

/* PROJECTS */
.projects {
    padding: 80px 10%;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.project-card {
    text-decoration: none;
    color: inherit;
}

.project-card img {
    width: 100%;
    border-radius: 4px;
}

.project-card h3 {
    margin-top: 10px;
}

/* FOOTER */
.footer {
    padding: 40px 10%;
    text-align: center;
    color: #777;
}
