html,
body {
  margin: 0;
  padding: 0;
  border: 0;
  overflow-x: hidden;
  background: #000;
  color: #fff;
  font-family: "Syne", sans-serif;
}

* {
  box-sizing: border-box;
}

h1 {
  font-size: 2.5em;
  font-weight: 800;
}
button {
  font-size: 1.1em;
  background: #fff;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 0;
  border-radius: 10px;
  border: solid #fff 2px;
  margin: 4px 0;
  padding: 3px 9px;
  cursor: pointer;
}
button:hover,
button.selected {
  background: black;
  color: white;
}
li > button {
  transition: min-width 0.25s ease;
}
li > button:hover {
  min-width: 75%;
}
button.selected {
  min-width: 100%;
}
button#increment,
button#decrement {
  margin: 0;
  border: none;
  border-radius: 0;
}
button#decrement {
  border-right: 2px solid white;
}
button#increment {
  border-left: 2px solid white;
}
h2 {
  display: inline;
}
button#more-info {
  font-size: 0.9em;
  color: lightblue;
  background: none;
  border: none;
}
button#more-info:hover {
  text-decoration: underline;
}
span#count {
  border: 2px solid white;
  border-radius: 10px;
  height: -moz-fit-content;
  height: fit-content;
  display: inline-block;
  overflow: hidden;
}
span#number {
  width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#content {
  position: absolute;
  height: 100%;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
#content > * {
  pointer-events: all;
}
#login {
  max-width: 30vw;
}
#instructions,
#mobile-warning,
#mint-warning {
  margin: 0 0 22px;
}
#mint-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#mint {
  display: flex;
  align-items: baseline;
}
#mint-button {
  margin: 0 8px;
}
#remainder {
  margin: 8px 0 0;
}
header {
  display: flex;
  width: 100vw;
  justify-content: space-between;
}
main {
  width: -moz-fit-content;
  width: fit-content;
}
main > ul {
  max-height: 70vh;
  overflow: scroll;
}
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.block {
  padding: 10px;
  background: #000;
  height: -moz-fit-content;
  height: fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

/* .no-mint a-scene {
  filter: blur(21px) grayscale(0.75);
} */
.no-mint canvas {
  filter: blur(10px) grayscale(0.75);
}
#toroid-3d {
  width: 100vw;
  height: 100%;
  position: fixed;
}
#modal-wrapper.hidden {
  display: none;
}
#modal-wrapper {
  position: fixed;
  width: 100vw;
  height: 100%;
  background: #00000088;
  display: flex;
  justify-content: center;
  align-items: center;
}
#modal {
  padding: 50px;
  background: #000;
  position: relative;
  max-width: 70vw;
  max-height: 80vh;
  overflow: scroll;
}
#modal h3 {
  font-style: italic;
  font-size: 1.1em;
  padding: 14px 0 8px;
}
#close-modal {
  position: fixed;
  top: 0;
  right: 0;
  margin: 10px;
}
a {
  text-decoration: underline;
  cursor: pointer;
  color: lightblue;
}

#links a {
  text-decoration: none;
}
