:root {
  --brand: #B3735C;
  --black: black;
  --base-light: #c38f7c;
  --purple-light: #A293AD;
  --purple-dark: #7566A0;
  --white: white;
}

.ladybug {
  animation: crawl 20s linear infinite; 
  transform-origin: 50% 100% 0;
  transition: transform .2s, filter .2s;
  position: absolute;
  bottom: 0;
  left: 80%;
  width: 2.5%;
}
@keyframes crawl {
  0% {
      transform: translateX(0) translateY(0) rotate(60deg);
  }
  15% {
      transform: translateX(5) translateY(30) rotate(30deg);
  }
  25% {
      transform: translateX(-20px) translateY(10px) rotate(-10deg);
  }
  35% {
      transform: translateX(-40px) translateY(20px) rotate(-20deg);
  }
  50% {
      transform: translateX(0) translateY(0) rotate(0);
  }
  65% {
      transform: translateX(15px) translateY(15px) rotate(-10deg);
  }
  75% {
      transform: translateX(20px) translateY(-10px) rotate(90deg);
  }
  100% {
      transform: translateX(0) translateY(0) rotate(-30deg);
  }
}



body {
  font-family: "Aboreto", system-ui;
  text-align: center;
  background-image: url("../images/homepagebackground.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; 
  font-family: 'Josefin Sans', sans-serif;
  background-color: #412939;
  z-index: 0;
}


hr {
  width: 500px;
}

#title {
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 2px;
  font-family: "Aboreto", system-ui;;
}

#board {
  width: 350px;
  height: 420px;
  margin: 0 auto;
  margin-top: 3px;
  display: flex;
  flex-wrap: wrap;
}

.tile {
  /* Box */
  border: 2px solid lightgray;
  width: 60px;
  height: 60px;
  margin: 2.5px;

  /* Text */
  color: black;
  font-size: 36px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

.correct {
  background-color: var(--purple-light) ;
  color: white;
  border-color: white;
}

.present {
  background-color: var(--base-light);
  color: white;
  border-color: white;
}

.absent {
  background-color: #787C7E;
  color: white;
  border-color:white;
}


.keyboard-row {
  width: 400px;

  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.key-tile {
  width: 36px;
  height: 40px;
  margin: 1px;
  border: 1px solid lightgray;

  /* Text */
  font-size: 20px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

.enter-key-tile {
  width: 76px;
  height: 40px;
  margin: 1px;
  border: 1px solid lightgray;

  /* Text */
  font-size: 20px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}