body {
  margin: 0;
  text-align: center;
  background-color: #45add3; /* Fallback color */
  background: url("../images/background.png") no-repeat center center fixed;
  background-size: cover; /* Optional: Ensures the image covers the entire screen */
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html {
  overflow-y: hidden;
}

.loading-scene {
  height: 100%;
  width: 100%;
}

.loading-background {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    180deg,
    rgba(33, 166, 150, 1) 70%,
    rgb(12, 71, 71) 100%
  );
  z-index: -1;
}
.loading {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.loading-text,
.lobby-text {
  color: white;
  font-size: 5cqw;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #06534d !important;
  border-radius: 18px !important;
  width: 80%;
  max-width: 400px;
  height: 90vh;
  padding: 20px;
  margin: 10% auto;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.modal-header {
  display: flex;
  justify-content: left;
  align-items: center;
  width: 100%;
  color: #ffffff94;
}

.modal-header img {
  margin-right: 10px;
  width: 20px;
  height: 20px;
}

.modal-header p {
  font-size: 14px;
  font-weight: 100;
}

.modal-body img {
  width: 80%;
  height: auto;
}

.modal-body h3 {
  padding-left: 20%;
  justify-self: left;
  color: #ffffffac;
  font-weight: 400;
  font-size: 24px;
}

.color_transparent {
  color: #ffffffac;
}

.modal-body h1 {
  padding: 0;
  color: #ffffff;
  font-weight: 100;
  font-size: 62px;
}

.modal-footer {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.modal-footer .btn {
  width: 40%;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  background: #24ad9c;
  color: white;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.381);
  font-weight: 600;
}

#ModalRestartButton {
  background-color: #f07d13;
}

.btn:active {
  background-color: #000000 !important;
}

.hidden {
  display: none;
}

.modal-body img[alt="First Place"] {
  width: 50vw;
  height: auto;
  display: block;
  margin: 0 auto;
}