:root {
    --erik-blue: #80ccff;
    --erik-pink: #FA9cd6;
    --background-gray: #242322;
}

* {
    scroll-padding-top: 100px;
}

body {
    background-color: var(--background-gray);
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
    font-family: Tahoma;
    margin-top: 73px;
}

main {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

p {
    color: #FFF;
}

h1 {
    font-weight: 600;
    font-size: 42px;
    color: var(--erik-blue);
    margin-top: 5px;
}

h2 {
    font-size: 32px;
    margin-bottom: 50px;
}

h2,
h3,
h4 {
    color: var(--erik-blue);
}

article {
    margin-bottom: 50px;
}

article aside {
    margin-top: 30px;
    margin-bottom: 30px;
}


aside {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 40%;
    background-color: color-mix(in srgb, var(--erik-pink) 85%, transparent);
    border-radius: 15px;
    padding: 10px;
    color: black;
}

section:not(#bio-intro) {
    margin-bottom: 125px;
}

footer {
    background-color: color-mix(in srgb, var(--erik-blue) 85%, transparent);
    padding: 15px;
}

nav {
    width: 100%;
    height: 73px;
    background-color: var(--erik-blue);
    position: fixed;
    top: 0;
}

nav p {
    font-size: 24px;
    font-weight: 600;
}

nav ul {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    gap: 40px;
    margin-right: 40px;
    list-style-type: none;
    font-size: 16px;
}

header {
    margin-top: 90px;
}

dl,
ol,
ul {
    color: #fff;
}

header a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin: 15px;
}

cite a,
dd a {
    color: var(--erik-blue);
    font-weight: 600;
    text-decoration: none;
}

dt {
    margin-bottom: 10px;
    margin-left: 40px;
}

dl {
    margin-top: 50px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

dd {
    margin-bottom: 30px;
}

blockquote {
    padding: 10px;
    max-width: 40%;
    text-align: center;
    background-color: color-mix(in srgb, var(--erik-pink) 85%, transparent);
    border-radius: 15px;
}

cite a:visited,
dd a:visited {
    color: var(--erik-pink);
}

.nav-link {
    text-decoration: none;
    color: #000;
    transition: ease-in .2s;
    padding: 15px;
    border-radius: 10px;
}

.nav-link:hover {
    background-color: var(--erik-pink);
}

#contact-link {
    font-weight: 600;
    background-color: #242231;
    color: var(--erik-pink);
    max-height: 39px;
    padding: 15px;
    transition: ease-in .2s;
}

#contact-link:hover {
    background-color: var(--erik-pink);
    color: #242231;
}

#nav-bar {
    max-width: 1400px;
    height: 73px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-flow: row nowrap;
    text-align: center;
    text-wrap: none;
    margin-left: auto;
    margin-right: auto;
}

#bio-intro {
    max-width: 1000px;
    margin-top: 50px;
    margin-bottom: 75px;
    display: flex;
    gap: 50px;
    justify-content: space-between;
}

#bio-intro img {
    object-fit: cover;
    object-position: 0 0px;
    border-radius: 100%;
    width: 187px;
    height: 187px;
}

.cell {
    display: flex;
    border: 1px solid white;
    align-items: center;
    max-width: 550px;
    justify-content: left;
}

.infotable dl dt,
.infotable dl dd {
    margin: unset;
    padding: 10px;
}

.infotable dl dt {
    border-right: 1px solid white;
    width: 100px;
}

.skip {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip:focus {
    position: static;
    width: auto;
    height: auto;
}


@media screen and (max-width: 576px) {

    main,
    #bio-intro {
        max-width: 450px;
    }

    main {
        margin-left: 5vw;
        margin-right: 5vw;
    }

    p,
    header a {
        font-size: .8rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    h4 {
        font-size: 1rem;
    }

    nav p {
        font-size: 24px;
        font-weight: 600;
        grid-column: 1 / 2;
    }

    #nav-bar {
        max-width: 425px;
        display: flex;
        justify-content: space-between;
    }

    #contact-link {
        font-size: 14px;
        padding: 10px;
        text-align: center;
        grid-column: 3 / 4;
    }

    #nav-bar ul {
        display: none;
        place-self: center;
        grid-column: 2 / 3;
        flex-flow: row wrap;
        gap: 5px;
        font-size: 12px;
        text-wrap: none;
    }

    .nav-link {
        display: inline-block;
        padding: 5px;
    }

    #bio-intro {
        margin-bottom: 50px;
        margin-top: 125px;
        align-items: center;
    }

    #bio-intro img {
        height: 130px;
        width: 130px;
        margin-left: 20px;
    }

    .cell {
        font-size: 10px;
        text-align: center;
    }

    .infotable dl dt,
    .infotable dl dd {
        margin: unset;
        padding: 10px;
    }

    .infotable dl dt {
        border-right: 1px solid white;
        width: 50px;
    }

    footer {
        font-size: 14px;
    }
}