body {
  margin: 0;
  background: black;
  color: white;
  font-family: 'Press Start 2P', cursive;
  text-align: center;
}

.back-link {
    position: fixed;
    top: 60px;
    left: 1px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    color: #f5f5f5;
    z-index: 10000; 
    transition: color 0.3s;
}

.back-link:hover {
    color: #ff4081;
    background-color: rgba(0, 0, 0, 0.9);
}

#video-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 80vh;
  z-index: 10;
  pointer-events: none; 
}

#start-menu {
  position: relative;
  width: 100%;
  height: 100%;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

#start-image {
  max-width: 100%;
  max-height: 100%;
  cursor: pointer;
  justify-content: center;
}

#homepage-image {
  max-width: 100%;
  height: auto;
  position: relative;
}

/* Overlays */
#text-overlay {
  position: absolute;
  top: 80%;
  left: 10%;
  transform: translateY(-50%);
  font-size: 20px;
  font-family: "Courier New", monospace;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 15px;
  border-radius: 5px;
  display: none;
  z-index: 3000; 
  max-width: 40%;
  text-align: left;
}

#user-dialog-choices {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 3000; 
  background: transparent;
  padding: 0;
  width: auto;
  max-width: 40%;
  text-align: center;
}

.user-dialog-choice {
  background: transparent;
  color: #ffcc00;
  padding: 5px 10px;
  border: none;
  cursor: pointer;
  font-size: 20px;
  border-radius: 5px;
  width: auto;
  text-align: center;
  transition: color 0.3s ease;
}

.user-dialog-choice:hover {
  color: white;
}

#user-dialog-overlay {
  position: absolute;
  top: 85%;
  right: 10%;
  transform: translateY(-50%);
  font-size: 20px;
  font-family: "Courier New", monospace;
  color: #ffcc00;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 15px;
  border-radius: 5px;
  display: none;
  z-index: 300; 
  max-width: 40%;
  text-align: right;
}

#choices, #finalscreen {
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 200; 
  background: rgba(0, 0, 0, 0.9); 
}

#choices img, #finalscreen img {
  max-width: 100%; 
  height: auto; 
  cursor: pointer; 
  z-index: 210; 
}