*, *::before,*::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box ;
}


html{
    font-size: 62.5%;
}

body{
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family:'Roboto', sans-serif;
    background: #eee;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 8rem;
}

.circle{
    width: 50rem;
    height: 50rem;
    background: green;
    position: absolute;
    border-radius: 50%;
}

.circle--first{
    top: 0;
    left: 0;
    background: linear-gradient(to right,#0694e6, 30%, #14f32e);
}


.circle--second{
    right: 0;
    bottom: 0;
    background: linear-gradient(to right,#ea3e5a, 30%, #3203db);
}
.card{
    height: 50rem;
    width: 40rem;
   box-shadow: 0 0 1rem 0 rgb(0,0,0,0.2);
   border-radius: 0.5rem;
   position: relative;
   background: #eee;
}
.card::before{
    content:"hallo";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(#eb5353,#ffd24c,#3bacb6,#f73d93);
    z-index: -1;
    animation-name: rainbow;
    animation-duration: 5s;
    animation-fill-mode: forwards;
}
.card__figure{
    width: 100%;
    height: 30%;
}

.card__figure img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.card__body{
    height: 50%;
    width:100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
}

.card__categories{
    display: flex;
    gap: 0.7rem;
}

.card__category{
  list-style: none;  
  color: white;
 font-size: 70%;
 padding: 0.5rem 2rem;
 border-radius: 5rem;
}

.card__heading{
    font-size: 90%;
}

.card__p{
    font-size: 80%;
    font-weight: 500;
}

.card__category--controller{
   background: #cd1a1a; 
}

.card__category--ps4{
    background: #eb5353; 
 }

 .card__category--ps5{
    background: #f73d93; 
 }

 .card__category--cyber{
    background: #000000; 
 }

 .card__category--launch{
    background: #ff0000; 
 }

 .card__category--ga{
    background: #3df740; 
 }

 .card__category--Leg{
    background: #000000; 
 }
 .card__category--wars{
    background: #89897b; 
 }
 
 .card__category--ga{
    background: #3df740; 
 }
.card__footer{
    height: 20%;
    width: 100%;
    display: flex;
    padding: 2rem;
    gap: 1rem;
    align-items: center;
}

.card__pf{
   width: 6rem;
   height: 6rem; 
   border-radius: 50%;
}

.card__footer h3{
    font-size: 90%;
    font-weight: 300;
}

.card__footer p{
    font-size: 70%;
    font-weight: 300;
}

@media screen and (max-width: 75rem) {
    body{
        padding: 2rem;
    }
    .card{
        height: auto;
    }
    .circle{
        display: none;
    }
}
@keyframes rainbow {
    from{
        filter:blur(10rem);
    }
    to{
        filter:blur(0.5rem);
    }
}
