:root {
  background-color: rgba(168, 237, 255, 1.0); /* Match triangles: rgba(118, 217, 252, 1.0); */
  --text-color: rgba(20, 40, 40, 1.0);
  color: var(--text-color);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  text-align: justify;
}
  
a {
  color: #1772d0;
  text-decoration: none;
}

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

body,
td,
th,
tr,
p,
a {
  font-size: 14px;
}

strong {
  font-size: 14px;
}

h2 {
  margin: 0;
  font-weight: normal;
  font-size: 22px;
}

.papertitle {
  font-size: 16px;
  font-weight: 700;
}

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

.two {
  width: 200px;
  height: 200px;
  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;
}


/* MISC */

.colored-box {
    color: black;
    padding: 20px;
    display: inline-block;
    border-radius: 10px;
}
  



/* BACKGROUND */
 
.header-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
}

#header_background {
  width: 100%;
  height: auto;
  -webkit-mask-image: -webkit-gradient(linear, left top, left bottom,
    from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0)));
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
}

/* ICON BAR */

iconbar {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 40%;
  margin: 0 auto; 
  padding-top: 2em;
  padding-bottom: 1.5em;
}

.icon {
  max-width: 48px;
}


/* PAPER ENTRIES */

.half-line {
  display: block;
  height: 0.75em;
}

.project-entry {
  background-color: rgba(255, 255, 255, 1);
}  

.project-cell {
  padding: 8px;
  padding-right: 4%;
  width: 80%;
  vertical-align: middle;
}

.project-thumb {
  padding: 16px;
  width: 20%;
  vertical-align: middle;
  text-align: center;
}

.project-title {
  font-size: 16px;
  font-weight: bold;
}

short-desc {
  font-size: 14px;
}

li {
  margin-bottom: 5px; /* Adjust value as needed */
}


/* NAV BAR */

.navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  background-color: white;
  z-index: 1000;
  display: flex;
  /* border-bottom: 2px solid #eee;*/
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.navbar a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: black;
  font-weight: bold;
  padding: 1em 0;
  border-left: 1px solid #ccc;
  background-color: white;
  background-color: #ddd;
}

.navbar a:first-child {
  border-left: none; /* no border on the far left */
}

.navbar a:hover {
  background-color: #f0f0f0;
}

.navbar a.current_navbar {
  background-color: #ddd;
  background-color: #fff;
}


/* PROJECT LIST */

.centered_pic {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.video_container {
  position: relative;
  width: 90%;
  height: 0;
  padding-bottom: 56.25%;
  margin-left: auto;
  margin-right: auto;
}

.video {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.rotate90 {
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

.project-cell-other {
  padding: 8px;
  width: 80%;
  vertical-align: middle;
}


/* ABOUT */

.experience-block {
  width:100%;
  max-width:900px;
  background-color: rgba(255, 255, 255, 1);
  margin: auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* PROJECT PAGES */

bibtex {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  
  background-color: #333;
  color: white;
  font-family: Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New;
  font-size: 0.85em;
  line-height: 1.2em;
  display:block;
  padding: 0.5em;
  border-radius: 5px;
}

.project-page-header {
  text-align: center;
}

paper-teaser img {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

project-page-section {
  border-bottom: 2px solid #222;
  width: 80%;
  display: block;
  font-size: 1.5em;
  line-height: 1.3em;
  margin-top: 0.67em;
  margin-bottom: 0.67em;
  padding-top: 0.5em;
  font-weight: bold;
  margin-left: auto;
  margin-right: auto;
}

.horizontal-bar {
  display: flex;
  justify-content: center;
  margin: 1em auto;
  width: 40%;
}

.horizontal-bar-item {
  text-align: center;
  padding: 0.5em;
  background-color: #f6f6f6;
  margin: 0.25em;
  border-radius: 0.25em;
  flex: 1;
  margin-bottom: 0.0em;
}

.horizontal-bar-item p {
  margin: 0;
}

.horizontal-bar-item:hover {
  background-color: #ccc;
}

.horizontal-bar-item img {
  margin: 0 auto;
}

.horizontal-bar-item {
  padding: 0.5em;
  background-color: #f6f6f6;
  margin: 0.25em;
  border-radius: 0.25em;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: black;
}

.icon-text {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.icon-text span {
  display: inline-block;
  vertical-align: middle;
  line-height: 1.2em;
}

sup {
  font-size: 0.65em;
}