@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');

*
{
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;


}


body
{

    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: black;
}

.card
{
    position: relative;
    width: 320px;
    height: 420px;
    background: rgb(107, 103, 103);
    border-radius: 20px;
    overflow: hidden;
    
}

.card::before 
{
    content: '';
    position: absolute;
    top:-50%;
    width: 100%;
    height: 100%;
    background: rgb(131, 139, 240);
    transform: skewY(345deg);
    transition: 0.5s;
}

.card:hover::before
{
    top: -70%;
    transform: skewY(395deg);

}

.card::after
{

    content: 'Phillips';
    position: absolute;
    bottom: 0;
    left: 0;
    font-weight: 600;
    font-size: 5.7em;
    color: rgb(99, 91, 91);
    
}

.card .imgbox
{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    z-index: 1;
    mix-blend-mode: multiply;

}
.card .imgbox img
{
    max-width: 65%;
    transition: 0.5s;
    

}
.card:hover .imgbox img
{
    max-width: 50%;
    

}
.card .contentbox
{
    position: relative;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1;

}

.card .contentbox h3
{
    font-size: 18px;
    color: rgb(226, 217, 217);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;

}

.card .contentbox .price
{
    font-size: 24px;
    color: rgb(226, 217, 217);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;

}
.card .contentbox .buy
{
    position: relative;
    top: 200px;
    padding: 10px 30px;
    margin-top: 15px;
    color: rgb(226, 217, 217);
    text-decoration: none;
    background:rgb(79, 85, 167);
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.5s;
    opacity: 0;
}
.card:hover .contentbox .buy
{

    top: 0;
    opacity: 1;

}

.card .contentbox .buy:hover
{

background: rgb(110, 117, 219);

}