/* General Styles */
body, html {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    min-height: 100%;
}

/* Header Section */
header {
    position: relative;
    background-color: #333;
    color: white;
    min-height: 100dvh;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    padding: 2rem;
    box-sizing: border-box;
}

.headshot-container {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.headshot-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.25); /* Zoom in by 30% */
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header p {
    margin: 1rem 0 2rem 0;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-links a {
    padding: 12px 18px;
    text-decoration: none;
    font-size: 1.4rem;
    color: white;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Main Content */
.container {
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
}

.about {
    margin-top: 3rem;
    max-width: 75%;
    text-align: center;
}

/* Projects Section */
.projects {
    width: 100%;
    margin-bottom: 10rem;
}

.section-title {
    width: 100%;
    text-align: center;
    margin-bottom: 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background-color: #fff;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.image-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.project-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card h3 {
    margin: 0.5rem 0;
    font-size: 1.25rem;
    color: #333;
    text-align: center;
}

.project-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    text-align: center;
}

/* Footer */
.footer-container {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    header {
        padding: 1rem;
        min-height: 100vh;
    }

    .header-content {
        padding: 1rem;
    }

    .headshot-container {
        width: 150px;
        height: 150px;
        margin-bottom: 1.5rem;
    }

    header h1 {
        font-size: 2.2rem;
    }

    header p {
        font-size: 1.5rem;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .image-container {
        padding-top: 75%;
    }

    .project-card {
        padding: 1rem;
    }
}


