@import url("https://fonts.cdnfonts.com/css/google-sans");
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  font-family: "Product Sans", sans-serif;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}
body {
  background-color: black;
}
.card_container {
  perspective: 1000px;
  width: 350px;
  height: 250px;
  margin: 100px auto;
}
.card {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.5s ease-in-out;
}
.card_container:hover .card {
  transform: rotateY(180deg);
}
.frontcard,
.backcard {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.frontcard {
  background-color: white;
  padding: 20px;
}
.frontcard img {
  height: 75px;
  width: 200px;
  margin: 65px auto;
  display: block;
  max-width: 80%;
}
.backcard {
  position: relative;
  padding: 2px;
  border-radius: 25px;
  background: linear-gradient(
    90deg,
    rgba(131, 58, 180, 1) 0%,
    rgba(253, 29, 29, 1) 50%,
    rgba(252, 176, 69, 1) 100%
  );
  transform: rotateY(180deg);
  animation: flow-border 3s linear infinite;
  background-size: 300% 300%;
}
.backcard_content {
  background-color: black;
  color: #ffffff;
  border-radius: 13px;
  padding: 16px 20px 12px 20px;
  height: 100%;
  overflow-y: auto;
  text-align: left;
}
.name {
  font-size: 10px;
  letter-spacing: 2px;
  color: blue;
  text-transform: uppercase;
  font-weight: 300;
}
.title {
  font-size: 20px;
  font-weight: 700;
  margin: 8px 0;
}
.description {
  color: #d8cccc;
  margin-bottom: 10px;
  font-size: 15px;
}
.highlight-blue {
  color: #00bfff;
}
.btn {
  padding: 6px 12px;
  border: 1px solid #4caf50;
  background-color: #00ffff;
  color: #000;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 10px;
  text-decoration: none;
  display: inline-block;
  margin-top: 5px;
}
.btn:hover {
  background-color: blue;
  color: white;
  border-color: brown;
}
.frontcard:hover {
  transform: rotateY(180deg);
}
@keyframes flow-border {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
