@keyframes dash {
  from {
      stroke-dashoffset: 700;
  }
  to {
      stroke-dashoffset: 0;
  }
}
@keyframes fillIn {
  from {
      fill: #fff;
  }
  to {
      fill: #000;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  padding: 0 10vw 20px 10vw;
  margin: 0;
  position: relative;
  overflow-y: scroll;
  font-family: 'Lato', sans-serif;
}

g {
    stroke-dasharray: 700;
    stroke-dashoffset: 700;
    animation: 0.5s linear forwards dash;
}
path {
    animation: 0.25s linear 0.25s forwards fillIn;
}

header {
    height: 100px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    padding-top: 20px;
    background-color: #fff;
    z-index: 3;
}

address {
  display: none;
}

nav {
  position: sticky;
  top: 100px;
  z-index: 2;
  padding: 20px 0 0 0;
  background-color: #fff;
}

nav, main {
  display: none;
  opacity: 0;
  animation: 1s linear 0.5s forwards fadeIn;
  background-color: #fff;
}

.nav-items {
  display: flex;
  justify-content: center;
  width: 100%;
  list-style: none;
  background-color: #fff;
}

.nav-item {
  margin: 0 15px
}

main {
  scroll-margin-top: 140px;
}

.anchor {
  scroll-snap-align: start;
  scroll-margin-top: 200px;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
}

h2 span {
  font-size: 18px;
}

li {
  padding: 5px;
}

.pushable {
  display: inline-block;
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  outline-offset: 4px;
  transition: filter 250ms;
  text-decoration: none;
}

.pushable::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: hsl(0deg 0% 0% / 0.25);
  will-change: transform;
  transform: translateY(2px);
  transition:
    transform
    600ms
    cubic-bezier(.3, .7, .4, 1);
}

.edge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(
    to left,
    hsl(340deg 100% 16%) 0%,
    hsl(340deg 100% 32%) 8%,
    hsl(340deg 100% 32%) 92%,
    hsl(340deg 100% 16%) 100%
  );
}

.front {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  position: relative;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14px;
  color: white;
  background: hsl(345deg 100% 47%);
  will-change: transform;
  transform: translateY(-4px);
  transition:
    transform
    600ms
    cubic-bezier(.3, .7, .4, 1);
}

.pushable:hover {
  filter: brightness(110%);
}

.pushable:hover .front {
  transform: translateY(-6px);
  transition:
    transform
    250ms
    cubic-bezier(.3, .7, .4, 1.5);
}

.pushable:active .front {
  transform: translateY(-2px);
  transition: transform 34ms;
}

.pushable:hover .shadow {
  transform: translateY(4px);
  transition:
    transform
    250ms
    cubic-bezier(.3, .7, .4, 1.5);
}

.pushable:active .shadow {
  transform: translateY(1px);
  transition: transform 34ms;
}

.pushable:focus:not(:focus-visible) {
  outline: none;
}

@media (max-width: 1000px) {
  body {
    padding: 0 20px 20px 20px;
  }

  nav {
    display: none;
  }
  
  .nav-items {
    display: none;
  }

  svg {
    height: 59px;
    max-width: 100%;
  }

  address {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }
}