@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&display=swap" rel="stylesheet');

body {
  font-family: Arial, sans-serif;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden; 
  position: relative; 
  background-color: #000; /* Fallback color in case video doesn't load */
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}
.home_btn{
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}
.home_btn i {
    font-size: 2em;
  }
.container {
  text-align: center;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.game-title {
  font-family: 'Press Start 2P', sans-serif; 
  font-size: 2rem;
  font-weight:bolder;
  margin:40px 20px;
  color: #fd04c7;
  transition: color 0.3s ease, transform 0.5s ease; 
  animation: bounce 1s infinite alternate;
}

.game-title:hover {
  color: #89eef1; 
  transform: scale(1.1); 
}

@keyframes bounce {
  0% {
    transform: scale(1); 
  }
  100% {
    transform: scale(1.05); 
  }
}

.room {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 20px;
  border-radius: 8px;
  animation: fade-in 0.5s ease;
  height: 50vh;
  width:80vh; 
  display: flex;
  flex-direction:column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.room-description {
  font-size: 28px;
  margin-bottom: 20px;
  color: #0c0c0c;
  font-weight: bolder;
}

.answer-input {
  margin-bottom: 10px;
  padding: 8px;
  width: 500px;
  box-sizing: border-box;
  font-size: 16px;
}

.check-btn {
  font-family: 'Orbitron', sans-serif;
  padding: 10px 20px;
  background-color: #130831; 
  color: #eeeeee;
  margin-top: 20px;
  border: 2px solid #1b1464; 
  border-radius: 20px; 
  font-size: 16px; 
  cursor: pointer;
  font-weight: bolder;
  transition: background-color 0.3s ease, color 0.3s ease; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

.check-btn:hover {
  background-color: #9df0d4;
  color: #1b1464; 
  transform: scale(1.05);
}

.check-btn:active {
  transform: translateY(2px); 
}

.message {
  margin-top: 20px;
  font-weight: bold;
  font-size: 14px;
  color: #ff0000;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}
video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}