*, *::before, *::after {
  box-sizing: border-box;
}

*:not(dialog) {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

#root, #__next {
  isolation: isolate;
}

body {
  background: black;
  font-family: sans-serif;
  font-weight: 200;
  line-height: 1.5;
  color: white;
}

a {
  color: #26c0ff;
}

ul {
  padding: 0 1rem;
  margin: 0 auto;
  max-width: 40rem;
  list-style-type: none;
}

.about-button {
  position: fixed;
  bottom: 0.5em;
  right: 0.5em;
  z-index: 2;
  padding: 0.5em 1em;
  border: 1px solid;
  border-radius: 0.35em;
  background: black;
  color: white;
  text-decoration: none;
}

#about-modal {
  background: black;
  border: 1px solid;
  border-radius: 1rem;
}

#about-modal h2 {
  margin-top: 0;
  font-weight: 200;
}

#about-modal h3 {
  font-weight: 200;
}

#about-modal h3:first-of-type {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid;
}

#about-modal p:last-of-type {
  margin-bottom: 0;
}

#about-modal .modal_close::before,
#about-modal .modal_close::after {
  background: white;
}

#about-modal h2,
#about-modal h3,
#about-modal p {
  margin-bottom: 1rem;
}

.container {
  padding: 1em 0.5em;
}

.message {
  position: relative;
  padding: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  border: 1px solid white;
}

.message:first-of-type {
  margin-top: 0;
}

.message:last-of-type {
  margin-bottom: 0;
}

.message.hidden {
  border-color: rgba(255, 255, 255, 0.6);
}

.message .header {
  font-size: 0.75em;
  line-height: 1;
  padding-bottom: 0.75em;
}

.message.hidden .header {
  opacity: 0.6;
}

.message.hidden .content {
  display: none;
}

.message .toggle {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  z-index: 1;
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
}

.message svg.show {
  display: none;
}
.message svg.hide {
  display: block;
}
.message.hidden svg.show {
  display: block;
}
.message.hidden svg.hide {
  display: none;
}

.message time.hidden {
  display: none;
}

.message .body {
  margin: 0.5em 0 0 0;
}

.message p {
  white-space: pre-line;
}

.message .media-wrapper {
  display: table;
  width: 100%;
  margin-top: 0.75em;
}

.message .media-wrapper > img {
  width: 100%;
  border-radius: 0.5rem;
}

.message .loading {
  padding: 2em;
  border: 1px solid;
}

.message .loading img {
  display: block;
}

.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 15em;
}

.login-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 20rem;
  text-align: center;
}

.login-form label {
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.login-form input[type="tel"] {
  margin-bottom: 1.5rem;
  background: transparent;
  color: white;
  border: none;
  text-align: center;
  font-weight: 200;
  border-bottom: 1px solid white;
}

.login-form input[type="tel"]:focus {
  outline: 0;
  border-color: #26c0ff;
}

.login-form input[type="submit"] {
  background: transparent;
  color: white;
  border: 1px solid white;
  padding: 1rem;
  line-height: 1;
  font-family: sans-serif;
  font-weight: 200;
  border-radius: 0.35rem;
  cursor: pointer;
}

.login-form input[type="submit"]:focus,
.login-form input[type="submit"]:active {
  color: #26c0ff;
  border-color: #26c0ff;
}
