



@font-face {
font-family: "Kingthings";
src: url('https://thecasualcorner.neocities.org/fonts/Kingthings.woff') format("woff");
}

@font-face {
font-family: "Delius";
src: url('https://thecasualcorner.neocities.org/fonts/Delius.woff') format("woff");
}

* {
  box-sizing: border-box;
}

/* -------------------------------------------------------- */
/* VARIABLES */
/* -------------------------------------------------------- */

/* Variables are used like this: var(--text-color) */
:root {
  /* Background Colors: */
  --background-color: #dce3c7;
  --content-background-color: #fffcf5;
  --sidebar-background-color: #fffcf5;

  /* Text Colors: */
  --text-color: #354a2f;
  --sidebar-text-color: #354a2f;
  --link-color: #72351c;
  --link-color-hover: #8e5d49;

  /* Text: */
  --font: "Delius", sans-serif;
  --heading-font: "KingThings", sans-serif;
  --font-size: 17px;

  /* Other Settings: */
  --margin: 15px;
  --padding: 15px;
  --border: 2px solid #354a2f;
  --round-borders: 15px;
  --sidebar-width: 250px;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background-color);
  font-size: var(--font-size);
  margin: 0;
  padding: var(--margin);
  color: var(--text-color);
  font-family: var(--font); 
  line-height: 1.2;
  cursor: url("https://thecasualcorner.neocities.org/pictures/PixelWand.png") 16 16, auto;
}

.layout {
  width: 1200px;
  gap: var(--margin);
  display: grid;
  grid-template: 
     "banner" auto
     "main" auto
     "footer" auto;
     position: relative;
}

.banner-image {
  grid-area: banner;
  height: 170px;
  width: 100%;
  background-image: url("https://thecasualcorner.neocities.org/pictures/GreenLeavesBanner.jpg"); 
  /* background-color: #E3D2C0; */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2px;
  border: var(--border);
  border-radius: var(--round-borders);
  outline: 2px solid #4f6678;
  outline-offset: -6px;
}

.guestbook-home {
  position: absolute;
  top: 200px;
  left: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.guestbook-home img {
  height: 100px;
  width: auto;
}

.guestbook-home p {
  margin-top: 1px;
  font-family: "Darius";
  font-size: 17px;
}

.guestbook {
  grid-area: main;
  width: 55%;
  margin: 40px auto;
  border-radius: var(--round-borders);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url("https://decomail.space/bg/green/96.jpg");
}
  
.guestbook-content {
  position: relative;
  margin: 40px;
  width: 80%;
  height: 800px;
  border-radius: var(--round-borders);
  background-color: var(--content-background-color);
  padding: 0;
  display: flex;
  flex-direction: column;
}

.guestbook-messages {
  padding: 0 15px;
  overflow-y: auto;
  flex: 1;
  margin-top: 0;
  width: 100%;
}

#gb-entries {
  overflow-y: auto;
  height: 450px;
  margin: 0;
}

#gb-entries > div {
  width: 100%;
  height: auto;
  margin: 15px 0;
  padding: 5px 10px;
  background-color: #f6e4cf;
  border-width: 0.5px;
  border-style: solid;
  border-radius: 15px;
 /* border-image: url("https://files.catbox.moe/mfb8kv.png") 8 fill round; */
}

.guestbook-bottom {
  margin-top: auto;
}

.guestbook-bottom hr {
  width: 100%;
  margin-top: 0;
  border: none;
  height: 1px;
  background: var(--text-color);
}

/*
.guestbook-divider { 
  width: 111%; 
  margin-left: -5.5%; 
} */

.guestbook-input {
  margin-top: auto;
  padding: var(--padding);
}

#gb-form {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#gb-button {
  background: #b88317;
  color: var(--text-color);
  width: 50px;
  height: 20px;
  border-radius: 50px;
  
}

.guestbook h1 {
  font-family: "Kingthings";
  text-align: center;
  position: relative;
  top: 25px;
  background-color: var(--content-background-color);
  border-radius: var(--round-borders);
  padding: 10px 40px;
}


#gb-entries strong {
  color: #b88317;
}

#gb-name, #gb-message {
  border: 1px solid #9f9f74;
  border-radius: 4px;
  color: var(--text-color);
}

#gb-name::placeholder, #gb-message::placeholder {
  color: #9f9f74;
  font-family: "Darius";
}

































