/* custom CSS theme
 * for untwoard.bearblog.dev
 * by untwoard
 */

body {
  background: inherit;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 0.9em;
  color: #626262;
}

a {
  color: #DB967D;
  text-decoration: none;
}

a:hover {
  color: #788BC4;
  text-decoration: line-through;
}

a:visited {
  color: #788BC4;
}

.container {
  overflow-wrap: break-word;
  padding: 0;
  max-width: 50em;
}

main {
  width: 100%;
  margin: 0 auto;
}

h1 {
  font-size: 1em;
}

h3 {
  color: #BCBCBC;
  font-style: italic;
  letter-spacing: 0.1em;
  text-transform: lowercase;
}

#title {
  display: none;
}


/* form styling */
#guestbooks___guestbook-form-container {
  padding: 0 24px 48px 24px;
  border-bottom: 1px dashed #BCBCBC;
}

#guestbooks___guestbook-form {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#guestbooks___guestbook-form > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.guestbooks___input-container > label {
  text-transform: lowercase;
  letter-spacing: .2em;
}

input[type="text"],
input[type="url"],
input[type="email"],
textarea {
  font-family: "Courier New", Courier, monospace;
  font-size: .85em;
  background-color: inherit;
  min-width: 60%;
  padding: 0.5em 1em;
  border: 1px solid #BCBCBC;
  border-radius: 2px;
}

input:focus,
textarea:focus {
  background: #F5F7FC;
  border: 2px solid #788BC4;
  outline: none;
}

#guestbooks___email-help {
  font-size: .9em;
  font-style: italic;
  max-width: 30%;
}

#text {
  margin-top: 8px;
  height: 100px;
}


/* Proof of Work bot deterrent */
#guestbooks___pow-container {
  margin: 0.75em 0;
}

.guestbooks___pow-label-text--loading {
  opacity: 0.7;
}

.guestbooks___pow-label-text--verified {
  color: #788BC4;
}

.guestbooks___pow-label-text--error {
  color: #DB967D;
}

#guestbooks___pow-container > label {
  cursor: pointer;
  user-select: none;
  font-size: 0.95em;
  font-style: italic;
  margin: auto;
}

#guestbooks___pow-checkbox {
  width: 1em;
  height: 1em;
}

#guestbooks___pow-status {
  margin-left: 0.5em;
  text-transform: lowercase;
}

/* submit form buttom */
input[type="submit"] {
  font-family: inherit;
  text-align: center;
  color: #292929;
  background: #BCBCBC;
  width: 25%;
  font-weight: 400;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: .3em;
  padding: 15px 20px 10px 20px;
  margin: auto;
  border: none;
  border-radius: 4px;
}

input[type="submit"]:hover {
  background: #788BC4;
}


/* credit */
#guestbooks___guestbook-made-with {
  display: none;
  margin-top: 32px;
  border-top: 1px dashed #cececa;
  padding-top: 1em;
}

#guestbooks___guestbook-made-with > small {
  color: #788BC4;
  font-size: .8em;
  letter-spacing: .1em;
  text-transform: lowercase;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.3em;
}

#guestbooks___guestbook-made-with > small > a::after {
  content: "\013083 \01F58B";
}


/* content break */
hr {
  display: none;
  border: 0;
  border-top: 1px dashed #cececa;
  margin: 0;
}


/* guestbook messages */
#guestbooks___guestbook-messages-header {
  margin-top: 1.5em;
}

#guestbooks___guestbook-messages-container {
  padding: 0 24px;
}

.guestbook-message {
  border: 1px solid #cececa;
  margin: 5px 0;
  padding: 1em;
}

.guestbook-message > p {
  display: flex;
  justify-content: space-between;
  margin: 0;
}

.guestbook-message > p > b {
  color: #788BC4;
  font-size: .9em;
  letter-spacing: .1em;
}

.guestbook-message:nth-of-type(3n+0) > p > b {
  color: #8B78C4;
}

.guestbook-message > p > small {
  font-style: italic;
  color: inherit;
}

blockquote {
  margin: .5em 0 0 0;
  text-align: justify;
}


/* reply styling */
.guestbook-message-reply {
  margin-left: 2rem;
  padding: 0.5em;
  border: 0;
  opacity: 0.9;
}

.guestbook-message-reply > p {
  padding-right: 1em;
}

.guestbook-message-reply > p > b::before {
  content: "\2937";
}

.guestbook-message-reply blockquote {
  font-size: .95em;
  padding: 0 .95em;
  border-left: 1px solid #788BC4;
}


input[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


@media (max-width: 600px) {
  main {
    width: 100%;
    padding: 0;
    margin: 0 auto;
    font-size: 1em;
  }

  .guestbooks___input-container > label {
    width: 50%;
  }

  input[type="text"],
  input[type="url"],
  input[type="email"] {
    width: 100%;
  }

  #guestbooks___email-help {
    max-width: 90%;
  }

  input[type="submit"] {
    width: auto;
    max-width: 50%;
  }
}

/*
@media (orientation: portrait) {
  main {
    width: 100%;
    padding: 0;
    margin: 0 auto;
  }
}*/