@font-face {
    font-family: 'Garet-Book';
    src: url('fonts/Garet-Book.otf');
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

html {
    font-family: 'Garet-Book';
    box-sizing: border-box;
}

nav {
    text-transform: uppercase;
    background-color: white;
    box-shadow: 0 0 0.5em grey;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    padding: 1vw;

    ul, li {
        display: inline;
    }

    .navtext {
        color: black;
        font-size: 1.25vw;
        margin-right: 0.25em;
    }

    ul {
        float: right;
        margin-right: 2vw;
    }

    z-index: 1000;
}

.ht {
    color: black;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.ht::after {
    content: '';
    width: 100%;
    position: absolute;
    transform: scaleX(0);
    height: 0.05em;
    bottom: 0;
    left: 0;
    background-color: black;
    transition: transform 0.25s ease-out;
    transform-origin: bottom center;
}

.ht:hover::after {
    transform: scaleX(1);
}

footer {
    clear: both;
    background-color: black;

    .footertext {
        color: white;
        font-size: 1.5em;
        display: inline-block;
        margin: 2vw 5vw;
    }

    #email {
        float: right;
    }
}

em {
    font-style: italic;
}

.normallink {
    color: inherit;
}