html, body {
    margin: 0;
    padding: 0;
    background-color: rgb(0,154,177);
}

main{
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}

figure {
    display: flex;
    flex-flow: column;
    width: 30vw;
}

img {
    width: 30vw;
    margin-bottom: 1em;
}

figcaption {
    align-self: flex-start;
    border-top: 2px solid rgb(238,134,148);
    border-bottom: 2px solid rgb(238,134,148);
    font-size: 1.5em;
    width: 100%;
    text-align: center;
    color: white;
}