html {
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(242,242,242,1) 35%, rgba(196,196,196,1) 100%);
    background-repeat: no-repeat;
    height: 100%;
}

body {
    font-family: Avenir, sans-serif;
    max-width: 70em;
    margin: auto;
    padding-bottom: 3em;
}

main {
    padding: 0.25em;
    flex: 1;
    min-width: 0;
}

h1 {
    font-size: 3em;
    padding: 0.5em;
    margin-bottom: 0;
    font-family: 'Savoye LET', cursive;
}

h2 {
    font-size: 1.75em;
    margin-bottom: 0;
}

h3 {
    font-size: 1.5em;
}

a { 
    color: #0081d1;
    text-decoration: none
}

#career-milestones {
    display: flex;
    flex-wrap: wrap;
}

/* Navigation Bar */
#navigation {
    background-color: #333;
    overflow: hidden;
}
#navigation a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
  }
#navigation a:hover {
    background-color: #ddd;
    color: black;
}

#navigation a.active {
    background-color: #f57a93;
    color: white;
  }
  
#split-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#image-container {
    align-self: flex-start;
}

#image-container img {
    margin-right: 1em;
    width: 250px;
    height: auto;
    margin-top: 1.5em;
}

@media (max-width: 600px) {
    #image-container {
        align-self: center;
        text-align: center;
        width: 100%;
    }
    #image-container img {
        margin-right: 0;
    }
}

.career-milestone {
    display: flex;
    align-items: center;
    padding: 0;
}

.career-milestone h3 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-right: 1em;
}

.career-milestone img {
    height: auto;
    width: 8em;
    padding-right: 0.5em;
}

.career-milestone span {
    vertical-align: center;
}

.image-stack {
    display: flex;
    flex-wrap: wrap;
}

.floating-image {
    width: 300px;
    float: left;
    padding-right: 1em;
}

/* Scrolling bookshelf */
.scrollable-bookshelf {
    display: flex;
    overflow-x: auto;
}
.scrollable-bookshelf img {
    height: 300px;
    margin-right: 1em;
}


.split-content {
    display: flex;
    align-items: center;
}
.split-content-left img {
    width: 30vw;
    margin-right: 1em;
}
.split-content-right img {
    width: 30vw;
    margin-left: 1em;
}


/* Reusable Styles */
.full-image {
    width: 100%
}

.right-image {
    float: right;
    max-width: 500px;
    padding-left: 1em;
}

.small-right-image {
    float: right;
    max-width: 300px;
    padding-left: 1em;
}