:root {
    --page-width: 47rem;
}

* {
    margin: 0;
    padding: 0;

    font-family: Georgia, 'Times New Roman', Times, serif;
}

body {
    background-color:#EEBEDD;
}

.stuck, h1, nav ul, .free, .line {
    display: flex;
}

.stuck, h1, nav ul, .free {
    justify-content: center;
}

.stuck, .free {
    width: 100%;
}

header, #resume {
    background-color: white;

    width: var(--page-width);
    padding-left: 6rem;
    padding-right: 6rem;
}

h1, nav li {
    padding: 0.5rem;
}

nav li, h3, span {
    display: inline-flex;
}

.top, h3, #resume li, p, td {
    padding-top: 0.25rem;
}

.bottom, #resume ul, #resume li, td, table {
    padding-bottom: 0.25rem;
}

.stuck {
    position: fixed;
    top: 0;
}

header {
    border-bottom: 1px solid black;
}

li {
    font-size: 1rem;
}

nav li {
    list-style-type: none;
}

a {
    color: black;
}

a.active {
    color: #A32978;
}

#resume {
    padding-top: calc(6.75rem + 1px);
    padding-bottom: 5.5rem;

    box-shadow: 0 0 2rem -1rem black;
}

h2 {
    padding-top: 0.75rem;
    font-size: 1.15rem;
}

#resume ul {
    padding-left: 3rem;
}

.line {
    justify-content: space-between;
}

h3 {
    font-size: 1rem;
}

.right {
    text-align: right;
}

p {
    padding-bottom: 0.5rem;
}

li, p {
    text-align: justify;
}

td {
    vertical-align: top;
}

.tname {
    width: 10rem;
}

@media only screen and (max-width: 59rem) {
    header, #resume {
        width: 100%;
        padding-left: 5vw;
        padding-right: 5vw;
    }

    #resume {
        padding-bottom: 0.25rem;
    }

    h1 {
        font-size: min(2rem, 8vw);
    }

    #resume ul {
        padding-left: 6vw;
    }
}