/* [::Built in::] Adapted from: Bearblog's default theme: https://bearblog.dev/ */

html {
  font-family: "Inter", sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

:root {
  --width: auto;
  --font-main: "Inter", sans-serif, 'Nanum Gothic Coding', 'Roboto Mono', monospace;
  --font-secondary: "Inter", sans-serif, 'Nanum Gothic Coding', 'Roboto Mono', monospace;
    --font-scale: .9em;
    --background-color: none;
    --text-color: white; /* hsl(54 20% 77% / 1) */
    --link-color: var(--accent-color);
    --muted-color: hsl(40, 10%, 49%);
    --accent-color: hsl(67 54% 56% / 1); /* color de underline y highlight de los links */
    --code-background-color: color-mix(in srgb, hsl(54 20% 77% / 1), transparent 95%);
    --hover-color: white;
    --em-color: #fbfafac7;
    --visited-color: #c1a6ff;
    --border-radius: .4em;
    --border: 0.5px solid color-mix(in srgb, var(--text-color), transparent 50%) !important;
}


body {
 justify-self: anchor-center;
  font-family: var(--font-secondary);
  font-size: var(--font-scale);
  max-width: 700px;
  width: -webkit-fill-available;
  text-align: left;
  align-items: center;
  background-color: var(--background-color);
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
  color: var(--text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  color: var(--accent-color);
}

h1#title {
  line-height: 1.6;
  border-bottom: var(--border);
 display: none;
}

a {
  color: var(--link-color);
  cursor: pointer;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

strong,
b {
  color: var(--heading-color);
}

main {
  line-height: 1.6;
  padding-bottom: 1.2em;
}

em,
i {
  color: var(--em-color);
}

hr {
  border: 0;
  border-top: var(--border);
}

code {
  font-family: monospace;
  padding: 2rem;
  background-color: var(--code-background-color);
  color: var(--text-color);
  border-radius: var(--border-radius);
}


/* Page scrollbar START */
/* width */
::-webkit-scrollbar {
  width: 8px;
  height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
  background: var(--background-color);
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--text-color); 
  border-radius: 10px;
}
/* Track on hover attribute would be " ::-webkit-scrollbar-track:hover " */
/* Page scrollbar END */



/* ----- Message ----- */

/* guestbook message */
div.guestbook-message { 
  padding: .5em 1em;
  margin-bottom: 1em;
  background-color: var(--code-background-color);
  border: var(--border);
  border-radius: var(--border-radius);
}

/* guestbook message author */
.guestbook-message p { 
}

/* guestbook message text */
.guestbook-message blockquote {
  border: none;
  color: var(--text-color);
  padding: 0 !important;
  margin: 0 !important;
}

footer {
  padding: 20px 0;
  text-align: center;
}

.inline {
  width: auto !important;
}

.highlight,
.code {
  padding: 1px 15px;
  background-color: var(--code-background-color);
  color: var(--code-color);
  border-radius: 3px;
  margin-block-start: 1em;
  margin-block-end: 1em;
  overflow-x: auto;
}

.sr-only {
  display: none;
}

.button-link {
  background: none;
  border: none;
  color: var(--link-color);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

.button-link:hover {
  text-decoration: underline;
}

/* ----- Reply styling ----- */
div.guestbook-message-reply {
  padding: .5em 1em;
  margin-left: 3em;
  border: none;
  border-left: 1px solid var(--accent-color);
  background-color: var(--background-color);
  border-radius: 0;
}

.guestbook-message-reply p, guestbook-message-reply strong {
  color: var(--accent-color);
}


.guestbook-message-reply blockquote {
  margin: 0;
  padding-left: 0;
  border-left: none;
  color: var(--text-color);
  font-style: italic;
}

/* 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: green;
}

.guestbooks___pow-label-text--error {
  color: red;
}

input, textarea, input::placeholder, textarea::placeholder  {
    
    border-radius: .4em;
    background: var(--text-color);
    color: grey;
    font-family: var(--font-main);
}

#title { 
display: none;
}

#title::before {  /* not working at the moment*/
content: "this is the content";
}

#guestbooks___guestbook-made-with {
text-align: left !important;
align-items: left !important;
}