html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  overflow: hidden;
}

.pill-nav a {
  transition: all 0.3s ease;
}

.pill-nav a.active {
  background-color: #1d4ed8;
  /* blue-700 */
  color: white;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Right fade overlay */
.right-fade {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 100%;
  pointer-events: none;
  /* allows clicks through */
  background: linear-gradient(to left, rgb(255, 255, 255), rgba(255 255 255 / 0));
  transition: opacity 0.3s ease;
  opacity: 0;
  z-index: 10;
  border-top-right-radius: 9999px;
  border-bottom-right-radius: 9999px;
}

.right-fade.visible {
  opacity: 1;
}

.pill-nav a {
  transition: all 0.3s ease;
}

.pill-nav a.active {
  background-color: #1d4ed8;
  /* blue-700 */
  color: white;
}

/* Loading screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
  /* Fade effect */
}

#loading-screen.fade-out {
  opacity: 0;
}

#loading-screen img {
  height: 2.5em;
  width: auto;
}

#main-content {
  display: none;
  padding: 20px;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.logo {
  position: relative;
  margin-top: -30px;
  z-index: 999;
}

@media only screen and (max-height: 600px) {
  .navigation {
    position: initial;
  }

  #pillNav {
    box-shadow: initial;
    border: initial;
  }
}