@font-face {
  font-family: "Ubuntu";
  src: url("fonts/Ubuntu/Ubuntu-Regular.ttf") format('truetype');
  font-weight: 400;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  font-family: "Ubuntu" !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
}

#root {
  display: flex;
  flex-direction: column;
  height: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

footer {
  background-color: #3f3c59;
}

* {
  -ms-overflow-style: none;
}

::-webkit-scrollbar {
  display: none;
}

ul {
  list-style: none;
  padding-left: 1rem;
}

ul li {
  display: flex;
}

ul li:before {
  content: url(/list_icon.svg);
  display: inline-block;
  width: 21px;
  height: 21px;
  margin-right: 10px;
  flex-shrink: 0;
}

@-webkit-keyframes soft-blink {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0.8;
  }
}

@keyframes soft-blink {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0.8;
  }
}

@-webkit-keyframes add-to-cart {
  0% {
    top: 100vh;
    left: 0px;
    opacity: 0;
  }
  25% {
    opacity: 0.8;
  }
  50% {
    margin-top: 40;
    margin-left: -15vw;
    top: 50vh;
    left: 50vw;
    opacity: 1;
  }
  75% {
    opacity: 0.8;
  }
  100% {
    margin-left: -30vw;
    margin-right: 8px;
    top: 100px;
    left: 100vw;
    opacity: 0;
  }
}

@keyframes add-to-cart {
  0% {
    top: 100vh;
    left: 0px;
    opacity: 0;
  }
  25% {
    opacity: 0.8;
  }
  50% {
    margin-top: 40;
    margin-left: -15vw;
    top: 50vh;
    left: 50vw;
    opacity: 1;
  }
  75% {
    opacity: 0.8;
  }
  100% {
    margin-left: -30vw;
    margin-right: 8px;
    top: 100px;
    left: 100vw;
    opacity: 0;
  }
}

@keyframes shake-keyframe {
  0% { transform: rotate(0deg) }
  25% { transform: rotate(5deg)}
  50% { transform: rotate(0eg)}
  75% { transform: rotate(-5deg)}
  100% { transform: rotate(0deg)}
}


@media (prefers-reduced-motion: no-preference) {
  .shake {
      animation: shake-keyframe infinite 0.2s;
      -webkit-animation: shake-keyframe 0.2s  infinite;
  }
}