body {
    margin: 0;
    background-color: #121212;
}

.parent {
    margin: 3em auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 5px;
    padding: 5px;
    width: fit-content;
}

.child {
    width: 8em;
    height: 8em;
    background-color: grey;
    transition: 500ms;
}

#child1 {
    transition: 1s;
}

#child5 {
    background-color: white;
    width: 8em;
    height: 8em;
    position: absolute;
    z-index: 1;
    border-top-right-radius: 50%;
}

#child1 {
    border-top-right-radius: 50%;
    z-index: 2;
}

#child1:hover {
    box-shadow: 5px 1px 9px black;
    width: 15%;
    border-top-right-radius: 50%;
    /* transform: skewY(45deg) */
}

#child2:hover {
    box-shadow: 0px 5px 4px black;
    transform: translateX(50%);
    background-color: red;
    border-radius: 50%;
}

#child3:hover {
    box-shadow: 0px 5px 4px black;
    transform: translateX(-50%);
    background-color: greenyellow;
}

#child4:hover {
    box-shadow: 0px 5px 4px black;
    transform: translateY(50%);
    background-color: hotpink;
}