/*
  1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

/*
    2. Remove default margin
  */
* {
  margin: 0;
}

/*
    3. Allow percentage-based heights in the application
  */
html,
body {
  height: 100%;
}

/*
    Typographic tweaks!
    4. Add accessible line-height
    5. Improve text rendering
  */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/*
    6. Improve media defaults
  */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/*
    7. Remove built-in form typography styles
  */
input,
button,
textarea,
select {
  font: inherit;
}

/*
    8. Avoid text overflows
  */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/*
    9. Create a root stacking context
  */
#root,
#__next {
  isolation: isolate;
}

legend {
  padding: 0;
  display: table;
}

fieldset {
  border: 0;
  padding: 0.01em 0 0 0;
  margin: 0;
  min-width: 0;
}

body:not(:-moz-handler-blocked) fieldset {
  display: table-cell;
}

body {
  font-family: "Work Sans", sans-serif;
  font-size: 1.25rem;
  color: rgba(0, 0, 0, 0.85);
  background-color: #fbfbfb;
}

section,
footer#footer {
  padding: 2rem 1rem;
}
@media (min-width: 81.25rem) {
  section,
footer#footer {
    padding-block: 5rem;
  }
}

section .max-width > header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 3rem;
}

h1 {
  font-size: clamp(5rem, 5.5vw, 6rem);
  line-height: 1;
}

h2 {
  font-size: 2.5rem;
  font-weight: 500;
}

h3 {
  font-size: 1.75rem;
}

p {
  max-width: 70ch;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  cursor: pointer;
}

::selection {
  background-color: transparent;
  color: #0e8e0e;
}

.max-width {
  max-width: 81.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

section#hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  min-height: min(70vh, 70rem);
  text-align: center;
  font-size: 1.5rem;
  background: center/cover url("../../assets/hero.webp");
}

section#hero > .max-width {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

section#hero header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: white;
  margin-bottom: 0;
}

section#hero p.overline,
section#hero p.description {
  color: rgba(255, 255, 255, 0.9);
}
section#hero p.overline {
  display: none;
}
@media (min-width: 81.25rem) {
  section#hero p.overline {
    display: block;
  }
}
section#hero p.description {
  margin-top: 1rem;
  max-width: 60ch;
}

section#hero div.buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 1rem;
}
section#hero div.buttons a.primary {
  position: relative;
  padding: 0.75rem 4rem;
  border-radius: 0.25rem;
  font-weight: 500;
  color: white;
  background-color: #0e8e0e;
  border: 0.2rem solid #036403;
  border-bottom: 0.35rem solid #036403;
  cursor: pointer;
}
section#hero div.buttons,
section#hero div.buttons a.primary {
  min-width: 100%;
}
@media (min-width: 81.25rem) {
  section#hero div.buttons,
section#hero div.buttons a.primary {
    min-width: auto;
  }
}

section#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

section#hero > * {
  z-index: 999;
}

section#services {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
}

section#services ol {
  list-style-type: none;
  padding: 0;
  display: grid;
  gap: 7rem;
}
@media (min-width: 81.25rem) {
  section#services ol {
    grid-template-columns: repeat(3, 1fr);
    gap: 10rem;
  }
}

section#services li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}
section#services li h3 {
  font-weight: 500;
}
section#services li img {
  max-width: 20rem;
  position: relative;
  border-radius: 0.25rem;
  border-radius: 100%;
  border: 3px dashed brown;
}
section#services li .image {
  position: relative;
}
section#services li .image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  background-color: rgba(165, 42, 42, 0.1);
  z-index: 999;
}
section#services li .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
}

/* Graveyard :-( I'm sorry friend */
section#banner {
  position: relative;
  color: white;
  background: center/cover no-repeat url("../../assets/uuundulate(8).svg") #402f1d;
}
section#banner h3 {
  font-weight: 400;
}
@media (min-width: 81.25rem) {
  section#banner {
    padding: 10rem 3rem;
  }
}

section#banner > ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  text-align: center;
}
@media (min-width: 81.25rem) {
  section#banner > ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: min(30vw, 20rem);
  }
}

section#banner li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  position: relative;
}
section#banner li p {
  font-size: 10rem;
  line-height: 1;
}

section#portfolio {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
}

section#portfolio ul {
  list-style-type: none;
  padding: 0;
  display: grid;
  grid-template-areas: "image-1" "image-2 " "image-3" "image-4" "image-5" "image-6" "image-7" "image-8" "image-9" "image-10";
  gap: 2rem;
}
@media (min-width: 81.25rem) {
  section#portfolio ul {
    grid-template-areas: "image-1 image-2 image-3" "image-1 image-2 image-3" "image-1 image-4 image-3" "image-5 image-6 image-7" "image-8 image-6 image-9" "image-8 image-6 image-10";
  }
}

section#portfolio li .container {
  height: 100%;
  position: relative;
}

section#portfolio li .container::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(165, 42, 42, 0.1);
  border-radius: 1rem;
}

section#portfolio li .container > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

section#portfolio li .container > .content {
  position: absolute;
  bottom: 0;
  width: 100%;
  color: white;
  padding: 2rem;
}
section#portfolio li .container > .content h3 {
  margin-bottom: 0.25rem;
  font-weight: 400;
  font-size: 1.75rem;
}

section#portfolio ul li.image-1 {
  grid-area: image-1;
}
section#portfolio ul li.image-2 {
  grid-area: image-2;
}
section#portfolio ul li.image-3 {
  grid-area: image-3;
}
section#portfolio ul li.image-4 {
  grid-area: image-4;
}
section#portfolio ul li.image-5 {
  grid-area: image-5;
}
section#portfolio ul li.image-6 {
  grid-area: image-6;
}
section#portfolio ul li.image-7 {
  grid-area: image-7;
}
section#portfolio ul li.image-8 {
  grid-area: image-8;
}
section#portfolio ul li.image-9 {
  grid-area: image-9;
}
section#portfolio ul li.image-10 {
  grid-area: image-10;
}

section#contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

section#contact .max-width,
section#contact button {
  min-width: 100%;
}
@media (min-width: 81.25rem) {
  section#contact .max-width,
section#contact button {
    min-width: auto;
  }
}

section#contact form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
section#contact form fieldset,
section#contact form fieldset > * {
  min-width: 100%;
}
section#contact form fieldset {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
}
section#contact form input,
section#contact form textarea {
  padding: 0.5rem 1rem;
  border: 2px solid #402f1d;
  border-radius: 0.25rem;
}
section#contact form textarea {
  resize: none;
  width: auto;
}
@media (min-width: 81.25rem) {
  section#contact form textarea {
    width: 30rem;
    height: 15rem;
  }
}
section#contact form button {
  position: relative;
  padding: 0.75rem 4rem;
  border-radius: 0.25rem;
  font-weight: 500;
  color: white;
  background-color: #0e8e0e;
  border: 0.2rem solid #036403;
  border-bottom: 0.35rem solid #036403;
  cursor: pointer;
  margin-top: 1rem;
}

footer#footer {
  background-color: #402f1d;
  background: center/cover no-repeat url("../../assets/uuundulate(8).svg") #402f1d;
  color: white;
  position: relative;
}
@media (min-width: 81.25rem) {
  footer#footer {
    padding: 5rem;
  }
}

footer#footer nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
footer#footer nav * {
  z-index: 999;
}

footer#footer h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

footer#footer ul {
  list-style-type: none;
  padding: 0;
}
footer#footer ul a {
  color: white;
  text-decoration: underline;
}
footer#footer ul li {
  display: inline-block;
  padding: 0 1rem 1rem 1rem;
}
footer#footer ul li:last-of-type {
  position: relative;
  padding: 0.75rem 4rem;
  border-radius: 0.25rem;
  font-weight: 500;
  color: white;
  background-color: #0e8e0e;
  border: 0.2rem solid #036403;
  border-bottom: 0.35rem solid #036403;
  cursor: pointer;
  text-decoration: none;
  display: block;
  max-width: fit-content;
  margin: 2rem auto 0 auto;
}
footer#footer ul li:last-of-type a {
  text-decoration: none;
}

/*# sourceMappingURL=main.css.map */
