body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* Base styles */
.container {
    width: 100%;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
nav {
    background-color: white;
}

.nav-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 0.5rem;
}

@media (min-width: 640px) {
    .nav-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 0 2rem;
    }
}

.nav-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.nav-item {
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    color: #4a5568;
    font-weight: 500;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
}

.nav-item:hover {
    color: white;
    background-color: #4a5568;
}

.nav-item.active {
    background-color: #4a5568;
    color: white;
}

/* Button styles */
.btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
}

.btn-primary {
    background-color: #1a56db;
    color: white;
}

.btn-primary:hover {
    background-color: #1e429f;
}

/* Profile section */
.profile-section {
    display: flex;
    margin-top: 3rem;
    padding: 0 1.25rem;
    justify-content: center;
}

.profile-image {
    width: 14rem;
    height: 14rem;
    border-radius: 9999px;
}

@media (min-width: 768px) {
    .profile-section {
        text-align: left;
    }
    
    .profile-image {
        margin-right: 1.5rem;
    }
}

/* Tech stack grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 1rem;
}

@media (min-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tech-item {
    text-align: center;
    padding: 1rem;
}

.tech-item img {
    max-width: 80px;
    max-height: 80px;
    margin: 0 auto;
}

/* Project section */
.project {
    padding: 2rem 0.5rem;
}

.project-title {
    text-decoration: underline;
    margin-bottom: 1rem;
}

.project-tags span {
    background-color: #edf2f7;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

.project-image {
    width: 80%;
    border: 0.4px solid #d3d3d3;
    margin: 1.25rem 0;
}

.project-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-weight: bold;
    text-decoration: none;
    margin-right: 0.5rem;
}

.project-link.primary {
    background-color: #1a56db;
    color: white;
}

.project-link.primary:hover {
    background-color: #1e429f;
}

.project-link.secondary {
    background-color: #e2e8f0;
    color: black;
}

.project-link.secondary:hover {
    background-color: #cbd5e0;
}

/* Contact section */
.contact-section {
    padding: 2rem 0.5rem;
    text-align: center;
}

.contact-email {
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 2rem 0;
    text-align: center;
}

.hidden {
    display: none;
}

@media (min-width: 640px) {
    .sm\:block {
        display: block;
    }
    
    .sm\:hidden {
        display: none;
    }
}