div[bg=dark] {
  background-color: rgba(0, 0, 0, 0.85);
}

div[bg=none] {
  background-color: none;
}

#fixedOverlay {
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 12;
  top: 18px;
  transition: 1s;
}
#fixedOverlay[bg=none], #fixedOverlay[bg=dark] {
  pointer-events: none;
}
#fixedOverlay[bg=none] #bubbles, #fixedOverlay[bg=dark] #bubbles {
  pointer-events: none;
}
#fixedOverlay .scroll-wrapper {
  display: flex;
  position: fixed;
  width: 100%;
  height: 100vh;
  justify-content: space-between;
  opacity: 1;
  transition: 0.5s;
}
#fixedOverlay .scroll-wrapper .scroll-area {
  height: 100%;
  width: 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 767px) {
  #fixedOverlay .scroll-wrapper .scroll-area {
    width: 10vw;
  }
}
#fixedOverlay .scroll-wrapper .scroll-area#sidebar-wrapper #scrollbar-container {
  width: 30%;
  height: 30%;
  background: #789d9f;  /* color to change for around color: ; */
  border-radius: 10px;
  max-width: 7px;
}
#fixedOverlay .scroll-wrapper .scroll-area#sidebar-wrapper #scrollbar-container #scrollbar {
  width: 100%;
  background: #1d5356;
  opacity: 100%;
  height: 0%;
  border-radius: 20px;
  transition: background-color 0.5s;
}
#fixedOverlay .scroll-wrapper .scroll-area #backtotop-wrapper {
  width: 3vw;
  pointer-events: all;
  cursor: pointer;
  opacity: 0;
  transition: 0.5s ease-out;
  max-width: 20px;
}
@media screen and (max-width: 767px) {
  #fixedOverlay .scroll-wrapper .scroll-area #backtotop-wrapper {
    width: 4vw;
  }
}
#fixedOverlay .scroll-wrapper .scroll-area #backtotop-wrapper.scrolled {
  opacity: 1;
}
#fixedOverlay .scroll-wrapper .scroll-area #backtotop-wrapper svg {
  width: 100%;
}
#fixedOverlay .scroll-wrapper .scroll-area #backtotop-wrapper svg path {
  transition: 0.5s;
}
#fixedOverlay .scroll-wrapper[hiddenScroll=true] {
  opacity: 0;
}
#fixedOverlay .scroll-wrapper[onBlue=true] .scroll-area#sidebar-wrapper #scrollbar-container {
  background: rgba(255, 255, 255, 0.2);
}
#fixedOverlay .scroll-wrapper[onBlue=true] .scroll-area#sidebar-wrapper #scrollbar-container #scrollbar {
  background: #FAFAFC;
}
#fixedOverlay .scroll-wrapper[onBlue=true] .scroll-area svg path {
  stroke: #FAFAFC !important;
}
#fixedOverlay nav {
  box-sizing: border-box;
  z-index: 2;
  pointer-events: none;
  display: block;
  transition: 0.5s;
  height: 87px;
}
#fixedOverlay nav #header {
  display: flex;
  justify-content: space-between;
  height: fit-content;
}
#fixedOverlay nav #header object {
  width: 145px;
  pointer-events: none;
}
#fixedOverlay nav #header .active .menu-short {
  transform: translateX(30%) scaleX(0);
}
#fixedOverlay nav #header .active #top-hamb {
  transform: scale(0.7) translateY(17px) rotate(45deg);
}
#fixedOverlay nav #header .active #bottom-hamb {
  transform: scale(0.7) translateY(-11px) rotate(-45deg);
}
#fixedOverlay nav #header .hamb-wrapper {
  height: 50px;
  background-color: #1d5356;
  border-radius: 100px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 20px 20px 0;
  box-shadow: 0px 0px 6px #999;
}
#fixedOverlay nav #header .hamb-wrapper .menu-wrapper {
  cursor: pointer;
  z-index: 11;
  box-sizing: border-box;
  width: 30px;
  pointer-events: all;
}
#fixedOverlay nav #header .hamb-wrapper .menu-wrapper .menu-hamb {
  height: 4px;
  border-radius: 5px;
  transition: 0.5s;
  background-color: #FAFAFC;
}
#fixedOverlay nav #header .hamb-wrapper .menu-wrapper .menu-short {
  width: 70%;
  margin-bottom: 6px;
  margin-top: 6px;
  transition: transform 0.1s;
  transition: background-color 0.5s;
}
#fixedOverlay nav #header .hamb-wrapper.white-menu {
  background-color: #FAFAFC;
}
#fixedOverlay nav #header .hamb-wrapper.white-menu .menu-hamb {
  background-color: #1d5356;
}
#fixedOverlay nav #header .hamb-wrapper.invisible {
  box-shadow: none;
  background-color: transparent;
}
#fixedOverlay nav #header #logo {
  transition: 0.5s;
  margin: 20px 0 20px 20px;
}
#fixedOverlay nav #header #logo a {
  pointer-events: all;
  display: block;
}
#fixedOverlay #bubbles-to-close {
  height: 100%;
  width: 100%;
  position: absolute;
  display: none;
}
#fixedOverlay #bubbles-to-close[open=true] {
  display: initial;
  pointer-events: all;
}

#problem-page {
  background-color: #FAFAFC;
  width: 100%;
  height: 100vh;
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {

  #fixedOverlay #sidebar #sidebar-wrapper #indicateScroll h3 {
    font-size: 0.65em;
  }
  #fixedOverlay nav #header h1 {
    font-size: 18px;
  }
  #fixedOverlay nav #header .active #top-hamb {
    transform: scale(0.7) translateY(17px) rotate(45deg);
  }
  #fixedOverlay nav #header .active #bottom-hamb {
    transform: scale(0.7) translateY(-11px) rotate(-45deg);
  }
  #fixedOverlay nav #header .menu-wrapper .menu-hamb {
    height: 3px;
  }
  #fixedOverlay nav #header .menu-wrapper .menu-short {
    margin-bottom: 5px;
    margin-top: 5px;
  }
}
@media only screen and (max-width: 767px) {

  #fixedOverlay nav {
    height: fit-content;
  }
  #fixedOverlay nav[onText=true] {
    background-color: #FAFAFC;
    box-shadow: 0px 1px 7px #555;
  }
  #fixedOverlay nav[onText=true] #header .hamb-wrapper {
    background-color: transparent;
    box-shadow: none;
    height: unset;
    width: unset;
  }
  #fixedOverlay nav[onText=true] #header .hamb-wrapper .menu-wrapper .menu-hamb {
    background-color: #1d5356;
  }
  #fixedOverlay nav .header-part {
    margin: 0 10px;
  }
  #fixedOverlay nav #header .active #top-hamb {
    transform: scale(0.7) translateY(17px) rotate(45deg);
  }
  #fixedOverlay nav #header .active #bottom-hamb {
    transform: scale(0.7) translateY(-11px) rotate(-45deg);
  }
  #fixedOverlay nav #header .menu-wrapper .menu-hamb {
    height: 3px;
  }
  #fixedOverlay nav #header .menu-wrapper .menu-hamb.white-menu {
    background-color: #1d5356;
  }
  #fixedOverlay nav #header .menu-wrapper .menu-short {
    margin-bottom: 5px;
    margin-top: 5px;
  }
  #fixedOverlay #sidebar {
    width: 10vw;
  }
  #fixedOverlay #sidebar #sidebar-wrapper #indicateScroll h3 {
    font-size: 0.65em;
  }
}
