html,
body {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  min-height: -webkit-fill-available;
  width: 100%;
  margin: 0;
  overflow: hidden;
  -webkit-text-size-adjust: 100%;
}
body {
  border: none;
  background: black;
}
#body_overlay {
  position: absolute;
  top: 0;
  width: 100vw;
  height: 100%;
  z-index: 1;
}

.no-select {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
}

.spinner {
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 40px;
  background-color: darkred;
  z-index: 22;
  -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
  animation: sk-rotateplane 1.2s infinite ease-in-out;
}
@-webkit-keyframes sk-rotateplane {
  0% {
    -webkit-transform: perspective(120px);
  }

  50% {
    -webkit-transform: perspective(120px) rotateY(180deg);
  }

  100% {
    -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg);
  }
}
@keyframes sk-rotateplane {
  0% {
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  }

  50% {
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  }

  100% {
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}

#hider {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: auto;
  touch-action: none;
  transition: opacity 0.3s ease-out;
}
#wallpaper {
  background: url("/?originalUrl=https%3A%2F%2Ftoejambacklot.com%2Fimg%2Fwebsite_bg_pattern_dark.png") repeat 50% 50% scroll;
  background-color: #080808;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  transition: 0.4s ease;
  z-index: -10;
}

canvas,
img {
  position: absolute;
  margin: 0;
}

/*#region Rotation*/
#rotating_panels {
  animation: rotation 5s infinite linear;
  z-index: 5;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

#feet {
  margin: auto;
  display: block;
  animation: rotation 3s infinite linear;
  z-index: 6;
}

#backlot_text {
  position: absolute;
  margin: auto;
  display: block;
  z-index: 6;
}
#canvas_base {
  z-index: 3;
}
#spectral {
  opacity: 0.8;
  z-index: 4;
}
#spectral_overlay {
  z-index: 5;
}

#modal1,
#modal2 {
  background-color: rgba(0, 0, 0, 0.9);
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
  z-index: 11;
}

.modal-wrapper {
  height: 100%;
}

.modal-flex {
  display: flex;
  flex-flow: column;
}

#debugger {
  z-index: 13;
  pointer-events: none;
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.modal-content {
  background-color: rgb(250, 0, 0) !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 1em; /*rounded corners*/
  transition: all 0.5s;
  padding: 2em;
  height: auto;
  width: auto;
  z-index: 12;
}

.modal-elements {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  height: -moz-available; /* WebKit-based browsers will ignore this. */
  height: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
  height: fill-available;
}

#close_button_modal {
  color: #363636;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  display: block;
}
#close_button_modal:hover {
  color: white;
  background-color: crimson;
}

a:link,
a:visited {
  text-decoration: none;
}

#modal:target {
  opacity: 1;
  visibility: visible;
}

#modal:target .modal-content {
  opacity: 1;
  visibility: visible;
}

#center-modal {
  margin: 0 auto;
}

#welcome_text-modal {
  text-align: center;
  font-family: Impact, Haettenschweiler, Franklin Gothic Bold;
}

#welcome_description_text-modal {
  text-align: center;
  font-family: Impact, Haettenschweiler, Franklin Gothic Bold;
  width: auto;
}

#juddImage {
  position: relative !important;
  display: block;
}

/*#region Shake*/

.shake-hard {
  display: inherit;
  transform-origin: center center;
}

.shake-freeze,
.shake-constant.shake-constant--hover:hover,
.shake-trigger:hover .shake-constant.shake-constant--hover {
  animation-play-state: paused;
}

.shake-freeze:hover,
.shake-trigger:hover .shake-freeze,
.shake-hard:hover,
.shake-trigger:hover .shake-hard {
  animation-play-state: running;
}

@keyframes shake-hard {
  2% {
    transform: translate(5px, 7px) translateZ(0) rotate(0.5deg);
  }

  4% {
    transform: translate(5px, 9px) translateZ(0) rotate(3.5deg);
  }

  6% {
    transform: translate(-2px, -5px) translateZ(0) rotate(3.5deg);
  }

  8% {
    transform: translate(4px, 8px) translateZ(0) rotate(-1.5deg);
  }

  10% {
    transform: translate(2px, 9px) translateZ(0) rotate(-0.5deg);
  }

  12% {
    transform: translate(-5px, -4px) translateZ(0) rotate(-2.5deg);
  }

  14% {
    transform: translate(-6px, -1px) translateZ(0) rotate(3.5deg);
  }

  16% {
    transform: translate(-8px, 8px) translateZ(0) rotate(2.5deg);
  }

  18% {
    transform: translate(4px, 5px) translateZ(0) rotate(-0.5deg);
  }

  20% {
    transform: translate(3px, -3px) translateZ(0) rotate(3.5deg);
  }

  22% {
    transform: translate(0px, -6px) translateZ(0) rotate(-1.5deg);
  }

  24% {
    transform: translate(-6px, -6px) translateZ(0) rotate(3.5deg);
  }

  26% {
    transform: translate(-8px, -6px) translateZ(0) rotate(0.5deg);
  }

  28% {
    transform: translate(-3px, -6px) translateZ(0) rotate(1.5deg);
  }

  30% {
    transform: translate(7px, 8px) translateZ(0) rotate(-1.5deg);
  }

  32% {
    transform: translate(7px, 6px) translateZ(0) rotate(2.5deg);
  }

  34% {
    transform: translate(-7px, -7px) translateZ(0) rotate(-2.5deg);
  }

  36% {
    transform: translate(7px, 3px) translateZ(0) rotate(-0.5deg);
  }

  38% {
    transform: translate(-6px, -1px) translateZ(0) rotate(3.5deg);
  }

  40% {
    transform: translate(-3px, 4px) translateZ(0) rotate(-0.5deg);
  }

  42% {
    transform: translate(-1px, 10px) translateZ(0) rotate(3.5deg);
  }

  44% {
    transform: translate(9px, 3px) translateZ(0) rotate(3.5deg);
  }

  46% {
    transform: translate(-3px, 8px) translateZ(0) rotate(-2.5deg);
  }

  48% {
    transform: translate(-5px, 7px) translateZ(0) rotate(3.5deg);
  }

  50% {
    transform: translate(-9px, -5px) translateZ(0) rotate(0.5deg);
  }

  52% {
    transform: translate(2px, 4px) translateZ(0) rotate(0.5deg);
  }

  54% {
    transform: translate(2px, -9px) translateZ(0) rotate(-2.5deg);
  }

  56% {
    transform: translate(-2px, 9px) translateZ(0) rotate(-1.5deg);
  }

  58% {
    transform: translate(0px, 4px) translateZ(0) rotate(0.5deg);
  }

  60% {
    transform: translate(-6px, 10px) translateZ(0) rotate(3.5deg);
  }

  62% {
    transform: translate(-1px, 3px) translateZ(0) rotate(2.5deg);
  }

  64% {
    transform: translate(5px, -5px) translateZ(0) rotate(0.5deg);
  }

  66% {
    transform: translate(5px, 3px) translateZ(0) rotate(3.5deg);
  }

  68% {
    transform: translate(1px, -7px) translateZ(0) rotate(-2.5deg);
  }

  70% {
    transform: translate(7px, 3px) translateZ(0) rotate(0.5deg);
  }

  72% {
    transform: translate(-9px, -8px) translateZ(0) rotate(-2.5deg);
  }

  74% {
    transform: translate(9px, 10px) translateZ(0) rotate(-1.5deg);
  }

  76% {
    transform: translate(-1px, -7px) translateZ(0) rotate(1.5deg);
  }

  78% {
    transform: translate(-7px, -4px) translateZ(0) rotate(-1.5deg);
  }

  80% {
    transform: translate(8px, -3px) translateZ(0) rotate(3.5deg);
  }

  82% {
    transform: translate(9px, 5px) translateZ(0) rotate(0.5deg);
  }

  84% {
    transform: translate(-4px, -7px) translateZ(0) rotate(1.5deg);
  }

  86% {
    transform: translate(-7px, 9px) translateZ(0) rotate(2.5deg);
  }

  88% {
    transform: translate(0px, 10px) translateZ(0) rotate(1.5deg);
  }

  90% {
    transform: translate(7px, 4px) translateZ(0) rotate(-2.5deg);
  }

  92% {
    transform: translate(-9px, 10px) translateZ(0) rotate(-1.5deg);
  }

  94% {
    transform: translate(4px, -8px) translateZ(0) rotate(0.5deg);
  }

  96% {
    transform: translate(9px, 0px) translateZ(0) rotate(1.5deg);
  }

  98% {
    transform: translate(8px, -3px) translateZ(0) rotate(1.5deg);
  }

  0%,
  100% {
    transform: translate(0, 0) translateZ(0) rotate(0);
  }
}
@keyframes shake {
  0% {
    transform: rotate(3deg) translateZ(0);
  }

  20% {
    transform: rotate(-3deg) translateZ(0);
  }

  40% {
    transform: rotate(3deg) translateZ(0);
  }

  60% {
    transform: rotate(-3deg) translateZ(0);
  }

  80% {
    transform: rotate(3deg) translateZ(0);
  }

  100% {
    transform: rotate(0) translateZ(0);
  }
}

.shake-hard:hover,
.shake-trigger:hover .shake-hard {
  animation-name: shake-hard;
  animation-duration: 100ms;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.shake-now {
  animation-name: shake;
  animation-duration: 500ms;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
/*#endregion*/

/*#region Popup Menu*/
#animated_center_graphic {
  position: absolute;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  width: 100vw;
  z-index: 2;
}
#hidden_center_overlay {
  z-index: 3;
}

#menu_wrapper {
  position: absolute;
  height: 100%;
  width: 100%;
}

.menu-toggler {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  z-index: 7;
  opacity: 0;
  pointer-events: none;
}

.menu-toggler:checked ~ ul .menu-item {
  opacity: 1;
}

.menu-toggler:checked ~ ul .menu-item a {
  pointer-events: auto;
}

.menu-item {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  opacity: 0;
  transition: 0.25s ease; /*duration of menu open animation*/
  perspective: 1000;
  backface-visibility: hidden;
  -webkit-transition: 0.25s ease; /*duration of menu open animation*/
  -webkit-perspective: 1000;
  -webkit-backface-visibility: hidden;
}

.menu-icon {
  display: block;
  width: inherit;
  height: inherit;
  border-radius: 50%; /*creates circle*/
  text-align: center;
  text-decoration: none;
  pointer-events: none;
  transition: 0.1s; /*duration of icon hover animation*/
  background: radial-gradient(circle at center, #fff, #fff 65%, #000 70%);
  background: -webkit-radial-gradient(
    circle at center,
    #fff,
    #fff 65%,
    #000 70%
  );
  box-shadow: 0 0 0 2px;
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  .menu-icon:hover {
    background: orange;
    box-shadow: 0 0 0 2px white;
    animation: rainbow 1s linear infinite;
    -webkit-animation: rainbow 1s linear infinite;
  }
}

@media (pointer: coarse) {
  .hover_effect_Icon > .menu-icon {
    background: orange;
    box-shadow: 0 0 0 2px white;
    animation: rainbow 10s infinite;
    -webkit-animation: rainbow 10s infinite;
  }
}
/*#endregion*/

/*#region HoverExpand*/
#hover_trigger {
  background: rgba(50, 250, 250, 0.3);
  border-radius: 50%;
  margin: auto;
  position: absolute;
  z-index: 7;
  pointer-events: none;
}

.mask1,
.mask2 {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  background-size: cover;
  transform: translateZ(0);
  perspective: 1000;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  -webkit-perspective: 1000;
  -webkit-backface-visibility: hidden;
}

.mask {
  background: rgba(50, 50, 50, 0.5);
  transition: 0.2s ease;
}

.mask2 {
  background: none;
  visibility: hidden;
  cursor: pointer;
}
/*#endregion*/

#icon_ig {
  content: url("/?originalUrl=https%3A%2F%2Ftoejambacklot.com%2Fimg%2Fmenu_icons%2Fimage_gallery.png");
  transform: rotate(135deg);
}

#icon_mv {
  content: url("/?originalUrl=https%3A%2F%2Ftoejambacklot.com%2Fimg%2Fmenu_icons%2Fvideo_gallery.png");
  transform: rotate(45deg);
}

#icon_ts {
  content: url("/?originalUrl=https%3A%2F%2Ftoejambacklot.com%2Fimg%2Fmenu_icons%2Ftoejam_showreel.png");
  transform: rotate(-45deg);
}

#icon_vt {
  content: url("/?originalUrl=https%3A%2F%2Ftoejambacklot.com%2Fimg%2Fmenu_icons%2Fvirtual_tour.png");
  transform: rotate(225deg);
}

/*#region InfoTicker*/
#bottom-ticker,
#top-ticker {
  position: fixed;
  background-color: black;
  transition: 0.2s ease;
  will-change: transform;
  transform: translateZ(0);
  perspective: 1000;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  -webkit-perspective: 1000;
  -webkit-backface-visibility: hidden;
}

#top-ticker {
  top: 0;
  z-index: 2;
}

#bottom-ticker {
  bottom: 0;
  z-index: 2;
}

h1 {
  font-family: "pixellarimedium", Arial, sans-serif;
  color: white;
  margin: 0;
}

h1 > a {
  color: white;
}

h1 > a:hover {
  color: yellow;
  cursor: pointer;
}

.ticker-wrapper {
  vertical-align: middle;
  position: relative;
}

.ticker-wrapper > * {
  display: inline-block;
  padding-right: 30px;
}

.icon {
  position: relative;
  fill: white;
  padding-right: 0;
  width: 2.5vh;
  width: calc(var(--vh, 1vh) * 2.5);
}

@font-face {
  font-family: "pixellarimedium";
  src: url("/?originalUrl=https%3A%2F%2Ftoejambacklot.com%2Ffont%2Fpixellari-webfont.woff2") format("woff2"),
    url("/?originalUrl=https%3A%2F%2Ftoejambacklot.com%2Ffont%2Fpixellari-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
/*#endregion*/

/*#region MicroModal*/
.modal {
  font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir,
    helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif;
}

.modal__overlay {
  position: fixed;
  max-height: calc(var(--vh, 1vh) * 100);
  max-height: 100vh;
  max-width: 100vw;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75); /*color of bg behind modal*/
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.modal__container {
  background-color: black; /*color of modal bg*/
  padding: 0;
  height: auto;
  width: auto;
  border-radius: 4px;
  overflow-y: no-display;
  box-sizing: border-box;
  border: 2px solid darkred;
}

.modal__header {
  position: relative;
  height: 2.2em;
}

.modal__title {
  position: relative;
  width: 78.5%;
  margin: 0 0 0 20px;
  font-weight: 600;
  font-size: 1.5em;
  line-height: 1.5;
  color: white;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal_close_btn {
  position: absolute;
  top: 0;
  right: 20px;
  background: transparent;
  border: 0;
  cursor: pointer !important;
  margin: 0px;
  padding: 0px;
  font-size: 24px;
  color: white;
  outline: none;
}

.modal__header .modal_close_btn:before {
  content: "\2715";
}

.modal__btn {
  /*close button*/
  font-size: 0.875rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background-color: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  border-radius: 0.25rem;
  border-style: none;
  border-width: 0;
  cursor: pointer;
  -webkit-appearance: button;
  text-transform: none;
  overflow: visible;
  line-height: 1.15;
  margin: 0;
  will-change: transform;
  -moz-osx-font-smoothing: grayscale;
  /*        -webkit-backface-visibility: hidden;*/
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform 0.25s ease-out;
}

.modal__btn-primary {
  background-color: white;
  color: #fff;
}

@keyframes mmfadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes mmfadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes mmslideIn {
  from {
    transform: translateY(15%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes mmslideOut {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-10%);
  }
}

.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}
/*#endregion*/

.ticker {
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-name: ticker;
  animation-duration: 10s;
}

@-webkit-keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }

  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }

  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

.virtual_tour {
  border: none;
}

.modal-mv-content {
  background-color: #141414;
}

.sidebar-item {
  position: relative;
  border-bottom: 0.1em solid black;
  width: 98%;
  width: -moz-available; /* WebKit-based browsers will ignore this. */
  width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
  width: fill-available;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
}
.sidebar-item::after {
  content: "";
  box-shadow: 0 0 5px 10px darkred inset;
  height: 100%;
  position: absolute;
  width: 100%;
  left: 0px;
  top: 0px;
}
.sidebar-item:hover::after {
  content: "";
  box-shadow: 0 0 5px 10px red inset !important;
  height: 100%;
  position: absolute;
  width: 100%;
  left: 0px;
  top: 0px;
}
@supports (-webkit-touch-callout: none) {
  /* CSS specific to iOS devices */
  .sidebar-item {
    padding: 0.78em;
  }
  .sidebar-item h5 {
    font-size: 0.8em;
    line-height: 1em;
  }

  .mv_desc {
    font-size: 0.725em;
    line-height: 1em;
  }
}

@supports not (-webkit-touch-callout: none) {
  /* CSS for other than iOS devices */
  .sidebar-item {
    padding: 0.9em;
  }
  .sidebar-item h5 {
    font-size: 1em;
    line-height: 1.25em;
  }
  .mv_desc {
    font-size: 0.8125em;
    line-height: 1.125em;
  }
}

.sidebar-item h5 {
  margin: 0;
  padding: 0;
  color: white;
  pointer-events: none;
  z-index: 2;
}

.sidebar-item:hover {
  background-color: red;
}

.sidebar-selected {
  background-color: crimson;
}
.sidebar-selected::after {
  box-shadow: 0 0 5px 10px crimson inset;
}

.music_videos_sidebar {
  background-color: darkred;
  overflow: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mv_desc {
  color: #ddd;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.modal-ig-content {
  display: flex;
}

.photo_desc {
  text-align: center;
  display: block;
  font-size: 1.3em;
  line-height: 2em;
  color: white;
  background: black;
}

.gallery_main {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: 100%;
}

.gallery_main_wrapper {
  display: flex;
  flex: auto;
  justify-content: center;
  align-items: center;
}

.background_image_blur {
  position: absolute;
  top: 0;
  z-index: 17;
  height: 100%;
  width: 100%;
  background-image: none;
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: center;
  background-position-y: center;
  filter: grayscale(0.5) brightness(0.3) blur(3px);
}

#zoom_icon {
  position: absolute;
  width: 100px;
  visibility: hidden;
  pointer-events: none;
  fill: orange;
  animation: rainbow 1s linear infinite;
  -webkit-animation: rainbow 1s linear infinite;
  z-index: 19;
}

#gallery_main_photo {
  position: relative;
  display: block;
  cursor: pointer;
  z-index: 18;
}

#gallery_main_photo:hover {
  opacity: 0.75;
}

#gallery_main_photo:hover + #zoom_icon {
  visibility: visible;
}

.gallery_thumbnails_container {
  background-color: darkslateblue;
  overflow: scroll;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.gallery_thumbnails_container::-webkit-scrollbar {
  display: none;
}

.thumbnail {
  float: left;
  overflow: hidden;
  background-image: none;
  background-size: cover;
  opacity: 0.5;
  outline: 1px solid red;
  outline-offset: -1px;
  cursor: pointer;
}

.thumbnail:hover {
  filter: brightness(3) drop-shadow(3px 3px 4px black) saturate(3);
}

.thumbnail_selected {
  filter: drop-shadow(3px 3px 4px black);
  opacity: 1 !important;
  outline: 1px solid yellow;
}

#arrows_container {
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  z-index: 20;
  pointer-events: none; /* Allow clicks to pass through the container */
}

#zoom_arrow_container {
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#arrow_left,
#arrow_right,
#zoom_arrow_left,
#zoom_arrow_right {
  pointer-events: auto; /* Re-enable pointer events for the arrows */
  z-index: 21;
  position: relative; /* Ensure arrows maintain their position */
}

.arrow {
  fill: white;
  z-index: 2;
  width: 50px;
  height: 29.65px;
  margin: 0 20px;
  filter: drop-shadow(0px 0px 10px black);
}

@media (hover: hover) and (pointer: fine) {
  .arrow:hover {
    fill: orange;
    cursor: pointer;
    animation: rainbow 1s linear infinite;
    -webkit-animation: rainbow 1s linear infinite;
  }
}

@media (pointer: coarse) {
  .arrow_rainbow {
    fill: orange !important;
    animation: rainbow 1s linear infinite;
    -webkit-animation: rainbow 1s linear infinite;
  }
}

.flip {
  transform: rotate(180deg);
  left: 0.8em !important;
}

#zoom_arrow_right,
#zoom_arrow_left {
  width: 100px !important;
  height: 59.31px !important;
  top: 20px;
  margin: 0 20px;
  pointer-events: auto;
}

@keyframes rainbow {
  from {
    filter: hue-rotate(0deg) brightness(1.5);
  }

  to {
    filter: hue-rotate(359deg) brightness(1);
  }
}
@-webkit-keyframes rainbow {
  from {
    -webkit-filter: hue-rotate(0deg) brightness(1.5);
  }

  to {
    -webkit-filter: hue-rotate(359deg) brightness(1);
  }
}

#zoomImg_wrapper {
  height: 100%;
  display: flex;
  justify-content: center;
  cursor: zoom-out;
  transition: all 0.5s;
}

#zoomImg {
  position: relative;
  height: auto;
  object-fit: contain;
}

#zoomTitle {
  color: white;
  text-align: center;
  font-size: 2.5em;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir,
    helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif;
  overflow-wrap: break-word;
  text-shadow: 0px 0px 8px #000000;
}
