/* CSS BY Matthew Adcock */
/* IMPORTED FONTS */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

/* CSS RESET */

/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ROOT */

:root {
  --midnight-blue: #1f2a44;
  --olive-green: #76885b;
  --champagne-gold: #e5c185;
  --linen: #f8f4ec;
  --dark-charcoal: #2b2b2b;
  --soft-white: #faf9f6;

  --body-fonts: Playfair Display, sans-serif;

}

main {
  max-width: 1280px;
  min-width: 1280px;
  margin: 0 auto;
}

body.light {
  background-color: var(--linen);
  color: var(--dark-charcoal);
}
body.dark {
  background-color: var(--midnight-blue);
  color: var(--soft-white);
}
#theme-toggle {
  position: absolute;
  border-radius: 1.5rem;
  cursor: pointer;
  width: auto;
  top: 1em;
  right: 1em;
  background-color: var(--soft-white);
  border: 3px  inset var(--olive-green);
 
}

main,
header,
footer {
  font-family: var(--body-fonts);
  font-size: 1.1em;
}

header {
  background-color: var(--midnight-blue);
  margin-bottom: 2em;
}

h1 {
  font-size: 4em;
  font-weight: bold;
  color: var(--soft-white);
  text-align: center;
}

header img {
  width: 200px;
  display: block;
  margin: auto;
}

header p {
  text-align: center;
  color: var(--soft-white);
  font-style: italic;
  font-size: large;
  padding: 1em;
}

nav {
  background-color: var(--champagne-gold);
  padding: 1em;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  justify-items: center;
}

nav a {
  text-decoration: none;
  color: var(--midnight-blue);
  font-size: x-large;
  font-weight: bolder;
}

p {
  line-height: 1.5em;
  padding-bottom: 1em;
}

h2 {
  font-size: 2em;
  padding: 1em 0 0.25em 0;
}

#artisan,
#dining,
#basket {
  background-color: var(--olive-green);
  padding: 1em 1em 0 1em;
  margin: 0;
  color: var(--soft-white);
  border-radius: 1em;
  box-shadow: 1px 2px 3px var(--dark-charcoal);
  border-bottom: none;
}

ul {
  list-style-type: disc;
  margin-left: 1em;
}

ul li {
  line-height: 1.5em;
}

h3 {
  font-size: 2em;
  padding-top: 1em;
  line-height: 1.5em;
}

#artisan h3,
#dining h3,
#basket h3 {
  font-size: 2em;
  font-weight: bold;
  padding: 0 0 0.25em 0;
}

#offerings h2 {
  padding-bottom: 1em;
}

#basket p {
  padding-bottom: 0;
}

section {
  margin: 0 2em;
  border-bottom: 2px solid var(--champagne-gold);
}

div {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-shadow: 1px 3px 3px lightgray;
  border-radius: 0.5em;
  margin-bottom: 1em;
  font-style: italic;
  text-align: center;
}

img + p {
  margin: 0.5em 0.5em 0 0.5em;
}

img {
  border-radius: 0.5em 0.5em 0 0;
}

button {
  background-color: var(--olive-green);
  color: var(--linen);
  border: none;
  border-radius: 5px;
  display: block;
  width: 100%;
  padding: 1em;
  font-size: large;
  font-weight: bold;
  margin-bottom: 1em;
}

form {
  margin: 2em auto;
  padding: 0.75em;
  border: 2px solid var(--champagne-gold);
  border-radius: 0.5em;
}

input,
label,
textarea {
  display: block;
  width: 90%;
}

input,
textarea,
select {
  outline: 1px solid var(--midnight-blue);
  border: none;
  border-radius: 0.2em;
}

label {
  font-size: 1.1em;
  width: 90%;
  margin: auto auto 0.5em 2.5em;
}

.required {
  color: red;
}

input {
  width: 90%;
  margin: 0.25em auto 0.5em auto;
  padding: 0.5em;
}

input:focus,
select:focus,
textarea:focus {
  border: 2px inset var(--olive-green);
}

fieldset {
  margin: 0.5em auto;
  padding-bottom: 0.5em;
  width: 92%;
  border: 1px solid var(--champagne-gold);
  border-radius: 1em;
  display: grid;
  grid-template-columns: 30px 1fr 30px 1fr;
}

legend {
  padding: 0.5em;
}

fieldset label {
  display: inline;
  width: 60%;
}

fieldset input {
  display: inline;
  width: 20px;
}

textarea {
  width: 90%;
  height: 100px;
  margin: 0.25em auto 0.5em auto;
  padding: 0.5em;
}

input[type="radio"] {
  margin-top: 0.4em;
  outline: none;
  border: 1px solid var(--dark-charcoal);
  border-radius: 25%;
}

input[type="submit"] {
  font-size: 1.2em;
  width: 95%;
  margin-top: 1em;
  padding: 0.5em;
  border: none;
  outline: none;
  border-radius: 0.2em;
  background-color: var(--olive-green);
  color: var(--linen);
}

input[type="submit"]:hover,
input[type="submit"]:focus {
  background-color: var(--olive-green);
  filter: drop-shadow(3px 3px 4px var(--dark-charcoal));
}

footer {
  margin-top: 2em;
  padding: 4em 0;
  background-color: var(--midnight-blue);
  color: var(--linen);
}

footer p {
  padding-bottom: 0;
}

#socials {
  display: flex;
  flex-direction: row;
  border-bottom: none;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding-top: 2em;
}

#address {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.25em;
  border-bottom: none;
}
footer a {
  text-decoration: none;
  color: var(--champagne-gold);
  font-weight: bold;
  padding-top: 0.25em;
}

#offering-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1em;
  margin: 0 0 1em 0;
  border-bottom: none;
}

#div-grid {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 1em;
  border-bottom: none;
  padding: 0;
}

#basket {
  padding-bottom: 1em;
}
