
body {
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  overflow: hidden;
}

#devs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* Added */
  position: fixed;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
  font-size: x-large;
  text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
}

.names {
  display: flex; /* Added */
  flex-wrap: wrap; /* Added */
  justify-content: center; /* Added */
  margin-top: 10px; /* Added for spacing */
}

.names h3 {
  margin: 5px; /* Added for spacing */
}

.names a {
  color: white;
}

.names a:hover {
  color: red;
}

.social {
  background-color: #f1f1f1;
  padding: 10px;
  display: flex;
  justify-content: center;
}

.social-button {
  margin: 0 5px;
  font-size: 18px;
  padding: 8px 16px;
  background-color: #ccc;
  color: #333;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.facebook-button {
  background-color: #3b5998;
  color: #fff;
}

.twitter-button {
  background-color: #1da1f2;
  color: #fff;
}

.instagram-button {
  background-color: #c13584;
  color: #fff;
}

.social-button:hover {
  background-color: #999;
}

.social-button:focus {
  outline: none;
  box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.2);
}

.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

#checkpoint-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 20px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 48px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

#start-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

#menu-box {
  /* background: rgba(255, 0, 0, 0.7); Red box with 50% opacity */
  padding: 50px;
  border-radius: 10px;
  width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.title {
  color: white;
  background: rgba(255, 0, 0);
  border-radius: 25px;
  margin-bottom: 50px;
  text-align: center;
  font-size: 80px;
  text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
  font-family: 'Playfair Display', serif;
  font-family: 'VT323', monospace;
}

.menu-button {
  font-family: 'Playfair Display', serif;
  font-family: 'VT323', monospace;
  display: block;
  text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
  margin-bottom: 25px;
  padding: 40px;
  padding: 0;
  margin: 20px;
  background: transparent; /* Red button with 80% opacity */
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  position: relative;
}

.button-image {
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translate(0, -50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-button:hover {
  background: rgba(255, 0, 0, 1); /* Red button with 100% opacity on hover */
}

.menu-button:hover .button-image {
  opacity: 1;
}

#deathCountDisplay{
  position: absolute;
  top: 0px;
  left: 0px;
  color: white;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

#game-container {
  opacity: 0;
  transition: opacity 1s ease; /* Adjust the duration as needed */
}

.fade-in {
  opacity: 1 !important;
}

#timerDisplay {
  position: absolute;
  top: 10px; /* Adjust as needed */
  left: 50%; 
  transform: translateX(-50%);
  color: white;
  font-family: Arial, sans-serif;
  font-size: 24px; /* Adjust to your preference */
  text-align: center;
}
