

/* Main content styles */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

section {
    margin-bottom: 3rem;
}

h1, h2, h3 {
    margin-bottom: 1rem;
}

ul, li {
    list-style-position: inside;
}

/* Common card styles */
.expertise-card,
.project-card,
.experience-card {
    background: var(--text-background-colour);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    margin-top: 2rem;
    padding-left: 1.5vw;
    padding-right: 1.5vw;
}
.expertise-card h3,
.project-card h3,
.experience-card h3 {
    color: var(--secondary-colour);
}

/* Responsive design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .expertise-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
}


