/* [::Built in::] Adapted from: https://eggramen.neocities.org/code/css_testpages */
/* Recolored to match the Hibur Mono pink theme */

/* Falls die Schrift nicht schon im HTML geladen wird: */

:root {
  --background-color: #5a1f4f;
  --container-color: #945187;
  --heading-color: #f6b6ea;
  --text-color: #f6b6ea;
  --link-color: #ff71b1;
  --visited-color: #f38fdf;
  --em-color: #f6b6eac7;
  --border-color: #5a1f4f;
}

body {
  font-size: 12px;
  font-family: 'Hibur Mono', monospace;
  background: var(--background-color);
  color: var(--text-color);
}

a {
  color: var(--link-color);
}

a:hover {
  text-decoration: wavy underline;
}

.container {
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 45px;
  border: 2px dotted var(--link-color);
  width: 100%;
  max-width: 958px;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  border-radius: 3px;
  background: var(--container-color);
  padding: 25px;
}

h1#title {
  font-size: 24px;
  color: var(--heading-color);
  text-align: center;
  margin-bottom: 20px;
}

#guestbooks___guestbook-form-container {
  margin-bottom: 20px;
}

.guestbooks___input-container {
  margin-bottom: 15px;
}

.guestbooks___input-container input,
.guestbooks___input-container textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  box-sizing: border-box;
  background: var(--background-color);
  color: var(--text-color);
  font-family: inherit;
}

.guestbooks___input-container input:focus,
.guestbooks___input-container textarea:focus {
  outline: none;
  border-color: var(--link-color);
}

#guestbooks___guestbook-form input[type="submit"] {
  background: var(--link-color);
  color: var(--background-color);
  border: none;
  padding: 10px 20px;
  border-radius: 3px;
  cursor: pointer;
  font-family: inherit;
}

#guestbooks___guestbook-form input[type="submit"]:hover {
  background: var(--visited-color);
}

#guestbooks___error-message {
  color: #ff71b1;
  margin-top: 10px;
}

#guestbooks___guestbook-made-with {
  text-align: right;
  margin-top: 20px;
}

#guestbooks___guestbook-made-with small {
  color: var(--em-color);
}

#guestbooks___guestbook-made-with a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: bold;
}

#guestbooks___guestbook-made-with a:hover {
  text-decoration: wavy underline;
}

#guestbooks___guestbook-messages-header {
  font-size: 18px;
  color: var(--heading-color);
  margin-top: 20px;
  border-bottom: dotted;
}

#guestbooks___guestbook-messages-container {
  margin-top: 20px;
}

/* Reply styling */
.guestbook-message-reply {
  margin-left: 2.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--link-color);
  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: 0.95em;
}

.guestbooks___pow-checkbox-label input[type="checkbox"] {
  width: 1.1em;
  height: 1.1em;
  cursor: pointer;
  accent-color: var(--link-color);
}

.guestbooks___pow-label-text--loading {
  opacity: 0.7;
}

.guestbooks___pow-label-text--verified {
  color: #f38fdf;
}

.guestbooks___pow-label-text--error {
  color: #ff71b1;
}

#guestbooks___guestbook-form input[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .container {
    margin-top: 15px;
    margin-bottom: 15px;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
  }
}