html {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* mobile viewport bug fix */
  min-height: -webkit-fill-available;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-x: none;
}

main {
  flex: 1 1;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

#totop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  border: 1px solid #e5e5e5;
  outline: none;
  background-color: rgba(102, 102, 102, 0.5);
  color: white;
  cursor: pointer;
  padding: 10px;
  border-radius: 50px;
  font-size: 18px;
}

#totop:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}

/* [contenteditable] {
  outline: 1px dashed #007bff;
} */

/* .editable-active {
  background-color: #f8f9fa;
} */

/* Hide scrollbar for all browsers */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#left-arrow::before {
  height: 100%;
  width: 60px;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 40%,
    rgba(255, 255, 255, 0) 100%
  );
  position: absolute;
  left: 0;
}

#right-arrow::before {
  height: 100%;
  width: 60px;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1) 40%,
    rgba(255, 255, 255, 0) 100%
  );
  position: absolute;
  right: 0;
}
