body {
    background-color: white;
}

h1 {
    text-align: center;
    font-family: 'Plaster', 'arial black', verdana, sans-serif;
    font-size: 14vw;
    line-height: 10svw;
    text-transform: uppercase;
    background-image: url(../images/three_people.jpg);
    background-size: 100%;
    background-position: 50% 50%;
    -webkit-background-clip: text;
    color: transparent;
}

section.three_boxes {
    margin: 150px auto;
    display: flex;
    /* flex-flow: row wrap; */
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

section.three_boxes div {
    /* flex: 0 0 20%; */
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 20%;
    aspect-ratio: 1;
    border: 8px solid hotpink;
    border-radius: 0%;
    /* transform: rotate(-45deg); */
    rotate: -45deg;
    position: relative;
    overflow: hidden;
    min-width: 300px;
    max-width: 500px;
}

section.three_boxes div figure {
    background-image: url(../images/three_people.jpg);
    background-size: 500%;
    width: 145%;
    aspect-ratio: 1;
    transform: rotate(45deg);
    position: absolute;
    top: -23%;
    left: -23%;
}



section.three_boxes div:nth-child(1) figure {
    background-position: 37% 50%;
}

section.three_boxes div:nth-child(2) figure {
    background-position: 56% 45%;
}

section.three_boxes div:nth-child(3) figure {
    background-position: 75% 49%;
}
