main {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.profile-header {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--background-color) 0%, rgba(74, 144, 226, 0.05) 100%);
    border-radius: 1.5rem;
    margin-bottom: 4rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

main  #author-pfp {
    border-radius: 100%;
    display: inline-block;
    margin: 0 auto 2rem auto;
    border: 4px solid var(--text-color-primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

main  #author-pfp:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

main h2 {
    font-size: 3.8rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-color-primary);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

main div#job {
    font-size: 1.8rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 0;
    color: #4a90e2;
    position: relative;
}


h3 {
    font-size: 2.6rem;
    color: var(--text-color-primary);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #50c878);
    border-radius: 2px;
}

main > #social-media-link-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0 5rem 0;
    padding: 0 1rem;
}

main > #social-media-link-buttons > a {
    width: 100%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(80, 200, 120, 0.1));
    border-radius: 1rem;
    padding: 1.2rem 1rem;
    font-size: 1.8rem;
    font-weight: 600;
    background-repeat: no-repeat;
    background-position: 1rem center;
    background-size: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

main > #social-media-link-buttons > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

main > #social-media-link-buttons > a:hover::before {
    left: 100%;
}

main > #social-media-link-buttons > a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
    border-color: #4a90e2;
}

main > #social-media-link-buttons > a:nth-child(1) {
    background-image: var(--icon-instagram);
}

main > #social-media-link-buttons > a:nth-child(2) {
    background-image: var(--icon-twitter);
}

main > #social-media-link-buttons > a:nth-child(3) {
    background-image: var(--icon-linkedin);
}

main > #social-media-link-buttons > a:nth-child(4) {
    background-image: var(--icon-facebook);
}

main > #about-me-container {
    margin-bottom: 4rem;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.03), rgba(80, 200, 120, 0.03));
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(74, 144, 226, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

main > #about-me-container > h3 {
    margin-bottom: 2.5rem;
}

main > #about-me-container > p {
    font-size: 1.85rem;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-color-primary);
    text-align: justify;
}

main > #about-me-container > p:last-child {
    margin-bottom: 0;
}

@media screen and (width >= 650px) {
    main {
        padding: 3rem;
    }

    .profile-header {
        padding: 5rem 2rem;
    }

    main  h2 {
        font-size: 4.4rem;
    }

    main  div#job {
        font-size: 2rem;
    }

    main > #social-media-link-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin: 3rem 2rem 6rem 2rem;
    }

    main > #about-me-container {
        padding: 4rem;
    }

    main > #about-me-container > p {
        font-size: 2rem;
        line-height: 1.9;
    }
}

@media screen and (width >= 992px) {
    main > #social-media-link-buttons {
        grid-template-columns: repeat(4, 1fr);
    }
}