:root {
    --bg-color-1: rgba(240, 240, 240, 1);
    --bg-color-2: rgba(220, 215, 250, 1);
    --bg-color-2-d: rgba(190, 170, 240, 1);
    --bg-color-2-c: rgba(170, 150, 220, 1);
    --bg-color-2-b: rgba(120, 100, 180, 1);
    --bg-color-2-a: rgba(90,  75,  140, 1);
}

hr {
    margin: 30px 3% 30px 3%;
    color: var(--bg-color-2-d);
    border-color: var(--bg-color-2-d);
}

html {
    font-size: 14pt;
    line-height: 1.325;
    background: linear-gradient(
        to bottom,
        var(--bg-color-1),
        white 400px,
        var(--bg-color-2-b) 350px,
        var(--bg-color-2-c) 375px,
        var(--bg-color-2-d) 400px,
        var(--bg-color-2) 475px,
        var(--bg-color-2));
    padding: 0 20px 0 20px;
}

body {
    width: 850px;
    margin: 0 auto 100px auto;
}

h1, h2, h3 {
    text-align: center;
    font-family: sans-serif;
}

a {
    color: var(--bg-color-2-a);
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    color: var(--bg-color-2-b);
}

a:visited {
    color: inherit;
}

#favorites h2 {
    text-align: left;
}

#books h3 {
    text-align: left;
    font-style: italic;
    color: var(--bg-color-2-a);
}

#profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#profile-image-holder {
    border-radius: 20%;
    height: 200px;
    width: 200px;
    user-select: none;
    box-shadow:
        0px 0px 0px 7px #000,
        0px 0px 20px 10px rgba(0, 0, 0, 0.375)
    ;
    margin-top: 30px;
    margin-bottom: 10px;
    background: url('headshot.jpg');
    background-size: cover;
    background-position: center;
    background-color: white;
}

#profile-header-name {
    font-size: 32px;
}

.profile-header-position {
    /*color: var(--bg-color-2-a);*/
}

h2 {
    margin: 5px;
}

#contact {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

#contact * {
    padding: 5px;
}

#contact, #contact-left, #contact-right {
    display: flex;
    flex-direction: row;
}

#contact-left, #contact-right {
    width: 50%;
}

#contact-info-right, #contact-image-bar-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

#contact-image-bar-left, #contact-image-bar-right {
    user-select: none;
}

.contact-image {
    width: 30px;
}

#office-hours-table * {
    vertical-align: top;
    padding: 15px 25px 15px 25px;
}

#office-hours-table {
    font-weight: bold;
    margin: 20px auto 0 auto;
}

.border-right {
    border-right: 1px solid var(--bg-color-2-b);
}

#books {
    margin-left: 50px;
}

ul {
    list-style: none;
    line-height: 1.5;
    font-family: sans-serif;
    font-size: 13pt;
}

li::before {
    padding-left: 15px;
    padding-right: 10px;
    content: '\00BB';
    color: var(--bg-color-2-a);
}

#bottom-grad {
    position: absolute;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(
        to top,
        var(--bg-color-1),
        white 50px,
        var(--bg-color-2-b) 50px,
        var(--bg-color-2-c) 75px,
        var(--bg-color-2-d) 100px,
        var(--bg-color-2) 175px,
        var(--bg-color-2))
    ;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 12px;
    color: var(--bg-color-2-d);
    font-family: monospace;
    user-select: none;
}
