:root {
  --red: #ffadad;
  --orange: #ffd6a5;
  --yellow: #fdffb6;
  --green: #caffbf;
  --blue: #9bf6ff;
  --indigo: #a0c4ff;
  --purple: #bdb2ff;
  --pink: #ffc6ff;
  --white: #fffffc;
}
body {
  background: var(--green, #caffbf);
  background: linear-gradient(
      to left top,
      var(--green, #caffbf) 0%,
      var(--blue, #9bf6ff) 100%
    )
    fixed;
  font-family: "Roboto Mono", monospace;
  text-align: center;
  display: grid;
  height: 100vh;
  grid-template-rows: 1fr auto 1fr;
  margin: 0;
  padding: 0;
}
header {
  margin: 3vh;
  height: 10vh;
}
main {
  display: flex;
  justify-content: center;
}
.card {
  background: var(--white, #fffffc);
  width: 50vw;
  height: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding: 3vh 10vh 5vh 10vh;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-content: center;
}
.hint {
  background: var(--yellow, #fdffb6);
}
.give-up {
  background: var(--indigo, #a0c4ff);
}
button {
  border: none;
  font-family: inherit;
  padding: 0;
  margin: 1vmin;
  cursor: pointer;
  padding: 0.25em 0.75em;
  min-width: 10ch;
  min-height: 44px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.18);
}
aside {
  display: flex;
  flex-direction: row-reverse;
}

#hint:target {
  display: block;
}

#give-up:target {
  display: block;
}
#hint,
#give-up {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.2);
  display: none;
}
.modal-content {
  position: absolute;
  box-sizing: border-box;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 50vw;
  min-height: 15vh;
  padding: 2vh 5vh;
  background: rgb(255,255,255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
}
.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}
