*{
   margin:0px;
   padding:0px;
   box-sizing: border-box;
   font-family: sans-serif;
}
body{
	background-color: #191931;
}
.card-container{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 50px;
	margin-bottom: 20px;
}
.card {
	width: 325px;
	background-color: #2d2d56;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 8px 10px 0 #0f0f25;
	margin: 20px;
	position: relative;
	z-index: 0;
}

.card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 8px;
	padding: 2px;
	background: linear-gradient(90deg, #ffe34f, #ff6341, #0048e8, #ffe34f);
	background-size: 400% 400%; 
	-webkit-mask: 
		linear-gradient(#fff 0 0) content-box, 
		linear-gradient(#fff 0 0);
	mask: 
		linear-gradient(#fff 0 0) content-box, 
		linear-gradient(#fff 0 0);
	mask-composite: exclude;
	-webkit-mask-composite: destination-out;
	transition: opacity 0.3s ease;
	opacity: 0;
	z-index: -1;
}

.card:hover::before {
	opacity: 1;
	z-index: 1;
	animation: rotateGradient 5s infinite linear;
}

@keyframes rotateGradient {
	0% {
		background-position: 0% 0%;
	}
	100% {
		background-position: 400% 400%;
	}
}
.card img{
	width: 100%;
	height: auto;
}
.card-content{
	padding: 16px;
}
.card-content h3{
	color: #fff;
	font-size: 28px;
	margin-bottom: 8px;
}
.card-content p{
	color: #fff;
	font-size: 15px;
	line-height: 1.3;
}
.card-content .btn{
	display: inline-block;
	padding: 8px 16px;
	background-color: #fff;
	text-decoration: none;
	border-radius: 4px;
	margin-top: 16px;
	color: #000;
}
.copyright {
  margin-top: 1rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #8787a3;
  font-size: 0.75rem;
}

.copyright img {
  width: 2rem;
  opacity: 0.4;
}
