.splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(37, 37, 37, 0.714);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  white-space: normal;  /* Allows text to wrap */
  overflow-wrap: break-word;  /* Ensures words break if needed */
  word-wrap: break-word;  /* For broader browser support */
  padding: 20px;  /* Added padding to prevent text touching edges */
}

.splashchoice {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  height: fit-content;
  padding: 16px;
  margin: 12px;
  border: 1px solid #ccc;
  cursor: pointer
}

.splashchoice:hover {
  background: #333;
  border: 1px solid #9bd9ff
}

.splash h1 {
  /*max-width: 60%;  /* Prevents text from stretching too wide */
  text-align: center;
  white-space: normal;  /* Allows text to wrap */
  overflow-wrap: break-word;
  word-wrap: break-word;
}

#splashscreen h1 {
  font-family: "Montserrat", serif;
  font-weight: 700;  /* This makes it bold */
  font-size: 5rem;
  line-height: 1.133;
  color: rgb(207, 201, 201);
  text-align: center;  /* Added to ensure text is centered */
}

/* Add media query for mobile responsiveness */
@media (max-width: 768px) {
  #splashscreen h1 {
    font-size: 2rem;  /* Smaller font size for mobile devices */
  }
}

