:root {
  --primary: #9d757f;
  --secondary: #fde9d2;
}
p {
  margin-top: 1em;
}
nav {
  background-color: var(--primary);
  color: white;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  height: 50px;
  z-index: 999;
}

nav ul {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

nav li {
  height: 50px;
  font-family: righteous;
  font-size: clamp(1em, 0.9vw, 1.2em);
  background-color: var(--primary);
}

nav a {
  height: 100%;
  padding: 0 1em;
  text-decoration: none;
  text-transform: capitalize;
  display: flex;
  align-items: center;
  color: rgb(255, 255, 255);
}
nav a:hover {
  background-color: var(--secondary);
  color: var(--primary);
}
nav li:first-child {
  margin-right: auto;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 999;
  color: var(--primary);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.sidebar li {
  width: 100%;
}
.sidebar a {
  width: 100%;
}
.menu-button {
  display: none;
}

.wrapper {
  margin: auto;
  width: 100vw;
  > .container-hero {
    background-color: var(--secondary);
    padding: 1em;
    margin-left: 20px;
    margin-right: 20px;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
      "Lucida Sans", Arial, sans-serif;
    border-radius: 1.5em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: nowrap;
    position: relative;
    bottom: 3em;
    row-gap: 1em;

    > h1 {
      margin: 0 auto;
      font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
      font-size: 2.8em;
      text-transform: uppercase;
      line-height: 1em;
      color: var(--primary);
    }
    > p {
      font-size: 1.1em;
      color: #373737;
      margin-top: 0;
    }
    > .hero-button {
      display: inline-flex;
      width: 100%;
      background-color: #ffffff;
      border: 1px solid #00000000;
      border-radius: 999px;
      align-items: center;
      justify-content: center;
      border-width: 3px;
      margin: 0 auto 1em;

      > .button-title {
        font-family: sans-serif;
        font-weight: 900;
        display: flex;
        flex-direction: column;
        font-size: 1.2em;
        padding: 0.7em;
      }
    }
  }
}

.wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.container2 {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  row-gap: 3em;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;

  > img {
    border-radius: 20px;
  }
}
.container3 {
  display: flex;
  padding: 0 20px;
  flex-direction: column;
  margin: 0 auto;
  > .item1 h2 {
    font-size: 1.75em;
    text-transform: uppercase;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    color: var(--primary);
    letter-spacing: 1.5px;
  }
}

footer {
  background-color: var(--secondary);
}
.container4 {
  width: 100vw;
  background-color: var(--secondary);
  background-image: linear-gradient(
      -25deg,
      rgba(255, 192, 220, 0.356) 0.5rem,
      transparent 0.5rem
    ),
    linear-gradient(
      25deg,
      rgba(185, 195, 255, 0.126) 0.5rem,
      transparent 0.5rem
    ),
    linear-gradient(
      145deg,
      rgba(202, 152, 250, 0.113) 0.5rem,
      transparent 0.5rem
    ),
    linear-gradient(
      -145deg,
      rgba(182, 252, 247, 0.113) 0.5rem,
      transparent 0.5rem
    );
  background-size: 3rem 3rem;
  background-position: 5rem 5rem, 2rem 2rem;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  row-gap: 2em;
  > .textbox {
    max-width: 1024px;
    margin: 0 auto;
  }
  > .textbox h2 {
    font-size: 1.75em;
    text-transform: uppercase;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    color: var(--primary);
    letter-spacing: 1.5px;
    margin: 1em 0;
  }
  > .textbox span {
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
      "Lucida Sans", Arial, sans-serif;
    font-size: 1.2em;
    color: #373737;
  }
  > .hero-button {
    display: flex;
    max-height: 60px;
    background-color: #ffffff;
    border: 1px solid #000;
    border-radius: 999px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 0 1em;
    > .button-title {
      font-family: sans-serif;
      font-weight: 900;
      font-size: 1em;
    }
  }
}
.container5 {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2em;
  padding-left: 20px;
  padding-right: 20px;
  color: #373737;
  text-shadow: 0px 0px 1px var(--primary);
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}
.logo {
  margin-top: 2em;
  fill: var(--primary);
}
.phone {
  padding-top: 2em;
}
#number {
  font-weight: bold;
  font-size: 1.2em;
}
.social {
  display: inline-flex;
  gap: 1em;
}
.social a svg {
  fill: var(--primary);
  width: 2em;
}
.footerLinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  > div div {
    line-height: 2.5em;
  }
}
.trademark {
  margin-right: auto;
  margin-left: auto;
  padding-left: 20px;
  margin-top: 2em;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}

.item1 {
  display: flex;
  flex-direction: row;

  justify-content: space-between;
  padding: 0 1em;
  align-items: center;

  > .hero-button {
    display: flex;
    background-color: #ffffff;
    border: 1px solid #000;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    border-width: 2px;
    padding: 0 1em;
    margin-top: 1em;
    > .button-title {
      font-family: sans-serif;
      font-weight: 900;
      display: inline-flex;
      font-size: 1em;
    }
  }
}
.item2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}
.item3 {
  display: flex;
  flex-direction: row;
  gap: 1em;

  > .peak,
  .smile,
  img {
    width: 100%;
    height: auto;
    border-top-left-radius: 1.5em;
    border-top-right-radius: 1.5em;
  }
}
.doc img {
  border-top-left-radius: 1.5em;
  border-top-right-radius: 1.5em;
}
.doc,
.peak,
.smile {
  display: flex;
  flex-direction: column;
  border-radius: 1.5em;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
  > h4 {
    background-color: var(--primary);
    color: #ffffff;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
      "Lucida Sans", Arial, sans-serif;
    padding: 1em;
    flex-grow: 1;
    display: flex;
    align-items: center;
    border-bottom-left-radius: 1.5em;
    border-bottom-right-radius: 1.5em;
  }
}
.hero-button {
  margin-bottom: 1em;
  color: #373737;
}
.box2,
.box3,
.box4 {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}
.card {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin-bottom: 3rem;

  > h2 {
    font-size: 1.75em;
    text-transform: uppercase;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    color: var(--primary);
    letter-spacing: 1.5px;
  }
  > img {
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
  }

  > .textbox {
    display: flex;
    padding: 1.5rem 1.5rem;
    flex-direction: column;
  }
  > .textcard {
    display: flex;
  }
  > .textbox h4 {
    font-size: 1.5em;
  }

  > p {
    font-size: 1.2em;
    color: #373737;
  }
  > .textbox .hero-button {
    display: flex;
    background-color: #ffffff;
    border: 1px solid #373737;
    border-radius: 999px;
    align-items: center;
    width: 100%;
    justify-content: center;
    border-width: 2px;
    padding-left: 1em;
    margin-top: 1em;

    > .button-title {
      font-family: sans-serif;
      font-weight: 900;
      line-height: 1.5;
      font-size: 1.2em;
      padding-right: 20px;
    }
  }
}
.box1 {
  box-shadow: none;
}
.var {
  background-color: var(--primary);
  border-radius: 1em;
  color: #ffffff;
}
.var2 {
  background-color: var(--secondary);
  border-radius: 1em;
  color: var(--primary);
  /* text-shadow: #fff 1px 1px 2px; */
  border: 2px solid var(--primary);
  > span {
    font-family: righteous;
    font-size: 2em;
  }
}
@media (max-width: 400px) {
  .sidebar {
    width: 100%;
  }
}
@media (min-width: 375px) {
  .section {
    padding-bottom: 2em;
  }
}
@media (min-width: 768px) {
  .trademark,
  .container,
  .container2,
  .container3,
  .container-hero,
  .container5,
  .container4 > .textbox {
    max-width: 768px;
  }
}
@media (max-width: 1024px) {
  .hideOnMobile {
    display: none;
  }
  .menu-button {
    display: block;
  }
}
@media (min-width: 1024px) {
  .section {
    padding-bottom: 80px;
  }
  .wrapper {
    > .container-hero {
      position: absolute;
      top: 15em;
      max-height: 375px;
      font-size: 1.2em;
    }
  }
  .trademark,
  .container,
  .container2,
  .container3,
  .container5,
  .container4 > .textbox {
    max-width: 1024px;
  }
  .container-hero {
    width: 580px;
  }
  .container {
    display: grid;
    /* border: 2px solid rgb(20, 209, 121); */
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
  }
  .container2 {
    display: grid;
    /* border: 2px solid rgb(20, 209, 121); */
    grid-template-columns: 1fr 1fr;
    column-gap: 5em;
  }
  .card {
    display: flex;

    > .textbox {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      flex-grow: 1;
      > .textcard {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
      }
    }
  }

  .box1 {
    grid-column: 1/-1;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
  }
  .item2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .item3 {
    display: flex;
    flex-direction: column;
  }
  .container-footer {
    flex-direction: row;
    align-items: center;
  }
  .container5 {
    flex-direction: row;
    padding-top: 2em;
    justify-content: space-between;
    width: 100%;
  }
  .col1 {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-top: -1.5em;
  }
  .footerLinks {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    column-gap: 4em;
  }
}

@media (min-width: 1280px) {
  .trademark,
  .container,
  .container2,
  .container3,
  .container5,
  .container4 > .textbox {
    max-width: 1280px;
  }
}
