@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");

/* elements */
* {
  font-family: "Poppins", sans-serif;
}

ul.animation {
  padding: 0 !important;
}

/* classes */
.hero {
  height: 100vh;
  background-position: center;
  margin-top: -4rem;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-content {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.move {
  display: none;
}

.scale {
  animation-name: animate-scale;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.move-up {
  animation-name: animate-up;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

/* keyframes */
@keyframes animate-up {
  0% {
    transform: translateY(-120%);
    opacity: 0;
  }
  25%,
  55% {
    transform: translateY(0%);
    opacity: 1;
    display: block;
  }
  70%,
  100% {
    transform: translateY(120%);
    opacity: 0;
  }
}

@keyframes animate-scale {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* media queries */
@media (max-width: 960px) {
  /* mobile and below */
  .u-min-width {
    min-width: 350px;
  }
  .u-mobile-font {
    font-size: 3.5rem;
    margin-bottom: 1rem;
  }
  .u-mb-large {
    margin-bottom: 1rem;
  }
}

@media (min-width: 960px) {
  /* laptop and above */
  .u-min-width {
    min-width: 550px;
  }
  .u-mobile-font {
    font-size: 3.5rem;
  }
  .u-mb-large {
    margin-bottom: 1rem;
  }
  .animation {
    margin-top: 1rem;
  }
}

@media (max-width: 960px) {
  /* mobile and below */
  .hero {
    background-image: url("./sd-background-mobile.png");
  }
}

@media (min-width: 960px) {
  /* laptop and above */
  .hero {
    background-image: url("./sd-background.png");
  }
}

/* customize scrollbar */
/* width */
::-webkit-scrollbar {
  width: 8px;
  border-radius: 2rem;
  background: none;
}

/* Track */
::-webkit-scrollbar-track {
  background: lightgray;
  border-radius: 2rem;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 2rem;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #777;
}
