.levelStart {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(50, 140, 160);
  background: radial-gradient(circle, #222 0%, rgba(7, 76, 104, 1) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.levelStart button {
  background-color: #05465e;
  border: 2px solid #E6E6E6;
  width: 150px;
  height: 150px;
  font-size: 20px;
  color: white;
  border-radius: 100%;
}

.levelStart button:hover {
  background-color: #074c68;
  outline: 2px solid #222;
  outline-offset: -3px;
}

/* ---------- LEVEL CONTENT ---------- */

.levelContent {
  display: flex;
  padding: 10px 20px;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
}

.levelContent button {
  padding: 0.6em 2em;
  border: none;
  outline: none;
  color: rgb(255, 255, 255);
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.levelContent button:before {
  content: "";
  background: linear-gradient(45deg,
      #ff0000,
      #ff7300,
      #fffb00,
      #48ff00,
      #00ffd5,
      #002bff,
      #7a00ff,
      #ff00c8,
      #ff0000);
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: valba 20s linear infinite;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

@keyframes valba {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 400% 0;
  }

  100% {
    background-position: 0 0;
  }
}

.levelContent button:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #222;
  left: 0;
  top: 0;
  border-radius: 10px;
}

/* --- HEADER ---*/
.levelHeader {
  display: flex;
  justify-content: center;
  align-items: center;
  text-shadow: 1px 1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000;
}

.levelHeader:before,
.levelHeader:after {
  content: '------';
  text-shadow: 1px 1px 0 white, -1px 1px 0 white, 1px -1px 0 white, -1px -1px 0 white;
  color: white;
  font-size: 30px;
  font-weight: bold;
  margin: 0 10px;
}

/* --- DETAILS & HINT --- */
.levelDetails,
.levelHint {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 10px;
  background-color: rgba(0, 0, 0, .5);
  border-radius: 10px;
  padding: 10px;
  gap: 10px;
}

.levelHint {
  flex-direction: column;
}

.levelHint div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.levelHint span {
  color: red;
}

/* --- COMPLETION STATUS --- */
*[isCompleted]::after {
  font-size: 20px;
  font-weight: bold;
  margin-left: 10px;
}

*[isCompleted='true']::after {
  content: '✓';
  color: #00ff00;
}

*[isCompleted='false']::after {
  content: '✗';
  color: #ff0000;
}

.levelStatus {
  display: flex;
  justify-content: center;
  align-items: center;
}