* {
    margin: 0; padding: 0; box-sizing: border-box;
}

body{
    background-color: #eee;
}

h1 {
    text-align: center;
    font-family: "plaster", 'arial black', verdana, sans-serif;
    font-size: 14svw;
    line-height: 9svw;
    text-transform: uppercase;
    background-image: url(../images/three_kids.jpg);
    background-size: 65%;
    background-position: 50% 40%;
    background-clip: text;
    color: transparent;
}

.three_boxes {
    margin: 150px auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
}

.three_boxes div {
    /*flex: 0 0 20%;*/
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 20%;
    aspect-ratio: 1;
    border: 4px solid hotpink;
    border-radius: 0%;
    
    transform: rotate(-45deg);
    position: relative;
    overflow: hidden;
    min-width: 300px;
    max-width: 500px;
}

.three_boxes div figure {
    background-image: url(../images/three_kids.jpg);
    background-size: 350%;
    width: 145%; 
    aspect-ratio: 1;
    transform: rotate(45deg);
    position: absolute;
    top: -23%; left:-23%;
}

.three_boxes div:nth-child(1) figure {
    background-position: 6% 32%;
}
.three_boxes div:nth-child(2) figure {
    background-position: 46% 30%;
}
.three_boxes div:nth-child(3) figure {
    background-position: 91% 43%;
}


