* {
    margin: 0; padding: 0; box-sizing: border-box;
}

body  {
   background-color: rgb(81, 121, 121);
   color:rgb(241, 180, 241);
   font-family: Georgia;
}

h1  {

    text-align: center;
    margin:9px 0;
    border-bottom: 4px solid rgb(241, 180, 241);
    padding-bottom: 9px;
}

h2  {
    margin:9px;
    font-weight: bold;
    background-color: rgb(0, 0, 0);
    padding: 1px;

}

.flex-parent {
    border: 3px solid transparent;
    min-height: 100px;
    display: flex;
    margin: 8px;
}

.flex-child {
   border: 4px solid rgb(0, 0, 0);
   min-height: 80px;
   margin:8px;
   flex-grow: 1;
   text-align: center;
   font-weight: bold;

}

.demo2 .flex-parent {
    border: 3px solid transparent;
    justify-content: space-around;
}

.demo2 .flex-child {
    border: 4px solid rgb(0, 0, 0);
    flex-grow:0;
    min-width: 16px;
}

.demo3 .flex-parent {
    border: 3px solid transparent;
    justify-content: space-between;
}

.demo3 .flex-child {
    flex-grow: 0;
    min-width: 16px;
}

.demo4 .flex-parent {
    border: 3px solid transparent;
    justify-content: space-evenly;
}

.demo4 .flex-child {
    flex-grow: 0;
    min-width: 16px;
}

.demo5 .flex-parent,
.demo6 .flex-parent {

    border: 3px solid rgb(241, 180, 241);
}

.demo5 .flex-parent {
    flex-direction: row-reverse;
}

.demo5 .flex-child:last-child {
    background-color:rgb(0, 0, 0);
    border: 4px solid white;
}

.demo5 .flex-child {
    background-color: rgb(255, 255, 255);
    min-width: 200px;
    flex-grow: 1;

}
.demo6 .flex-parent {
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.demo6 .flex-child {
    background-color: rgb(255, 255, 255);
    min-width: 200px;
    flex-grow: 1;
}

.demo7 .flex-parent {
    border: 3px solid rgb(0, 0, 0);
    min-height:250px;
    justify-content: center;
}

.demo7 .flex-child {
    flex-grow: 0;
}

.demo7 .flex-child:last-child {
    background-color:rgb(255, 255, 255);
    max-height:100px;
    align-self: center;
}

.demo8 .flex-parent {
    border: 3px solid transparent(241, 180, 241);
    flex-flow: row wrap;
    justify-content: center;
    gap: 10px;
}

.demo8 .flex-child {
    border: 4px solid rgb(241, 180, 241);
    flex-basis: 28%;
    margin:0;
    flex-grow: 1;
    color:black;
}