*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: antiquewhite;
}
.container{
    display: flex;
    justify-content:space-between;
    align-items: center;
    flex-wrap: wrap;
}
.color-card{
    border: 2px solid black;
    border-radius: 10px;
    width: 250px;
    margin: 10px;
    text-align: center;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.btn{
    background:linear-gradient(to right,black,blue,black);
    color: white;
    font-size: 13px;
    font-weight: 800;
    padding: 5px;
    font-style: italic;
    width: 45px;
    height: 30px;
    margin-left: 70px;
    border: 3px solid black;
    border-radius: 5px;
    transition: all .5s;
}
.btn:hover{
    cursor: pointer;
    transform: scale(1.1);
}
@media (max-width:420px) {
    .color-card{
        width: 150px;
        height: 50px;
        margin:7px;
        font-size: 1rem;
    }
    .btn{
        font-size: 9px;
        font-weight: 700;
        padding: 3px;
        width: 45px;
        height: 20px;
        margin-left: 10px;
    }
}