
.arrowdown {
  z-index: 3;
  display: inline-block;
  position: absolute;
  width: 70px;
  left: calc(50% - 35px);
  bottom: 20px;
  animation-duration: 2s;
  animation-iteration-count: 3;
  transition: bounce 1s ease-out;
  animation-name: bounce;
  animation-timing-function: ease-in-out;
}

@keyframes bounce {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

.arrowdown.hide {
  opacity: 0;
  /* display: none; */
}

.arrowdown:hover {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}



.arrowup {
  opacity: 0;
  z-index: -1;
  display: inline-block;
  position: fixed;
  width: 60px;
  right: 20px;
  bottom: 20px;
  transform: rotate(180deg);
  transition: all 1s ease-out;
}

.arrowup:hover {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.arrowup.appear {
  opacity: 1;
  z-index: 2;

  /* display: none; */
}

@media only screen and (max-width: 950px) {

  .arrowdown {
    width: 60px;
  }
  .arrowup {
    width: 60px;
  }

}


@media only screen and (max-width: 768px) {

  .arrowdown {
    width: 40px;
    left: calc(50% - 20px);
    bottom: 20px;
  }
  .arrowup {
    width: 40px;
    right: 10px;
    bottom: 20px;
  }

}

@media only screen and (max-width: 400px) {

  .arrowup {
    display: none;
  }

}
