

body {
    background: linear-gradient(135deg, #fce4ec 0%, #e1f5fe 50%, #f3e5f5 100%);
    min-height: 100vh;
    margin: 0;
}
h1 {
    margin-top: 0;
    text-align: center;
    font-family: 'plaster', 'arial black', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 19svw;
    line-height: 13svw;
    text-transform: uppercase;
    background-image: url(../images/three-people.jpeg);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 89%;
    background-position: 50% 30%;
}
.three_boxes {
    margin: 150px auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    gap: 30px;
}
section.three_boxes div {
    flex: 0 0 25%;
    aspect-ratio: 1;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 8px solid pink;
    border-radius: 0%;
    background-repeat: no-repeat;
    box-sizing: border-box;
    transform: rotate(45deg);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
section.three_boxes div:hover {
    transform: rotate(45deg) scale(1.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
section.three_boxes div figure {
    margin: 0;
    background-image: url(../images/three-people2.jpeg);
    background-size: 300%;
    width: 145%;
    aspect-ratio: 1;
    transform: rotate(-45deg);
    position: absolute;
    top: -23%; left: -23%;
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}
section.three_boxes div:hover figure {
    filter: grayscale(0%);
}

section.three_boxes div:nth-child(1) figure {
    background-position: 3% 43%;
}
section.three_boxes div:nth-child(2) figure {
    background-position: 46% 40%;
}
section.three_boxes div:nth-child(3) figure {
    background-position: 101% 45%;
}