body {
    font-family: "Times New Roman", Times, serif;
    background-color: white;
    color: black;
    margin: 0 auto;
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 0;
    padding-bottom: 0;
    width: 1440px;
    box-sizing: border-box;
    overflow-x: auto;
}

#main-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    min-height: 800px;
    padding-bottom: 70px;
    box-sizing: border-box;
    margin: 0;
}

#left-panel {
    width: 700px;
    text-align: left;
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
}

#right-panel {
    width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

#slideshow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 450px;
}

#name-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 80px;
    line-height: 1;
    font-weight: normal;
    letter-spacing: 2px;
    border: 2px solid black;
    display: block;
    padding: 10px 30px;
    margin: 0;
    margin-right: 20px;
}

#headshot {
    height: 100px;
    width: auto;
    border: 2px solid black;
    display: block;
}

#intro-blurb {
    width: 100%;
    text-align: left;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 30px;
}

#social-row {
    margin-top: 20px;
    font-size: 18px;
}

#social-row a {
    color: black;
    text-decoration: none;
    font-style: italic;
}

#social-row a:hover {
    text-decoration: underline;
}

#nav-container {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    padding: 15px 0;
    width: 100%;
    text-align: left;
}

#nav-container a {
    font-size: 20px;
    color: black;
    text-decoration: none;
    margin-right: 30px;
    margin-left: 0;
}

#nav-container a:hover {
    text-decoration: underline;
    font-style: italic;
}

#slideshow-image {
    width: 450px;
    height: 450px;
    object-fit: cover;
    border: 1px solid black;
}

#slideshow-caption {
    font-size: 14px;
    font-style: italic;
    margin-top: 10px;
    color: #333;
    text-align: center;
    width: 100%;
}

.separator-line {
    width: 100%;
    border: 0;
    border-top: 4px solid black;
    margin: 0;
    padding: 0;
}

#about-section,
#projects-section, 
#papers-section, 
#writing-section, 
#music-section,
#cv-section {
    width: 100%;
    padding-top: 40px;
    padding-bottom: 20px;
    padding-left: 0;
    margin: 0;
    box-sizing: border-box;
}

.section-header {
    font-size: 60px;
    font-weight: normal;
    border: none;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    display: block;
    width: 100%;
    padding: 15px 0;
    margin-top: 60px;
    margin-bottom: 40px;
}

.project-entry {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
    border-bottom: 1px dotted #999;
    padding-bottom: 50px;
}

.project-entry:last-child {
    border-bottom: none;
}

.project-info {
    width: 780px;
    padding-right: 60px;
    flex-shrink: 0;
}

.project-info h3 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 15px;
}

.project-info p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

.project-links {
    font-size: 20px;
    margin-bottom: 15px;
}

.project-links a {
    color: black;
    text-decoration: none;
    font-style: italic;
}

.project-links a:hover {
    text-decoration: underline;
}

.project-media {
    width: 400px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.project-media img {
    width: 100%;
    height: auto;
    border: 1px solid black;
}

.image-citation {
    font-size: 12px;
    font-style: italic;
    color: #333;
    margin-top: 5px;
    text-align: center;
}

#cv-viewer {
    width: 100%;
    height: 1000px;
    border: 1px solid black;
}

#quick-nav {
    position: fixed;
    bottom: 30px;
    right: 30px;
    border: 2px solid black;
    background-color: white;
    padding: 10px;
    text-align: right;
    z-index: 100;
}

#quick-nav-links {
    display: none;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid black;
}

#quick-nav-links a {
    display: block;
    color: black;
    text-decoration: none;
    margin-top: 5px;
    font-size: 14px;
}

#quick-nav-links a:hover {
    text-decoration: underline;
    font-style: italic;
}

#quick-nav-toggle {
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
}

#quick-nav-toggle:hover {
    text-decoration: underline;
    font-style: italic;
}

.about-entry {
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
    width: 100%;
}

.about-entry p {
    margin: 0;
}

.about-image-left {
    float: left;
    margin-right: 30px;
    margin-bottom: 10px;
}

.about-image-left img {
    width: 100%;
    height: auto;
    border: 1px solid black;
}

.about-image-right {
    float: right;
    margin-left: 30px;
    margin-bottom: 10px;
}

.about-image-right img {
    width: 100%;
    height: auto;
    border: 1px solid black;
}

.clear-fix {
    clear: both;
}