body {
    background-color: #eee;
}

h1 {
    text-align: center;
    font-family: 'Plaster', 'arial black', verdana, sans-serif;
    font-size: 14svw;
    line-height: 10svw;
    text-transform: uppercase;
    background-image: url(../images/3boxes.jpg);
    background-size: 100%;
    background-position: 50% 50%;
    background-clip: text;
    color: transparent;
    
}

section.three_boxes {
    margin: 150px auto;
    display: flex;
    flex-flow: row 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 pink;
    border-radius: 0%;
    transform: rotate(-45deg);
    position: relative;
    overflow: hidden;
}

section.three_boxes div figure {
    background-image: url(/cis195/images/3boxes.jpg);
    background-size: 500%;
    width: 100%; height: 100%;
    transform: rotate(45deg);
    position: absolute;
    top: -23%; left: -23%;
   
}

section.three_boxes div:nth-child(1) figure {
    background-position: 35% 50%;
    box-shadow: 2 3 8 hotpink;
}

section.three_boxes div:nth-child(2) figure {
    background-position: 54% 48%;

}

section.three_boxes div:nth-child(3) figure {
    background-position: 73% 50%;
}
