main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
}
h1 {
    text-align: left;
    font-weight: 400;
    font-size: clamp(12px, 3vw, 36px);
    line-height: 1;
    margin-bottom: 0;
    padding: 1rem;
    background: var(--teal-2);
    color: var(--gray-6);
    position: absolute;
    z-index: 5;
    bottom: 2rem;
    cursor: default;
}
#intro {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-inline: 3rem;
}
#name-portrait {
    position: relative;
    justify-self: left;
    max-width: clamp(120px, 30vw, 360px);
}
#portrait {
    display: block;
    margin: 0 0 0 auto;
    width: 80%;
}
#bio {
    font-size: 1rem;
    line-height: 1.6;
    width: clamp(240px, 60vw, 720px);
    text-wrap: pretty;
}
@media screen and (max-width: 800px) {
    #intro {
        flex-direction: column;
    }
    #name-portrait {
        max-width: 60%;
    }
    #bio {
        width: 100%;
    }
}
@media screen and (max-width: 400px) {
    h1 {
        position: relative;
        bottom: 0;
    }
    #portrait {
        display: block;
        margin: 0 0 auto 0;
        width: 100%;
    }
}
@media (hover: hover) {
    #portrait {
        filter: grayscale();
        transition: 0.4s filter ease-in;
    }
    #portrait:hover {
        filter: none;
    }
}
#links {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 4rem;
}