* {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  box-sizing: border-box;
}
html,
body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
#container {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#container header {
  height: 6vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: black;
  color: white;
  position: relative;
  z-index: 100;
}
#content {
  flex-grow: 1;
}
#content.play {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
#content.play #options,
#content.play #battlefield {
  flex-grow: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#content.play #options .card,
#content.play #battlefield .card {
  border: 1px solid black;
  border-radius: 0.25rem;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  width: 100%;
  position: relative;
  max-width: 600px;
  background-color: white;
}
#content.play #options .card h1,
#content.play #battlefield .card h1,
#content.play #options .card p,
#content.play #battlefield .card p {
  margin-bottom: 0.5rem;
}
#content.play #options .card h1:last-of-type,
#content.play #battlefield .card h1:last-of-type,
#content.play #options .card p:last-of-type,
#content.play #battlefield .card p:last-of-type {
  margin: 0;
}
#content.play #options .card:last-of-type,
#content.play #battlefield .card:last-of-type {
  margin: 0;
}
#content.play #battlefield {
  background-image: var(--bg);
  width: 100%;
  background-position: center;
  background-size: cover;
  justify-content: flex-end;
}
#content.play #options {
  display: none;
}
#content.play #options.show {
  display: flex;
  overflow: auto;
  height: 50vh;
  justify-content: flex-start;
}
#content.play #overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.75);
}
#content.play #overlay .welcome,
#content.play #overlay .die {
  background-color: black;
  aspect-ratio: 1/1;
  padding: 1rem;
  font-size: 48px;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#content.play #overlay .welcome span,
#content.play #overlay .die span {
  color: white;
}
#content.play #overlay .welcome {
  font-size: 16px;
  aspect-ratio: initial;
  color: white;
}
#content.play #overlay .welcome h2,
#content.play #overlay .welcome p {
  margin-bottom: 0.5rem;
}
#content.play #overlay .welcome #url {
  border: 1px solid white;
  padding: 0.5rem;
  border-radius: 5px;
}
#content.play #overlay .welcome button {
  width: 50%;
  height: 100%;
  margin-right: 0.5rem;
  padding: 0.5rem;
  border: 0;
  background-color: white;
  color: black;
  border-radius: 0.25rem;
}
#content.play #overlay.show {
  display: flex;
}
#content.play #controls {
  position: relative;
  height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  width: 100%;
  background-color: black;
}
#content.play #controls .wrap {
  max-width: 600px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
#content.play #controls .wrap button {
  width: 50%;
  height: 100%;
  margin-right: 0.5rem;
  padding: 0.5rem;
  border: 0;
  background-color: white;
  color: black;
  border-radius: 0.25rem;
}
#content.play #controls .wrap button:last-of-type {
  margin: 0;
}
