@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  width: 100vw;
  font-family: "Poppins", sans-serif;
  background: #dfe4ea;
  padding: 30px;
}

ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
ul li {
  list-style: none;
}
ul li:nth-child(2n) a {
  position: relative;
  top: 15px;
  left: 5px;
  transform: rotate(6deg);
  background-color: #f9ca24;
}
ul li:nth-child(1) a {
  position: relative;
  top: 20px;
  left: 5px;
  transform: rotate(25deg);
  background-color: #eccc68;
}
ul li:nth-child(8n) a {
  position: relative;
  top: 20px;
  left: 5px;
  transform: rotate(25deg);
  background-color: #70a1ff;
}
ul li a {
  text-decoration: none;
  color: #130f40;
  display: block;
  height: 150px;
  width: 150px;
  background-color: #badc58;
  padding: 10px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px; /*27*/
  margin: 10px;
  transform: rotate(-8deg);
  transition: transform 0.2s linear;
  border-radius: 5px;
}
ul li a span {
  width: 15px;
  height: 15px;
  display: block;
  position: absolute;
  right: -5px;
  top: -5px;
  background-image: url("../images/close.png");
  background-repeat: no-repeat;
  background-position: center;
}
ul li a h2 {
  font-size: 16px;
  color: #ff4757;
}
ul li a p {
  font-size: 15px;
}
ul li a:hover, ul li a:focus {
  transform: scale(1.25);
  z-index: 99;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
  position: relative;
}

/*# sourceMappingURL=style.css.map */
