* {
    padding: 0; margin: 0;box-sizing: border-box;
}

body {
    background-color: EEE;
}
.homepage {
    border: 2px solid pink;
    top: 8px;
    right: 16px;
    color: brown;
    text-decoration: none;
    font-size: 1rem;
    text-transform: lowercase;
    background-color: antiquewhite;
    margin: 50px;
    padding: 0 20px;
    border-radius: 10px;    
}

.homepage:hover {
    color: white;
    background-color: brown;
    text-transform: uppercase;
}

h1 {
    text-align: center;
    font-family: 'Plaster', Verdana, sans-serif;
    font-size: 14svw;
    line-height: 9svw;
    text-transform: uppercase;
    background-image: url(../images/three_people.jpg);
    background-size: 65%;
    background-position:52% 40%;
    background-clip: text;
    color: transparent;
    /* padding-bottom: 90px; */
}
/*flexbox parent*/
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 {   
    border: 8px solid gray;
    aspect-ratio: 1;
    /* flex: 0 0 20%; */
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 20%;
    border-radius: 0%;
    transform: rotate(-45deg);
    position: relative;
    overflow: hidden;
    min-width: 300px;
    max-width: 500px;
    border-radius: 0 40%;
}

section.three_boxes div figure {
    background-image: url(../images/three_people.jpg); 
    background-size: 300%;
    width: 145%;
    aspect-ratio: 1;
    transform: rotate(45deg);
    position: absolute;
    top: -23%; left: -23%;

}

section.three_boxes div:nth-child(1) figure {
    background-position: 2% 40%;
    

}


section.three_boxes div:nth-child(2) figure {
    background-position: 44% 38%;
    
}

section.three_boxes div:nth-child(3) figure {
    background-position: 100% 40%;
    
}














