* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background:rgb(0, 12, 12);
}

.container {
    position: relative;
}

.container .card {
    position: relative;
    width: 320px;
    height: 450px;
    background: rgb(39, 38, 39);
    border-radius: 20px;
    overflow: hidden;
}

.container .card:before {
    content: '';
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background:rgb(238, 19, 19);
    clip-path: circle(150px at 80% 20%);
    transition: 0.5s ease-in-out;
}

.container .card:hover:before {
    clip-path: circle(300px at 80% -20%);
}

.container .card:after {
    content: "Jordan Shoes";
    position: absolute;
    top: 35%;
    left: -5%;
    font-size: 7em;
    font-weight: 800;
    font-style: italic;
    color: rgba(255, 255, 255,0.04);
}

.container .card .imgBx {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
    z-index: 100%;
    width: 100%;
    height: 220px;
    transition: 0.5s;
}

.container .card:hover .imgBx {
    top: 10%;
    transform: translateY(0%);
}

.container .card .imgBx img {
    position: absolute;
    top: 28%;
    left: 25%;
    transform: translate(-50%,-50%) rotate(-25deg);
    width: 325px;
}

.container .card .contentBx {
    position: absolute;
    bottom: 0;
    width: 100%;
    min-height: 100px;
    text-align: center;
    transition: 1s;
    z-index: 10;

}

.container .card:hover .contentBx {
    height: 200px;
}

.container .card .contentBx h2 {
    position: relative;
    font-weight: 200rem;
    /* letter-spacing: 1px; */
    color: #fff;
}

.container .card .contentBx .size ,
.container .card .contentBx .color{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px ;
    transition: 0.5s;
    opacity: 0;
    visibility: hidden;
}

.container .card:hover .contentBx .size {
opacity: 1;
visibility: visible;
transition-delay: 0.5s;
}

.container .card:hover .contentBx .color{
    opacity: 1;
    visibility: visible;
    transition-delay: 0.6s;
    }

.container .card .contentBx .size h3 ,
.container .card .contentBx .color h3 {
    color: rgb(216, 216, 205);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 10px;
    font-size: 15px;
}

.container .card .contentBx .size span {
    width: 23px;
    letter-spacing: 3px;
    text-align: center;
    line-height: 26px;
    display: inline-block;
    color: #111;
    background: #fff;
    margin:  0 5px;
    transition: 0.5s;
    border-radius: 10%;
    cursor: pointer;
    /* color: #fff; */
}

.container .card .contentBx .size span:hover {
    background: rgb(255, 9, 9);
    
}

.container .card .contentBx .color span {
    width: 20px;
    height: 20px;
    background: rgb(255, 2, 2);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.container .card .contentBx .color span:nth-child(2){
    background:rgb(255, 0, 0);
}

.container .card .contentBx .color span:nth-child(3) {
    background:rgb(94, 255, 0);
}

.container .card .contentBx .color span:nth-child(4){
    background:rgb(0, 174, 255);
}

.container .card .contentBx a {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    border-radius: 10px;
    margin-top: 10px;
    font-weight: 600;
    color: #111;
    opacity: 0;
    transform: translateY(50px);
    transition: 0.5s;

}

.container .card:hover .contentBx a {
    opacity: 1;
    transform: translateY(0px);
    transition-delay: 0.7s;

}