/* [::Built in::] Adapted from: https://eggramen.neocities.org/code/css_testpages */
body {
  background: #f7d5f7;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  font-family: "VT-100", fixedsys, System, monospace;
  font-size: 13px;
}

a {
  color: #3c5832;
}

a:hover {
  color: white;
}

.container {
  background: #dff7d5;
  border-radius: 5px;
  border: 1px solid #618a50;
  box-shadow: 2px 2px #3c5832;
  padding: 1em;
  max-width: 69em;
  margin: 0 auto;
}

h1 {
  text-align: center;
  color: #3c5832;
}

input[type="text"],
input[type="url"],
textarea {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  padding: 0.5em;
  margin-bottom: 1em;
  border: 1px solid #618a50;
  border-radius: 5px;
  background: #fff;
}

input[type="submit"] {
  background: #7aa469;
  color: white;
  font-weight: bold;
  font-size: 1.3em;
  border: none;
  border-radius: 5px;
  padding: 0.5em 1em;
  cursor: pointer;
}

input[type="submit"]:hover {
  background: #618a50;
}

#guestbooks___guestbook-made-with {
  text-align: right;
}

#guestbooks___guestbook-messages-header {
  margin-top: 1em;
  color: #3c5832;
}

#guestbooks___guestbook-messages-container {
  margin-top: 1em;
}

hr {
  border: 0;
  border-top: 1px dashed #3c5832;
  margin: 1em 0;
}

/* Reply styling */
.guestbook-message-reply {
  margin-left: 2.5rem;
  padding-left: 1rem;
  border-left: 3px solid #7aa469;
  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;
}

.guestbooks___pow-label-text--loading {
  opacity: 0.7;
}

.guestbooks___pow-label-text--verified {
  color: #3c5832;
}

.guestbooks___pow-label-text--error {
  color: red;
}

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;
  }
}
