@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');


/* colors ...
 *
 * #FFFFFF
 * #3C6FFE blue
 * #FDB03D orange
 * #E29219 orange dark
 * #402B0B brown
 *
 */

html {
  scroll-behavior: smooth;
}

body {
  background: rgb(240,240,240);
  font-family: 'Libre Baskerville', serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', sans-serif;
}

a {
  color: #402B0B;
  text-decoration: none;
}

a:hover, a:active{
  color: #3C6FFE;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

table .remarks {
  font-size: smaller;
  font-style: italic;
}

#header {
  position: relative;
  top: 0;
  display: flex;
  align-items: center;
}

#header {
  margin-bottom: 0;
  background-image: url("chuckjee-lesson.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right top;
  background-color: #e9ecef;
  transition: background-image 0.5s ease-in-out;
}

#header:hover {
  background-image: url("chuckjee-lesson-color.png");
  transition: background-image 0.5s ease-in-out;
}

#headerbox {
  background-color: rgba(233, 236, 239, 0.3);
  padding: 20px;
}

nav {
  background: rgba(240,240,240,0.8);
}

nav h1 {
  line-height: 0;
}

nav h1 a {
  text-decoration: none;
}

.nav {
  font-size: 16px;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  transition: all 0.2s ease-in-out;
}

.nav-link {
  color: #402B0B !important;
  border-bottom: 3px dotted rgb(240,240,240);
}

.nav-link.active {
  color: #3C6FFE !important;
}

.nav-link:hover {
  color: #3C6FFE !important;
  border-bottom: 3px dotted #FDB03D;
  text-decoration: none;
  transition: all 0.5s ease-in-out;
}

.nav-item i {
  padding: 5px;
}

section {
  min-height: 100vh;
  opacity: 0.7;
  transition: all 0.5s ease-in-out;
}

section:hover {
  opacity: 1;
}

section h2 {
  color: #402B0B;
  padding-top: 100px;
  font-weight: 700;
  font-style: italic;
}

section h3 {
  font-weight: 100;
}

#credentials + ul li {
  font-size: 0;
  padding: 0;
  opacity: 0;
  transition: padding 0.5s;
}

#credentials:hover + ul li, #credentials + ul:hover li {
  font-size: 80%;
  padding: .75rem 1.25rem;
  opacity: 1;
  transition: padding 0.5s;
}

#projects table td.names {
  font-style: italic;
}

#research ul {
  list-style: none;
}

#research li {
  padding: 0.5em 0;
}

#research h3+ul>li::before {
  content: "\2023";
  color: #E29219;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

#research a {
  border-bottom: 1px dotted;
}

footer {
  opacity: 0.3;
}
