*{
    box-sizing: border-box;
}

body{
    background-color: lightslategray;
}

#padre{
    width: 100%;
    height: 250px;
    background-color: blueviolet;
    display: flex;
    flex-wrap: nowrap;
    padding: 10px;
}

#hijo{
    width: 100%;
    height: 230px;
    background-color: palegoldenrod;
    padding: 10px;
    display: flex;
}

#nieto{
    width: 100%;
    height: 210px;
    background-color: palevioletred;
    display: flex;
    padding: 10px;
}

#biznieto{
    width: 100%;
    height: 190px;
    background-color: palegreen;
    padding: 10px;
    display: flex;
}

#tataranieto{
    width: 100%;
    height: 170px;
    background-color: rgb(66, 63, 255);
    padding: 10px;
}