html body {
  height: 100vh;
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.navbar-nav .nav-item .theme-dark.nav-link:link .bsky,
.navbar-nav .nav-item .theme-dark.nav-link:visited .bsky {
  fill: rgba(255, 255, 255, 1);
  transition: 0.3s;
}
.navbar-nav .nav-item .theme-dark.nav-link:hover .bsky,
.navbar-nav .nav-item .theme-dark.nav-link:active .bsky {
  fill: rgba(255, 255, 255, 0.7);
}
.navbar-nav .nav-item .nav-link:link .bsky,
.navbar-nav .nav-item .nav-link:visited .bsky {
  fill: rgba(16, 24, 32, 1);
  transition: 0.3s;
}
.navbar-nav .nav-item .nav-link:hover .bsky,
.navbar-nav .nav-item .nav-link:active .bsky {
  fill: rgba(16, 24, 32, 0.7);
}

.bg-color-uke {
  background-color: #004a93;
}

.bg-color-hertie {
  background-color: #c41239;
}

.bg-color-yellow {
  background-color: #F9F4B4;
}

.news-banner {
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 26px;
}

img.paper {
  border-style: solid;
  border-color: #E6E6E6;
  border-bottom-width: 5px;
  border-top-width: 70px;
  border-left-width: 40px;
  border-right-width: 40px;
  object-fit: cover;
  object-position: 100% 0;
  width: 100%;
  height: 630px;
  transition-timing-function: ease-in;
  transition: 0.3s;
}

a:hover img.paper {
  border-top-width: 40px;
  transition-timing-function: ease-out;
  transition: 0.3s;
}

/* the navbar */
.uke-logo {
  position: absolute;
  width: 60px;
  height: 60px;
  right: 25px;
  top: 20px;
}

.navbar-collapse {
  padding: 8px 0px 8px 0px;
  text-align: center;
}

.navbar-nav .nav-item .nav-link {
  font-size: 16px;
  font-weight: 500;
  line-height: 14px;
  text-transform: uppercase;
  text-decoration: none;
}

.legal-link {
  font-size: 16px;
  font-weight: 500;
  line-height: 14px;
  text-transform: uppercase;
  text-decoration: none;
}

/* links in the text */
a, a:link, a:visited {
  text-decoration: none;
  color: rgba(16, 24, 32, 0.5);
  transition: 0.3s;
}

a:hover, a:active {
  text-decoration: none;
  color: rgba(16, 24, 32, 1);
}

/* links in the nav */
.navbar-nav .nav-item .nav-link:link,
.navbar-nav .nav-item .nav-link:visited,
.jbe-logo .nav-link:link,
.jbe-logo .nav-link:visited,
.nav-link.icon,
.nav-link.icon:visited,
.footer-links a:link .icon,
.footer-links a:visited .icon,
.footer-links a:link,
.footer-links a:visited {
  color: rgba(16, 24, 32, 1);
  transition: 0.3s;
}

.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link:active,
.jbe-logo .nav-link:hover,
.jbe-logo .nav-link:active,
.nav-link.icon:hover,
.nav-link.icon:active,
.footer-links a:hover .icon,
.footer-links a:active .icon,
.footer-links a:hover,
.footer-links a:active {
  color: rgba(16, 24, 32, 0.7);
}

.theme-dark {
  color: rgba(255, 255, 255, 1);
}

.navbar-nav .nav-item .theme-dark:link,
.navbar-nav .nav-item .theme-dark:visited,
.jbe-logo .theme-dark:link,
.jbe-logo .theme-dark:visited,
.nav-link.icon.theme-dark,
.nav-link.icon.theme-dark:visited,
.link.theme-dark,
.link.theme-dark:visited {
  color: rgba(255, 255, 255, 1);
  transition: 0.3s;
}

.navbar-nav .nav-item .theme-dark:hover,
.navbar-nav .nav-item .theme-dark:active,
.jbe-logo .theme-dark:hover,
.jbe-logo .theme-dark:active,
.nav-link.icon.theme-dark:hover,
.nav-link.icon.theme-dark:active,
.link.theme-dark:hover,
.link.theme-dark:active  {
  color: rgba(255, 255, 255, 0.7);
}

/* list of projects / blog posts */
.box-image {
  width: 100%;
  height: 230px;
  background-size: cover;
  background-position: center;
  transition: .5s;
}

.box-label {
  color: rgba(16, 24, 32, 1);
  padding: 25px;
  transform: translateY(0);
  transition-timing-function: ease-in;
  transition: 0.2s;
}

.box-label.theme-dark {
  color: rgba(255, 255, 255, 1);
}

a:hover .box-label {
  transform: translateY(-45%);
  transition-timing-function: ease-out;
  transition: 0.2s;
}

/* main fullscreen split page */
.fullpage-hero {
  background-position: 50% 50%;
  background-size: cover;
}

.fullpage-split {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
}

.full-height {
  height: 66vh;
  max-height: 600px;
}

.bg-image {
  background-position: 50% 50%;
  background-size: cover;
  box-sizing: border-box;
  display: block;
}

/* page layout */
.container-fluid,
.container {
  // Disable large-desktop breakpoint.
  max-width: 910px;
}

div[class^="col-"], div[class*=" col-"] {
  padding-right: 25px;
  padding-left: 25px;
}

.padding-10 {
  padding-top: 10px;
  padding-bottom: 10px;
}

.padding-30 {
  padding-top: 30px;
  padding-bottom: 30px;
}

.padding-90 {
  padding-top: 90px;
  padding-bottom: 90px;
}

.padding-130 {
  padding-top: 130px;
  padding-bottom: 130px;
}

.padding-90-top {
  padding-top: 90px
}

.padding-90-bottom {
  padding-bottom: 90px
}

.no-padding {
  padding: 0px 0px 0px 0px !important;
}

.no-margin {
  margin: 0px 0px 0px 0px !important;
}

.no-border {
  border-width: 0px 0px 0px 0px !important;
}

.side-padding-25 {
  padding-right: 25px;
  padding-left: 25px;
}

.absolute-position {
  width: 100vw;
  position: absolute;
  z-index: 100;
}

/* menu on scrolling */
header .navbar.absolute-position.scrolled {
  position: fixed;
  background-color: rgba(255, 255, 255, 1);
  border-bottom: 0.5px solid rgb(33, 37, 41);
}

header .navbar.absolute-position.fullscreen {
  position: fixed;
  display: block;
  background-color: rgba(255, 255, 255, 1);
  width: 100%;
  height: 100%;
}

header .navbar.absolute-position.fullscreen .navbar-collapse {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

header .navbar.absolute-position.fullscreen .navbar-collapse .nav-item .nav-link {
  font-size: 28px;
  line-height: 50px;
}

.jbe-logo.scrolled,
.jbe-logo.fullscreen {
  position: fixed;
}

.icon {
  color: rgb(16, 24, 32);
  font-size: 22px;
  margin: 0px 10px 0px 0px;
  line-height: 30px;
  margin-bottom: 12px;
}

/* make plots rendered from Rmd responsive */
.padded-multiline {
  line-height: 1.6;
}

.padded-multiline span {
  display: inline;
  padding: 0.1em 0.3em 0.1em 0.3em;
  /* Needs prefixing */
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

p img,
.figure img {
  width: 100%;
}

/* typography */
h1, h2, h3, h4, h5 {
  box-sizing: border-box;
  display: block;
}

h1 {
  font-size: 60px;
  line-height: 72px;
  margin-bottom: 40px;
  /* font-weight: 200; */
  font-weight: 300;
}

h2 {
  font-size: 30px;
  line-height: 44px;
  margin-bottom: 40px;
}

h3 {
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

h4 {
  font-size: 12px;
  line-height: 21px;
  margin-bottom: 13px;
  text-transform: uppercase;
}

h5 {
  font-size: 28px;
  line-height: 40px;
  margin-bottom: 20px;
  text-transform: uppercase;
}


h1.news {
  font-size: 38px;
  line-height: 45px;
  margin-bottom: 20px;
  margin-top: 30px;
  font-weight: 400;
}

p, ul, ol {
  box-sizing: border-box;
  display: block;
  font-size: 22px;
  line-height: 30px;
  margin-bottom: 38px;
}

.p-small {
  font-size: 12px;
  line-height: 26px;
  margin-bottom: 24px;
}

.p-figure {
  text-align: right;
  font-size: 10px;
  line-height: 28px;
  margin-bottom: 0px;
}

.references p {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 24px;
}

/* media queries */
/* viewport lg and smaller */
@media (max-width: 1199.98px) {
  img.paper {
    height: 585px;
  }
}

/* viewport md and smaller */
@media (max-width: 991.98px) {
  img.paper {
    height: 520px;
  }
}

/* viewport sm and smaller */
@media (max-width: 767.98px) {
  img.paper {
    height: 405px;
  }
}

/* viewport xs */
@media (max-width: 575.98px) {
  img.paper {
    border-bottom-width: 5px;
    border-top-width: 20px;
    border-left-width: 20px;
    border-right-width: 20px;
    object-fit: cover;
    object-position: 100% 0;
    width: 100%;
    height: 100%;
  }

  a:hover img.paper {
    border-top-width: 20px;
  }

  h1 {
    font-size: 45px !important;
    margin-bottom: 25px !important;
  }
  h1.news {
    font-size: 35px !important;
    margin-top: 20px !important;
  }
  .full-height {
    height: 80vh;
    max-height: 600px;
  }
}
