#logo {
  height: 10vh;
  object-fit: contain; /* Ensures the logo maintains its aspect ratio */
}

/* Loading Screen Style */
#loading-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column; /* Arrange items vertically */
}

#loading-wrapper {
  position: relative;
  width: 5vw; /* Container width */
  height: 50vh; /* Container height */
  background-color: transparent;
  display: flex;
  justify-content: center; /* Center items in the wrapper */
  align-items: flex-end; /* Align items at the bottom */
}

#loading-bar {
  width: 0.25vw; /* Full width */
  height: 0%; /* Initial height of the loading bar */
  background: linear-gradient(to top, black, #550000 40%, red 100%);
  transition: height 1s ease-out; /* Smooth transition for height change */
}

/* Body and other content */
body {
  margin: 0;
  padding: 0;
  font-family: 'Space Grotesk', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: black;  /* Black background for the rest of the page */
  color: red;
  text-align: center;
  overflow: hidden;
}

#wrapper {
  position: relative;
  z-index: 2;
}

#main-container {
  position: relative;
  z-index: 3;
}

.title {
  font-size: 40px;
  letter-spacing: 8px;
  font-weight: 400;
  color: red;
  z-index: 1;
  margin-bottom: 20px;
}

.subtitle {
  font-size: 20px;
  letter-spacing: 3px;
  color: rgb(255, 255, 255);
  z-index: 1;
  margin-bottom: 40px;
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.button {
  padding: 10px 20px;
  border: 2px solid red; /* keep the red border always */
  color: red;
  background-color: transparent;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-sizing: border-box; /* important: keeps size consistent with border */
}

.button:hover {
  background-color: red;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

a.button {
  text-decoration: none;
}


.button:active {
  transform: scale(1);
  box-shadow: none;
}

#particle-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#particleCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
