@font-face {
  font-family: Apfel Grotezk;
  src: url(../fonts/ApfelGrotezk-Regular.woff2) format("woff2");
  font-weight: 300;
  font-display: swap
}

@font-face {
  font-family: Apfel Grotezk;
  src: url(../fonts/ApfelGrotezk-Mittel.woff2) format("woff2");
  font-weight: 400;
  font-display: swap
}

@font-face {
  font-family: Apfel Grotezk;
  src: url(../fonts/ApfelGrotezk-Fett.woff2) format("woff2");
  font-weight: 600;
  font-display: swap
}

@font-face {
  font-family: Apfel Grotezk;
  src: url(../fonts/ApfelGrotezk-Satt.woff2) format("woff2");
  font-weight: 800;
  font-display: swap
}

:root {
  --pink: #f7e08e; /* amarelo manteiga */
  --beige: #fbf7ee; /* creme */
  --blue: #7d5a9b; /* lavanda */
  --dark: #2b1d38; /* ameixa escuro */
  --text-font: "Apfel Grotezk", "Helvetica Neue", Arial, sans-serif;
  --hero-font: "Apfel Grotezk", sans-serif;
  --title-font: "Apfel Grotezk", sans-serif;
  --anim-font: "Apfel Grotezk", sans-serif;
  --menu-text-color: var(--beige);
  --ulu-curve: cubic-bezier(.28, .71, 0, .98)
}

* {
  box-sizing: border-box;
  line-height: .9
}

*::selection {
  background-color: var(--pink);
  color: var(--blue)
}

*::-webkit-scrollbar {
  width: 12px;
  height: 12px
}

*::-webkit-scrollbar-track {
  background-color: transparent
}

*::-webkit-scrollbar-thumb {
  background-color: var(--dark);
  border: 2px solid var(--beige);
  border-radius: 100px
}

html {
  scroll-margin-top: 120px
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--beige);
  color: var(--dark);
  font-family: var(--text-font);
  font-size: 1.1rem;
  position: relative
}

main {
  position: relative;
  z-index: 3;
  background-color: var(--beige)
}

a {
  text-decoration: none;
  color: var(--dark)
}

p {
  line-height: 1.25
}

ul {
  margin: 0;
  padding: 0;
  list-style: none
}

body>canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none
}

img {
  -webkit-user-select: none;
  user-select: none
}

#js-front-canvas {
  z-index: 10000
}

#js-back-canvas {
  z-index: -1
}

@media screen and (max-width:768px) {
  :root {
    font-size: 14px
  }
}
