body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  /* background-color removed so JS can set background image */
  background-size: 40% !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Titillium Web", sans-serif;
  font-weight: 900;
  font-style: normal;
  overflow: hidden;
}

body.no-bg {
  background: none !important;
  background-color: #232323 !important;
  overflow: auto !important;
}

#bulik {
  align-items: center;
  width: 90vw;
  height: auto;
}

.overlay-btn {
  padding: 1em 2em;
  font-size: 1.2em;
  border: none;
  border-radius: 8px;
  background: rgba(231, 231, 231, 0.7);
  color: #232323;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #232323;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: auto;
}

body.loaded #loader {
  opacity: 0;
  pointer-events: none;
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #232323;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  display: block;
  margin: auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#loader img {
  width: 100px;
  height: 100px;
  max-width: 60vw;
  max-height: 60vw;
  display: block;
  animation: spin 1s linear infinite;
}

#alt-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#alt-loader img {
  width: 100px;
  height: 100px;
  max-width: 60vw;
  max-height: 60vw;
  display: block;
}

.button-column {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  align-items: center;
}

.button-column .overlay-btn {
  min-width: 320px;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
}

.image-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

@media (max-width: 600px) {
  body {
    background-size: 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
  }

  .overlay-btn {
    font-size: 1.5em !important;
    padding: 1em 2em !important;
  }

  #loader img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
  }

  .button-column .overlay-btn {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}
