* {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 20px;
  box-sizing: border-box;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url(./images/clubhouse.jpg);
  background-size: cover;
  transition: background-image 500ms ease;
  background-repeat: no-repeat;
}

.card {
  height: 400px;
  width: 600px;
  border-radius: 1rem;
  position: relative;
  border-width: 1rem;
  background: hsla(255, 44%, 7%, 0.2);
  backdrop-filter: blur(5px);
}

.card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  border: 2px, solid, transparent;
  background: linear-gradient(rgba(95, 83, 13, 0.342)), rgba(49, 63, 23, 0.192);
  mask: linear-gradient(black, black) border-box,
    linear-gradient(black, black) padding-box;
  mask-composite: subtract;
}

.button {
  width: 200px;
  height: 100px;
  border-radius: 1rem;
  text-align: center;
  line-height: 100px;
  color: black;
  text-decoration: none;
  position: absolute;
}

.button {
  transition: width 500ms ease, background-color 300ms;
}

.button {
  border: transparent 2px solid;
  background: radial-gradient(
        circle at 50% 250%,
        rgba(0, 253, 0, 0.795),
        rgba(28, 110, 104, 0.788)
      )
      padding-box,
    radial-gradient(rgba(209, 10, 216, 0.493), rgba(217, 255, 0, 0.349));
}

.button:hover {
  background-color: greenyellow;
}

a.button1 {
  display: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

a.button2 {
  display: none;
  top: 70%;
  left: 10%;
}

a.button3 {
  display: none;
  top: 10%;
  left: 55%;
}

.button4 {
  display: none;
  top: 10%;
  left: 5%;
  cursor: pointer;
}

.reset {
  display: none;
  left: 100%;
  transform: translate(-100%);
  width: 100px;
  height: 50px;
  line-height: 25px;
  border-radius: 0.5rem;
  border-width: 0.5rem;
  backdrop-filter: blur(12px);
}

body:has(:target) .card {
  transition: 1000ms ease;
  height: 700px;
  width: 1000px;
}

body:not(:has(:target)) .button1,
#emptyblock1:target ~ .button1 {
  display: block;
}

#emptyblock2:target ~ .button2 {
  display: block;
}
#emptyblock2:target ~ .button1 {
  display: none;
}

#emptyblock3:target ~ .button3 {
  display: block;
}
#emptyblock3:target ~ .button2 {
  display: none;
}

#emptyblock4:target ~ .button4,
#emptyblock4:target ~ .reset {
  display: block;
}
#emptyblock4:target ~ .button3 {
  display: none;
}

.welcome-text {
  font-size: 100px;
  color: rgb(243, 147, 2);
}

body:not(:has(:target)) .warning-text {
  display: none;
}

body:has(:target) .welcome-text {
  display: none;
}

.warning-text {
  color: firebrick;
  font-size: 100px;
  animation: blinker 1000ms linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0.8;
    scale: 1.2;
  }
}
