body {
  background-color: #12171f;
  color: white;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Roboto Slab", serif;
}

#main {
  width: 24em;
  max-width: 100%;
  margin: 0 auto;
  padding: 6em 1em;
}

p {
  font-size: 0.9;
  padding-bottom: 32px;
}

a {
  text-decoration: inherit;
}

.gray {
  color: gray;
}

textarea {
  background-color: #222e3f;
  color: white;
  resize: vertical;
  font-size: 1.1rem;
  padding: 0.4rem 0.6rem;
  width: 100%;
  margin-bottom: 1.2rem;
  appearance: none;
  border-radius: 0.25em;
  border: 1px solid black;
}

textarea:focus {
  border-width: 2px;
}

input[type="submit"],
button {
  color: white;
  font-size: 1.1rem;
  padding: 0.4rem 0.6rem;
  width: 100%;
  margin-bottom: 1.2rem;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0.25em;
  background-color: #222e3f;
  border: none;
  cursor: pointer;
}

details {
  margin-bottom: 1.2rem;
}

header {
  padding-bottom: 32px;
  top: 0;
  z-index: 1;
}

h1 {
  font-family: "Permanent Marker", cursive;
  font-size: 32px;
  color: white;
}

h1,
h4 {
  font-weight: 400;
}

.tell {
  background-color: #222e3f;
  border-radius: 1em;
  padding: 1em;
  margin-bottom: 1.2em;
}

.tell p {
  white-space: pre-wrap;
}

.tell #tell-preview {
  border-radius: 0.5em;
  width: 100%;
  margin: 1em 0;
}

.icons {
  display: flex;
  justify-content: flex-end;
  gap: 1.5em;
}

.icon {
  height: 1.5em;
  filter: invert(1);
}

#links {
  padding-top: 1em;
}

#links p {
  padding-bottom: 0.8em;
}

#links a {
  color: grey;
  border-bottom: 2px dotted grey;
  padding-bottom: 0.1em;
}

#links a:hover {
  border-bottom-style: solid;
}
