body {
  font-family: 'Poppins', sans-serif;
}
.landing8-prompt-text,
.landing8-qr {
  display: none;
}

.landing8-logo-section {
  max-width: 100%;
}

.bottom-text {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  z-index: 1000;
  /* padding: 10px; */
  font-size: 2vh; /* Font size is 2% of the viewport height */
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
}

main.center-buttons {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.button-row {
  display: flex;
  gap: 2rem;
}

.center-btn {
  padding: 1rem 2rem;
  font-size: 1.5rem;
  background: #222;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.2s, transform 0.2s;
}
.center-btn:hover {
  background: #444;
  transform: translateY(-2px) scale(1.05);
}

/* QR Code overlay styles */
.qr-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qr-container {
  text-align: center;
}

.qr-image {
  max-width: 300px;
  max-height: 300px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.qr-instructions {
  margin-top: 20px;
  color: white;
  background: rgba(0, 0, 0, 0.7);
  padding: 15px;
  border-radius: 5px;
  max-width: 340px;
}

.qr-instructions p {
  margin: 0;
  font-size: 16px;
}

.targetimage {
  max-width: 340px;
}

/* insert font poppins from assets/fonts folder */
@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

body {
  font-family: 'Poppins', sans-serif;
}

#overlay {
  z-index: 150;
  display: none;
}

#overlaytext {
  text-align: center;
  color: white;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
  position: absolute;
  bottom: 12vh;
  left: 50%;
  transform: translate(-50%, 0);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 10px;
  width: fit-content;
  /* max-width: 90%; */
  white-space: nowrap;
}

#successmessage {
  display: none;
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
  color: white;
  font-size: 24px;
  font-weight: 700;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 30px 20px;
  z-index: 200;
  text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.8);
}

/* MOVEMENT BUTTONS */
.movement-buttons-container {
  position: absolute;
  bottom: 2vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 3vmin;
  z-index: 100;
  pointer-events: auto;
}

.movement-button {
  width: 12vmin;
  height: 12vmin;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6vmin;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.1s ease;
  pointer-events: auto;
}

.movement-button:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.05);
}

.movement-button.active {
  background: rgba(0, 150, 255, 0.9);
  color: white;
  transform: scale(0.95);
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.4);
}

.rotate-left-button {
  order: 1;
}

.forward-button {
  order: 2;
}

.backward-button {
  order: 3;
}

.rotate-right-button {
  order: 4;
}

/* MOD */
.landing8-attribution-logo {
  display: none !important;
}
.poweredby-img {
  display: none !important;
}
.landing8-prompt-text {
  font-size: 20px;
  font-family: 'Poppins', sans-serif;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .movement-buttons-container {
    gap: 2vmin;
    bottom: 3vh;
  }

  .movement-button {
    width: 14vmin;
    height: 14vmin;
    font-size: 7vmin;
  }
}

@media (min-width: 961px) {
  .movement-buttons-container {
    gap: 2rem;
    bottom: 4vh;
  }

  .movement-button {
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
  }
}
