@import url("https://fonts.googleapis.com/css2?family=Montserrat&family=Quicksand:wght@500;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Quicksand";
  font-size: 2rem;
}

.container {
  width: 100%;
  height: 100vh;
  /* background-color: blueviolet; */
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
  align-items: center;
  flex-direction: row;
  gap: 5px;
  border: 1px solid red;
}

.card {
  position: relative;
  width: 250px;
  height: 350px;
  background: linear-gradient(to bottom, green, yellow);
  border-radius: 20px;
  border-bottom-left-radius: 220px;
  border-bottom-right-radius: 200px;

  box-shadow: 0 10px 0 1px rgb(255, 255, 255),
    inset 0 -10px 0 0 rgba(0, 0, 0, 0.331);
  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: center;
}

.card::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 390px;
  background: linear-gradient(to right, #f1f1f1, #ffffff15);
  transform: rotate(35deg);
  top: -100px;
  right: 85px;
}

.card:nth-child(2) {
  background: linear-gradient(to bottom, rgb(128, 13, 0), rgb(255, 200, 0));
}

.card:nth-child(3) {
  background: linear-gradient(to bottom, rgb(0, 15, 128), rgb(0, 208, 255));
}

.icon {
  position: relative;
  width: 80px;
  height: 80px;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;

  top: -135px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.icon::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  /* background-color: green; */
  top: 0;
  right: 80px;
  border-top-right-radius: 40px;
  box-shadow: 0px -35px 0 0 white;
}

.icon::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  /* background-color: rgba(128, 0, 0, 0.202); */
  top: 0;
  right: -80px;
  border-top-left-radius: 40px;
  box-shadow: 0px -35px 0 0 white;
}

.icon .fa-hourglass-o {
  color: white;
  /* border: none; */
  font-size: 3rem;
  transform: rotate(-90deg);
  animation: animater 1.5s linear infinite;
  background-color: rgba(0, 0, 255, 0.344);
  box-shadow: 0 0 20px 1px blue;
  border-radius: 20px;
  z-index: 1000;
}

@keyframes animater {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(90deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(270deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.content {
  position: absolute;
}
