.new_main {
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

main {
    display: grid;
    grid-template-columns: 30% 70%;
    padding-top: calc(60px + 2rem);
    margin: 0 2rem;
    flex: 1;
    min-height: 0;
}

.profile_pic_container {
    display: flex;
    justify-content: center;
}

.profile_group_container {
    width: 100%;
}

.profile_text_container {
    padding-bottom: 20px;
    /*width: 100%; */
}

.title_container {
    padding-bottom: 10px;
}

.profile_text_container h3,
.profile_text_container p,
.link_group {
    opacity: 0;
    transform: translateX(-10px);
}

.profile_picture {
    border-radius: 5%;
    height: 350px;
    opacity: 0;
    transform: translateX(10px);
}

.contact_section {
    text-align: center;
    grid-column: 1/-1;
}

hr {
    border: none;
    height: 2px;
    margin: 20px 31%;
    background-color: black;
}

/* LINK GROUP — matches navbar link style */
.link_group a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    font-family: "Yu Gothic UI", Tahoma, Verdana, sans-serif;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.65rem 1rem;
}

/* Hover effect */
.link_group:hover {
    transform: translateY(-6px);
}

.link_group a:hover::after {
    transform: translateX(4px);
    opacity: 1;
}

/* Optional: subtle bottom padding for spacing */
.link_group {
    padding: 10px 0;
    margin-top: 20px;
    transition: transform 0.3s ease;
}

.icon_group {
    display: flex;
    justify-content: center;
    max-width: 100%;
    margin-top: 20px;
    gap: 20px;
}

.icon_link {
    height: 2rem;
    opacity: 0;
    transform: scale(0.8);
    transition:
        filter 0.3s ease,
        transform 0.3s ease;
}

.contact_section hr {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
}

.footer_text {
    opacity: 0;
}

.icon_link:hover {
    transform: scale(1.1);
    filter: brightness(0) saturate(100%) invert(37%) sepia(54%) saturate(1059%)
        hue-rotate(128deg) brightness(88%) contrast(91%);
}

@media (min-width: 2560px) {
    /* html {
        font-size: 1rem;
    } */
}

@media (min-width: 1440px) {
    /* html {
        font-size: 1rem;
    } */

    .icon_link {
        height: 3rem;
    }

    .icon_group {
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .profile_picture {
        height: 250px;
    }
}

@media (max-width: 1023px) {
    main {
        grid-template-columns: 1fr;
    }

    .profile_picture {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    main {
        margin: 0 1.3rem;
    }
}

@media (max-width: 375px) {
    .icon_group {
        flex-wrap: wrap;
        max-width: 50%;
        margin-inline: auto;
    }

    .icon_group a {
        justify-content: center;
        flex-basis: calc(50% - 10px);
    }
}
