:root {
  --ink:       #2B2B26;
  --paper:     #F7F6F2;
  --moss:      #4F6F52;
  --moss-dark: #3C5740;
  --rule:      #DEDACE;
  --highlight: #ECE7DA;
  --muted:     #8A8678;
}

/*   color: rgb(7, 92, 33); */

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  /* background-image: url(/Images/paper);  */
    background-image: url(/Images/flowers.jpg);
  /* background-color: var(--paper); */
  background-color: aliceblue;
  background-repeat: no-repeat;
  background-size: cover; /*
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  padding: 48px 20px; */
}
.lavender {
  background-image: url(/Images/flowers.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  width: 100%;
}
/*
.lavender {
  background-image: url(/Images/flowerfield.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
} */

.container {
  width: 100%;
  max-width: 800px;
    margin: 0 auto;
}

p {
  font-family: 'Google Sans';
}

.googlesans {
  font-family: 'Google Sans';
  font-weight: 700;
  font-size: 1.5rem;       
}

h1 { 
  font-size: 5.5rem; 
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.3rem;
}

.oswald { 
    font-family: 'Google Sans';
}

.outline {
  color: white;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

textarea { 
  scroll-behavior: auto;
  width: min(35rem, 100%);
}

label { 
  display: flex; flex-direction: row; 
}

a { 
  font-weight: bolder; 
}


h1 {
    padding: 0px 40px;
    text-align: center;
    font-family: 'Playpen Sans';
}

.lining {
  width: 100%;
  margin: 32px auto 64px;
  /* border: 2px solid rgb(186, 186, 253);  */
    /* padding: 0px 40px; */
  /* display: flex; */
  justify-content: center;
  color: aliceblue;
  text-align: center;
}

/* Main form */
/* .main {
   display: flex; justify-content: center;
   } */

 .main {
 display: flex;
 justify-content: center;
 text-align: center;
}

/* .main form {
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 24px 32px;
} */

 .main label {
  display: block;
  text-align: center;
  margin-bottom: 6px;
  margin-top: 16px;
}

.main input,
.main textarea {
  display: block;
  margin: 0 auto 4px;
}

/* .snail-img {
  height: 9rem;
  width: auto;
  vertical-align: middle;
  margin-left: 12px;
} */

.snail-input-wrapper {
  position: relative;
  display: inline-block;
  margin: 0 auto 4px;
}

.snail-img {
  position: absolute;
  right: -2.5rem;
  bottom: 0;
  height: 8.2rem;
  width: auto;
}

.wellWishName,
.wellWishComment {  
  text-shadow: 7px 7px 14px black;
}

.wellWishText {

}

.submit, .reset {
  background-color: rgb(90, 79, 157);
  color: aliceblue;
  border: 2px solid white;
  font-size: large;
  font-weight: bold;
  padding: 8px 20px;
  cursor: pointer;
  margin-right: 8px;
  align-items: center;
}

.submit:hover { background-color: var(--moss); }
.reset:hover  { background-color: #555; }

/* Error message */
.wellwish-error {
  color: #c52d16;
  font-size: 2rem;
  font-weight:bolder;
  display: none;
  margin: 8px 0;
}

/* Messages feed */


.wellwishes h3 {
  margin-bottom: 4px;
  color: aliceblue; 
  }

.wellwishes-count {
  color: #ffffff;
  font-size: 0.85rem;
  /* color: var(--muted);  */
  margin: 0 0 16px;
}

.wellwishes {
  width: 100%;
  margin: 36px 0;
  text-align: left;
}

  /* when you sort out the issues with the HTML, make this the new CSS to match it. */

.wellwishes {
  width: 100%;
  padding: 36px 40px;
  margin: 0;
}


.messages {
  font: ;
}

.wellwishes h3 {
  text-align: center;
  margin-bottom: 4px;
}

.wellwishes-count {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 20px;
  text-align: center;
}

.wellwish-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  width: 100%;
}

/* .wellwish-item {
  padding: 8px 0;
  animation: fade-in 0.3s ease;
} */
.wellwish-item {
  padding: 14px 16px;
  animation: fade-in 0.3s ease;
  background-color: rgba(255, 255, 255, 0.60);
  border-radius: 8px;
}

.wellwish-name {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 500;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 4px;
  color: rgb(40, 37, 71);
}

.wellwish-time {
  font-size: 0.75rem;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
  margin-left: 8px;
}

.wellwish-text {
  margin: 4px 0 0;
  line-height: 1.5;
  font-size: 0.95rem;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 500;
  color: rgb(40, 37, 71);
  text-shadow: 1px .1px .1px rgb(40, 37, 71);
}

.wellwish-item:last-child { 
  border-bottom: none; 
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* FAQ */
.faq {
  background-color: white; 
  margin-left: 10%;
  margin-right: 10%;
  padding: 0 10%;
  padding-bottom: 1rem;
  color: rgb(7, 92, 33);
  border: 6px;
  border-color: rgb(244, 192, 72);
  border-style: double;
  /* text-align: left; */
}

.faq h3 {
  margin-bottom: 12px;
}

.faq h4 {
  margin-top: 16px;
  margin-bottom: 6px;
}

.faq p {
  margin-top: 0;
  margin-bottom: 0;
}

details {
  border-bottom: 1px solid rgb(244, 192, 72);
  padding: 8px 0;
}

details summary {
  cursor: pointer;
  font-size: 1.3rem;
  padding: 8px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details summary::after {
  content: "+";
  font-size: 1.4rem;
  color: rgb(7, 92, 33);
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 8px 0 12px;
}

.center-summary {
  justify-content: center;
  position: relative;
}

.center-summary::after {
  position: absolute;
  right: 0;
}

@media (max-width: 480px) {
  h1 { font-size: 2.5rem; }
  .lining { width: 100%; }
  textarea { width: 100%; }
  input[type="text"] { width: 100%; }
  .wellwish-error { font-size: 1.2rem; }
  .faq { margin-left: 0; margin-right: 0; padding: 0 5%; }
}
