@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}
.container{
    width: 100vw;
    height: 100vh;
    background-color: #060024;

    /* Centering the content in the body (child elements) */
    display: flex;
    align-items: center;
    justify-content: center;
}
.box{
    width: 350px;
    height: 610px;
    background-color: #1e1e26;
    padding: 20px 10px;
    margin: 20px 10px; /*This margin is provided for when the image/box enlarges on hover*/
    border-radius: 10px;
    box-shadow: 2px 10px 12px rgba(0, 0, 0, 0.3);

    /* Centering the content within the card/box */
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    transition: all ease 0.3s; /*create smoother transition*/

}
.box:hover{
    background-color: #17171d;
    transition: all ease 0.3s;
    transform-style: preserve-3d;/*3D effect*/
   transform: scale(1.02); /*enlargement*/
}
.marvel{
    font-weight: bold;
    color: #b02c2f;
    font-size: 25px;
    font-family: 'Bebas Neue', cursive;
}
/* on box hover the following changes are made to the heading */
.box:hover .marvel{
    color: #c0292b;
    transition: all ease 0.3s;
}
.model{
    height: 350px;
    max-height: 100%;
}
.details{
    display: flex;
    align-items: center;
    flex-direction: column; /*This prevents from floating*/
}
.logo{
    width: 60px;
}
.details{
    font-weight: bold;
    color: #6a6a74;
    margin-top: 10px;
    text-align: justify;
}
a{
    border: 0;
    padding: 1rem;
    border-radius: 6px;
    background-color: #FF8C42;
    font-weight: 700;
    text-transform: uppercase;
    color: #5d5d84;
    text-decoration: none;
}
.text {
    color: whitesmoke;
}

@media (max-width:720px){
    .box{
        width: 94%;
        height: 500px;
    }
    .model{
        height: 250px;
    }
    .details{
        font-size: 16px;
        width: 250px;
    }
    a{
        font-size: 16px;
    }
}