*, *::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;
    position: absolute;
    border-radius: 50%;
}

.circle--first{
    top: 0;
    left: 0;
    background: linear-gradient(to right,#00ff77,30%, #148ff4);
}

.circle--second{
    right: 0;
    bottom: 0;
    background: linear-gradient(to right,#aeff00,80%, #0000ff);
}

.card{
    height: 50rem;
    width: 40rem;
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    position: relative;
    background: #eee;
}

.card::before{
    content: "";
    width: 100%;
    height: 100%;
    background: red;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(#00ff77,#148ff4,#aeff00,#0000ff);
    filter: blur(10rem);
    z-index: -1;
    animation: 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: 1rem;
    padding: 2rem;
}

.card__categories{
    display: flex;
    gap: 0.7rem;
}

.card__category--controller{
    background: #3BACB6;
}

.card__category--PS4{
    background: #eb5353;
}

.card__category--PS5{
    background: #f73d93;
}

.card__category{
    list-style: none;
    color: white;
    font-size: 70%;
    padding: 0.5rem 2rem;
    border-radius: 5rem;
}


.card__p{
    font-size: 80%;
    font-weight: 500;
}

.card__heading{
    font-size: 90%;
}

.card__footer{
    height: 20%;
    width: 100%;
    display: flex;
    padding: 2rem;
    gap: 2rem;
}

.card__pf{
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
}

.card__footer h3{
    font-size: 100%;
    font-weight: 300;
}

.card__footer p{
    font-size: 60%;
    font-weight: 800;
}

@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);
    }
}