body{
  margin: 0;
  font-family: 'Poppins',sans-serif;
  background-color: rgb(0, 0, 0);
  display: flex;
  flex-direction: column;
}


.div{
  width: 100%;
  font-family: 'Open Sans', sans-serif;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-template-rows: repeat(2, 1fr);
  margin-top: 75px;  
  justify-items: center;
  min-height: 100vh;
}

.card {
overflow: visible;
width: 95%;
height: 254px;
margin: 0 0 20px 0px;
}

.content {
width: 100%;
height: 100%;
transform-style: preserve-3d;
transition: transform 300ms;
box-shadow: 0px 0px 10px 1px #000000ee;
border-radius: 5px;
}

.front, .back {
background-color: #151515;
position: absolute;
width: 100%;
height: 100%;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
border-radius: 5px;
overflow: hidden;
}

.back {
width: 100%;
height: 100%;
justify-content: center;
display: flex;
align-items: center;
overflow: hidden;
}

.back::before {
position: absolute;
content: ' ';
display: block;
width: 100%;
border-radius: 5px;
height: 160%;
background: linear-gradient(90deg, transparent, #0011fa, #0075b9, #0075b9, #0011fa, transparent);
animation: rotation_481 5000ms infinite linear;
}

.back-content {
position: absolute;
width: 99%;
height: 99%;
background-color: #151515;
border-radius: 5px;
color: white;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 30px;
}

.card:hover .content {
transform: rotateY(180deg);
}

@keyframes rotation_481 {
  0% {
    transform: rotateZ(0deg);
  }

  0% {
    transform: rotateZ(360deg);
  }
}

.front {
transform: rotateY(180deg);
color: white;
}

.front .front-content {
position: absolute;
width: 100%;
height: 100%;
padding: 10px;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.front-content .badge {
background-color: #00000055;
padding: 2px 10px;
border-radius: 10px;
backdrop-filter: blur(2px);
width: fit-content;
}


@keyframes floating {
0% {
  transform: translateY(0px);
}

50% {
  transform: translateY(10px);
}

100% {
  transform: translateY(0px);
}
}

.back-content img{
  width: 180px;
  height: 100px;
  margin-top: -100px;
  object-fit: contain;
}

.description {
  box-shadow: 0px 0px 10px 2px #00000088;
  margin: 0 20px 20px 0;
  background-color: #00000099;
  backdrop-filter: blur(7px);
  border-radius: 5px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title {
  font-size: 12px;
  max-width: 100%;
  text-align: center;
}

.front a{
  text-decoration: none;
  color: white;
  font-style: italic;
}

.title p {
  width: 50%;
}

.card-footer {
  color: #ffffff88;
  margin-top: 5px;
  font-size: 8px;
}

.front .img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 800px){
  .div{
    margin-top: 90px;
    margin-bottom: 45px;  
}

}


