  /* [::Built in::] Adapted from: https://eggramen.neocities.org/code/css_testpages */

@font-face {
  font-family: "Company Contract";
  /* set name */
  src: url(https://birdtree.land/Company_Contract.ttf);
  /* url of the font */
}

@font-face {
  font-family: "Soulful Serif";
  /* set name */
  src: url(https://birdtree.land/Soulful_Serif.ttf);
  /* url of the font */
}

.container-book {
    margin: 2em
}

.container-book form {
  margin: 30px auto 40px;
  width: 90%;
  padding: 25px;
  border: 3px solid #985018;
      color: #58302C;
  background: #fff;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.container-book h3 {
  font-family: "Soulful Serif", serif;
  color: white!important;
  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: 0px solid #1d1c32;
  box-sizing: border-box;
  transition: border-color 0.3s;
  font-family: "Company Contract", sans-serif;
  background-color: #FDF9EE;
}

.guestbooks___input-container input:focus,
.guestbooks___input-container textarea:focus {
  border-color: #1894ca;
  outline: none;
}

/* Submit Button */
.container-book button {
  background: #9E4265;
  color: white;
  box-shadow:  -4px 0 0 0 #9E4265, 4px 0 0 0 #9E4265, 0 -4px 0 0 #9E4265, 0 4px 0 0 #9E4265;
  border: none;
  padding: 0px 15px 15px 15px;
  cursor: pointer;
  transition: background-color 0.3s;
  border-color: white;
  font-family: "Company Contract", sans-serif;
  font-size: 1em;
}

button.submit {
    background-color: #548C2F;
      box-shadow:  -4px 0 0 0 #548C2F, 4px 0 0 0 #548C2F, 0 -4px 0 0 #548C2F, 0 4px 0 0 #548C2F;
}

button.submit:active {
    background-color: #548C2F;
      box-shadow:   -2px 0 0 0 #DD1603,
                 2px 0 0 0 #DD1603,
                 0 -2px 0 0 #DD1603,
                 0 2px 0 0 #DD1603;
  background-color: #DD1603; }

#guestbooks___guestbook-form input[type="submit"]:hover {
  background: #774459;
}

#guestbooks___error-message {
  color: red;
  margin-top: 10px;
}

label #guestbooks___pow-checkbox {
    display: none;
}

#guestbooks___guestbook-made-with {
  text-align: right;
  margin-top: 20px;
}

#guestbooks___guestbook-made-with a {
  text-decoration: none;
  font-weight: bold;
  color: white
}

#guestbooks___guestbook-made-with a:hover {
  text-decoration: underline;
}

#guestbooks___guestbook-messages-header {
  color: #1d1c32;
  margin-top: 20px;
}

#guestbooks___guestbook-messages-container {
  margin-top: 20px;
}

.container-book a:hover {
      color: #FDD05E;
}

.container-book small {
  font-size: 10px;
}

.guestbook-message {
    background-color: #985018;
      border-left: 5px solid #548C2F;
    padding: 20px;
        margin: 10px;
    padding-top: 0px;
}
/* Reply styling */
.guestbook-message-reply {
background-color: #88481D;
  padding-left: 1rem;
  border-left: 5px solid #C95487;
  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-container:hover {
  color: #548C2F;
}

.guestbooks___pow-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  cursor: pointer;
  user-select: none;
  font-size: 0.95em;
}

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

.guestbooks___pow-label-text--verified {
  color: #1894ca;
}

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

#guestbooks___guestbook-form input[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


#guestbooks___guestbook-messages-container {
    display: flex;
      flex-direction: row;
}


.guestbook-message a:hover {
 color: 1894ca;
}

@media (max-width: 950px) {
  .container {
  font-size: 16px;
  width: 700px;
}

}

@media (max-width: 750px) {
  .container {
  font-size: 17px;
  width: 550px;
}

}

@media (max-width: 600px) {
  .container {
  min-width: 150px;
  max-width: 530px;
  box-sizing: border-box;
}

}

@media (orientation: portrait) {
  body {
  font-size: 20px;
}

.container-book .container {
  width: 95%;
  margin: 0 auto;
  margin-top: 30px;
}

}

a.plain:hover {
  color: white;
  text-decoration: none;
}

@media (max-width: 1000px) {
#guestbooks___guestbook-messages-container {
    flex-direction: column;
  }

  .guestbook-message-reply {
  margin-left: 3.5rem;
}
}