.flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: normal;
    align-items: normal;
    align-content: normal;
    margin: 20px;
    padding: 20px;
}
.flex-items {
    padding: 20px;
}

.flex-items:nth-child(1) {
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
    width: 300px;
    border: 2px black solid;
}

.flex-items:nth-child(2) {
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
    border: 2px black solid;
    margin-left: 12px;
}

.keyboard {
    width: 450px;
    border: 2px solid black;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-row-gap: 12px;
    padding: 12px;
}

.keyboard-key {
    width: 100px;
    height: 100px;
    border: 2px solid black;
    margin: 2px;
}

.keyboard-key:nth-child(1) {
    grid-area: 1 / 1 / 2 / 2;
}

.keyboard-key:nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
}

.keyboard-key:nth-child(3) {
    grid-area: 1 / 3 / 2 / 4;
}

.keyboard-key:nth-child(4) {
    grid-area: 1 / 4 / 2 / 5;
}

.keyboard-key:nth-child(5) {
    grid-area: 2 / 1 / 3 / 2;
}

.keyboard-key:nth-child(6) {
    grid-area: 2 / 2 / 3 / 3;
}

.keyboard-key:nth-child(7) {
    grid-area: 2 / 3 / 3 / 4;
}

.keyboard-key:nth-child(8) {
    grid-area: 2 / 4 / 3 / 5;
}