#bio {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 200px 0;
    box-sizing: border-box;
    /* min-height: calc(110vh); */
    display: flex;
    flex-direction: column;
    align-items: center;
}

#bio .textContainer {
    display: flex;
    margin: 2rem 0;
    gap: 2rem;
    flex-direction: column;
    mix-blend-mode: difference;
}

#bio .bioText,
#bio .noms {
    flex: 1;
    font-family: 'Roboto Mono', monospace;
    font-size: 1rem !important;
    color: #fff;
    width: 650px;
}

#bio .profileContainer {
    position: absolute;
    top: -100%;
    bottom: 0;
    left: 0;
    right: 0;
    clip: rect(0, auto, auto, 0);
}

#bio .profile {
    position: fixed;
    height: 270px;
    width: 270px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 !important;
    margin: 0 auto;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
    box-shadow: 0px 0px 100px 20px rgba(255,255,255,0.15);
    -webkit-box-shadow:0px 0px 100px 20px rgba(255,255,255,0.15);
    -moz-box-shadow: 0px 0px 100px 20px rgba(255,255,255,0.15);
}
html.webp #bio .profile {
    background-image: url('/assets/img/profile-7.webp');
}

html.no-webp #bio .profile {
    background-image: url('/assets/img/profile-7.jpg');
}

#bio .selectedRandomly {
    color: var(--primary-color) !important;
}

#bio .bioText article,
#bio .noms article {
    position: relative;
    font-weight: 300;
    margin: 10px 0 8px 0;
    text-align: justify;
    z-index: 1;
}

#bio .bioText article h4,
#bio .noms article h4 {
    padding-bottom: 10px;
    margin: 0;
    font-weight: 600;
    display: block;
    font-size: 1rem;
}

#bio .bioText article a,
#bio .noms article a {
    font-weight: 600;
    margin: 0;
    /* font-style: italic;
    opacity: 0.5; */
}
#bio .bioText article a:hover,
#bio .noms article a:hover {
    color: var(--primary-color);
}

#bio .bioText a,
#bio .noms a {
    position: relative;
    font-weight: 600;
    color: #fff;
    margin-right: 16px;
    padding: 0;
    text-decoration: none;
    font-size: 1rem;
}
#bio .bioText a:hover,
#bio .noms a:hover {
    color: var(--primary-color);
}


#bio .noms h5,
#bio .noms p,
#bio .noms span {
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: 1rem;
}

#bio .noms p,
#bio .noms span {
}

#bio .noms span {
    font-style: italic;
}

#bio .noms section:not(:first-of-type)  {
    display: none;
    margin-top: 30px;
}

#bio .noms section p a {
    font-weight: 400;
}


@media (max-width: 1024px) {
    #bio {
        padding: 100px 5%;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    #bio {
        padding: 13px;
        gap: 26px;
    }

    #bio .profile {
        width: 220px;
        height: 220px;
    }

    #bio .bioText,
    #bio .noms {
        width: auto;
    }
}

@media (max-width: 570px) {
    #bio {
        padding: 40px 13px 13px 13px;
        gap: 26px;
        flex-direction: column;
    }

    #bio .profile {
        width: 40vw;
        height: 40vw;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        position: fixed;
    }
}
