*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: start;
  background: #f2f2f2;
}

.cards{
    display: grid;
    grid-template-columns: repeat(3, 300px);
    gap: 20px;
}

.card{
    margin-top: 20px;
    width: 300px;
    height: 200px;
    background: white;
    border-radius: 10px;
    border: 1px solid black;
}

.box1{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 2px;
    border: 1px solid black;
    background: white;
    width: 80px;
    height: 220px;
    flex-direction: column;
    position: absolute;
    left: 20px;
    top: 300px;
}

.box2{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 2px;
    border: 1px solid black;
    background: white;
    width: 80px;
    height: 220px;
    flex-direction: column;
    position: absolute;
    left: 20px;
    top: 600px;
}

.square1{
    width: 40px;
    height: 40px;
    background: red;
    border: 1px solid black;
}
.square2{
    width: 40px;
    height: 40px;
    background: blue;
    border: 1px solid black;
}
.square3{
    width: 40px;
    height: 40px;
    background: yellow;
    border: 1px solid black;
}
.square4{
    width: 40px;
    height: 40px;
    background: purple;
    border: 1px solid black;
}
.square5{
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid black;
}
.square6{
    width: 40px;
    height: 40px;
    background: red;
    border: 1px solid black;
}
.square7{
    width: 40px;
    height: 40px;
    background: blue;
    border: 1px solid black;
}
.square8{
    width: 40px;
    height: 40px;
    background: yellow;
    border: 1px solid black;
}
.square9{
    width: 40px;
    height: 40px;
    background: purple;
    border: 1px solid black;
}
.square10{
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid black;
}