*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f9fafb;
    color: #374151;
    line-height: 1.625;
    margin: 0;
    padding: 0;
    padding-top: 7rem;
}

html {
    scroll-padding-top: 7rem;
}

.container-wrapper {
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
}

@media (min-width: 640px) {
    .container-wrapper {
        padding: 1.5rem;
    }
}
@media (min-width: 1024px) {
    .container-wrapper {
        padding: 2rem;
    }
}

.intro-combined-box {
    display: flex;
    flex-direction: column-reverse;
    gap: 1rem;
    margin-bottom: 2.5rem;

    background-color: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

@media (min-width: 640px) {
    .intro-combined-box {
        padding: 2rem;
    }
}

@media (min-width: 768px) {
    .intro-combined-box {
        flex-direction: row;
        gap: 2rem;
        align-items: stretch;
        justify-content: space-between;
    }
}

.about-me-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.profile-details-block {
    flex-shrink: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

@media (min-width: 768px) {
    .profile-details-block {
        flex-basis: 20rem;
        width: 20rem;
    }
}

.profile-pic-container {
    width: 10rem;
    height: 10rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    border-radius: 9999px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.profile-pic-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-details-block h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
    .profile-details-block h2 {
        font-size: 1.5rem;
    }
}

.profile-details-block .header-subtitle {
    font-size: 1.125rem;
    color: #4b5563;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
}

@media (min-width: 640px) {
    .profile-details-block .header-subtitle {
        font-size: 1.125rem;
    }
}

#main-content a {
    color: #6b7280;
    transition: color 200ms ease-in-out;
    text-decoration: none;
}

#main-content a:hover {
    color: #374151;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.social-links a {
    font-weight: 600; 
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f9fafb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    margin-bottom: 0;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 500;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 640px) {
    nav ul {
        gap: 1.5rem;
    }
}

nav a {
    color: #6b7280;
    transition: color 200ms ease-in-out;
    border-radius: 0.375rem;
    padding: 0.25rem 0.75rem;
    text-decoration: none;
}

nav a:hover {
    color: #374151;
}

.section-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
}

.section-card p:last-child {
    margin-bottom: 0;
}

@media (min-width: 640px) {
    .section-card {
        padding: 2rem;
    }
}

section h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

section p {
    color: #374151;
    margin-bottom: 1rem;
}

.section-item {
    margin-bottom: 1.5rem;
}

.section-item:last-child {
    margin-bottom: 0;
}

.section-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.flex-align-center {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
    border-radius: 0.125rem;
    flex-shrink: 0;
}

.section-item p {
    color: #4b5563;
}

.date {
    font-size: 0.875rem;
}

.section-item ul {
    list-style-type: disc;
    list-style-position: inside;
    color: #374151;
    margin-top: 0.5rem;
    padding-left: 0;
}

.section-item ul li {
    margin-bottom: 0.25rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
    color: #374151;
}

@media (min-width: 640px) {
    .skills-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.skills-grid h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-post-item {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
}

.blog-posts .blog-post-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.blog-post-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: color 200ms ease-in-out;
}

.blog-post-title:hover {
    color: #374151;
}

.blog-post-item .date {
    margin-top: 0.25rem;
}

.blog-post-item .excerpt {
    margin-top: 0.5rem;
}

.contact-section {
    text-align: center;
}

.contact-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .contact-links {
        flex-direction: row;
        gap: 1.5rem;
    }
}

.contact-button {
    background-color: #374151;
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 200ms ease-in-out;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: inline-block;
    text-decoration: none;
}

.contact-button:hover {
    background-color: #1f2937;
}

footer {
    text-align: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    color: #6b7280;
    font-size: 0.875rem;
}

#blog-post-detail .back-button {
    background-color: #e5e7eb;
    color: #1f2937;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    transition: background-color 200ms ease-in-out;
    border: none;
    cursor: pointer;
}

#blog-post-detail .back-button:hover {
    background-color: #d1d5db;
}

#blog-post-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
}

#blog-post-date {
    margin-bottom: 1.5rem;
}

#blog-post-detail a {
    color: #6b7280;
    transition: color 200ms ease-in-out;
    text-decoration: none;
}

#blog-post-detail a:hover {
    color: #374151;
}

#blog-post-detail a:active {
    color: #374151;
}

.blog-content {
    color: #374151;
}

.blog-content p {
    margin-bottom: 1em;
}

.blog-content ul {
    list-style-type: disc;
    list-style-position: inside;
    margin-bottom: 1em;
    padding-left: 1.25rem;
}

.blog-content li {
    margin-bottom: 0.5em;
}

.hidden {
    display: none;
}

blockquote {
    border: 1px solid #ccc; /* 1px solid light gray border */
    padding: 15px; /* Adds space inside the box */
    margin: 20px 0; /* Adds space above and below the box */
    background-color: #f9f9f9; /* Light gray background */
}