/* Whole page */
html, body {
    padding: 0;
    margin: 0;
    background-color: #EEE9E1;
    color: #3B3738;
}

/* Header bar */
.header {
    box-shadow: 0 0 0.2em #000;
    position: relative;
    z-index: 1;
    font-size: 3.2em;
    text-align: center;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    background-color: #3B3738;
    font-family: Gill Sans, sans-serif;
}
.header a {
    color: #EEE9E1;
    text-decoration: none;
}

/* Side bar */
.side {
    margin-left: 3em;
    box-shadow: 0 0 0.5em #000;
    position: fixed;
    width: 18em;
    bottom: 0;
    top: 0;
    background-color: #FDA06E;
    font-family: Gill Sans, sans-serif;
    display: flex;
    align-items: center;
}

.side ul {
    list-style-type: none;
    padding: 0;
    width: 100%;
}
.side li {
    font-size: 2em;
    margin-top: 1em;
    margin-bottom: 1em;
    position: relative;
    width: 100%;
}
.side a  {
    color: #3B3738;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    display: block;
    padding-left: 1em;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
}
.side a:hover {
    background-color: #FFCF98;
    transition: background-color 500ms;
}
#selected a {
    font-weight: 600;
    color: #3B3738;
}
#selected a::before, .side a:hover::before {
    content: '';
    border-left: thick solid #3B3738;
    position: absolute;
    height: 100%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Content */
.content {
    font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif;
    margin-left: 21em;
    display: flex;
    justify-content: center;
    padding: 5em;
    padding-top: 3em;
}
.content a {
    color: #3594CD;
}
.content a:hover {
    color: #FDA06E;
}
.home_intro {
    text-align: justify;
    font-size: 1.2em;
    max-width: 50em;
}
.home_intro h1 {
    margin: 0;
}
.bio {
    float: right;
    display: grid;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}
#me {
    width: 15em;
    height: 15em;
    box-shadow: 0 0 0.5em #000;
}
#cv {
    width: 100%;
    max-width: 50em;
    height: 64em;
}