body {
    font-size: 18px;
    color: #414141;
    background-color: #eeeeee;
    font-family: 'Roboto', sans-serif;
    padding: 0;
    margin: 0;
    background-image: url(img/headshot.png);
    background-position: center right;
    background-size: contain;
    background-repeat: no-repeat;
}

ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4, h5, h6, h7 {
    margin: 0;
    line-height: 1em;
}

#maincontent {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

maincontent > div {
    flex: 1;
    width: 50%;
}

#maincontent img {
    min-width: 200px;
    width: 270px;
    margin-bottom: 40px;
    margin-top: 3rem;
    margin-left: -.1rem;
}

#maincontent h1 {
    /*font-family: 'PT Serif', serif;
    text-align: center;
    font-size: 6em;
    line-height: 1.3em;*/
    text-indent: -999%;
    height: 0px;
}

#maincontent h2{
    font-family: 'Roboto Slab', serif;
    font-size: 4vh;
    margin:0 auto 2vh;
    max-width: 700px;
}

#maincontent ul {
    font-size: 1em;
}

#maincontent ul li {
    display: flex;
    align-items: center;
    border-radius: 6px;
    transition: all .4s;
}

#maincontent ul li:hover {
    box-shadow: 0px 1px 4px 3px #eee;
    transition: all .4s;
}

#maincontent ul li i {
    width: 7.5vh;
    height: 7.5vh;
    background-color: #ccc;
    display: block;
    border-radius: 8px;
}

#maincontent ul li span {
    display: block;
    font-size: 3.8vh;
    font-weight: 700;
}

#maincontent ul li a {
    font-family: 'Roboto Slab', serif;
    display: block;
    padding: 2vh 20px;
    color: #414141;
    text-decoration: none;

}

#webring {
    font-family: 'Roboto Slab', serif;
    min-height: 10vh;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #11111199;
    display: flex;
    align-items: center;
    justify-content: center;
}

#webring ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

#webring ul li {

}

#webring ul li:nth-last-of-type(2) {
    display: flex;
    align-items: center;
    height: 50px;
    border-radius: 50px;
    background-color: #fff;
    margin: 10px;
}

#webring ul li span {
    display: block;
    padding: 0 20px;
}

#webring ul li a {
    height: 50px;
    font-size: 1.4em;
    text-decoration: none;
    color: #111;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    min-width: 140px;
}

footer {
    text-align: center;
    opacity: .5;
    padding: 20px 0;
}

footer img {
    width: 180px;
}

footer p {
    margin-top: 0;
}

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

    body {
        padding: 0 4vw
    }

    /*#maincontent h1 {
        font-family: 'PT Serif', serif;
        text-align: center;
        font-size: 10vw;
        line-height: 1em;
        padding-top: 7vh;
        padding-bottom: 2vh;
    }*/
    
    #maincontent img {
        padding: 20px 0;
        width: 80%;
    }

    #maincontent h2 {
        font-family: 'Roboto Slab', serif;
        text-align: center;
        font-size: 6vw;
        line-height: 1em;
        margin-bottom: 3vh;
    }
    
    #maincontent ul {
        padding: 2vh 0;
        font-size: .8em;
        margin: 0 auto;
    }
    
    footer img {
        width: 120px;
    }
    
    #maincontent ul {
        font-size: 1em;
    }
}


/* Link to Icon Images */

        #maincontent ul li:nth-of-type(6) i {
            background-image: url(images/icons/icon-01.svg);
            background-color: #f76f6c;
        }

        #maincontent ul li:nth-of-type(4) i {
            background-image: url(images/icons/icon-03.svg);
            background-color: #0073b1;
        }

        #maincontent ul li:nth-of-type(3) i {
            background-image: url(images/icons/icon-04.svg);
            background-color: #d44ba4;
        }

        #maincontent ul li:nth-of-type(4) i {
            background-image: url(images/icons/icon-05.svg);
            background-color: #111111;
        }

        #maincontent ul li:nth-of-type(1) i {
            background-image: url(images/icons/files.png);
            background-color: #1da1f2;
            background-size: 67%;
background-position: center;
background-repeat: no-repeat;
        }

    #maincontent ul li:nth-of-type(2) i {
            background-image: url(images/icons/pics.png);
            background-color: #1da1f2;
        background-size: 67%;
background-position: center;
background-repeat: no-repeat;
        }

        #maincontent ul li:nth-of-type(5) i {
            background-image: url(images/icons/icon-03.svg);
            background-color: #111;
        }


/* nth-of-type(6) etc. */

/* That's all legacy - new stuff below */

#linktree {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 0 40vw 0 10vw;    
    position: relative;
    margin-bottom: 60px;
}

#linktree .stuff {
    height: 60px;
    bottom: 0;
}
    
#desktopspace {
    flex: 1;

}

#desktopspace2 {
    flex: 1;
    background-image: url(img/headshot2.png);
    background-position: center right;
    background-repeat: no-repeat;
}

.mobshow {
    display: none;
}

@media screen  and (max-width: 60rem) {
    
    .mobshow {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: left;
        margin-bottom: 10vw;
    }
    
    .mobImg {
        flex: 1;
    }
    
    #maincontent .mobImg img {
        margin: 0;
        padding: 0;
        border-radius: 400px;
    }
    
    .MobDesc {
        flex: 2;
        padding-left: 20px;
    }
    
    #maincontent .MobDesc img {
        margin: 0;
    }
    
    #maincontent .mobshow h2 {
        text-align: left;
        font-size: 1.4em;
        color: #414141;
    }
    
    
    #maincontent {
        flex-direction: column;
    }

    body {
        background-image: none;
        padding: 0 4vw;
    }
    
    li a {
        background-color: #fff;
        margin-left: 20px;
        border-radius: 5px;
        width:100%;
    }
    
    li {
        padding: 10px 0;
        width:100%;
    }
    
    ul {
        width: 100%;
    }
    
    #maincontent ul li i {
        width: 20vw;
        height: 15vw;
        background-color: #ccc;
        display: block;
        border-radius: 8px;
        }
    
    #maincontent {
        display: flex;
        min-height: 100vh;
        margin-top: 10vh;
        color: #fff;
    }
    
    #linktree {
        display: flex;
        justify-content: center;
        flex-direction: column;
        margin: 0;
        position: relative;
        margin-bottom: 60px;
        }
    
    .mobilehide {
        display: none;
    }
    
    #desktopspace {
        display: none;
    }
    
    #maincontent #linktree img, #maincontent #linktree h2 {
        display: none;
    }
    
    #linktree .stuff {
        position: absolute;
        height: 60px;
        bottom: -80px;
        text-align: center;
        width: 100%;
        color: #494949;
        }
}