@font-face {
    font-family: 'LocalSF';
    src: url('assets/SanFranciscoRegular.ttf') format('truetype'); }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 75px; }

body {
    font-family: "LocalSF", Helvetica, Arial, sans-serif;
    min-height: 100vh; /* 100% viewport height. To force the content to occupy the entire screen */
    background-color: white;
    padding-top: 75px; /* To prevent content from being hidden behind the fixed nav */
    overflow-x: hidden; /* Prevent horizontal scrolling */ }

.contents {
    font-size: 125%; }

h2 {
    width: 100%;
    text-align: center; }
/* nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5;
    background-color: black; }
nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center; }
nav li {
    height: 75px; }    
nav a {
    height: 100%;
    padding: 0px 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: white; }
nav li:first-child {
    margin-right: auto; }
.hideAtLowWidth a:hover { /* Highlights links on hover, except for hamburger menu */
    background-color: gray; }

/* sidebar */
.sidebar {
    position: fixed;
    top: 0; 
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 10;
    background-color: white;
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start; }
.sidebar li {
    width: 100%; }
.sidebar a {
    color: black;
    display: inline-block;
    height: auto;
    transform: translate(0%, 100%); }
.ham-menu {
    display: none; }

.headline {
    padding-top: 20px;
    text-align: center;    
    margin: 0;
    font-size: clamp(0.6rem, 2vw + 1rem, 4rem);
    font-weight: bold; }

/* responsive design */
@media(max-width: 900px) {
    .hideAtLowWidth{
        display: none; }
    .ham-menu{
        display: block; } }
@media(max-width: 300px) {
    .sidebar{
        width: 100%; } }

.bio_photo {
    width: auto;
    height: 200px;
    object-fit: cover;
    object-position: center; }

.bio {
 style=flex: 1 1 250px;
 padding: 10px;
 max-width: 250px;
 font-size: 75%; }

 .positions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center; }

@media(max-width: 700px) {
    .positions {
        flex-direction: column; } } 