#nav {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 12px 20px;
    border: 1px solid rgba(51, 51, 51, 0.18);
    border-radius: 999px;
    background: rgba(245, 245, 235, 0.85);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

#nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

body {
    margin: 10px;
    font-family: Arial, sans-serif;
    background: #dfddc7
}

#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

#hero-image img {
    display: block;
    width: 300px;
    height: auto;
    border-radius: 20px;
}

#hero-callout {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2em;
    color: #333;
    text-align: center;
    margin-top: 20vh;
}

#hero-text {
    font-family: Arial, sans-serif;
    font-size: 3em;
    color: #2c2a2a;
    text-align: left;
    margin-top: 2vh;
}

#projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

#project-card {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#project-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

#project-card {
    display: flex;
    flex-direction: column;
}

#project-description {
    font-size: 1em;
    color: #555;
}

#try-it {
    margin-top: auto;
}

#try-it a {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    background: #333;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

#try-it a:hover {
    background: transparent;
    color: #333;
    border-color: #333;
    transform: translateY(-1px);
}

footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #777;
}