@charset "UTF-8";
@font-face {
  font-family: "Besley";
  font-display: swap;
  src: url("/_assets/fonts/Besley/Besley-VariableFont_wght.woff2") format("woff2"), url("/_assets/fonts/Besley/Besley.woff") format("woff"), url("/_assets/fonts/Besley/Besley-VariableFont_wght.ttf") format("truetype");
}
@font-face {
  font-family: "Instrument Sans";
  font-display: swap;
  src: url("/_assets/fonts/Instrument_Sans/InstrumentSans-VariableFont_wdth-wght.woff2") format("woff2"), url("/_assets/fonts/Instrument_Sans/InstrumentSans.woff") format("woff"), url("/_assets/fonts/Instrument_Sans/InstrumentSans-VariableFont_wdth-wght.ttf") format("truetype");
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
html {
  scrollbar-color: rgb(184, 140, 184) transparent;
  scrollbar-width: thin;
}

body {
  color: rgb(245, 229, 229);
  background-color: rgb(36, 33, 37);
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.1em;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: auto;
  width: 90vw;
  max-width: 1200px;
}

a {
  color: plum;
  transition: letter-spacing 0.2s ease;
}
a:hover {
  letter-spacing: 0.1em;
}

#themeSwitch {
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  padding: 0.5em;
  margin: auto 0;
  background: transparent;
  border: 1px solid;
  cursor: pointer;
  font-size: 1em;
}

header {
  grid-row: 1;
  margin-top: 3vh;
  display: grid;
  font-family: "Besley", serif;
}
header hgroup {
  grid-column: 2/10;
}
header hgroup h1 {
  margin-bottom: 0;
}
header hgroup p {
  margin-top: 0;
  font-size: larger;
  font-weight: 500;
}
header nav {
  grid-column: 1/10;
}
header nav ul {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-left: 0;
  padding-left: 0;
  list-style-position: inside;
}
header nav li {
  margin-right: 1em;
  width: -moz-max-content;
  width: max-content;
}
header nav li::marker {
  content: "✦ ";
}

main {
  grid-row: 2;
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  -moz-column-gap: 5vw;
       column-gap: 5vw;
  opacity: 0;
  animation: fadeIn 0.5s;
  animation-fill-mode: forwards;
}

.form {
  position: sticky;
  bottom: 15vh;
  align-self: self-end;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  font-weight: 500;
}
.form .dialog {
  border: 1px solid;
  width: -moz-fit-content;
  width: fit-content;
  padding: 1em;
  margin: 2em auto;
}
.form h2 {
  -webkit-text-decoration: 1.5px underline wavy;
          text-decoration: 1.5px underline wavy;
}

form {
  display: grid;
  row-gap: 0.5em;
  margin-top: 2em;
}
form input, form textarea {
  padding: 0.5em;
  margin-bottom: 1em;
  border: 1px solid;
  border-radius: 5px;
  font-size: 1em;
  background-color: transparent;
}
form input::-moz-placeholder, form textarea::-moz-placeholder {
  color: rgb(189, 168, 168);
}
form input::placeholder, form textarea::placeholder {
  color: rgb(189, 168, 168);
}
form label:nth-of-type(1), form input:nth-of-type(1) {
  grid-row: 1;
}
form label:nth-of-type(2), form input:nth-of-type(2) {
  grid-row: 2;
}
form label:nth-of-type(3), form input:nth-of-type(3) {
  grid-row: 3;
}
form label:nth-of-type(4), form input:nth-of-type(4) {
  grid-row: 4;
}
form label {
  font-size: larger;
  font-weight: 600;
  grid-column: 1;
}
form label::after {
  margin-left: 0.25em;
}
form label[for=message] {
  grid-column: span 5;
}
form label[for=message]::after {
  content: "*";
  color: red;
  font-size: larger;
}
form label[for=message] ~ textarea, form label[for=message] ~ span {
  grid-column: span 5;
}
form input {
  grid-column: 2/6;
}
form input[type=submit] {
  border-radius: 0px;
  grid-row: 7;
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin: auto;
  margin-right: 0;
  cursor: pointer;
}
form textarea {
  height: 15vh;
  font-size: larger;
  margin-top: 1em;
}

.messages {
  position: relative;
  margin-top: min(10vh, -150px);
}
.messages a {
  -webkit-text-decoration: 1.5px underline dashed;
          text-decoration: 1.5px underline dashed;
}
.messages nav {
  margin: 2em auto;
  letter-spacing: 0.1em;
  line-height: 2em;
  font-weight: 500;
}
.messages nav ul {
  display: flex;
  justify-content: space-between;
  padding-left: 0;
}
.messages nav li {
  display: block;
}
.messages nav li span {
  font-size: x-large;
}
.messages nav a {
  text-decoration: none;
}
.messages nav .previous a, .messages nav .next a {
  display: inline-block;
  border-radius: 50px;
  height: 40px;
}
.messages nav .previous {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  padding-left: 5px;
  width: 25%;
}
.messages nav .position {
  text-align: center;
  margin: 0 auto;
}
.messages nav .next {
  text-align: right;
  margin-left: auto;
  margin-right: 0;
  padding-right: 5px;
  width: 25%;
}

.message {
  border: 1px solid;
  padding: 0.25em 1em 1em 1em;
  margin-bottom: 3em;
}
.message h2 {
  font-size: 1.25em;
  font-family: "Besley", serif;
}
.message .reply-context {
  font-size: smaller;
}
.message .content {
  margin-left: 1em;
  font-weight: 450;
  font-stretch: 95%;
  letter-spacing: 0.025em;
}
.message .content + footer {
  text-align: right;
}

.is-threaded {
  width: 85%;
  margin-left: auto;
  border-left: 5px solid;
}

main + footer {
  grid-row: 3;
  grid-column: 2;
  text-align: right;
  margin-top: 5em;
  margin-bottom: 3em;
  margin-left: auto;
  width: 80%;
  font-size: 0.9em;
}
main + footer ul {
  display: inline-flex;
  flex-wrap: wrap;
  list-style-position: inside;
  align-items: center;
  margin-right: -1em;
}
main + footer ul:last-of-type {
  list-style: none;
}
main + footer li {
  margin-bottom: 1em;
  margin-right: 1em;
  margin-left: auto;
  width: -moz-fit-content;
  width: fit-content;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: rgb(164, 118, 170);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: plum;
}

@media all and (max-width: 1400px) {
  header {
    margin-top: 1vh;
  }
  header #themeSwitch {
    grid-column: 1;
    margin: auto auto;
  }
  header hgroup {
    grid-column: 2/5;
  }
  header nav {
    grid-column: 1/5;
  }
  header nav ul {
    flex-wrap: wrap;
  }
  header nav li {
    padding: 0.5em;
    margin-left: 0;
    margin-right: 0;
  }
  .form {
    top: 2vh;
    align-self: self-start;
  }
  .messages {
    margin-top: min(5vh, -200px);
  }
  main + footer {
    margin-bottom: 0;
    width: 100%;
  }
}
@media all and (max-width: 768px) {
  main {
    grid-template-columns: 1fr;
    grid-column: 1;
    width: 90vw;
  }
  header #themeSwitch {
    grid-column: 2/2;
    margin: auto auto;
  }
  header hgroup {
    grid-column: 1/2;
    grid-row: 1;
  }
  header nav {
    grid-column: 1/2;
  }
  header ul {
    flex-wrap: wrap;
  }
  header li {
    padding: 0.5em;
  }
  .form {
    position: static;
    margin-bottom: 3em;
    width: 100%;
  }
  .messages {
    margin-top: auto;
  }
  main + footer {
    grid-column: 1;
    text-align: center;
    width: 100%;
    margin: auto;
    margin-bottom: 3vh;
  }
  main + footer div {
    margin: auto;
  }
  main + footer ul {
    flex-wrap: wrap;
    margin: auto;
    padding-left: 0;
  }
  main + footer li {
    margin-right: auto;
  }
}/*# sourceMappingURL=guestbook.css.map */