* {
    box-sizing: border-box;
}

body {
    margin: 0;
    height: 100vh;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    background-color: black;
}

.container {
    display: flex;
    flex-wrap: wrap;
    max-width: 400px;
    align-items: center;
    justify-content: center;
}

.square {
    margin: 2px;
    width: 16px;
    height: 16px;
    transition: 2s ease;
    background-color: #1D1D1D;
    box-shadow: 0 0 2px black;
}

.square:hover {
    transition-duration: 0s;
}