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

html {
  height: 100%;
  width: 100%;
  font-size: 62.5%;
  font-family: sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  background-color: #333;
}

.card {
  position: relative;
  height: 600px;
  width: 400px;
  border-radius: 20px;
  overflow: hidden;
}
.card__btn {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  padding: 0.2em;
  font-size: 3rem;
  color: #fff;
  cursor: crosshair;
  z-index: 2;
}
.card__btn:hover ~ .card__shadow {
  -webkit-clip-path: circle(150% at 100% 0);
          clip-path: circle(150% at 100% 0);
}
.card__image {
  position: absolute;
  inset: 0;
  height: 100%;
  background-image: url("../img/woman-8035772_1280.jpg");
  background-size: cover;
  background-position: 65% 0;
  z-index: 0;
}
.card__shadow {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  height: 100%;
  padding: 4em 0;
  -webkit-clip-path: circle(0 at 92% 6%);
          clip-path: circle(0 at 92% 6%);
  background-color: rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transition: -webkit-clip-path 0.5s;
  transition: clip-path 0.5s;
  transition: clip-path 0.5s, -webkit-clip-path 0.5s;
  z-index: 1;
}
.card__text {
  width: 70%;
  text-align: center;
  color: #fff;
}
.card__text h2 {
  padding: 1em 0;
  font-size: 2.6rem;
  color: gold;
}
.card__text p {
  font-size: 1.6rem;
}/*# sourceMappingURL=style.css.map */