#hero {
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: center;
  align-items: flex-start;
  padding: 0 30px;
  background-color: #efe7e6;
  background-image: url("../Images/hero.png");
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: contain;
  transition: background-color 0.3s ease;
}

html.dark-mode #hero {
  background-color: #2d2d2d;
}
#hero > h1 {
  font-size: 28px;

  line-height: 1.3;

  letter-spacing: 5px;
  font-weight: 700;
  font-family: "Playfair Display";
}
#hero > p {
  font-family: "Quicksand", sans-serif;
  font-size: 300;
  line-height: 1.5;
  margin-bottom: 30px;
}
#hero > button {
  width: 200px;
  background-color: transparent;
  padding: 10px 15px;
  border: 1px solid black;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  animation: shake 0.15s infinite;
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    color 0.3s ease;
}

html.dark-mode #hero > button {
  border-color: #e0e0e0;
  color: #e0e0e0;
}
/* #hero > button {
  width: 200px;
  background-color: transparent;
  padding: 10px 15px;
  border: 1px solid black;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  animation: shake 0.15s infinite;
  cursor: pointer;
} */

@keyframes shake {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  20% {
    transform: translate(2px, 2px) rotate(2deg);
  }
  40% {
    transform: translate(0, 0) rotate(0eg);
  }
  60% {
    transform: translate(-2px, 2px) rotate(-2deg);
  }
  80% {
    transform: translate(0, 0) rotate(0deg);
  }
}

#hero > button > span {
  font-weight: normal;

  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#hero > button > i {
  font-size: 20px;
}
