*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    font-size: 62.5%;
}

body{
    font-size: 2rem;
    background-color: #eee;
    font-family: sans-serif;
    padding: 8rem;
}

main{
    width: 100%;
}

.inputs{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 4rem;
    width: 100%;
    margin-bottom: 4rem;
}

.inputs > div{
    display: flex;
    align-items: center;
    width: 40rem;
}

.filter{
    width: 5rem;
    height: 5rem;
    margin-right: 1rem;
}

.colors{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.color{
    list-style-type: none;
    width: 25rem;
    height: 30rem;
    transition: 0.2s transform;
    flex-grow: 1;
}

.color:hover{
    transform: scale(1.02) translateY(-0.7rem);
    cursor: pointer;
}

.color img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}