/* GENERAL PAGE LAYOUT */
body {
    margin: 0;
}

/* HEADER */

.site-header {
    width: 100%;
    background-color: grey;
    color: white;
    display: flex; /* <<< NEW */
    align-items: center; /* vertically align */
    padding: 0 20px;
    margin-bottom: 20px;
}

.header-left {
    flex: 0 0 auto; /* don't stretch */
}

.header-center {
    flex: 1;
    text-align: center;
}

.header-left h2 {
    margin: 0;
    padding: 10px 0; /* smaller padding than main title */
}
.header-left a {
    text-decoration: none;
    color: inherit;
}

.header-center h1 {
    margin: 0;
    padding: 20px 0;
    background: none; /* remove colored background on h1 */
}

.page-content {
    display:flex;
}
/* LEFT SIDEBAR */
.left-side {
    width: 20%;
    background-color: #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
}

.profile-section img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 16px 0;
}

/* SECTIONS INSIDE SIDEBAR */
.profile-section,
.about-section,
.contact-section,
.navigation-section {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.about-section p,
.contact-section a,
.navigation-section ul {
    display: block;
    margin: 8px 16px;
}

/* NAVIGATION LIST */
.nav-bar {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-bar li a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: black;
}

.nav-bar li a:hover {
    background-color: black;
    color: white;
}

/* MAIN CONTENT */
main {
    margin: 20px;
    background-color: #ffe2aa;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1;
    text-align: center;
}

main img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: 200px;
    width: auto;
}

.breadboardImg {
    text-align: center;
    max-width: 100%;
    height: auto
}

.thinkpad-img img {
    height: 400px;
}
/* HEADINGS */
h1, h2, h3 {
    margin: 0;
    padding: 20px 16px;
}

h2, h3 {
    text-align: center;
}

h1 {
    background-color: hsl(194, 100%, 43.7%);
}

