body {
    background: linear-gradient(to bottom, rgb(205, 242, 255), rgb(255, 196, 205));
}

h1 {
    text-align: center;
    font-family: "Plaster", system-ui;
    font-size: 14svw;
    line-height: 9svw;
    text-transform: uppercase;
    background-image: url(../cis195-images/three_women.jpg);
    background-size: 95%;
    background-position: 15% 30%;
    background-clip: text;
    color: transparent;
}

section.three_boxes {
    margin: 150px auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly
}

section.three_boxes div {
    flex: 0 0 20%; 
    aspect-ratio: 1; 
    border: 8px solid lightsalmon;
    rotate: -45deg;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(255, 0, 102, 0.7);
    border-radius: 20px;
    transition: border-color 0.3s ease;
}

section.three_boxes div:hover {
    border-color: hotpink;
}

section.three_boxes div figure {
    background-image: url(../cis195-images/three_women.jpg);
    background-size: 450%;
    width: 150%; 
    aspect-ratio: 1;
    position: absolute;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-60%, -55%) rotate(45deg);
}

section.three_boxes div:nth-child(1) figure {
    background-position: 24% 25%;
}

section.three_boxes div:nth-child(2) figure {
    background-position: 49.5% 25%;
}

section.three_boxes div:nth-child(3) figure {
    background-position: 77% 30%;
}