* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #EEE;
}

h1 {
    text-align: center;
    font-family: "Black Ops One";
    font-size: 14svw;
    line-height: 9.70svw;
    text-transform: uppercase;
    background-image: url(../images/bmws.jpg);
    background-size: 73%;
    background-position: 50% 65% ;
    background-clip: text;
    color: transparent;
}

.three_boxes {
    margin: 70px auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
}

.three_boxes div {
    flex: 0 0 20%;
    aspect-ratio: 1;
    border: 1px solid black;
    border-radius: 0%;
    transform: rotate(-45deg);
    position: relative;
    overflow: hidden;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
}

.three_boxes div figure{
    background-image: url(../images/bmws.jpg);
    background-size: 255%;
    width: 145%;
    aspect-ratio: 1;
    position: absolute;
    top: -23%; left: -23%;
    transition: 300ms all;
}

.three_boxes div:nth-child(1) figure {
    background-position: 0% 90%;
    transform: rotate(45deg);
    filter: blur(50%);
    filter: grayscale(65%);
}

.three_boxes div:nth-child(2) figure {
    background-position: 52% 80%;
    background-size: 350%;
    transform: rotate(45deg);
}

.three_boxes div:nth-child(3) figure {
    background-position: 100% 80%;
    background-size: 275%;
    transform: rotate(45deg);
    filter: brightness(70%);
}
.gradient-text{
    text-align: center;
    font-size: 8svw;
    background-image: linear-gradient(70deg, red, blue, red);
}

.three_boxes div:nth-child(2) figure:hover {
    transform: scale(1.2);
}