@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap");

* {
  margin: 10;
  padding-right: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #99001b;
  --clr: #d0954c;
}

.card {
  position: relative;
  width: 300px;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
  transition-delay: 0.5s;
}

.card:hover {
  width: 600px;
  transition-delay: 0.5s;
}

.card .circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card .circle::before {
  content: "";
  position: absolute;
  top: 30;
  left: 2;
  right: 2;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: #c33923;
  border: 8px solid var(--clr);
  transition: 0.5s, background 0.5s;
  transition-delay: 0.75s, 1s;
  filter: drop-shadow(0 0 10px var(--clr)) drop-shadow(0 0 60px var(--clr));
}

.card:hover .circle::before {
  transition-delay: 0.5s;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: var(--clr);
}

.card .circle .logo {
  position: relative;
  width: 250px;
  transition: 0.5s;
  transition-delay: 0.5s;
}

.card:hover .circle .logo {
  transform: scale(0);
  transition-delay: 0s;
}

.card .product_img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0) rotate(315deg);
  height: 300px;
  transition: 0.5s ease-in-out;
}

.card:hover .product_img {
  transition-delay: 0.75s;
  top: 25%;
  left: 75%;
  height: 530px;
  transform: translate(-50%, -50%) scale(1) rotate(15deg);
}

.card .content {
  position: absolute;
  width: 50%;
  left: 20%;
  padding: 12px;
  opacity: 0;
  transition: 0.5s;
  visibility: hidden;
}

.card:hover .content {
  transition-delay: 0.75s;
  opacity: 1;
  visibility: visible;
  left: 20px;
}

.card .content h2 {
  color: #f2efe7;
  text-transform: uppercase;
  font-size: 2.5em;
  line-height: 1em;
}

.card .content p {
  color: #f2efe7;
  font-size: 0.7em;
}

.card .content a {
  position: relative;
  color: #f2efe7;
  background: #d52b1e;
  padding: 10px 20px;
  border-radius: 12px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  font-size: 0.8em;
}

@media screen and (max-width: 820px) {
  body {
    padding-left: 12px;
    padding-right: 12px;
  }

  .card {
    width: 250px;
    height: 300px;
  }

  .card:hover {
    width: 500px;
  }

  .card .circle::before {
    width: 300px;
    height: 300px;
  }

  .card:hover .circle::before {
    width: 100%;
    height: 100%;
  }

  .card .circle .logo {
    width: 200px;
  }

  .card .product_img {
    height: 250px;
  }

  .card:hover .product_img {
    height: 450px;
  }

  .card .content {
    width: 60%;
    left: 10%;
  }

  .card:hover .content {
    left: 10px;
  }

  .card .content h2 {
    font-size: 2em;
  }
}

@media screen and (max-width: 480px) {
  .card {
    width: 200px;
    height: 250px;
  }

  .card:hover {
    width: 400px;
  }

  .card .circle::before {
    width: 250px;
    height: 250px;
  }

  .card:hover .circle::before {
    width: 100%;
    height: 100%;
  }

  .card .circle .logo {
    width: 150px;
  }

  .card .product_img {
    height: 200px;
  }

  .card:hover .product_img {
    height: 350px;
  }

  .card .content {
    width: 70%;
    left: 5%;
  }

  .card:hover .content {
    left: 5px;
  }

  .card .content h2 {
    font-size: 1.5em;
  }
}