@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@400;500;600;700;800;900&display=swap');

body {
  background-color: black;
  background-size: cover;
  background-position: center;
  transition: 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

body::before {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  backdrop-filter: blur(5px);
}

.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.main:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

/* Dim + increase blur of the background when .main is hovered.*/
body::before {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0);
  transition: -webkit-backdrop-filter 0.6s ease, backdrop-filter 0.6s ease, background-color 0.6s ease;
}

body:has(.main:hover)::before {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background-color: rgba(0, 0, 0, 0.45);
}

#track {
  color: white;
  font-family: 'Geologica', sans-serif;
  text-align: center;
  margin: 50px 0;
  max-width: 320px;
  border-radius: 10%;
}

#track img {
  pointer-events: none;
  margin: 20px 20px 2px;
  border-radius: 10%;
  margin-top: 20px;
}

/* Make the track block clickable and visually indicate that */
#track .track-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}



#track h2 {
  margin: 15px 30px -10px 30px;
}

#track p {
  margin: 20px 0px 20px 0px;
}


#track progress {
  width: 80%;
  height: 8px;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  border-radius: 6px;
  background-color: rgba(255,255,255,0.15);
  margin: 8px auto 24px;
  display: block;
}


#track progress::-webkit-progress-bar {
  background-color: rgba(255,255,255,0.12);
  border-radius: 6px;
}
#track progress::-webkit-progress-value {
  background: #fff;
  border-radius: 6px;
}


#track progress::-moz-progress-bar {
  background: #fff;
  border-radius: 6px;
}


@media only screen and (max-width: 460px) {
  #track h2 {
    font-size: 20px;
  }
  }
