body {
  margin: 0;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  width: 100vw;
  overflow: hidden;
  touch-action: none;
  -ms-touch-action: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  font-family: 'Arial';
}

canvas {
  width: 100%;
  height: 100%;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}

/* Lazy Load screen */
#lazy-load {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: pointer;
}

#lazy-load > div {
  width: 80%;
  height: 80%;
  opacity: 0.5;
}

#lazy-load > div > img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  width: 100%;
  height: 100%;
}

.fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  width: 100%;
  opacity: 1 !important;
}

.fab {
  display: inline-block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background-color: white;
  color: #000;
  text-align: center;
  font-size: 24px;
  line-height: 50px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: 0px 4px 8px rgba(81, 81, 81, 0.2);
}

.fab > img {
  display: block;
  max-height: 70%;
  max-width: 70%;
  margin: auto;
}

.thumbnail {
  opacity: 1 !important;
}

button:focus {
  outline: none;
}

/* Extra small devices (phones) */
@media only screen and (max-width: 480px) {
  .thumbnail {
    width: 100% !important;
    height: auto !important;
  }

  .fab-container {
    bottom: 8px;
    right: 8px;
  }
}

/* Small devices (tablets) */
@media only screen and (min-width: 481px) and (max-width: 767px) {
  .thumbnail {
    width: 100% !important;
    height: auto !important;
  }

  .fab-container {
    bottom: 8px;
    right: 8px;
  }
}

/* Medium devices (desktops, laptops) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .thumbnail {
    width: 80% !important;
    height: auto !important;
  }

  .fab-container {
    bottom: 16px;
    right: 16px;
  }
}

/* Large devices (large desktops, wide screens) */
@media only screen and (min-width: 1025px) {
  .thumbnail {
    width: 50% !important;
    height: auto !important;
  }

  .fab-container {
    bottom: 32px;
    right: 32px;
  }
}