/* [::Built in::] Adapted from: https://eggramen.neocities.org/code/css_testpages */
body {
  background: transparent;
  font-family: sans-serif;
  font-size: 0.9em;
  color: gray;
}

h1 {
  color: transparent;
}

a {
  color: #42a872;
  text-decoration: underline;
}

a:hover {
  color: white;
}

main {
  width: 100%;
  margin: auto;
}

.container {
  background: transparent;
  padding: 0;
  border-radius: 0;
  max-width: 69em;
  margin: 0 auto;
}

input[type="text"],
input[type="url"],
textarea {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  padding: 0.8em;
  margin-bottom: 1em;
  border: none;
  border-radius: 5px;
}

input[type="submit"] {
  background: #f0eeee;
  color: #555;
  font-weight: bold;
  font-size: 1.3em;
  border: 1px solid #d6d1d1;
  border-radius: 5px;
  padding: 0.5em 1em;
  cursor: pointer;
}

input[type="submit"]:hover {
  background: #a8b3a9;
}

#guestbooks___guestbook-made-with {
  text-align: right;
}

#guestbooks___guestbook-messages-header {
  margin-top: 1em;
}

#guestbooks___guestbook-messages-container {
  margin-top: 1em;
}

hr {
  border: 0;
  border-top: 1px dashed gray;
  margin: 1em 0;
}

/* Reply styling */
.guestbook-message-reply {
  margin-left: 2.5rem;
  padding-left: 1rem;
  border-left: 3px solid #b4dcb4;
  opacity: 0.95;
}

.guestbook-message-reply blockquote {
  margin: 0;
  padding-left: 0;
  border-left: none;
}

/* Proof of Work bot deterrent */
.guestbooks___pow-container {
  margin: 0.75em 0;
}

.guestbooks___pow-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  cursor: pointer;
  user-select: none;
  font-size: 1.1em;
  color: white;
}

.guestbooks___pow-checkbox-label input[type="checkbox"] {
  width: 1.1em;
  height: 1.1em;
  cursor: pointer;
}

.guestbooks___pow-label-text--loading {
  opacity: 0.7;
}

.guestbooks___pow-label-text--verified {
  color: #b4dcb4;
}

.guestbooks___pow-label-text--error {
  color: #ff6b6b;
}

input[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 1200px) {
  main {
    width: 85%;
  }
}

@media (orientation: portrait) {
  main {
    width: 100%;
    padding: 0;
    margin: 0 auto;
  }
}
h1 {
  display: none;
}
input[type="text"],
input[type="url"],
textarea {
  background-color: #eeeeee !important;
  border: 1px solid #cccccc !important;
}