@charset "UTF-8";

/* Common */

body, div, span, h2, p, a {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: #fff3de;
  font-family: 'Poppins', sans-serif;
}

/* Card */
.card-box {
  position: relative;
  width: 240px;
  height: 360px;
  transform: rotate(-30deg) skew(30deg);
}
.card-box > div {
  overflow: hidden;
  position: absolute;
  width: 240px;
  height: 360px;
  padding: 30px 15px;
  border-radius: 10px;
  background: linear-gradient(-45deg, #fbd786, #f7797d);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.6s ease 0s;
}
.card-box:hover > div:nth-child(1) {
  opacity: 0.5;
  background: #fade9c;
  box-shadow: -60px 60px 50px #999;
}
.card-box:hover > div:nth-child(2) {
  opacity: 0.5;
  background: #fbd786;
  transform: translate(30px, -30px);
}
.card-box:hover > div:nth-child(3) {
  opacity: 0.6;
  background: #f8a081;
  transform: translate(60px, -60px);
}
.card-box:hover > div:nth-child(4) {
  opacity: 0.8;
  transform: translate(90px, -90px);
}
.card-box:hover > div:nth-child(5) {
  opacity: 1;
  transform: translate(120px, -120px);
}
.card__top {
  opacity: 0.5;
  font-size: 12px;
}
.card > h2 {
  margin-bottom: 120px;
}
.card_shape {
  position: absolute;
  right: -60px;
  bottom: -30px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: linear-gradient(-45deg, #f7797d, #fbd786);;
}
.btn {
  z-index: 1;
  position: relative;
  padding: 5px 15px;
  border-radius: 3px;
  background: #fff;
  color: #fbd786;
  font-size: 14px;
  text-decoration: none;
}