/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'PT Serif',serif;;
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100vw;
  background: #f1f1ee;
  border-bottom: 1px solid #ddddd8;
  padding: 10px 0;
  z-index: 1000;
  text-transform: uppercase;
  text-align: center;
}


.navbar table {
  width: 100vw;
  max-width: 800px;
  margin: auto;
}

.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px; /* Adjust spacing between nav items */
}

.navbar li {
  display: inline;
}

.navbar a {
  text-decoration: none;
  color: #0b3d73; /* Adjust as needed */
  font-size: 17px; /* Adjust as needed */
  font-weight: 550;
}

.content {
  margin-top: 65px;
  z-index: 1;
  position: relative;
}

a {
  color: #2f81d3;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #63061d;
  text-decoration: none;
}

body,
td,
th,
tr,
p,
a {
  font-family: 'PT Serif',serif;
  font-size: 15px
}

body {
  padding-top: 10px;
}

strong {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

heading {
  font-family: 'PT Serif',serif;
  font-size: 22px;
}

papertitle {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700
}

name {
  font-family: 'PT Sans Narrow',sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #333332;
  vertical-align: middle;
  padding: 5px auto;
}

table {
  width: 50%;
  border-collapse: collapse;
}

.one {
  width: 160px;
  height: 160px;
  position: relative;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #ffffd0;
}
/* For name change stuff */
p#namechange span#a {
  display: inline;
}
p#namechange:hover span#a {
  display: none;
}
p#namechange span#b {
  display: none;
}
p#namechange:hover span#b {
  display: inline;
}

.canvas-container {
  width: 100vw;
  height: 40vh;
}

.timeline-container {
  display: flex;
  justify-content: center;
}
.timeline {
  position: relative;
  width: 95%;
  margin: 20px 0;
  border-left: 4px dashed #a19f9f;
}
.fixed-news, .scrollable-news {
  padding-left: 40px;
}
.fixed-news {
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}
.scrollable-news {
  max-height: 300px;
  overflow-y: auto;
  padding-top: 10px;
}
.timeline-item {
  position: relative;
  margin: 10px 0;
}
.timeline-item::before {
  content: '•';
  position: absolute;
  left: -30px;
  font-size: 20px;
  line-height: 1;
  color: #42489f;
}

@media screen and (max-width: 200px) {
  .navbar td {
    display: none;
  }
  
}

@media screen and (max-width: 600px) {
  .navbar{
    max-width: cal(100vw + 5px);
  }
  .navbar td {
    padding: 5px;
  }

  .navbar a {
    font-size: 12px;
  }

  section[id] {
    padding-top: 60px;
    margin-top: -60px;
  }
}

section[id] {
  padding-top: 60px;
  margin-top: -100; 
  display: block;
}

:target::before {
  content: "";
  display: block;
  height: 90px; /* same as your navbar's height */
  margin-top: -70px; /* negative value of the height */
  visibility: hidden;
  scroll-margin-top: 70px;
}