figure {
    border: medium dashed;
    display: flex;
    overflow: hidden;
    background-size: contain;
    padding: 5px;
}