/* 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;
  }
}
