/* IMPORTED FONTS */
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Playwrite+GB+J:ital,wght@0,100..400;1,100..400&display=swap");

/* 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 {
  --green-still: #b2bda3;
  --tan-still: #ebdfce;
  --peach-still: #f4e5d9;
  --pink-still: #f8d3bb;
  --brown-still: #978671;
  --dark-still: #4e4539;

  --body-fonts: Nunito, sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

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

body.light {
  background-color: var(--tan-still);
  color: black;
}

body.dark {
  background-color: var(--dark-still);
  color: var(--tan-still);
}

#theme-toggle {
  position: fixed;
  border-radius: 1.5rem;
  cursor: pointer;
  width: auto;
  top: 1em;
  right: 1em;
  border: 2px outset var(--brown-still);
}

.sr-only {
  background: var(--brown-still);
  height: 1rem;
  padding: 1.5rem;
  position: absolute;
  transform: translateX(-500%);
  transition: transform 0.3s;
  z-index: 9;
}
.sr-only:focus {
  transform: translateX(0%);
}

h1,
h2,
h3,
h4 {
  font-family: "Playwrite GB J", cursive;
}

header {
  background-color: var(--pink-still);
  display: grid;
  place-items: center;
  font-weight: bold;
  position: sticky;
  top: 0;
  z-index: 8;
  color: black;
  width: 100%;
  border-bottom: 3px groove var(--brown-still);
}

#header-grid {
  max-width: 1280px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: left;
  align-self: center;
  padding: 1em 1em 0 1em;
  align-items: center;
}

#logo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

#logo-grid-1 {
  justify-self: center;
}

#logo-grid-2 {
  justify-self: left;
}
#logo-grid-2 p {
  padding-top: 0.5em;
  justify-self: center;
}

h1 {
  font-size: 1.5em;
}

h1 a {
  text-decoration: none;
  color: #000;
}

#logo-grid-2 p {
  font-size: 1.25em;
}

#header-grid > article:nth-of-type(2) {
  padding-left: 2em;
}

nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  justify-items: center;
  padding: 0.5em;
  margin-right: 3.5em;
  list-style: none;
  transition: max-height 0.2s ease-out;
  align-items: center;
}

nav li a {
  display: block;
  text-decoration: none;
  color: black;
  font-weight: normal;
  border-radius: 1.5rem;
  padding: 1em 1.5em;
  font-size: 1.5em;
}
nav a:hover,
nav input:hover {
  background-color: var(--dark-still);
  color: var(--peach-still);
}

svg {
  display: flex;
}

main {
  padding: 0 1em 1em 1em;
}

#services,
#about,
#contact,
#pricing {
  scroll-margin-top: 120px;
}

.st-slider {
  position: relative;
}

#overlay {
  position: absolute;
  top: 70px;
  left: 140px;
  width: 25%;
  height: auto;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  color: #000;
  border-radius: 2em;
  padding: 1.5em;
  overflow: hidden;
}

#overlay h2 {
  font-size: 3em;
  justify-self: center;
  font-style: italic;
  font-weight: bold;
}
#overlay p,
#overlay h3 {
  font-size: 1.5em;
  justify-self: center;
}
#overlay h3 {
  text-align: center;
}

#overlay a,
#cart-finals button {
  display: flex;
  justify-self: center;
  align-self: center;
  text-align: center;
  text-decoration: none;
  background-color: var(--pink-still);
  color: var(--dark-still);
  margin: 1rem 1rem;
  padding: 0.5rem;
  font-weight: bold;
  font-size: 1.25rem;
  border: 2px solid var(--dark-still);
  border-radius: 0.5rem;
  box-shadow: -1rem 1rem 1.5rem var(--dark-still);
  cursor: pointer;
}

#overlay a:hover,
#services button:hover,
#about-grid a:hover,
#cart-finals button:hover {
  color: var(--pink-still);
  background-color: var(--brown-still);
}

#buttons-in-blur {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

h3 {
  font-size: 3em;
}

/* 
HEADER IMAGE SLIDER */

.image {
  width: 75%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.radio {
  display: none;
}
.images {
  overflow: hidden;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin-inline: auto;
}
.images-inner {
  width: 500%;
  transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
  transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
}
.image-slide {
  max-width: 20%;
  float: left;
}
.image-slide,
.fake-radio,
.radio-btn {
  transition: all 0.5s ease-out;
}
.fake-radio {
  float: right;
}

.image-bg {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-edit {
  max-width: 75%;
  height: auto;
  filter: blur(0px);
}

/* Move slides overflowed container */
#slide1:checked ~ .images .images-inner {
  margin-left: 0;
}
#slide2:checked ~ .images .images-inner {
  margin-left: -100%;
}
#slide3:checked ~ .images .images-inner {
  margin-left: -200%;
}

.radio-btn {
  width: 9px;
  height: 9px;
  border-radius: 5px;
  background: var(--brown-still);
  display: inline-block;
  margin: 0 1px;
  cursor: pointer;
}

/* Calculate AUTOPLAY for SLIDES */
@keyframes slide {
  0%,
  25.203252032520325% {
    margin-left: 0;
  }
  33.333333333333336%,
  58.53658536585366% {
    margin-left: -100%;
  }
  66.66666666666667%,
  91.869918699187% {
    margin-left: -200%;
  }
}

.st-slider > #play1:checked ~ .images .images-inner {
  animation: slide 12300ms infinite;
}

#services,
#about,
#pricing,
#contact {
  padding-top: 2em;
}
#services {
  padding-bottom: 2em;
}

h3 {
  padding-bottom: 0.5em;
}

#services h3 + p {
  font-size: 1.75em;
}

#services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 1em 0;
}

#services-grid article {
  display: grid;
  background-color: var(--green-still);
  border-radius: 2em;
  padding: 0.5em;
  margin: 0 1em;
  color: black;
  transition: transform 0.3s ease-in-out;
}

#services-grid article img {
  display: flex;
  justify-self: center;
  box-shadow: 3px 3px 10px 3px var(--dark-still);
  -webkit-box-shadow: 3px 3px 10px 3px var(--dark-still);
  -moz-box-shadow: 3px 3px 10px 3px var(--dark-still);
  border-radius: 0.5em;
}

#services-grid article:hover {
  transform: scale(1.05);
}

h4 {
  font-size: 1.5em;
  padding: 1em;
}

#services-grid article p {
  padding: 0.25em 1em;
}

#services button {
  display: flex;
  box-shadow: 3px 3px 10px 3px var(--dark-still);
  -webkit-box-shadow: 3px 3px 10px 3px var(--dark-still);
  -moz-box-shadow: 3px 3px 10px 3px var(--dark-still);
  justify-self: center;
  background-color: var(--pink-still);
  color: var(--dark-still);
  margin: 1rem 1rem;
  padding: 0.5rem 4rem;
  font-weight: bold;
  font-size: 1.25rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

#about {
  margin-top: 1em;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

#image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1em;
  transition: transform 1s ease-in-out;
  background-color: var(--pink-still);
  box-shadow: 0 0 10px 20px var(--pink-still);
  border-radius: 1em;
}

#image-gallery img {
  max-inline-size: 100%;
  transition: transform 0.2s ease-in-out;
  border-radius: 1em;
}
#image-gallery img:hover,
#grid-price-left:hover,
#grid-price-right:hover {
  transform: scale(1.05);
}

img.tall {
  grid-row: span 2;
  height: 100%;
}

#about-grid {
  align-self: center;
  padding-left: 2em;
}

#about-grid p {
  padding-top: 1em;
}

#about-grid a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background-color: var(--pink-still);
  color: var(--dark-still);
  margin: 1rem 1rem;
  padding: 0.5rem;
  font-weight: bold;
  font-size: 1.25rem;
  border-radius: 0.5rem;
  border: 2px solid var(--dark-still);
  box-shadow: -1rem 1rem 1.5rem var(--dark-still);
  text-decoration: none;
  cursor: pointer;
}

#pricing {
  margin-top: 3em;
}

input[type="checkbox"] {
  accent-color: var(--green-still); /* Put your desired color here */
}
input[type="radio"] {
  accent-color: lightblue;
}

#addons-header {
  font-style: italic;
  text-decoration: underline;
  font-size: 2em;
}

#addon-inner div {
  margin: 0 0.5em;
  border: 2px solid var(--green-still);
  border-radius: 1em;
}

#pricing-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
#grid-pricing-parent {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

#grid-pricing-parent div {
  background-color: var(--brown-still);
  margin: 1em;
  padding: 1em;
  border-radius: 1em;
  box-shadow: -1rem 1rem 1.5rem var(--dark-still);
  transition: transform 0.2s ease-in-out;
}

#grid-price-left img,
#grid-price-right img,
#grid-price-center img,
#addon-inner img {
  display: flex;
  width: 200px;
  margin: 0 auto;
  border-radius: 4em;
  box-shadow: -0.25rem 0.25rem 0.75rem var(--dark-still);
}

#grid-price-left p,
#grid-price-right p,
#grid-price-center p {
  font-size: 1.25em;
  padding: 1em 0;
}

#grid-price-center {
  transform: scale(1.05);
  border: 2px ridge var(--brown-still);
}

#grid-price-center:hover {
  transform: scale(1.1);
}

#addon-inner img {
  margin-bottom: 1em;
}

div span {
  font-weight: bold;
  font-size: 1.5em;
  padding-left: 0.5em;
}

#grid-pricing-parent h4 {
  font-weight: bold;
}

#grid-pricing-parent,
#addons {
  grid-column: span 3;
}

#cart {
  grid-column: 4/5;
  grid-row: 1/3;
  padding-top: 8em;
}

#cart h4 {
  font-size: 3em;
  padding: 1em 0 0.25em 0;
}

#current-cart {
  border-top: 2px solid var(--brown-still);
  border-bottom: 2px solid var(--brown-still);
  padding: 1em;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

#current-cart p {
  padding: 0.5em 0;
}

#cart-finals {
  padding: 1em;
}

#cart-finals {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
#cart-finals p,
#cart-finals h5 {
  padding: 1em;
}

#addon-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

#checkout-button,
#checkout-message {
  grid-column: span 2;
  justify-self: center;
  align-self: center;
}

/* FORM STYLES */

#contact h2 {
  font-size: 3em;
  padding-bottom: 0.5em;
}

#contact > p {
  font-size: 1.5em;
}
form {
  margin: 2em auto;
  padding: 0.75em;
  border: 2px solid var(--green-still);
  border-radius: 0.5em;
}
form p {
  color: red;
  margin-left: 3em;
}

#form-complete {
  font-size: 1.25em;
  padding: 1em 0px;
  color: unset;
}

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

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

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

.required {
  color: red;
}

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

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

fieldset {
  margin: 0.5em auto;
  padding-bottom: 0.5em;
  width: 92%;
  border: 1px solid var(--brown-still);
  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(--brown-still);
  border-radius: 25%;
}

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

input[type="submit"]:hover,
input[type="submit"]:focus {
  background-color: var(--pink-still);
  filter: drop-shadow(3px 3px 4px var(--brown-still));
}

/* FOOTER STYLES */

footer {
  background-color: var(--pink-still);
  color: var(--dark-still);
}

footer h3 {
  font-size: 2em;
  padding: 1em;
}

#footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  padding: 1em 1em 1em 1em;
  place-items: center;
}

#footer-grid article {
  justify-self: center;
  text-align: center;
}

#footer-grid a {
  text-decoration: none;
  color: var(--dark-still);
}

footer p {
  text-align: center;
}

#valid-css {
  text-align: right;
}
